You are not logged in.
Pages: 1
I have to start off saying I am completely confused and annoyed. That's my feeling out of my way. Down to business.
Now I have set up my computer and my laptop for hotplugging and in both situations HAL does not read the configuration files, even if I modify the ones in /usr/share. It recognises my keyboard and mouse, but my keyboard will be setup for American, when I use a British one, and it does not set up my synaptic's settings.
First of all where the hell does the configuration files go for 10-keymap.fdi and 11-x11-synaptics.fdi go? I have gone over countless sites saying different things. Is there anyway for me to find out out where Hal is looking? Finally, has anyone setup their keymap layout from the standard American setup and works?{
Last edited by Robstar (2009-01-05 16:32:43)
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
you need to copy them to /etc/hal/fdi/policy/ and this is well documented to wiki. also don't forget to remove any input devices from xorg.conf
http://wiki.archlinux.org/index.php/Xor … otplugging
Last edited by wonder (2008-12-28 10:41:03)
Give what you have. To someone, it may be better than you dare to think.
Offline
See the 4th post here: http://bbs.archlinux.org/viewtopic.php?id=60016
Offline
I am disappointed to say, it did not work. I still have US keyboard.
Does anyone know what is going on?
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
* Gnome + KDE Keyboard settings override HAL settings. Have you checked those? And are they set to evdev-managed keyboard?
* have you removed all those extra settings files? Mine are only in /usr/share/hal/fdi/policy (factory) and /etc/hal/fdi/policy (custom)
* Are the filenames of the ones you want to override the same in /etc and /usr?
* is HAL actually starting up ok?
Those are the things I would check first.
Offline
did you restart hal after you edit configuration and then restart xorg?
Give what you have. To someone, it may be better than you dare to think.
Offline
I have restarted my computer, HAL and Xorg. Hal starts up fine with no errors. If it did, then I would not beable to use my mouse and keyboard.
What extra setting files are there? I have removed all that is required from xorg.conf and have moved the files that I want to customise from /usr/share/hal/fdi/policy/10osvendor to /etc/hal/fdi/policy, which I have been told to do.
I do not use Gnome or KDE, but Enlightenment and I know there is no setting to change the layout of the keyboard in there. Anyway, it is Hal because, when I do 'hal-devices | grep -B 15 input.xkb.layout' it clearly shows 'us' next to it. I also have 3 possible keyboards, but there the function keys.
When I do restart hal, nothing shows up in 'dmesg'.
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
Okay my other PC has the same problem, so is there someone out there who can help me?
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
can you post your /etc/hal/fdi/policy/10-keymap.fdi file.
I use a gb keyboard layout with no problem, my 10-keymap.fdi file is:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">gb</merge>
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
Offline
I took your copy as my own and it still doesn't work. The only difference between mine and urs is the 'input.xkb.rules' tag.
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
It seems all I had to do was reinstall hal:
pacman -R hal xorg-servers ; pacman -S hal xorg-servers
I have now got the correct layout on my PC and laptop, which makes programming and using command line a lot easier. Thank You very much.
Now, I have to found out if the mouse on my laptop will work.
32-bit Gentoo -to- Arch64
If you could be so kind, but when you found the solution,
edit your first post and add to the title '[SOLVED]'.
Offline
Pages: 1