> I have a few concerns about your patch:
> 1. What makes you think it needs US_FL_FIX_CAPACITY and
> US_FL_IGNORE_RESIDUE?
US_FL_FIX_CAPACITY : It didn't work without it, BUT I have opened the disk as
"physical disc"
with Hex Workshop under win xp now, which says the last sector is 38997487 and
under linux
dmesg shows "SCSI device sda: 38997488 512-byte hdwr sectors (19967 MB)"
without patch.
So this would be ok.
Therefore I have tried to hard code max_sectors_kb to 64 in scsiglue.c and it
surprisingly works.
Either I can make a patch to hard code it or somebody could add this feature
to "unusual devices",
because I think I'm not advanced enough to do it on my own.
US_FL_IGNORE_RESIDUE : I used usbsniff under windows to log the traffic and
see yourself
[2723 ms] <<< URB 1056 coming back <<<
-- URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER:
PipeHandle = ff9b4c64 [endpoint 0x00000082]
TransferFlags = 00000003 (USBD_TRANSFER_DIRECTION_IN,
USBD_SHORT_TRANSFER_OK)
TransferBufferLength = 0000000d
TransferBuffer = feef7d80
TransferBufferMDL = ffb36890
00000000: 55 53 42 53 38 9b a2 ff 01 9f 51 06 00
UrbLink = 00000000
It always returns 01 9f 51 06.
> 2. You refer to three names for this device. Do they all use bcdDevice
> ID of 1.03 (i.e. 0x0103) like the one you showed:
> > P: Vendor=0ed1 ProdID=7636 Rev= 1.03
> ? If so, can we limit your range from 0103-0103 instead of 0000-9999
> like you've done?
No Idea, because I have only an EasyLite DJ 20. So in fact, I could not even
say if
they have the same ProductID & VendorID, although it is probably for the
Easylite DJ20
and the Typhoon DJ1820. But after googling again i'm not sure if TGE is also a
manufacturer
of this device or if the device only includes some units from TGE, because TGE
doesn't
provide this device on their site. So perhaps the patch should be
--- unusual_devs.h 2006-04-04 19:24:11.915787000 +0200
+++ ../../../../linux/drivers/usb/storage/unusual_devs.h 2006-04-04
19:27:51.085484250 +0200
@@ -1143,10 +1143,17 @@
"USB",
"Flash Disk",
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_IGNORE_RESIDUE ),
+/* Reported by Benjamin Schiller <[EMAIL PROTECTED]> */
+UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0000, 0x9999,
+ "Typhoon",
+ "My DJ 1820",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW ),
+
/* Reported by Michael Stattmann <[EMAIL PROTECTED]> */
UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
"Sony Ericsson",
"V800-Vodafone 802",
US_SC_DEVICE, US_PR_DEVICE, NULL,
But dmesg shows
usb-storage: waiting for device to settle before scanning
Vendor: TGE Model: MP3 Player Disk Rev: 2.10
Type: Direct-Access ANSI SCSI revision: 02
and the info box on the device
"Copyright TGE Group. All rights reserved ..."
Perhaps the firmware is from TGE only ?!
And please note that I have testet it again with US_FL_GO_SLOW and without it.
The device still
crashes without it after some time.
MfG
Benjamin Schiller
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel