Looks like another device based on the broken scanlogic chipset.  The later
ScanLogic chips works just fine, but there are devices out there that still
use the broken ones.

Go in linux/drivers/usb/storage/transport.c, into the function
Bulk_transport().  Look for an if() clause that tests Tag == Tag, and
remove just that test from the if(), leaving everything else in place.

Recompile, and it _should_ work.

Matt

On Fri, Nov 30, 2001 at 11:41:38AM +0100, Luigi Corsello wrote:
> Hello people. 
> My Acer Travelmate 342T system (Ali: usb-ohci perfectly working) is
> a pure SuSE 7.3 with a more-verbose 2.4.10 kernel, and does not
> recognize the above device, despite win* do it.
> 
> 
> Below are all the debug informations I could collect, hope they might be
> useful:
> 
> * /proc/bus/usb/devices
> ---cut
> 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= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB OHCI Root Hub
> S:  SerialNumber=d4a81000
> 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=   2 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=04ce ProdID=0002 Rev= 2.60
> S:  Manufacturer=USB to IDE
> S:  Product=USB to IDE
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> ---cut
> 
> 
> * /proc/scsi/scsi
> ---cut
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor:          Model:                  Rev:
>   Type:   <NULL>                ANSI SCSI revision: ffffffff
> ---cut
> 
> 
> * /proc/scsi/usb-storage-0/0 is empty
> 
> 
> * debug messages by usb:
> ---cut
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-ohci.c: USB OHCI at membase 0xd4a81000, IRQ 10
> usb-ohci.c: usb-00:14.0, PCI device 10b9:5237
> usb.c: new USB bus registered, assigned bus number 1
> usb.c: kmalloc IF c15263e0, numif 1
> usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
> usb.c: USB device number 1 default language ID 0x0
> Product: USB OHCI Root Hub
> SerialNumber: d4a81000
> hub.c: USB hub found
> hub.c: 2 ports detected
> hub.c: standalone hub
> hub.c: ganged power switching
> hub.c: global over-current protection
> hub.c: Port indicators are not supported
> hub.c: power on to power good time: 2ms
> hub.c: hub controller current requirement: 0mA
> hub.c: port removable status: RR
> hub.c: local power source is good
> hub.c: no over-current condition exists
> hub.c: enabling power on all ports
> usb.c: hub driver claimed interface c15263e0
> usb.c: call_policy add, num 1 -- no FS yet
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> ..<7>hub.c: port 1, portstatus 103, change 10, 12 Mb/s
> hub.c: USB new device connect on bus1/1, assigned device number 2
> ....<7>usb.c: kmalloc IF c1526c60, numif 1
> usb.c: new device strings: Mfr=1, Product=1, SerialNumber=0
> usb.c: USB device number 2 default language ID 0x409
> .<6>Manufacturer: USB to IDE
> Product: USB to IDE
> usb.c: unable to get major 180 for usb devices
> usb.c: registered new driver usbdevfs
> usb.c: deregistering driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.268 $ time 22:08:26 Nov 28 2001
> usb-uhci.c: High bandwidth mode enabled
> usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
> ---cut
> 
> 
> * debug messages by usb-storage:
> ---cut
> usb-storage: act_altsettting is 0
> usb-storage: id_index calculated to be: 73
> usb-storage: Array length appears to be: 75
> usb-storage: USB Mass Storage device detected
> usb-storage: Endpoints: In: 0xc1527974 Out: 0xc1527960 Int: 0x00000000
> (Period 0.<7>usb-storage: New GUID 04ce00020000000000000000
> ...............<7>usb-storage: GetMaxLUN command result is 1, data is
> 0
> usb-storage: Transport: Bulk
> usb-storage: Protocol: Transparent SCSI
> usb-storage: *** thread sleeping.
> scsi0 : SCSI emulation for USB Mass Storage devices
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command INQUIRY (6 bytes)
> usb-storage: 12 00 00 00 ff 00 19 c0 c0 67 50 c1
> usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128
> CL 6
> .<7>usb-storage: Bulk command transfer result=0
> usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
> usb-storage: usb_stor_bulk_msg() returned 0 xferred 255/255
> usb-storage: usb_stor_transfer_partial(): transfer complete
> usb-storage: Bulk data transfer result 0x0
> usb-storage: Attempting to get CSW...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0xff0058 R 0 Stat 0x0
> usb-storage: Bulk logical error
> usb-storage: Bulk reset requested
> usb-storage: command_abort() called
> usb-storage: -- nothing to abort
> usb-storage: device_reset() called
> usb-storage: Bulk reset requested
> usb-storage: Bulk soft reset completed
> usb-storage: -- transport indicates transport failure
> usb-storage: Fixing INQUIRY data to show SCSI rev 2
> usb-storage: scsi cmd done, result=0x70000
> usb-storage: *** thread sleeping.
> usb-storage: Bulk soft reset completed
> usb-storage: queuecommand() called
> usb-storage: *** thread awakened.
> usb-storage: Command TEST_UNIT_READY (6 bytes)
> usb-storage: 00 00 00 00 00 00 19 c0 c0 67 50 c1
> usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 0 F 0 CL 6
> usb-storage: Bulk command transfer result=0
> usb-storage: Attempting to get CSW...
> usb-storage: Bulk status result = 0
> usb-storage: Bulk status Sig 0x53425355 T 0x50 R 0 Stat 0x0
> usb-storage: Bulk logical error
> usb-storage: Bulk reset requested
> ---cut
> 
> Any clue? 
> 
>  
> Thanks,
>         LC
> RIPE Network Coordination Centre  <http://www.ripe.net>
> 
> 
> _______________________________________________
> [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

A:  The most ironic oxymoron wins ...
DP: "Microsoft Works"
A:  Uh, okay, you win.
                                        -- A.J. & Dust Puppy
User Friendly, 1/18/1998

Attachment: msg01796/pgp00000.pgp
Description: PGP signature

Reply via email to