On Thu, 16 Dec 2004 11:03:23 -0500 (EST)
Alan Stern wrote:

> On Wed, 15 Dec 2004, David Relson wrote:
> 
> > Greetings,
> > 
> > I'm trying to put together an external USB hard drive for backup.  To
> > that end I have a brand new Seagate HD and a KingWin KH-350U-S 3.5" USB
> > enclosure.
> > 
> > FWIW, I'm running Mandrake linux with a 2.6.8.1-12mdk kernel.  When I
> > plug in the USB cable two messages are written to /var/log/syslog:
> > 
> > Dec 15 21:14:13 osage kernel: usb 4-1: new high speed USB device using 
> > address 2
> > Dec 15 21:14:13 osage kernel: scsi0 : SCSI emulation for USB Mass Storage 
> > devices
> > 
> > With my USB memory stick these two lines are followed by Vendor and
> > other info, but that doesn't happen with the USB enclosure.
> 
> It's possible that the enclosure doesn't supply any Vendor or Product 
> strings.  If they aren't present they won't be printed in the log.  That's 
> not an error.
> 
> > Loaded modules include:  
> > 
> >    ehci-hcd, scsi_mod, uhci-hcd, usbcore, and usb-storage
> > 
> > The enclosure/HD combo work on my kids' Win98 machine, which identifies
> > the USB chipset manufacturer as Cypress.  As a guess, Cypress is a
> > non-supported chipset.  Alternatively, I may have the wrong modules
> > loaded.
> > 
> > Any suggestions on how to learn more about what's going on and maybe
> > even get it to work???
> 
> Isn't it working already?  Nothing in your message above indicates that 
> there's any problem.  And by the way, the Cypress chipset _is_ supported.  
> 
> You may need to load the sd_mod module in addition to the ones you listed 
> above.
> 
> Alan Stern

Hi Alan,

Nope.  It's not working.  I had assumed that the missing syslog lines
were an indication of that fact.  Any how, as a bit more info, "cat
/proc/bus/usb/devices" hangs.  ps indicates it's in "D+" state:

F  UID  PID  PPID PRI NI  VSZ RSS WCHAN  STAT TTY   TIME COMMAND
0 1000 3685 10810  18  0 1640 476 text.l D+   pts14 0:00 cat 
/proc/bus/usb/devices

Also, mount doesn't show the device.

I've attached some info from /sys/usb/... What other info would be useful for 
you?

I remember hearing of a way to put the usb modules into verbose (debug)
mode, but I don't recall the details.  Can you aid me?

Thanks.

David

[EMAIL PROTECTED] usb]$ ls -l /sys/bus/usb/devices | grep -v ^total
lrwxrwxrwx  1 root root 0 Dec 16 17:56 1-0:1.0 -> 
../../../devices/pci0000:00/0000:00:10.0/usb1/1-0:1.0/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 2-0:1.0 -> 
../../../devices/pci0000:00/0000:00:10.1/usb2/2-0:1.0/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 3-0:1.0 -> 
../../../devices/pci0000:00/0000:00:10.2/usb3/3-0:1.0/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 4-0:1.0 -> 
../../../devices/pci0000:00/0000:00:10.3/usb4/4-0:1.0/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 4-1 -> 
../../../devices/pci0000:00/0000:00:10.3/usb4/4-1/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 usb1 -> 
../../../devices/pci0000:00/0000:00:10.0/usb1/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 usb2 -> 
../../../devices/pci0000:00/0000:00:10.1/usb2/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 usb3 -> 
../../../devices/pci0000:00/0000:00:10.2/usb3/
lrwxrwxrwx  1 root root 0 Dec 16 17:56 usb4 -> 
../../../devices/pci0000:00/0000:00:10.3/usb4/

[EMAIL PROTECTED] usb]$ ls -l /sys/devices/pci0000:00/0000:00:10.3/usb4/4-1/
total 0
drwxr-xr-x  4 root root    0 Dec 16 04:13 4-1:1.0/
-r--r--r--  1 root root 4096 Dec 16 17:57 bcdDevice
-rw-r--r--  1 root root 4096 Dec 16 17:57 bConfigurationValue
-r--r--r--  1 root root 4096 Dec 16 17:57 bDeviceClass
-r--r--r--  1 root root 4096 Dec 16 17:57 bDeviceProtocol
-r--r--r--  1 root root 4096 Dec 16 17:57 bDeviceSubClass
-r--r--r--  1 root root 4096 Dec 16 17:57 bmAttributes
-r--r--r--  1 root root 4096 Dec 16 17:57 bMaxPower
-r--r--r--  1 root root 4096 Dec 16 17:57 bNumConfigurations
-r--r--r--  1 root root 4096 Dec 16 17:57 bNumInterfaces
-rw-r--r--  1 root root 4096 Dec 16 17:57 detach_state
-r--r--r--  1 root root 4096 Dec 16 17:57 devnum
-r--r--r--  1 root root 4096 Dec 16 17:57 idProduct
-r--r--r--  1 root root 4096 Dec 16 17:57 idVendor
-r--r--r--  1 root root 4096 Dec 16 17:57 manufacturer
-r--r--r--  1 root root 4096 Dec 16 17:57 maxchild
drwxr-xr-x  2 root root    0 Dec 16 04:13 power/
-r--r--r--  1 root root 4096 Dec 16 17:57 product
-r--r--r--  1 root root 4096 Dec 16 17:57 serial
-r--r--r--  1 root root 4096 Dec 16 17:57 speed
-r--r--r--  1 root root 4096 Dec 16 17:57 version

[EMAIL PROTECTED] usb]$ ( cd /sys/devices/pci0000:00/0000:00:10.3/usb4/4-1/ ; 
for N in * ; do echo $N `cat $N` ; done )
bcdDevice 0001
bConfigurationValue 1
bDeviceClass 00
bDeviceProtocol 00
bDeviceSubClass 00
bmAttributes c0
bMaxPower 0mA
bNumConfigurations 1
bNumInterfaces 1
detach_state 0
devnum 2
idProduct 6830
idVendor 04b4
manufacturer
maxchild 0
power
product
serial
speed 480
version 2.00


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to