1 |
Author: dsd |
2 |
Date: 2008-12-24 17:54:53 +0000 (Wed, 24 Dec 2008) |
3 |
New Revision: 1450 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.28/2500_pentax-k10d-wrong-capacity.patch |
7 |
genpatches-2.6/trunk/2.6.28/2505_macpower-wrong-capacity.patch |
8 |
Modified: |
9 |
genpatches-2.6/trunk/2.6.28/0000_README |
10 |
Log: |
11 |
forward port some unusual_devs additions |
12 |
|
13 |
Modified: genpatches-2.6/trunk/2.6.28/0000_README |
14 |
=================================================================== |
15 |
--- genpatches-2.6/trunk/2.6.28/0000_README 2008-12-19 00:37:18 UTC (rev 1449) |
16 |
+++ genpatches-2.6/trunk/2.6.28/0000_README 2008-12-24 17:54:53 UTC (rev 1450) |
17 |
@@ -39,6 +39,14 @@ |
18 |
Individual Patch Descriptions: |
19 |
-------------------------------------------------------------------------- |
20 |
|
21 |
+Patch: 2500_pentax-k10d-wrong-capacity.patch |
22 |
+From: http://bugs.gentoo.org/250406 |
23 |
+Desc: Fix capacity reported by Pentax K10D camera |
24 |
+ |
25 |
+Patch: 2505_macpower-wrong-capacity.patch |
26 |
+From: http://bugs.gentoo.org/250789 |
27 |
+Desc: Fix capacity reported by Macpower hard drive |
28 |
+ |
29 |
Patch: 2700_hda-asus-mic-input.patch |
30 |
From: http://bugs.gentoo.org/235732 |
31 |
Desc: Fix microphone input regression on Asus laptops |
32 |
|
33 |
Copied: genpatches-2.6/trunk/2.6.28/2500_pentax-k10d-wrong-capacity.patch (from rev 1447, genpatches-2.6/trunk/2.6.27/2500_pentax-k10d-wrong-capacity.patch) |
34 |
=================================================================== |
35 |
--- genpatches-2.6/trunk/2.6.28/2500_pentax-k10d-wrong-capacity.patch (rev 0) |
36 |
+++ genpatches-2.6/trunk/2.6.28/2500_pentax-k10d-wrong-capacity.patch 2008-12-24 17:54:53 UTC (rev 1450) |
37 |
@@ -0,0 +1,27 @@ |
38 |
+[PATCH] usb-storage: Pentax K10D reports wrong capacity |
39 |
+ |
40 |
+Jaak Ristioja reported problems with his Pentax K10D camera: |
41 |
+https://bugs.gentoo.org/show_bug.cgi?id=250406 |
42 |
+ |
43 |
+The number of reported sectors is off-by-one. |
44 |
+ |
45 |
+Signed-off-by: Daniel Drake <dsd@g.o> |
46 |
+ |
47 |
+Index: linux-2.6.27-gentoo-r4/drivers/usb/storage/unusual_devs.h |
48 |
+=================================================================== |
49 |
+--- linux-2.6.27-gentoo-r4.orig/drivers/usb/storage/unusual_devs.h |
50 |
++++ linux-2.6.27-gentoo-r4/drivers/usb/storage/unusual_devs.h |
51 |
+@@ -1363,6 +1363,13 @@ UNUSUAL_DEV( 0x0a17, 0x006, 0x0000, 0xff |
52 |
+ US_SC_DEVICE, US_PR_DEVICE, NULL, |
53 |
+ US_FL_FIX_INQUIRY ), |
54 |
+ |
55 |
++/* Reported by Jaak Ristioja <Ristioja@×××××.com> */ |
56 |
++UNUSUAL_DEV( 0x0a17, 0x006e, 0x0100, 0x0100, |
57 |
++ "Pentax", |
58 |
++ "K10D", |
59 |
++ US_SC_DEVICE, US_PR_DEVICE, NULL, |
60 |
++ US_FL_FIX_CAPACITY ), |
61 |
++ |
62 |
+ /* These are virtual windows driver CDs, which the zd1211rw driver |
63 |
+ * automatically converts into WLAN devices. */ |
64 |
+ UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101, |
65 |
|
66 |
|
67 |
Property changes on: genpatches-2.6/trunk/2.6.28/2500_pentax-k10d-wrong-capacity.patch |
68 |
___________________________________________________________________ |
69 |
Name: svn:mergeinfo |
70 |
+ |
71 |
|
72 |
Copied: genpatches-2.6/trunk/2.6.28/2505_macpower-wrong-capacity.patch (from rev 1447, genpatches-2.6/trunk/2.6.27/2505_macpower-wrong-capacity.patch) |
73 |
=================================================================== |
74 |
--- genpatches-2.6/trunk/2.6.28/2505_macpower-wrong-capacity.patch (rev 0) |
75 |
+++ genpatches-2.6/trunk/2.6.28/2505_macpower-wrong-capacity.patch 2008-12-24 17:54:53 UTC (rev 1450) |
76 |
@@ -0,0 +1,46 @@ |
77 |
+Message-ID: <49492896.70804@×××××××××.ru> |
78 |
+Date: Wed, 17 Dec 2008 19:28:06 +0300 |
79 |
+From: Sergey Ovcharenko <velegrin@×××××××××.ru> |
80 |
+To: stern@×××××××××××××××.edu, linux-usb@×××××××××××.org, |
81 |
+ usb-storage@××××××××××××××××××××.net |
82 |
+Subject: [usb-storage] [PATCH] usb-storage: unusual_devs.h additions for Macpower MasterBox |
83 |
+ |
84 |
+Jason Johnston reported these problems with his external USB hard drive: |
85 |
+http://bugs.gentoo.org/show_bug.cgi?id=250789 |
86 |
+ |
87 |
+The number of reported sectors is off-by-one. |
88 |
+ |
89 |
+Signed-off-by: Sergey Ovcharenko <velegrin@×××××××××.ru> |
90 |
+Signed-off-by: Phil Dibowitz <phil@××××.com> |
91 |
+--- |
92 |
+/proc/bus/usb/devices: |
93 |
+T: Bus=01 Lev=02 Prnt=08 Port=00 Cnt=01 Dev#= 9 Spd=480 MxCh= 0 |
94 |
+D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 |
95 |
+P: Vendor=0dc4 ProdID=0073 Rev= 0.00 |
96 |
+S: Manufacturer=Macpower Technology Co.LTD. |
97 |
+S: Product=USB 2.0 3.5" DEVICE |
98 |
+S: SerialNumber=03006C |
99 |
+C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA |
100 |
+I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage |
101 |
+E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms |
102 |
+E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms |
103 |
+ |
104 |
+Index: linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h |
105 |
+=================================================================== |
106 |
+--- linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h.orig |
107 |
++++ linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h |
108 |
+@@ -1509,6 +1518,13 @@ UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x |
109 |
+ "JD 5200 z3", |
110 |
+ US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY), |
111 |
+ |
112 |
++/* Reported by Jason Johnston <killean@××××.ca> */ |
113 |
++UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000, |
114 |
++ "Macpower Technology Co.LTD.", |
115 |
++ "USB 2.0 3.5\" DEVICE", |
116 |
++ US_SC_DEVICE, US_PR_DEVICE, NULL, |
117 |
++ US_FL_FIX_CAPACITY), |
118 |
++ |
119 |
+ /* Reported by Lubomir Blaha <tritol@××××××××.cz> |
120 |
+ * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this |
121 |
+ * works for me. Can anybody correct these values? (I able to test corrected |
122 |
+ |
123 |
|
124 |
|
125 |
Property changes on: genpatches-2.6/trunk/2.6.28/2505_macpower-wrong-capacity.patch |
126 |
___________________________________________________________________ |
127 |
Name: svn:mergeinfo |
128 |
+ |