Bug 330881
Summary: | s-c-d fails to detect correct keyboard layout | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Qarras <dqarras> |
Component: | system-config-keyboard | Assignee: | Lubomir Rintel <lkundrak> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | xgl-maint |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-28 22:33:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Qarras
2007-10-13 19:43:07 UTC
This is handled by hal quirks. Oh, yeah? What quirks exactly? Note that I'm not talking about individual special keys (which, yes, are already handled by hal quirks) but the whole keyboard layout. s-c-k is definitely the wrong tree to bark at. Eventually you can choose the right layout by hand with gnome-keyboard-properties. To be honest I don't have and idea how should the default layout be determined, but it is obvious that hal should be involved. Thanks for additional information. Actually I originally opened this against s-c-d as it is the tool that creates xorg.conf, the file containing suboptimal keyboard model definition. This was then reassigned by RH engineers to s-c-k, I believe that s-c-d consults s-c-k to get the keyboard model. How s-c-k gets that information, I don't know. End user could surely pick correct layout by hand with g-k-p (or even edit config files by hand) but I'm afraid not all users are technical enough to realize they should do that. So this would be clear usability improvement for many. FWIW, I sent a question about this to HAL list but received no reply: http://lists.freedesktop.org/archives/hal/2008-April/011389.html Thanks. Daniel: In Fedora 9 xorg.conf no longer contains the keyboard section by default, (unless user ran s-c-k, which he shouldn't), so part of this has largely irrelevant. What interests me still is how to use hal to make the keyboard layout have sane default for specified laptop model. I'm just speculating but when inspecting output from lshal I see: system.formfactor = 'laptop' (string) Perhaps that could be checked and if formfactor is "laptop", then checking for available vendor keymaps should be easy, e.g., Acer is in numerous entries: system.hardware.vendor = 'Acer, inc.' (string) It is obvious _what_ should be checked, but not _who_ should check it and _when_ should it check it and _where_ and _how_ to set the keyboard map... FWIW, I just installed Fedora 9 Preview and found out that I have xorg.conf containing this line on my Acer laptop: Option "XkbModel" "pc105" Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I'd say this is solved in F10Beta as xorg.conf is gone and from System->Preferences->Hardware->Keyboard one can pick up the correct "Acer Laptop" layout. This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Also ok on F10 Final. The situation is unchanged since earlier releases in F11ß but I'm not sure what should be done with this. To close or not to close that is the question. Slightly related: https://bugzilla.redhat.com/show_bug.cgi?id=492542 This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping The situation is unchanged since earlier releases in F12ß but I'm not sure what should be done with this. To close or not to close that is the question. Since evdev is now used by "everybody" and since one can't get detailed enough information from HAL, I think it's best to close this one. By default, xorg.conf is not created. If one creates, one can also tune it manually if really needed (and even that is probably unnecessary). |