Support and General Use > Audio Playback, Database and Playlists

Make Rockbox mount SD and not Internal memory (car deck USB)

(1/2) > >>

mrbryan:
When I connect the player in my car, it mounts only the 4gb internal memory instead of my larger SD card.

Does anyone know how to make the device mount the SD card only?




Chronon:
Rockbox should expose both storage devices as UMS.  It doesn't appear that much  can be done about forcing your car stereo to only mount one or the other.

gevaerts:
Your car probably can't handle multiple LUNs.

You could compile a special build that only exposes the card slot over usb. To do that, add a line saying

--- Code: ---#define HIDE_FIRST_DRIVE
--- End code ---
near the top of firmware/usbstack/usb_storage.c

Of course, this will have the result that you can't access the internal memory from the PC anymore either, unless you keep the changed build somewhere else on the player and RoLo it when needed...

Or you could look at what HIDE_FIRST_DRIVE achieves (it's rather simple) and add a setting for this.

I think that in this situation I'd just get a cheap SD card reader though.

Edit: using HIDE_FIRST_DRIVE may lead to some unexpected behaviour if the SD card is plugged or unplugged during the USB connection. It was originally meant as a quick hack for debugging, and it doesn't take inserted/ejected status into account properly.

mrbryan:
Cool thanks I may try that

MajiKool Dragonâ„¢:
this would be epic if a setting for this were commited as a feature...
the majority of my music is on my microsd, and in a my bmw it only mounts the fist drive(internal storage)

Navigation

[0] Message Index

[#] Next page

Go to full version