iRiver P7 UNUSUAL_DEV "patch"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"out of the box" iRiver P7 "doesnt work" with following messages:
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_RETRY
end_request: I/O error, dev sda, sector 0

"MAX_SECTORS_64" quirk helps.

"a patch":
--- drivers/usb/storage/unusual_devs.h.orig 2009-09-17 16:57:00 +0400
+++ drivers/usb/storage/unusual_devs.h      2009-09-17 16:56:35 +0400
@@ -1836,6 +1836,13 @@
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_RESIDUE ),
 
+/* Reported by Sergey Pinaev <dfo@xxxxxxxx> */
+UNUSUAL_DEV(  0x4102, 0x1059, 0x0000,  0xFFFF,
+               "iRiver",
+               "P7K",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_MAX_SECTORS_64 ),
+
 /*
  * David Hц╓rdeman <david@xxxxxxxx>
  * The key makes the SCSI stack print confusing (but harmless) messages

/proc/bus/usb/devices:

T:  Bus=05 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 30 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=4102 ProdID=1059 Rev= 0.00
S:  Manufacturer=iriver
S:  Product=iriver P7K
S:  SerialNumber=ec00ecafc61832323332303617170209
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  32 Ivl=128ms

-- 
mail="Sergey Pinaev <dfo@xxxxxxxx>"
url="http://`echo $mail | sed 's/.* <\(.*\)@\(.*\)>/\1.\2/'`"
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux