FS#9563 - enable xorg-server hal configuration support (needed for input hotplug)
Attached to Project:
Arch Linux
Opened by Loic Nageleisen (lloeki) - Wednesday, 13 February 2008, 14:08 GMT
Last edited by Jan de Groot (JGC) - Sunday, 16 March 2008, 23:11 GMT
Opened by Loic Nageleisen (lloeki) - Wednesday, 13 February 2008, 14:08 GMT
Last edited by Jan de Groot (JGC) - Sunday, 16 March 2008, 23:11 GMT
|
Details
Description: without hal configuration, input hotplug
doesn't work. this means people have to fiddle with evdev to
have all input device features working (but without
hotplugging), or use /dev/input/mice for pseudo-hotplugging
(and lose many features like extra buttons, or even have to
cope with buggy ones sending erroneous events)
For now dmx and xprint have to be disabled. I think evdev/hotplug users far outweight dmx users, and dmx will be ported shortly to the new device scheme. Also, there might be some issues in the migration: - usage conflict with /dev/input/mice and/or existing config in xorg.conf - keyboard layout must be set in a fdi file for hal Additional info: see http://bbs.archlinux.org/viewtopic.php?pid=329767 for a summary, doubled as a guide |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 16 March 2008, 23:11 GMT
Reason for closing: Won't implement
Additional comments about closing: The hal backend breaks too many things here. It even takes X down without warning on an X upgrade. Reverting.
Sunday, 16 March 2008, 23:11 GMT
Reason for closing: Won't implement
Additional comments about closing: The hal backend breaks too many things here. It even takes X down without warning on an X upgrade. Reverting.
@ the developers: is xorg from now on gonna have hal enabled? im asking cause in such a case im gonna start building my own without it. please let me know.
thanks
Grigorios, may I ask you why you want it disabled? does the hal-enabled version work without hal started?
you seem to have a very narrow view of what HAL is for... HAL is just a unified (across OSes) hardware query system. if it were solely for file managers, it wouldn't even exist.
anyway, X starts just fine for me without hal started.
"input configuration is not flexible when hal is enabled"
please elaborate. to me it's much more flexible that way, as I can have different options for each one of my input devices based on any hardware information available thanks to hal key matching. this is hopeless in xorg.conf (notably given evdev Name & likes options are broken, since they tried to reinvent what HAL already does, and failed at it), so one has e.g to write some udev rules to create some fixed device node which will anyway be enumerated and opened by X only on X startup, and lost on device unplug. this is not viable on my laptop situation.
that said I am not in the process of pushing things into people's computers, especially if they feel they don't need it. so I never expected to see this in core anytime soon. yet I need it and it seems that other people do, and it seems like testing is a good testbed for this, ironing issues out for the future.
if xorg server is co;piled with hal, xorg.conf is a fallback for when hal information is not available for a given device.
this way, since the file removes X specific information from hal, X will use xorg.conf configuration for keyboard, even if hal is started.
you can do the same for mice and other devices. with key matching you can even do it selectively, so that some device use hal and some use xorg.conf.
alternative is to remove /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi and maybe /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
so current status for me is:
- hal not started : xorg.conf is fully used (just as before)
- hal started+x11 info: defaults to hal info for config, fallbacks to xorg.conf
- hal started+removed info: ignores hal, uses xorg.conf
I guess we can make everyone happy...