logicaldev_input udi's missing

Elbert Branscomb ewbranscomb at astound.net
Sat Jul 17 16:33:31 PDT 2010


Seeking help with hal setup - specifically concerning missing
logicaldev_input devices.

I have two amd64 machines with nearly identical hal-relevant software,
including hal versions and .fdi  files (in /etc/hal/fdi/policy), and
also evdev, and udev.  However, on one, a Logitech USB kb/mouse is
recognized and works fine, on the other it is 'seen' but doesn't work. 
The relevant lshal outputs from the two machines are identical except
that the udi's refering to 'logicaldev_input' are missing on the
non-functional machine.

For example, upon unplugging and replugging the Logitech receiver the
output of 'lshal --monitor' is: 

on the 'working' machine

    Start monitoring devicelist:
    -------------------------------------------------
    08:40:00.660: usb_device_46d_c517_noserial_if1_logicaldev_input removed
    08:40:00.660: usb_device_46d_c517_noserial_usbraw removed
    08:40:00.660: usb_device_46d_c517_noserial_if1 removed
    08:40:00.770: usb_device_46d_c517_noserial_if0_logicaldev_input removed
    08:40:00.770: usb_device_46d_c517_noserial_if0 removed
    08:40:00.770: usb_device_46d_c517_noserial removed
    08:40:06.997: usb_device_46d_c517_noserial added
    08:40:07.054: usb_device_46d_c517_noserial_if1 added
    08:40:07.054: usb_device_46d_c517_noserial_usbraw added
    08:40:07.054: usb_device_46d_c517_noserial_if0 added
    08:40:07.689: usb_device_46d_c517_noserial_if0_logicaldev_input added
    08:40:07.812: usb_device_46d_c517_noserial_if1_logicaldev_input added

whereas on the 'non-working' machine:

    14:12:32.689: usb_device_46d_c517_noserial_if1 removed
    14:12:32.691: usb_device_46d_c517_noserial_if0 removed
    14:12:32.691: usb_device_46d_c517_noserial removed
    14:12:36.876: usb_device_46d_c517_noserial added
    14:12:36.879: usb_device_46d_c517_noserial_if1 added
    14:12:36.881: usb_device_46d_c517_noserial_if0 added

So, for reasons that I am a loss to understand, logicaldev_input udi's
are created in one system (and evidently needed) but not in the other.  ???

Related to this I note these outputs:

 elbert at HPxw ~ $ hal-find-by-property --key input.x11_driver --string evdev
   
/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1_logicaldev_input
   
/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if0_logicaldev_input
    /org/freedesktop/Hal/devices/computer_logicaldev_input_1
   
/org/freedesktop/Hal/devices/usb_device_46d_990_AA86121F_if0_logicaldev_input
    /org/freedesktop/Hal/devices/computer_logicaldev_input_0
    /org/freedesktop/Hal/devices/computer_logicaldev_input

and, as an example entry that is present in the working hal db and
missing in the other:

udi =
'/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1_logicaldev_input'
    info.addons.singleton = {'hald-addon-input'} (string list)
    info.capabilities = {'input', 'input.keys', 'input.mouse', 'button'}
(string list)
    info.category = 'input'  (string)
    info.parent =
'/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1'  (string)
    info.product = 'Logitech USB Receiver'  (string)
    info.subsystem = 'input'  (string)
    info.udi =
'/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1_logicaldev_input' 
(string)
    input.device = '/dev/input/event4'  (string)
    input.originating_device =
'/org/freedesktop/Hal/devices/usb_device_46d_c517_noserial_if1'  (string)
    input.product = 'Logitech USB Receiver'  (string)
    input.x11_driver = 'evdev'  (string)
    input.xkb.layout = 'us'  (string)
    input.xkb.model = 'evdev'  (string)
    input.xkb.rules = 'base'  (string)
    input.xkb.variant = ''  (string)
    linux.device_file = '/dev/input/event4'  (string)
    linux.hotplug_type = 2  (0x2)  (int)
    linux.subsystem = 'input'  (string)
    linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:13.2/usb4/4-1/4-1:1.1/input/input15/event4' 
(string)

===========================

I have been unable to find relevant help on the web or other
documentation.  So far as I can make out the logicaldev_input udi's are
not produced by specific rules in either udev or hal rules files (or in
any other way I can find).  What am I missing?  Do I need to provide
more information for my question to be addressed?

Thanks,

Elbert



More information about the hal mailing list