On Saturday 22 August 2009 16:58:57 Mark Neidorff wrote: > On Saturday 22 August 2009 10:48 am, Ron Johnson wrote: > > On 2009-08-22 09:16, Mark Neidorff wrote: > > > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I > > > still would like to know why it is happening. That knowledge should > > > tell me how to fix the problem. > > > > > > My system is Lenny 5.02, but the same problem exists on an old Fedora > > > Core 3 system, so it is not a Debian problem, per se. > > > > > > I just bought a 3 pack of Sandisk Cruzers (4Gb). When I insert any of > > > them into a USB port, the system recognizes it as a CD drive. > > > > By "the system", do you mean lines in dmesg, or the icon on your > > desktop? > > > > > Working > > > around this is easy, but what is causing the system to mis-identify the > > > Cruzer? The only things on the cruzer are the files that automatically > > > run under windows ("autorun.inf, LaunchU3.exe" which put a different > > > way of unounting the device on the screen, and a System subdirectory > > > and a Documents > > > subdirectory). > > Both on the desktop and in dmesg. Here is the relavent info from dmesg: > > Vendor: SanDisk Model: SanDisk Cruzer Rev: 8.02 > Type: Direct-Access ANSI SCSI revision: 00 > SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB) > sdc: Write Protect is off > sdc: Mode Sense: 45 00 00 08 > sdc: assuming drive cache: write through > SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB) > sdc: Write Protect is off > sdc: Mode Sense: 45 00 00 08 > sdc: assuming drive cache: write through > sdc: sdc1 > Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0 > Vendor: SanDisk Model: SanDisk Cruzer Rev: 8.02 > Type: CD-ROM ANSI SCSI revision: 00 > sr0: scsi3-mmc drive: 48x/48x tray > Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1 > usb-storage: device scan complete > > Looks like it is mounted twice?
Have a look at usb-modeswitch. From man: Several new USB devices have their proprietary Windows drivers onboard, especially WAN don‐ gles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature Hope it helps Thierry -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org