Enabling keyboard keys on X (Rawhide)

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

 



Hi all,

With FC4 on an Acer Ferrari 4000 I had some keys that did not work out
of the box and needed the changes below. When I tried to do the same
trick on Rawhide I saw that X has changed considerably. Anyone have some
hints how I make the changes below apply to the new X?

Thanks and regards,
Patrick

/etc/rc.c/rc.local:
/usr/bin/setkeycodes e033 159 e034 158 e06e 235 e074 236 e073 237 e025
238 e026 239 e027 138 e055 192


/usr/lib/X11/xkb/symbols/inet:
--- orig/inet	2005-12-07 18:25:57.488686750 +1100
+++ inet	2005-08-27 05:21:43.851837904 +1000
@@ -38,6 +38,28 @@
     key <I5E>	{	[ XF86PowerOff		]	};
 };
 
+partial alphanumeric_keys
+xkb_symbols "ferrari4k" {
+    // From Alex Dubov <oakad@xxxxxxxxx>
+    name[Group1]= "Acer Ferrari 4000 Keyboard";
+
+    key <I30>	{	[ XF86AudioRaiseVolume	]	}; //Fn+Up
+    key <I2E>	{	[ XF86AudioLowerVolume	]	}; //Fn+Down
+    key <I20>	{	[ XF86AudioMute		]	}; //Fn+F8
+    key <I6C>	{	[ XF86Mail		]	}; //"mail" button
+    key <I32>	{	[ XF86WWW		]	}; //"Saturn" button
+    // Missing keycodes - set-up with setkeycodes
+    key <I71>   {       [ XF86Launch1           ]       };
+    key <I72>   {       [ XF86Launch2           ]       };
+    key <I73>	{	[ Help			]	};
+    key <I74>	{	[ XF86Launch3		]	};
+    key <I75>	{	[ XF86Launch4		]	};
+    key <I79>   {       [ XF86Launch5           ]       };
+    key <I5F>   {       [ XF86Sleep             ]       };
+    key <I69>   {       [ EuroSign              ]       };
+    key <I6A>   {       [ dollar                ]       };
+};
+
 // Azona


/usr/lib/X11/xkb/symbols.dir:
*** orig/xorg   2005-08-06 20:45:18.000000000 +0300
--- xorg        2005-08-26 22:43:33.145794968 +0300
***************
*** 100,106 ****
  ! layout[4]   =       symbols
    *           =       +pc/%l[4]%(v[4]):4

! ! $inetkbds = airkey acpi scorpius azonaRF2300 \
                brother \
                btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\
                cherryblue cherrybluea cherryblueb \
--- 100,106 ----
  ! layout[4]   =       symbols
    *           =       +pc/%l[4]%(v[4]):4

! ! $inetkbds = airkey ferrari4k acpi scorpius azonaRF2300 \
                brother \
                btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\
                cherryblue cherrybluea cherryblueb \

/usr/lib/X11/xkb/rules/xorg.lst:
*** orig/xorg.lst       2005-08-06 20:45:18.000000000 +0300
--- xorg.lst    2005-08-26 22:44:57.177020280 +0300
***************
*** 21,26 ****
--- 21,27 ----
    pc98                PC-98xx Series
    abnt2               Brazilian ABNT2
    airkey      Acer AirKey V
+   ferrari4k     Acer Ferrari 4000
    acpi                ACPI Standard
    azonaRF2300 Azona RF2300 wireless Internet Keyboard
    scorpius    Advance Scorpius KI

/usr/lib/X11/xkb/rules/xorg.xml:
*** orig/xorg.xml       2005-08-06 20:45:18.000000000 +0300
--- xorg.xml    2005-08-26 22:45:56.259038448 +0300
***************
*** 184,189 ****
--- 184,195 ----
      </model>
      <model>
        <configItem>
+         <name>ferrari4k</name>
+         <description>Acer Ferrari 4000</description>
+       </configItem>
+     </model>
+     <model>
+       <configItem>
          <name>acpi</name>
          <description>ACPI Standard</description>
          <description xml:lang="cs">Standard ACPI</description>




-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]