You are not logged in.

#1 2008-12-28 10:24:24

Robstar
Member
Registered: 2008-08-12
Posts: 33

HAL, hotplugging does not work[SOLVED]

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

#2 2008-12-28 10:40:18

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: HAL, hotplugging does not work[SOLVED]

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

#3 2008-12-28 11:23:15

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: HAL, hotplugging does not work[SOLVED]

Offline

#4 2008-12-28 12:20:12

Robstar
Member
Registered: 2008-08-12
Posts: 33

Re: HAL, hotplugging does not work[SOLVED]

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

#5 2008-12-28 12:53:55

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: HAL, hotplugging does not work[SOLVED]

* 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

#6 2008-12-28 13:52:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: HAL, hotplugging does not work[SOLVED]

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

#7 2008-12-29 02:55:17

Robstar
Member
Registered: 2008-08-12
Posts: 33

Re: HAL, hotplugging does not work[SOLVED]

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

#8 2009-01-02 11:26:44

Robstar
Member
Registered: 2008-08-12
Posts: 33

Re: HAL, hotplugging does not work[SOLVED]

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

#9 2009-01-02 14:40:09

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: HAL, hotplugging does not work[SOLVED]

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

#10 2009-01-04 20:36:04

Robstar
Member
Registered: 2008-08-12
Posts: 33

Re: HAL, hotplugging does not work[SOLVED]

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

#11 2009-01-05 16:32:14

Robstar
Member
Registered: 2008-08-12
Posts: 33

Re: HAL, hotplugging does not work[SOLVED]

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

Board footer

Powered by FluxBB