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

Bug#282035: xserver-xfree86: [kbd] Logitech "Internet Navigator Special Edition" / "Elite" USB Keyboard missing 4 buttons



On Fri, Nov 19, 2004 at 10:16:17AM +0000, Chris Boyle wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-8
> Severity: wishlist
> 
> This keyboard is missing 4 "internet" buttons: Messenger/SMS, Webcam,
> iTouch, Shopping. I am using the closest match on layout from
> /etc/X11/xkb/symbols/inet, which is logicdn, for the Cordless Desktop
> Navigator (the difference being mine has a wheel and 2 buttons on the
> left-hand side). The missing buttons are listed in that entry as I11,
> I12, I13 and I14 respectively. Here is annotated output of showkey -k
> on tty1 when I press each of this type of button from left to right
> (excluding F-lock)

XKeyboard-Config from freedesktop.org has a new entry which seems
to match your keyboard, can you please test it?
This patch can be applied against /etc/X11/xkb.

[...]
> Those I've marked with * do not show up in X11 with, for example, xev.
> These are all the ones with 0x82 in them.
> 
> Also, showkey -s (which seems to be a fake emulation for USB stuff
> anyway) doesn't show anything for these either. So it could be the
> kernel's fault, or it could just be that some level of the kernel has
> the same bug; I don't know how much of the kernel's keyboard handling
> X11 uses for this.

I do not know well how this works, but this cannot be fixed with XKB
files, so I cannot help here.

Denis
diff -ruN xc-old/programs/xkbcomp/rules/xfree86 xc/programs/xkbcomp/rules/xfree86
--- xc-old/programs/xkbcomp/rules/xfree86	2004-12-14 21:41:23.000000000 +0000
+++ xc/programs/xkbcomp/rules/xfree86	2004-12-14 22:53:34.000000000 +0000
@@ -108,7 +108,7 @@
               honeywell_euroboard \
               rapidaccess rapidaccess2 rapidaccess2a \
               ltcd logicdit logicdp logicdpa logicdpa2 logicdo logicfn \
-              logicdn logidak logiik itouch logiitc logiik logiink itouchin \
+              logicdn logidak logiik itouch logiitc logiik logiink logiinkse itouchin \
               mx1998 mx2500 mx2750 \
               microsoftinet microsoftpro microsoftprose microsoftoffice \
               oretec \
diff -ruN xc-old/programs/xkbcomp/rules/xfree86.lst xc/programs/xkbcomp/rules/xfree86.lst
--- xc-old/programs/xkbcomp/rules/xfree86.lst	2004-12-14 21:41:22.000000000 +0000
+++ xc/programs/xkbcomp/rules/xfree86.lst	2004-12-14 23:15:51.000000000 +0000
@@ -74,6 +74,7 @@
   logiitc	Logitech iTouch Cordless Keyboard (model Y-RB6)
   logiik	Logitech Internet Keyboard
   logiink	Logitech Internet Navigator Keyboard
+  logiinkse	Logitech Internet Navigator Keyboard SE
   itouchin	Logitech iTouch keyboard Internet Navigator
   mx1998	Memorex MX1998
   mx2500	Memorex MX2500 EZ-Access Keyboard
diff -ruN xc-old/programs/xkbcomp/rules/xfree86.xml xc/programs/xkbcomp/rules/xfree86.xml
--- xc-old/programs/xkbcomp/rules/xfree86.xml	2004-12-14 21:41:22.000000000 +0000
+++ xc/programs/xkbcomp/rules/xfree86.xml	2004-12-14 23:16:52.000000000 +0000
@@ -421,6 +421,12 @@
     </model>
     <model>
       <configItem>
+        <name>logiinkse</name>
+        <description>Logitech Internet Navigator Keyboard Special Edition</description>
+      </configItem>
+    </model>
+    <model>
+      <configItem>
         <name>itouchin</name>
         <description>Logitech iTouch keyboard Internet Navigator</description>
       </configItem>
diff -ruN xc-old/programs/xkbcomp/symbols/inet xc/programs/xkbcomp/symbols/inet
--- xc-old/programs/xkbcomp/symbols/inet	2004-12-14 21:41:11.000000000 +0000
+++ xc/programs/xkbcomp/symbols/inet	2004-12-14 23:16:06.000000000 +0000
@@ -1189,6 +1189,53 @@
 };
 
 partial alphanumeric_keys 
+xkb_symbols "logiinkse" {
+    name[Group1]= "Logitech Internet Navigator Keyboard SE";
+
+    // Media keys
+    key <I20>	{	[ XF86AudioMute		]	};
+    key <I6D>	{	[ XF86AudioMedia	]	};
+    key <I2E>	{	[ XF86AudioLowerVolume	]	};
+    key <I30>	{	[ XF86AudioRaiseVolume	]	};
+    key <I22>	{	[ XF86AudioPlay, XF86AudioPause ] };
+    key <I24>	{	[ XF86AudioStop		]	};
+    key <I10>	{	[ XF86AudioPrev		]	};
+    key <I19>	{	[ XF86AudioNext		]	};
+
+    // Left side
+    key <I5F>	{	[ XF86Standby		]	};
+    key <I6C>	{	[ XF86Mail		]	};
+    key <I11>	{	[ XF86Messenger		]	};
+    key <I12>	{	[ XF86WebCam		]	};
+
+    // Right side
+    key <I13>	{	[ XF86VendorHome	]	};
+    key <I65>	{	[ XF86Search		]	};
+    key <I14>	{	[ XF86Shop		]	};
+    key <I66>	{	[ XF86Favorites		]	};
+    key <I32>	{	[ XF86HomePage		]	};
+
+    // Wheel buttons
+    key <I69>	{	[ XF86Forward		]	};
+    key <I6A>	{	[ XF86Back		]	};
+    key <I16>	{	[ XF86ScrollClick	]	};
+
+    // Extended function keys
+    key <I3B>	{	[ XF86New		]	};	// F1
+    key <I3C>	{	[ XF86Reply		]	};	// F2
+    key <FK13>	{	[ XF86MailForward	]	};	// F3
+    key <FK14>	{	[ XF86Send		]	};	// F4
+    key <FK15>	{	[ Undo			]	};	// F5
+    key <FK16>	{	[ Redo			]	};	// F6
+    key <FK17>	{	[ Print			]	};	// F7
+    key <I42>	{	[ XF86Save		]	};	// F8
+    key <I43>	{	[ XF86MyComputer	]	};	// F9
+    key <I44>	{	[ XF86Documents		]	};	// F10
+    key <I57>	{	[ XF86Pictures		]	};	// F11
+    key <I58>	{	[ XF86Music		]	};	// F12
+};
+
+partial alphanumeric_keys 
 xkb_symbols "itouchin" {
     name[Group1]= "Logitech iTouch keyboard Internet Navigator";
 

Reply to: