LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-22-2010, 06:02 PM   #1
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 145

Rep: Reputation: 21
/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?
 
Old 01-22-2010, 06:48 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Well the last person that I saw have issues with this was because their edits were inside a comment block in the fdi file.
 
Old 01-22-2010, 06:57 PM   #3
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 145

Original Poster
Rep: Reputation: 21
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HAL fdi policy to restrict access to a mounted USB vsumanth10 Linux - Hardware 1 01-13-2010 08:41 AM
Hal fdi policy for a specific group vsumanth10 Linux - General 0 10-21-2009 01:51 PM
HAL, fdi policy hiding unwanted partitions manwithaplan Linux - General 1 10-01-2009 10:55 AM
configuring 'fdi' - 'hal' for usb devices Dafydd Linux - Hardware 13 09-13-2009 02:07 AM
HAL is ignoring synaptics FDI policy Zerimas Linux - Laptop and Netbook 7 09-12-2009 10:35 AM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration