You are not logged in.
I would like to apply some specific configuration to my apple external keyboard, such as fixing the problem with the swapped | and < keys, and remapping some modkeys.
In order to do this in xorg 1.8, I have to add an InputClass section to a xorg config file, and give it the proper MatchVendor and MatchProduct, afaik. How do I find the correct values for MatchVendor and MatchProduct, though? Also, where would I find documentation for what options I can set for this device?
Offline
I used the HAL-tools to accomplish this, but now HAL is deprecated, I'm not sure which tools will handle this... (udev?)
Offline
Who knows There seems to be a complete lack of documentation. Not even "man xorg.conf" mentions anything about what exactly it matches against.
Offline
Shameless bump, because I'm certain that _someone_ in the arch community has to know this.
Offline
How do I find the correct values for MatchVendor and MatchProduct, though? Also, where would I find documentation for what options I can set for this device?
The values should be the same as the ones used for the udev rules.
So you can look to http://www.reactivated.net/writing_udev_rules.html
Especially 'Finding suitable information from sysfs'.
The 'udevinfo' command is replaced by the 'udevadm info' command.
So the command :
# udevinfo -a -p $(udevinfo -q path -n /dev/sda)
should be replaced by :
# udevadm info --query=all --path=$(udevadm info --query=path --name=/dev/sdx)
Replace /dev/sdx by the device of the keyboard.
Reason of edit : command line parameter syntax corrected.
It gives a list of all the attributes for a specific device, to write udev rules.
See 'man udevadm'
But the strings for the Vendor and the Product should be the same as for the MatchVendor and MatchProduct strings in the InputClass section of the xorg config file.
It's what I understand presently about that subject, as I just begin to study the changes with xorg 1.8 and the exclusive use of udev for configuring the input devices.
I just give you some ideas without guarantees at that time.
I have not yet experimented that.
Last edited by berbae (2010-05-05 09:32:15)
Offline