I installed on my ThinkPad T60 FreeBSD 7.2 with GENERIC kernel plus a few ALTQ options and I'm unable to force HAL to use FDI files. In result I can't use different devices.
I followed that FAQ: Hardware Abstraction Layer (HAL) FAQ...
I put in /etc/rc.conf file these lines:
I put in /usr/local/share/hal/fdi/preprobe/20thirdparty/ these two FDI files:
disable-touchpad.fdi
and
cat mouse-wheel.fdi
After each change I restarted HAL:
# /usr/local/etc/rc.d/hald restart
Without any result -- my FDI files don't work. I tried also some FDI files provided with FreeBSD:
10-x11-input.fdi
and
10-x11-synaptics.fdi
Independently of the changes I made in the system the result of the command lshal -t is always the same:
What can I do to force HAL to read FDI files?
I followed that FAQ: Hardware Abstraction Layer (HAL) FAQ...
I put in /etc/rc.conf file these lines:
Code:
dbus_enable="YES"
hald_enable="YES"
I put in /usr/local/share/hal/fdi/preprobe/20thirdparty/ these two FDI files:
disable-touchpad.fdi
Code:
<match key="info.product" string="SynPS/2 Synaptics TouchPad">
<merge key="input.x11_options.TouchpadOff" type="string">1</merge>
</match>
and
cat mouse-wheel.fdi
Code:
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>
After each change I restarted HAL:
# /usr/local/etc/rc.d/hald restart
Without any result -- my FDI files don't work. I tried also some FDI files provided with FreeBSD:
10-x11-input.fdi
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keyboard">
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.x11_driver" type="string">kbd</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">pl</merge>
</match>
</match>
</device>
</deviceinfo>
and
10-x11-synaptics.fdi
Code:
<?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>
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
</match>
</device>
</deviceinfo>
Independently of the changes I made in the system the result of the command lshal -t is always the same:
Code:
computer
acpi_acad_0
acpi_button_0
acpi_lid_0
acpi_tz_0
acpi_tz_1
battery_0
cpu_0
cpu_1
atkbdc_0
atkbd_0
psm_0
sio_0
sio_0_serial_platform_0
pci_8086_27a0
pci_8086_27a1
pci_1002_7149
drm_0
pci_8086_27d8
pci_8086_27d0
pci_8086_109a
net_00_15_58_c5_7f_22
pci_8086_27d2
pci_8086_4227
pci_8086_27d4
pci_8086_27d6
pci_8086_27c8
usb_device_0_0_noserial
usb_device_0_0_noserial_if0
pci_8086_27c9
usb_device_0_0_noserial_0
usb_device_0_0_noserial_0_if0
pci_8086_27ca
usb_device_0_0_noserial_1
usb_device_0_0_noserial_1_if0
pci_8086_27cb
usb_device_0_0_noserial_2
usb_device_0_0_noserial_2_if0
pci_8086_27cc
usb_device_0_0_noserial_3
usb_device_0_0_noserial_3_if0
pci_8086_2448
pci_104c_ac56
cardbus_0
pccard_0
pci_8086_27b9
pci_8086_27df
ide_host_0
ide_0_0
storage_serial_KZ08A293817
pci_8086_27c5
pci_8086_27c5_storage
volume_part1_size_7937008128
volume_size_402653184
volume_size_1121110016
volume_size_603979776
volume_size_335544320
volume_size_5473720832
volume_uuid_c50f1350_2632_439c_b7b0_65711cbf7df7
volume_uuid_9929fd29_654b_45ba_8459_9f67254fafa7
volume_uuid_47fc9231_fce5_49f6_96ed_5a945f2611e1
pci_8086_27da
What can I do to force HAL to read FDI files?