Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-27-2004, 10:38 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
why is usb device recognized?


I have what may seem like a strange question! I have a USB key -- a small 128 MB SANdisk Cruzer mini. I insert the key into my machine, and the device is recognized. At least I see:

hub.c: new USB device 00:1d.7-5, assigned address 6
usb.c: USB device 6 (vend/prod 0x781/0x7103) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 0026
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 6
USB Mass Storage support registered.


What I don't understand is *why* the USB Mass Storage driver loads.

The vendor id is: 0x781, the product id: 0x7103, the device id: 26

I'm running a 2.4.26 kernel, and if I look in lib modules/2.4.26/modules.usbmap, there are
four entries:
usb-storage 0x000f 0x0781 0x0001 0x0200 0x0200 (0x000.....)
usb-storage 0x000f 0x0781 0x0002 0x0009 0x0009 (0x000.....)
usb-storage 0x000f 0x0781 0x0100 0x0100 0x0100 (0x000.....)
usb-storage 0x000f 0x0781 0x0200 0x0000 0x9999 (0x000....)

... not one of them matches my product.

usb.handmap or usb.usermap in /etc/hotplug do not contain entries for the device.
Even usb.distmap which isn't used for the 2.4 series of kernels contains the same lines
as the ones that come with the module.

Thanks in advance!


I want to understand why the USB device is recognize
Old 10-27-2004, 11:05 AM   #2
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
usb mass storage is a way for accessing files thru usb, lots of usb devices use the usb mass storage instead of some secret access method (don't let the "mass storage" part fool ya, even cameras can use usb mass storage to allow computers to get info from the device)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
Mounting a recognized USB device harisund Linux - Hardware 2 09-24-2005 08:07 AM
USB device not recognized Greek Acrobat Slackware 5 07-25-2005 11:30 AM
CD-R: Device recognized, blank CD in it is not! svar Linux - General 9 09-10-2004 02:11 AM
USB device is recognized, but wount access it's specific driver. Lechium Linux - Software 2 08-05-2004 01:26 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration