Bug 541351 - smarter way to set the hal keyboard properties
Summary: smarter way to set the hal keyboard properties
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Factory
Hardware: Other Other
: P3 - Medium : Enhancement (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 09:51 UTC by Ludwig Nussel
Modified: 2010-04-07 02:04 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
the code (1.36 KB, application/x-tar)
2009-09-23 09:51 UTC, Ludwig Nussel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.