LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /etc/hal/fdi not being read in slackware64 (https://www.linuxquestions.org/questions/slackware-14/etc-hal-fdi-not-being-read-in-slackware64-784102/)

bl0tt0 01-22-2010 05:02 PM

/etc/hal/fdi not being read in slackware64
 
I finally decided to take the plunge and try out slackware64 on my new laptop, and making the switch has been surprisingly painless. One issue I still haven't managed to sort out is getting hal to read /etc/hal/fdi.

I have two files in /etc/hal/fdi/policy: one is a copy of 11-x11-synaptics.fdi, and the other is a series of rules to set up the trackpoint on my thinkpad. Both of these files were read and added to hal when I was running 32-bit 13.0, but they don't seem to be read in 64-bit. I've looked at lshal, and I don't notice anything glaringly wrong there, but I'm not sure what else to check.

Has anyone else had a problem adding rules to hal in slackware64, in particular on a thinkpad T400?

mRgOBLIN 01-22-2010 05:48 PM

Well the last person that I saw have issues with this was because their edits were inside a comment block in the fdi file.

bl0tt0 01-22-2010 05:57 PM

I did have that problem earlier, but I have been using these fdi files in 32-bit slackware since it was released. I'll post them to show what's in there:
11-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>
        <!-- Arbitrary options can be passed to the driver using
            the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">0</merge>

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->

        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">0</merge>
        <!--    <merge key="input.x11_options.CircularScrolling" type="string">true</merge> -->
    </match>
  </device>
</deviceinfo>

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>

Anything stand out in either of those?


All times are GMT -5. The time now is 11:41 AM.