Take 2...

On 9/30/07, Stephen J. Gowdy <[EMAIL PROTECTED]> wrote:
> sg is SCSI generic, so that would be mass storage. Is the SCSI Disk built
> into the kernel or loaded as a module (sd_mod)?

sg1 is a character device, not a block device. sg1 is the HID device
in the composite device, where I need the mass storage device, which
is a block device.

On 9/30/07, James Shatto <[EMAIL PROTECTED]> wrote:
> If usb-storage notices the device it should show up in /proc/partitions
>
> Otherwise the major number for the usb device should appear in /proc/devices. 
>  Or the minor number for major 10 in /proc/misc
>
> There was an option to have them be /dev/ubA#?, I don't know if that's still 
> there and might be activated in your case.  Just make sure you have the usb 
> parts, scsi parts, fs parts, et cetera or it wont work.  If you have other 
> usb storage devices that do work, then you're probably good in that 
> department.
>
> HTH

It is not listed in /proc/partitions.

It is not listed in /proc/devices (as far as i can tell, there are a
bajillion sd devices in there that appear to go to nothing)

There are no /dev/ub*

There are /dev/usb*, if that's what you meant, but they are all
character devices.

I DO have another USB drive that appears as sda. this one, however,
does not appear at all. For clarification, here's
/proc/bus/usb/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.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22.6 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1058 ProdID=0905 Rev= 1.04
S:  Manufacturer=Western Digital
S:  Product=My Book
S:  SerialNumber=WU2T11100488
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=  0mA
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=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=  64 Ivl=10ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b4 ProdID=6830 Rev= 0.01
S:  Manufacturer=NOONTEC
S:  Product=DX HDEN10
S:  SerialNumber=DEF20A1122E7
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

The last block is the simple USB HDD enclosure I bought for something like $15.

The first is the main USB hub.

The middle one has two "I" lines, which are the interfaces. The first
is storage, usb-storage, the second is HID. Only the second one gets
nodes made, and I simply can't find the magic for the first
usb-storage device.

I know it's odd, I've never seen this before either, but i'd much
rather get this working than have to take it back.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to