On Fri, 2 Jan 2004, Eric Lussard wrote:
> <5>usb-storage: This device (05e3,0701,0002 S 02 P 50) has an unneeded
> Protocol entry
> in unusual_devs.h
> <4> Please send a copy of this message to
> <[EMAIL PROTECTED]>
Yet another unusual_devs change! I really should stick to a policy of
reading through all the new email before sending any replies...
Greg, this change can be applied to 2.4 and 2.6
===== unusual_devs.h 1.86 vs edited =====
--- 1.86/drivers/usb/storage/unusual_devs.h Thu Dec 4 05:18:54 2003
+++ edited/drivers/usb/storage/unusual_devs.h Fri Jan 2 12:35:32 2004
@@ -371,7 +371,7 @@
UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
"",
"USB TO IDE",
- US_SC_SCSI, US_PR_BULK, NULL,
+ US_SC_SCSI, US_PR_DEVICE, NULL,
US_FL_MODE_XLATE ),
/* Reported by Peter Marks <[EMAIL PROTECTED]>
On Fri, 2 Jan 2004, Eric Lussard wrote:
>
> Hello list,
>
> I've got some problems with my DVD writer in an external USB-IDE case, using
> the
> EHCI driver. Using UHCI everything works. I can connect the device, mount
> disks
> and read from the device without problems. When I write a CD/DVD - with
> cdrecord
> or growisofs - the system writes something and after some time the device
> hang.
> After that the activity LED is on, and the usb-storage module is used and
> cannot be
> removed.
> USB/IDE box from /proc/bus/usb/devices:
> T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=05e3 ProdID=0701 Rev= 0.02
> S: Manufacturer=Genesyslogic
> S: Product=USB Mass Storage Device
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 4mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=02 Prot=50 Driver=usb-storage
> E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
As David Brownell noted, those Genesys Logic devices have given us a lot
of trouble. The patch I included above will _not_ fix your problem. But
doing this might; it's a change you'll have to make by hand.
In your kernel source tree, find and edit the file
drivers/usb/storage/scsiglue.c. Somewhere around line 315 you'll see:
/* limit the total size of a transfer to 120 KB */
.max_sectors = 240,
Change that to read
/* limit the total size of a transfer to 64 KB */
.max_sectors = 128,
and rebuild the usb-storage module. Other people have found that once
this change has been made their Genesys devices work okay.
Alan Stern
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel