|
Bugzilla – Full Text Bug Listing |
| Summary: | smarter way to set the hal keyboard properties | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Ludwig Nussel <lnussel> |
| Component: | X.Org | Assignee: | 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 | ||
Possible enhancement for 11.3 in a seperate package. I suppose hal will not be on 11.3 anymore anyways (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. |
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.