Kingston USB key and Storage Media applet

jeffrey d anderson jdanderson at lbl.gov
Mon Jan 22 22:47:49 GMT 2007


I recently got a Kingston USB DataTraveler 1GB USB key.  When I plug it into 
my Scientific Linux 4.4 system running kde 3.5.5 the "Storage Media" applet 
recognizes it as a "Hard Disk Volume" rather than a "Removable Medium"

Since I don't usually have the Storage Media applet display hard disk 
partitions, I get no icon associated with the USB key.

I have another USB key from Lexar that behaves as expected.  I stick it in, a 
removable media icon appears on the panel (and desktop) and I get a window 
asking if I want to open it.  With the Kingston key, I get the window, but no 
icon since I've specified that hard disk volumes shouldn't be displayed.

I've tried to understand what the difference between the two keys is.

It looks like the kernel and HAL are doing the right thing.  fstab is being 
dynamically updated, both keys are being automounted.  But the Kingston one 
is not recognized as removable, so I get no icon.

Here are the entries in /var/log/messages for the two keys.  They look 
identical to me except for the obvious details about vendor name, size, etc.  

For the Lexar, which IS properly recognized as a removable device:

Jan 22 13:24:05 myhost kernel: usb 1-4.2: new full speed USB device using 
address 35
Jan 22 13:24:05 myhost kernel: scsi26 : SCSI emulation for USB Mass Storage 
devices
Jan 22 13:24:05 myhost kernel:   Vendor: LEXAR     Model: DIGITAL FILM     
Rev: /W1.
Jan 22 13:24:05 myhost kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Jan 22 13:24:05 myhost kernel: SCSI device sda: 251904 512-byte hdwr sectors 
(129 MB)
Jan 22 13:24:05 myhost kernel: sda: Write Protect is off
Jan 22 13:24:05 myhost kernel: sda: assuming drive cache: write through
Jan 22 13:24:05 myhost kernel: SCSI device sda: 251904 512-byte hdwr sectors 
(129 MB)
Jan 22 13:24:05 myhost kernel: sda: Write Protect is off
Jan 22 13:24:05 myhost kernel: sda: assuming drive cache: write through
Jan 22 13:24:05 myhost kernel:  sda: sda1
Jan 22 13:24:05 myhost kernel: Attached scsi removable disk sda at scsi26, 
channel 0, id 0, lun 0
Jan 22 13:24:05 myhost scsi.agent[25765]: disk 
at /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.2/1-4.2:1.0/host26/target26:0:0/26:0:0:0


And for the KINGSTON, which is NOT recognized as a removable device:

Jan 22 13:24:06 myhost kernel: usb 1-4.4: new high speed USB device using 
address 36
Jan 22 13:24:06 myhost kernel: scsi27 : SCSI emulation for USB Mass Storage 
devices
Jan 22 13:24:06 myhost kernel:   Vendor: Kingston  Model: DataTraveler 2.0  
Rev: PMAP
Jan 22 13:24:06 myhost kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Jan 22 13:24:06 myhost kernel: SCSI device sdb: 1953792 512-byte hdwr sectors 
(1000 MB)
Jan 22 13:24:06 myhost kernel: sdb: Write Protect is off
Jan 22 13:24:06 myhost kernel: sdb: assuming drive cache: write through
Jan 22 13:24:06 myhost kernel: SCSI device sdb: 1953792 512-byte hdwr sectors 
(1000 MB)
Jan 22 13:24:06 myhost kernel: sdb: Write Protect is off
Jan 22 13:24:06 myhost kernel: sdb: assuming drive cache: write through
Jan 22 13:24:06 myhost kernel:  sdb: sdb1
Jan 22 13:24:06 myhost kernel: Attached scsi removable disk sdb at scsi27, 
channel 0, id 0, lun 0
Jan 22 13:24:06 mhhost scsi.agent[25979]: disk 
at /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.4/1-4.4:1.0/host27/target27:0:0/27:0:0:0



Does anyone have any idea what configuration file I need to modify to inform 
the system that this is a "Removable Medium" rather than a "Hard Disk 
Volume"?


-- 
--------------------------------------------------------------
Jeffrey Anderson    			| jdanderson at lbl.gov
Lawrence Berkeley National Laboratory	| 
Office: 50A-5104E			| Mailstop 50A-5101
Phone: 510 486-4208			| Fax: 510 486-6808
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list