hal/udev annoyance

Peter Hutterer peter.hutterer at who-t.net
Tue Oct 5 15:58:54 PDT 2010


On Tue, Oct 05, 2010 at 05:05:05PM +0200, Sebastian Luettich wrote:
> Hello,
> 
> I noticed recently, after switching from xorg-server 1.7 or 1.8.2 to 1.9, that
> everytime xorg restarts it enables my bluetooth and wwan devices.
> 
> Both devices are killed on boot via 'rfkill block bluetooth/wwan'.  Starting X
> via startx or kdm shows no difference.
> 
> Setting AutoAddDevices to false works obviously but breaks also
> everything else.
> 
> Is there some magical switch that enables only input devices and doesn't
> touch bt or wwan?

if the devices look like input devices to udev (ID_INPUT is set), then they
are automatically added to X. You need to blacklist them with xorg.conf.d
snippets to avoid them being added to the server.

Section "InputClass"
        Identifier "blacklist"
        MatchProduct "device name"
        Option "Ignore" "on"
EndSection

Cheers,
  Peter



More information about the xorg mailing list