Leif Sawyer wrote:
> > It does _not_ work, not with your patch in orginal and nor with the
> > 0x0074 instead.
> > 
> > Rene
> 
> So we will need two device entries.  0074, which does not need the
> FIX_INQUIRY, and 0260 which DOES.
> 
> +UNUSUAL_DEV(  0x04ce, 0x0002, 0x0074, 0x0074, 
> +             "ScanLogic",
> +             "SL11R-IDE",
> +             US_SC_SCSI, US_PR_BULK, NULL,
> +             US_FL_SL_IDE_BUG ),
> +
> +UNUSUAL_DEV(  0x04ce, 0x0002, 0x0200, 0x0240, 
> +             "H45 Technology Corp",
> +             "ScanLogic USB ATA/ATAPI Adapter",
> +             US_SC_SCSI, US_PR_BULK, NULL,
> +             US_FL_FIX_INQUIRY | US_FL_SL_IDE_BUG ),
> 
> 
> Using this, it should work for you, as it is effectively
> your patch (just reworked to be device-dependant, not compile-time
> dependant)
> 
> This (if it works) should solve Matt's concerns.

This does not work.

My cat /proc/scsi/scsi with my running kernel:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: IDE-CD   Model: R/RW 4x4x32      Rev: 1.3B
  Type:   CD-ROM                           ANSI SCSI revision: 02

This is the drive into the box.

When I patch a fresh 2.4.16 with your patch(es) I got this as I never
had done it:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model:                  Rev:
  Type:   <NULL>                ANSI SCSI revision: ffffffff

My patch originally was:

+UNUSUAL_DEV(  0x04ce, 0x0002, 0x0000, 0x0200,
+               "ScanLogic Corp.",
+               "USB to IDE",
+               US_SC_8020, US_PR_BULK, NULL, 0),
+

so probably any of the numbers of your recommendation is wrong?

I attached the relevant sections of cat /proc/bus/usb/devices:
T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=  5 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=ScanLogic USBIDE
S:  Product=ScanLogic USBIDE
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

with your patch(es)

and

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=  5 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=ScanLogic USBIDE
S:  Product=ScanLogic USBIDE
C:* #Ifs= 1 Cfg#= 1 Atr=40 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=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

now running at me (my patch).

Do you have a solution (sorry for this long mail!)

Rene
> 
> Haven't heard back from Dylan or Peter yet on their setups. Feedback, guys?
> 
> 
> Leif
> 

-- 
Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est
                                    [Aurelius Augustinus, 4. Jhd]

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to