Hello list,

the Asus EeePC 1005HA has a synaptics(7) touchpad but the mouse(7)
driver is always attached, apparently so because the input device
doesn't have the 'touchpad' capability in /etc/hal/fdi/policy/
10osvendor/11-x11-synaptics.fdi. (This is with snv_130.)

$ lshal | awk '/^udi.*mouse/,/^$/'
udi = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/mouse_1_0_logicaldev_input'
  input.x11_driver = 'mouse'  (string)
  input.originating_device = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/mouse_1_0'  (string)
  input.device = '/dev/mouse'  (string)
  info.category = 'input'  (string)
  info.subsystem = 'input'  (string)
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.solaris.driver = 'mouse8042'  (string)
  solaris.devfs_path = '/pci at 0,0/isa at 1f/i8042 at 1,60/mouse at 1'  
(string)
  info.product = 'PS/2 Port for PS/2-style Mice'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60/mouse_1_0_logicaldev_input'
  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_0_0/isa_1f/i8042_1_60_0'  
(string)

$ head -5 /etc/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>

I got around this issue with the following fdi(4) file, but I wonder
what the proper fix would be.  Is a test for that capability missing
in the kernel driver or somewhere else?

$ cat /etc/hal/fdi/preprobe/30user/synaptics-touchpad.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.solaris.driver" string="mouse8042">
      <merge key="input.x11_driver" type="string">synaptics</merge>
      <merge key="input.device" type="string">/dev/kdmouse</merge>
    </match>
  </device>
</deviceinfo>

Attached is the full output of lshal and smbios.

Cheers,
Uwe

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lshal.asus-eeepc-1005ha
URL: 
<http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20100115/1bc5c3a1/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smbios.asus-eeepc-1005ha
URL: 
<http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20100115/1bc5c3a1/attachment-0003.ksh>

Reply via email to