WARNING: THIS POST CONTAINS COMMANDS THAT, IF USED/TYPED WRONG, COULD HARM YOUR OS OR DEVICE, LEAD TO DATA LOSS OR USE LEMONS TO BURN YOUR HOUSE DOWN. USE AT YOUR OWN RISK.
Hi,
I couldn't find anything about this on the boards but I thought this might be interesting to some, so:
I've just discovered that my Pandora doesn't show all storage devices of attached USB devices, like the internal flash memory and the SD card of my cellphone. As a (former) Gentoo Linux user I knew why (The SCSI/USB system just uses the first device it finds and stops looking for more) and quickly found some solutions:
Hi,
I couldn't find anything about this on the boards but I thought this might be interesting to some, so:
I've just discovered that my Pandora doesn't show all storage devices of attached USB devices, like the internal flash memory and the SD card of my cellphone. As a (former) Gentoo Linux user I knew why (The SCSI/USB system just uses the first device it finds and stops looking for more) and quickly found some solutions:
- Compile the kernel with SCSI_MULTI_LUN enabled. (Which is pretty complicated without a properly set up development environment... Which I don't have, so: Next.)
- Tell the SCSI system how many devices it should look out for (2 were enough for my cellphone, my ebook-reader on the other hand would need 4 or more). Execute as root: echo 4 > /sys/module/scsi_mod/parameters/max_luns (This is only a temporary solution and resets every reboot. The next solution is more or less permanent as it executes this command at every bootup.)
- Create a file in /etc/init.d/ called max_luns containing the above command, set it as executable and make it run at startup: sudo echo "echo 4 > /sys/module/scsi_mod/parameters/max_luns" > /etc/init.d/max_luns" && chmod +x /etc/init.d/max_luns && update-rc.d max_luns defaults
Last edited by a moderator: