Why don't you start by reading http://www.linux-usb.org ?
Matt
On Wed, Jan 30, 2002 at 09:44:52AM -0000, Steve Kemp wrote:
>
> Hi,
>
> I've got a USB mass-storage device which I'm trying to use,
> so far no joy.
>
> The best I get is a modprob usb-storage showing a scsi device,
> but me being unable to work out what to do next.
>
> Here's a session of me trying to mount this beast.
>
> lspci -v shows:
>
> 00:1f.2 USB Controller: Intel Corporation 82801 82810 Chipset USB (rev 02)
> (prog-if 00 [UHCI])
> Subsystem: Intel Corporation: Unknown device 2412
> Flags: bus master, medium devsel, latency 0, IRQ 9
> I/O ports at 1820
>
> (I've tried using usb-uhci, and uhci - I'm not sure which I should
> be favouring).
>
> root@hell:~# modprobe usb-uhci
> PCI: Increasing latency timer of device 00:fa to 64
> usb-uhci.c: Detected 2 ports
> root@hell:~# usb.c: USB device 2 (vend/prod 0xb86/0x5110) is not claimed by
> any
> active driver.
>
> (I've hacked usb.c - so that I can see:
>
> descriptor.idVendor = 0xb86
> descriptor.idProduct= 0x5110
> descriptor.bcdDevice= 2 )
>
> Length = 18
> DescriptorType = 01
> USB version = 1.10
> Vendor:Product = 0b86:5110
> MaxPacketSize0 = 8
> NumConfigurations = 1
> Device version = 0.02
> Device Class:SubClass:Protocol = 00:00:00
> Per-interface classes
> Configuration:
> bLength = 9
> bDescriptorType = 02
> wTotalLength = 0027
> bNumInterfaces = 01
> bConfigurationValue = 01
> iConfiguration = 00
> bmAttributes = 80
> MaxPower = 64mA
>
> Interface: 0
> Alternate Setting: 0
> bLength = 9
> bDescriptorType = 04
> bInterfaceNumber = 00
> bAlternateSetting = 00
> bNumEndpoints = 03
> bInterface Class:SubClass:Protocol = 08:05:01
> iInterface = 00
> Endpoint:
> bLength = 7
> bDescriptorType = 05
> bEndpointAddress = 81 (in)
> bmAttributes = 02 (Bulk)
> wMaxPacketSize = 0040
> bInterval = 00
> Endpoint:
> bLength = 7
> bDescriptorType = 05
> bEndpointAddress = 02 (out)
> bmAttributes = 02 (Bulk)
> wMaxPacketSize = 0040
> bInterval = 00
> Endpoint:
> bLength = 7
> bDescriptorType = 05
> bEndpointAddress = 83 (in)
> bmAttributes = 03 (Interrupt)
> wMaxPacketSize = 0008
> bInterval = ff
>
> In /var/log/messages I see:
>
> hell kernel: usb.c: USB disconnect on device 1
> hell kernel: usb.c: USB disconnect on device 2
> hell kernel: usb.c: USB bus 1 deregistered
> hell kernel: usb-uhci.c: $Revision: 1.237 $ time 19:31:27 Jan 29 2002
> hell kernel: usb-uhci.c: High bandwidth mode enabled
> hell kernel: PCI: Increasing latency timer of device 00:fa to 64Jan 29
> 19:44:46 hell kernel: usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 9
> hell kernel: usb-uhci.c: Detected 2 ports
> hell kernel: usb.c: new USB bus registered, assigned bus number 1
> hell kernel: usb.c: USB new device connect, assigned device number 1
> hell kernel: Product: USB UHCI Root Hub
> hell kernel: SerialNumber: 1820
> hell kernel: hub.c: USB hub found
> hell kernel: hub.c: 2 ports detected
> hell kernel: usb.c: USB new device connect, assigned device number 2
> hell kernel: usb.c: USB device 2 (vend/prod 0xb86/0x5110) is not claimed by
> any active driver.
>
> root@hell:~# mount -t usbdevfs none /proc/bus/usb
>
> root@hell:~# modprobe usb-storage
> scsi2 : SCSI emulation for USB Mass Storage devices
> scsi : 3 hosts.
> usb-storage: bus_reset() requested but not implemented
> usb-storage: bus_reset() requested but not implemented
> usb-storage: host_reset() requested but not implemented
>
>
> root@hell:~# cat /proc/scsi/scsi
> Attached devices:
> Host: scsi1 Channel: 00 Id: 06 Lun: 00
> Vendor: IOMEGA Model: ZIP 100 Rev: J.03
> Type: Direct-Access ANSI SCSI revision: 02
>
>
> root@hell:~# cat /proc/scsi/usb/2
> Host scsi1: usb-storage
> Vendor: Unknown
> Product: Unknown
> Serial Number: None
> Protocol: 8070i
> Transport: Control/Bulk
> GUID: 0b8651100000000000000000
>
> root@hell:~# lsmod
> Module Size Used by
> usb-storage 21432 0 (unused)
> usb-uhci 17952 0 (unused)
> usbcore 45096 1 [usb-storage usb-uhci]
> i810_audio 10136 0 (unused)
> ac97_codec 7172 0 [i810_audio]
> 3c59x 21156 1
>
>
>
> root@hell:/proc/bus/usb# cat devices
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB UHCI Root Hub
> S: SerialNumber=1820
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0b86 ProdID=5110 Rev= 0.02
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 64mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=05 Prot=01 Driver=usb-storage
> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
>
> So here I see in that the driver is usb-storage - but that module
> has a reference count of 0, and it doesn't identify it as a mountable
> device.
>
> I tried adding the following unusual_device entry - no joy.
>
> { 0x0b86, 0x5110, 0x0200, // skx - also tried 0x0b86, 0x5110, 0x0100
> "flash-steve", US_SC_SCSI, US_PR_BULK, US_FL_SINGLE_LUN},
>
> That gave me:
>
> Host: scsi2 Channel: 00 Id: 00 Lun: 00
> Vendor: `c\ Model: < a Rev: P\
> Type: Unknown ANSI SCSI revision: 06
>
> But I was unable to mount it..
>
>
> Any more information can be generated upon request.
>
> Steve
> ---
>
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
SP: I sell software for Microsoft. Can you set me free?
DP: Natural Selection says I shouldn't.
-- MS Salesman and Dust Puppy
User Friendly, 4/2/1998
msg02469/pgp00000.pgp
Description: PGP signature
