maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Question on udev/evdev (https://talk.maemo.org/showthread.php?t=90175)

pablocrossa 2013-05-21 18:53

Question on udev/evdev
 
I am looking around and was wondering if someone could point me in the right direction where I can create a file a-la "10-evdev.conf" in a desktop linux xorg.conf.d directory so that I can add a line similar to:

Code:

Section "InputClass"
  Identifier    "NotOnXorgServer"
  MatchProduct  "someInputDevice"
  Option        "Ignore" "on"
EndSection

If this is even possible as of now

I don't want the kernel to stop supporting the device so I wouldn't like any "Unload the module" answers, I need Xorg to ignore it. This really touches on udev more than evdev, but anyways :)

Thanks :)

Hoga 2013-05-22 03:07

Re: Question on udev/evdev
 
Hi pablocrossa,

im not sure if i get you right :)
but you should be able
to set up a device.fdi HAL rule
look at:

/etc/hal/fdi/policy/preferences.fdi

greetings from germany
Hoga

pablocrossa 2013-06-09 15:09

Re: Question on udev/evdev
 
Quote:

Originally Posted by Hoga (Post 1345830)
Hi pablocrossa,

im not sure if i get you right :)
but you should be able
to set up a device.fdi HAL rule
look at:

/etc/hal/fdi/policy/preferences.fdi

greetings from germany
Hoga

Sorry for the late response, this was exactly what I needed, thank you :)

For future reference, created file
/etc/hal/fdi/preprobe/10-blacklist.fdi
with contents
Code:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
    <device>
        <match key="info.category" contains="input">
            <match key="input.product" contains="PartNameOfDevice">
                <merge key="info.ignore" type="bool">true</merge>
            </match>
        </match>
    </device>
</deviceinfo>



All times are GMT. The time now is 00:08.

vBulletin® Version 3.8.8