You are not logged in.

#1 2008-04-27 12:52:59

Bomb@
Member
Registered: 2008-04-22
Posts: 13

Udev rules MX500 / Touchpad

Hello,

i build a udevrule for my Logitech MX500

BUS=="usb", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c025", NAME="input/mx500", MODE="0644", PROGRAM="/usr/bin/lomoco -8 --sms"

thats runs great, but i have 3 new problems now:

the first problem is, when i plug in the mouse when X runs, they diddnt start. i have been restart x, and than my mouse runs.

the second problem is: i dont can use booth devices (MX500 and my Touchpad) on X. when i add booth devices in xorg.conf, no ones runs.

and the third problem is, i want to have a udevrule for my touchpad, but my rule dont work:

BUS=="0011", SUBSYSTEM=="input", ATTRS{name}=="ImPS/2 Logitech Wheel Mouse", ATTR{dev}=="13:33", NAME="input/touch", MODE="0644"

thats was my idea, but it doesnt work ;(

udevinfo -a -p /sys/class/input/mouse1:

looking at device '/class/input/input8/mouse1':
    KERNEL=="mouse1"
    SUBSYSTEM=="input"
    DRIVER==""
    ATTR{dev}=="13:33"

  looking at parent device '/class/input/input8':
    KERNELS=="input8"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{name}=="ImPS/2 Logitech Wheel Mouse"
    ATTRS{phys}=="isa0060/serio4/input0"
    ATTRS{uniq}==""
    ATTRS{modalias}=="input:b0011v0002p0005e0063-e0,1,2,k110,111,112,r0,1,8,amlsfw"

  looking at parent device '/devices/platform/i8042/serio4':
    KERNELS=="serio4"
    SUBSYSTEMS=="serio"
    DRIVERS=="psmouse"
    ATTRS{description}=="i8042 AUX3 port"
    ATTRS{modalias}=="serio:ty01pr00id00ex00"
    ATTRS{bind_mode}=="auto"
    ATTRS{protocol}=="ImPS/2"
    ATTRS{rate}=="100"
    ATTRS{resolution}=="200"
    ATTRS{resetafter}=="5"
    ATTRS{resync_time}=="0"

  looking at parent device '/devices/platform/i8042':
    KERNELS=="i8042"
    SUBSYSTEMS=="platform"
    DRIVERS=="i8042"
    ATTRS{modalias}=="platform:i8042"

  looking at parent device '/devices/platform':
    KERNELS=="platform"
    SUBSYSTEMS==""
    DRIVERS==""

and

cat /proc/bus/input/devices:

I: Bus=0011 Vendor=0002 Product=0005 Version=0063
N: Name="ImPS/2 Logitech Wheel Mouse"
P: Phys=isa0060/serio4/input0
S: Sysfs=/class/input/input8
U: Uniq=
H: Handlers=mouse1 event8
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

Sorry for my bad english wink i hope you can understand me smile

Thanks smile
Bomb@

Offline

Board footer

Powered by FluxBB