Hi Paul, Here is my /proc/bus/usb/devices on Thinstation.
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=64 #Cfgs= 1 P: Vendor=0c45 ProdID=1060 Rev= 1.00 S: Product=USB Mass Storage Device C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 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 I don't have a /dev/sda* device Mandrake is 2.4.22-26mdk Thinstation is 2.4.24 with bootsplash, squashfs and supermount patches. Looks like the above usb-device has the same vendor id as yours. Additionally, the entried don't seem to be in Mandrake or Thinstations unusual_devs.h. Ideas? Cheers Miles -----Original Message----- From: Paul Whittaker [mailto:[EMAIL PROTECTED] Sent: Saturday, 7 February 2004 05:33 p.m. To: Miles Roper Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: USB storage devices - Need Help > having problems with USB storage. > > here is the modules loaded > > sd_mod 10956 0 (unused) > scsi_mod 84200 4 [sg scsimon usb-storage sd_mod] > > the device is created paritially. > > /dev/scsi/host0/bus0/target0/lun0/ > > but no part1 > > when I loaded the sg (scsi generic) module as suggested on a couple of web > sites a > > /dev/scsi/host0/bus0/target0/lun0/generic file was created. still couldn't > mount this though. > > in proc I get > > /proc/scsi/usb-storage-0 > > Host scsi0: usb-storage > Vendor: Unknown > Product: USB Mass Storage Device > Serial Number: None > Protocol: Transparent SCSI > Transport: Bulk > GUID: 0c4510600000000000000000 > Attached: Yes > > /proc/scsi/scsi > > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: USB Model: STORAGE Rev: 1.1 > Type: Direct-Access ANSI SCSI revision: 02 That sounds fairly hopeful. For my device I get: [dmesg] scsi2 : SCSI emulation for USB Mass Storage devices Vendor: USB SMCF Model: CARD READER Rev: Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0 SCSI device sdb: 64000 512-byte hdwr sectors (33 MB) sdb: Write Protect is off sdb: sdb1 sdb2 sdb3 sdb4 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 3 [/proc/scsi/scsi] Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: Datafab Model: KECF-USB Rev: 0113 Type: Direct-Access ANSI SCSI revision: 02 [/proc/scsi/usb-storage-1/2] Host scsi2: usb-storage Vendor: Unknown Product: USB Mass Storage Device Serial Number: None Protocol: Transparent SCSI Transport: Bulk GUID: 0c4510600000000000000000 Attached: Yes Have you tried something like "mount -t vfat /dev/sda /mnt"? Forget about scsi-generic (sg), it isn't relevant. What do you see in /proc/bus/usb/devices (assuming usbdevfs is mounted on /proc/bus/usb)? This will provide the vendor and product ID for your key, which may help. My output looks like: [/proc/bus/usb/devices] T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0c45 ProdID=1060 Rev= 1.00 S: Product=USB Mass Storage Device C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 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 > So it seems to be falling over at above. Something to do with a Bad LUN > (0/1) > > On my Mandrake 9.2 the device works correctly, and it creates a > /dev/scsi/host0/bus0/target0/lun0/part1. Supermount is on Mandrake as well > so I don't think thats causing a problem. It isn't even creating the part1 > on thinstation. Many USB devices have odd behaviour due to (cost-saving) shortcuts in their protocol compliance. It's quite possible that the only thing you are missing is an appropriate entry in /usr/src/linux/drivers/usb/storage/unusual_devs.h for your Vendor/Product ID pair, to deal with the irregularity. What versions of Thinstation and Mandrake kernel are you using? Is there an entry in unusual_devs.h in your Mandrake kernel sources for your Vendor+Product? > If I recall correctly, to detect the key device you must load the > usb-storage module *after* the device is plugged in. It only probes the > "SCSI bus" at module load-time. The sd_mod module is robust enough to > create and remove partition devices on the fly, though, so the device can > be unplugged and replugged *after first detection* (filesystem mounting > issues notwithstanding). This is actually wrong, BTW, it appears that usb-storage *will* register removal/insertion events on the fly. ================================================== Attention: The information contained in this message and/or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by person or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from your system and destroy any copies. =================================================== ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users