On Sun, Feb 27, 2005 at 01:25:49PM -0800, Anthony Tippett wrote:
> Well it' s in /proc/bus/usb/devices
>
> output:
>
> T: Bus=02 Lev=01 Prnt=01 Port=01 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=0a48 ProdID=3260 Rev= 1.00
> S: Manufacturer=Hewlett-Packard
> S: Product=USB Digital Drive
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
>
Hmm, ok, looks fine... I've never used the /proc/scsi filesystem (the current
kernel config says it's deprecated, don't know what the 2.4 kernels said),
so I'm not used to its output; you could have a look at
/sys/bus/scsi/devices
and, even more interesting,
/sys/bus/scsi/drivers/sd/
and look if your HP Drive is listed there (there should be a symlink to
/sys/devices/(pci bus and device)/(usb bus and device)/(target id)).
Besides that, I haven't got any more clues at the moment... maybe someone
more knowledgeable can help here.
Oh, one last thing I was wondering about: Here's my syslog output
(2.6.10, SCSI generic compiled in, SCSI disk (sd) as module, usb-storage
as module, no hotplug at all, no devfs/udev):
===
Feb 27 22:40:06 hejre kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2
Feb 27 22:40:06 hejre kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 27 22:40:06 hejre kernel: usb-storage: device found at 2
Feb 27 22:40:06 hejre kernel: usb-storage: waiting for device to settle before scanning
Feb 27 22:40:11 hejre kernel: Vendor: Digital Model: Camera Rev:
Feb 27 22:40:11 hejre kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 27 22:40:11 hejre kernel: SCSI device sda: 124160 512-byte hdwr sectors (64 MB)
Feb 27 22:40:11 hejre kernel: sda: Write Protect is off
Feb 27 22:40:11 hejre kernel: sda: Mode Sense: 00 06 00 00
Feb 27 22:40:11 hejre kernel: SCSI device sda: 124160 512-byte hdwr sectors (64 MB)
Feb 27 22:40:11 hejre kernel: sda: Write Protect is off
Feb 27 22:40:11 hejre kernel: sda: Mode Sense: 00 06 00 00
Feb 27 22:40:11 hejre kernel: sda: sda1
Feb 27 22:40:11 hejre kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Feb 27 22:40:11 hejre kernel: usb-storage: device scan complete
===
You only showed us an excerpt from /var/log/messages, and what goes there
is dependant on /etc/syslog.conf, but here's the comparison between your
and my /var/log/messages:
===
Feb 26 19:15:30 act kernel: usb 2-2: new full speed USB device using address 11
Feb 26 19:15:30 act kernel: scsi8 : SCSI emulation for USB Mass Storage devices
Feb 26 19:15:30 act kernel: Vendor: HP Model: Digital Drive Rev: 1.00
Feb 26 19:15:30 act kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 26 19:15:30 act kernel: Attached scsi removable disk sda at scsi8, channel 0, id 0, lun 0
Feb 26 19:15:30 act scsi.agent[18757]: disk at /devices/pci0000:00/0000:00:02.1/usb2/2-2/2-2:1.0/host8/8:0:0:0
Feb 26 19:15:31 act usb.agent[18749]: usb-storage: already loaded
===
Feb 27 22:40:06 hejre kernel: usb 1-2: new full speed USB device using uhci_hcd and address 2
Feb 27 22:40:06 hejre kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Feb 27 22:40:11 hejre kernel: Vendor: Digital Model: Camera Rev:
Feb 27 22:40:11 hejre kernel: Type: Direct-Access ANSI SCSI revision: 00
Feb 27 22:40:11 hejre kernel: SCSI device sda: 124160 512-byte hdwr sectors (64 MB)
Feb 27 22:40:11 hejre kernel: sda: Write Protect is off
Feb 27 22:40:11 hejre kernel: SCSI device sda: 124160 512-byte hdwr sectors (64 MB)
Feb 27 22:40:11 hejre kernel: sda: Write Protect is off
Feb 27 22:40:11 hejre kernel: sda: sda1
Feb 27 22:40:11 hejre kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
===
Note that my SCSI layer is reporting the drive back, including the
calculated size (it's doing it twice, probably because usb-storage's
"waiting for device", but never mind)... do you get this type of message
("SCSI device sda: ...") when your SATA drive is recognized? Maybe the
USB drive isn't detected as a true disk by the SCSI driver...
Regards,
Jan
--
Jan C. Nordholz
<jckn At gmx net>
Attachment:
signature.asc
Description: Digital signature