<---- template headericclude ----->
HAL - how reconfigure?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    HAL - how reconfigure?

    Have an error message from Xorg.0.log telling to reconfigure HAL. How do I do that??

  2. #2
    stevea Guest
    Quote Originally Posted by Krister Hallerg
    Have an error message from Xorg.0.log telling to reconfigure HAL. How do I do that??
    Post the exact message please.

    Generally speaking we don't statically configure HAL, tho' a few files in /etc/hal and /etc/dbus-1/system.d/hal.conf exist - it is very rare that these would be modified.

  3. #3
    Join Date
    Jul 2009
    Location
    London,England
    Posts
    1,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to get a spacesuit, go through the emergency airlock and somewhere near the centre of Discovery you'll find the core processing units which can manually be removed one after the other.

    But seriously, do you have a more precise error message, the relevant part of the log perhaps?

  4. #4
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks Gödel and stevea

    This is the message I get trying to start Lircmd:

    (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    (WW) Disabling LIRC-Mouse

  5. #5
    Join Date
    Jul 2009
    Location
    London,England
    Posts
    1,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's not an error, it's just telling you the old xorg kbd & mouse drivers aren't being used, which is standard in F11, they use evdev.

    Do you actually have any problems, ie does your mouse/keyboard work?

  6. #6
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    My mouse and keyboard are working fine. Am trying to install a LIRC-mouse. The lircmd-deamon is running, but there is no action when I press the relevant buttons on the remote, so I am looking for clues as to what might be wrong

  7. #7
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I had followed the lirc documentation and added this to Xorg.conf:
    Section "InputDevice"
    Identifier "LIRC-Mouse"
    Driver "mouse"
    Option "Protocol" "IntelliMouse"
    Option "Device" "/dev/lircm"
    Option "SendCoreEvents"
    Option "Buttons" "5"
    Option "zAxisMapping" "4 5"
    EndSection
    Inspired by your comments I changed Driver "mouse" to Driver "evdev". The LIRC-Mouse still does not work, but I get a new set of entries in the Xorg.0.log:
    (**) Option "SendCoreEvents"
    (**) LIRC-Mouse: always reports core events
    (**) LIRC-Mouse: Device: "/dev/lircm"
    (EE) ioctl EVIOCGNAME failed: Invalid argument
    (II) UnloadModule: "evdev"
    (EE) PreInit returned NULL for "LIRC-Mouse"

    What is ioctl EVIOCGNAME??

  8. #8
    Join Date
    Jul 2009
    Location
    London,England
    Posts
    1,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're going to use xorg.conf to configure any input devices you need to tell HAL not to handle them by adding Option "AutoAddDevices" "off" in your ServerLayout section

    https://fedoraproject.org/wiki/Featu..._the_xorg.conf

    Alternatively, work out how to configure the appropriate hal fdi policy file. I have never used a LIRC-mouse so have no idea how to do this.

  9. #9
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    As the LIRC-Mouse is virtual and not physical HAL is not likely to recognize it. Was a bit sceptical about loosing hotplugging capability, so I first tried adding Option "AllowEmptyInput" "false" to the section "ServerLayout" (instead of to the section "InputDevice" as I had done before). The Xorg.0.log looked fine, but the LIRC-Mouse did not work. Also typing in a console the keystrokes trebled, so I suppose there were three instances of the keyboard.

    So instead I added Option "AutoAddDevices" "Off" to the "ServerLayout". The Lirc-Mouse did not work, in fact the normal mouse did not work neither did the keyboard. So added Keyboard0 and Mouse1:
    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse1"
    InputDevice "LIRC-Mouse"
    Option "AutoAddDevices" "off"
    EndSection
    The LIRC-Mouse did not work. Xorg.0.log HAL looks OK but the end there are tries to add many devices, this one worried me a bit:
    (II) config/hal: Adding input device cx88 IR (Hauppauge Nova-T DVB-T
    (EE) config/hal: NewInputDeviceRequest failed (8)
    and this could be the reason the LLIRC-Mouse did not work?

  10. #10
    Join Date
    Jul 2009
    Location
    London,England
    Posts
    1,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have a read of

    http://web.aanet.com.au/~auric/?q=node/27
    https://bugzilla.redhat.com/show_bug.cgi?id=498580
    http://wwww.ubuntuforums.org/showthread.php?p=7680432

    There is a gen-hal-fdi.pl script in the lirc-doc package, in /usr/share/doc/lirc-doc-0.8.5/contrib/hal/ which will generate a 20-ircontrol-lirc.fdi file which I guess you can copy to the policy directory.

    The Hauppauge Nova-T message is probably related to the IR remote detector on the device, in which case you can ignore.

  11. #11
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Thanks Gödel. Getting closer, but not quite there.

    Created 10-lirc_mouse.fdi according to Marino and added it as hal-device according to Ondrej. And get these messages in Xorg.0.log:

    (II) config/hal: Adding input device (unnamed)
    (II) LoadModule: "mouse"
    (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.4.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (**) Option "Protocol" "IntelliMouse"
    (**) (unnamed): Device: "/dev/lircm"
    (**) (unnamed): Protocol: "IntelliMouse"
    (**) Option "SendCoreEvents" "true"
    (**) (unnamed): always reports core events
    (**) Option "Device" "/dev/lircm"
    (**) Option "Buttons" "5"
    (==) (unnamed): Emulate3Buttons, Emulate3Timeout: 50
    (**) Option "ZAxisMapping" "4 5"
    (**) (unnamed): ZAxisMapping: buttons 4 and 5
    (**) (unnamed): Buttons: 9
    (**) (unnamed): Sensitivity: 1
    (**) Option "BaudRate" "1200"
    (**) (unnamed): BaudRate: 1200
    (II) XINPUT: Adding extended input device "(unnamed)" (type: MOUSE)
    (**) (unnamed): (accel) keeping acceleration scheme 1
    (**) (unnamed): (accel) filter chain progression: 2.00
    (**) (unnamed): (accel) filter stage 0: 20.00 ms
    (**) (unnamed): (accel) set acceleration profile 0

    Looks good! But the LIRC-mouse is still not working

  12. #12
    Join Date
    Jan 2006
    Posts
    210
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    So, the lircmd deamon is working, there is a /dev/lircm and the Xlog.0.log looks good. But the LIRC-Mouse is not working.

    There is no reference for the LIRC-Mouse in Xorg.0.log about /dev/input/eventn. Checking with
    cat /proc/bus/input/devices confirms that no event has been created.

    Suspect that a little script is needed to create this event?

Similar Threads

  1. Reconfigure Kernel
    By NegativeFPS in forum Using Fedora
    Replies: 2
    Last Post: 17th November 2007, 01:29 AM
  2. How to Reconfigure Xorg?
    By Aifel in forum Using Fedora
    Replies: 2
    Last Post: 28th January 2007, 10:34 PM
  3. reconfigure Xorg
    By Arodef5 in forum Using Fedora
    Replies: 1
    Last Post: 12th December 2006, 08:11 PM
  4. reconfigure the kernel
    By m888y in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 27th May 2006, 05:45 AM
  5. How do I reconfigure x
    By steve1961 in forum Using Fedora
    Replies: 2
    Last Post: 15th December 2005, 09:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]