summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-08 13:08:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-08 13:08:33 +0000
commit1df5a4f08f3ca3445f4bceeead052f3503ef737a (patch)
tree77cdad90e984c52fcec7aebfe064ca222f62d1ca /app-misc/logitech-applet/files
parentVersion bump. (diff)
downloadgentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.tar.gz
gentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.tar.bz2
gentoo-2-1df5a4f08f3ca3445f4bceeead052f3503ef737a.zip
Missing Logitech MX518 device ID wrt #278077.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/logitech-applet/files')
-rw-r--r--app-misc/logitech-applet/files/logitech_applet-mx518-2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch b/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch
new file mode 100644
index 000000000000..6529b88d7871
--- /dev/null
+++ b/app-misc/logitech-applet/files/logitech_applet-mx518-2.patch
@@ -0,0 +1,21 @@
+http://bugs.gentoo.org/show_bug.cgi?id=278077
+
+--- logitech_applet.c
++++ logitech_applet.c
+@@ -65,6 +65,7 @@
+ { VENDOR_LOGITECH, 0xC024, "M-BP82", "MX300 Optical Mouse", HAS_RES },
+ { VENDOR_LOGITECH, 0xC025, "M-BP81A", "MX500 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
+ { VENDOR_LOGITECH, 0xC031, "M-UT58A", "iFeel Mouse (silver)", HAS_RES },
++ { VENDOR_LOGITECH, 0xC051, "M-BS81A", "MX518 Optical Mouse", HAS_RES },
+ { VENDOR_LOGITECH, 0xC501, "C-BA4-MSE", "Mouse Receiver", HAS_CSR },
+ { VENDOR_LOGITECH, 0xC502, "C-UA3-DUAL", "Dual Receiver", HAS_CSR | USE_CH2},
+ { VENDOR_LOGITECH, 0xC504, "C-BD9-DUAL", "Cordless Freedom Optical", HAS_CSR | USE_CH2 },
+@@ -182,7 +183,7 @@
+ * - 0x03 for 400cpi
+ * - 0x04 for 800cpi
+ * - 0x05 for 1200cpi
+- * - 0x06 for 1600cpi
++ * - 0x06 for 1600cpi (actually 1800cpi on newer MX518)
+ */
+ int set_resolution(struct usb_device *dev, int resolution)
+ {