Xorg & HAL on GNU/kFreeBSD
Hi,
There has been some problem reported on this mailing list to get Xorg
working on GNU/kFreeBSD, with the keyboard and mouse detection from HAL.
I have been able to solve part of this issue, let me explain how to do
it:
- First of all, you need a patched version of HAL. The patch can be
found in bug#541189 will be included in the next upload.
- You need to add an FDI file to get the keyboard detected. This is
reported as bug#541140. In the meanwhile you can put
10-x11-input-kbd.fdi (attached) in /etc/hal/fdi/policy.
- You have to drop the same kind of file for the mouse (see attached
file 10-x11-input-mouse.fdi) to /etc/hal/fdi/policy. I haven't
reported the bug to the BTS, as it don't fully work here. While the
mouse is detected correctly, the cursor doesn't move.
- If you have a non-US keyboard, it should now be configured by doing
'dpkg-reconfigure console-setup'. You also need an FDI file for that
(see bug #535291), also attached as debian-x11-keymap.fdi.
Don't forget to remove those files from /etc/hal/fdi/policy when you
install a fixed package.
Please tell me if it works for you (especially the mouse).
Cheers,
Aurelien
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="GNU/kFreeBSD">
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">mouse</merge>
</match>
</match>
</device>
</deviceinfo>
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="GNU/kFreeBSD">
<match key="info.capabilities" contains="input.keys">
<merge key="input.x11_driver" type="string">kbd</merge>
</match>
</match>
</device>
</deviceinfo>
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<append key="info.callouts.add" type="strlist">debian-setup-keyboard</append>
</match>
</device>
</deviceinfo>
Reply to: