Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 183606 Details for
Bug 238125
x11-base/xorg-server-1.5.0 breaks keyboard due to "Video Bus" (type: KEYBOARD)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
use-multiple-layouts.fdi
use-multiple-layouts.fdi (text/plain), 4.70 KB, created by
Martin Mokrejš
on 2009-03-01 20:48:17 UTC
(
hide
)
Description:
use-multiple-layouts.fdi
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2009-03-01 20:48:17 UTC
Size:
4.70 KB
patch
obsolete
><?xml version="1.0" encoding="utf-8"?> ><!-- > Identifier "Logitech Internet Keyboard" > Option "XkbLayout" "us,cz" > Option "XkbVariant" ",qwerty" > Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel" > > # instead of the above allow AllowEmptyInput and define the hal rules > Option "AllowEmptyInput" "True" >--> ><!-- http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi > http://who-t.blogspot.com/2008/07/input-configuration-in-nutshell.html > > >input.xkb.layout is for system-wide >input.x11_options.XkbLayout is for X-server specifics > >The latter overrides the former. Both are fine to set. >For example, in Fedora we set the input.xkb.* keys automatically from >/etc/sysconfig/keyboard, but you can override them through the x11_options for >specific devices if you need to. > > >--> > ><deviceinfo version="0.2"> > <device> > <match key="info.capabilities" contains="input.mouse"> > <merge key="input.x11_driver" type="string">mouse</merge> > <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> > <merge key="input.x11_driver" type="string">evdev</merge> > </match> > </match> > > <match key="info.capabilities" contains="input.keyboard"> > <merge key="input.x11_driver" type="string">evdev</merge> > <merge key="input.xkb.rules" type="string">xorg</merge> > <merge key="input.xkb.model" type="string">pc105</merge> > <merge key="input.xkb.layout" type="string">us,cz</merge> > <merge key="input.xkb.variant" type="string">,qwerty</merge> > <!-- replace 'strlist' with 'string' on 'input.xkb.options' lines, > see http://bugs.gentoo.org/show_bug.cgi?id=237742#c5 --> > <merge key="input.xkb.options" type="string">grp:alt_shift_toggle,grp_led:scroll,caps:shift_nocancel</merge> > </match> > > <match key="info.product" contains="Video Bus"> > <remove key="input.x11_driver"/> > <remove key="input.xkb"/> > </match> > > <!-- http://bugs.gentoo.org/show_bug.cgi?ctype=xml&id=200060 to avoid need to run setxkbmap manually > <match key="info.capabilities" contains="input.keys"> > <append key="info.callouts.add" type="strlist">hal-setup-keymap</append> > </match> --> > </device> ></deviceinfo> > > ><!-- > > >http://webui.sourcelabs.com/rhel/issues/421551 >http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/81b4142a7337e0f2/c6ba007adfb89e0d >http://64.233.183.104/search?q=cache:2zuIrJjpZRQJ:gentoo-wiki.com/HOWTO_D-BUS,_HAL,_KDE_media:/+disable+certain+hal+device&hl=en&ct=clnk&cd=38&lr=lang_cs|lang_en|lang_de|lang_sk >http://bbs.archlinux.org/viewtopic.php?id=54568 >http://bugs.gentoo.org/show_bug.cgi?id=200060 > > > this one probably screws up my setup > >udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input' > info.addons.singleton = {'hald-addon-input'} (string list) > info.capabilities = {'input', 'input.keys', 'button'} (string list) > info.category = 'input' (string) > info.parent = '/org/freedesktop/Hal/devices/computer' (string) > info.product = 'Video Bus' (string) > info.subsystem = 'input' (string) > info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input' (string) > input.device = '/dev/input/event6' (string) > input.product = 'Video Bus' (string) > input.x11_driver = 'evdev' (string) > input.xkb.layout = 'us' (string) > input.xkb.model = 'evdev' (string) > input.xkb.rules = 'base' (string) > input.xkb.variant = '' (string) > linux.device_file = '/dev/input/event6' (string) > linux.hotplug_type = 2 (0x2) (int) > linux.subsystem = 'input' (string) > linux.sysfs_path = '/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/LNXVIDEO:00/input/input6/event6' (string) >--> > ><!-- > >The above setting should lead to (at least under xorg-server-1.4.2 did): > >$ setxkbmap -print >xkb_keymap { > xkb_keycodes { include "evdev+aliases(qwerty)" }; > xkb_types { include "complete+caps(shift_nocancel)" }; > xkb_compat { include "complete+ledscroll(group_lock)" }; > xkb_symbols { include "pc+us+inet(evdev)+cz(qwerty):2+group(alt_shift_toggle)" }; > xkb_geometry { include "pc(pc104)" }; >}; >$ > > > > >http://bugs.gentoo.org/show_bug.cgi?id=237742#c7 > ><?xml version="1.0" encoding="utf-8"?> ><deviceinfo version="0.2"> > <match key="info.capabilities" contains="input.keyboard"> > <merge key="input.x11_options.XkbRules" type="string">xorg</merge> > <merge key="input.x11_driver" type="string">evdev</merge> > <merge key="input.x11_options.XkbLayout" type="string">us,ru</merge> > <merge key="input.x11_options.XkbOptions" >type="string">grp:alt_shift_toggle</merge> > <merge key="input.x11_options.XkbVariant" type="string">,winkeys</merge> > </match> ></deviceinfo> > ># setxkbmap -print > >-->
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 238125
:
165851
|
165853
|
165854
|
165855
|
165856
|
165883
|
165885
|
165891
|
166385
|
166387
|
166389
|
169538
|
169594
|
169696
|
175709
|
183606
|
183608
|
183609
|
184803
|
185587
|
185588