Bug 541351

Summary: smarter way to set the hal keyboard properties
Product: [openSUSE] openSUSE 11.2 Reporter: Ludwig Nussel <lnussel>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED WONTFIX QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Enhancement    
Priority: P3 - Medium CC: sndirsch
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: the code

Description Ludwig Nussel 2009-09-23 09:51:31 UTC
Created attachment 319468 [details]
the code

instead of generating an fdi file in the xdm init script and restarting hal a preprobe callout script could be used. hal will run that itself whenever it detects a keyboard. Via normal callouts it's also possible to change the hal properties on the fly without restarting hal. See attached code.
Untar in / and rm /usr/share/hal/fdi/policy/20thirdparty/11-keymap.fdi

The methods could even be combined. Ie the preprobe script could generate the fdi file if needed so it doesn't need to run hal-set-property.
Comment 1 Stefan Dirsch 2009-09-23 10:20:58 UTC
Possible enhancement for 11.3 in a seperate package.
Comment 2 Ludwig Nussel 2009-10-01 12:06:18 UTC
I suppose hal will not be on 11.3 anymore anyways
Comment 3 Stefan Dirsch 2010-04-07 02:04:52 UTC
(In reply to comment #2)
> I suppose hal will not be on 11.3 anymore anyways

Indeed. xorg-server 1.8 on 11.3 is no longer using HAL for configuration. Instead
udev and special Inputclass sections in /etc/X11/xorg.conf.d/ are now used. See 'man xorg.conf' for more details.