Re: Apple Magic Mouse a first stab.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I see one problem, should that be "=f" instead on "f"?

On Sat, Mar 6, 2010 at 2:05 PM, Mike Mestnik <cheako911@xxxxxxxxx> wrote:
> I need a little help with the syntax of a rules file.
>
> cheako@overrun:~$ cat /etc/udev/rules.d/65-xorg-synaptics-mestnik.rules
> ACTION!="add|change", GOTO="xorg_synaptics_mike_end"
> KERNEL!="event*", GOTO="xorg_synaptics_mike_end"
> SUBSYSTEM!="input", GOTO="xorg_synaptics_mike_end"
> PRODUCT!="5/5ac/30d/84", GOTO="xorg_synaptics_mike_end"
> EV!="f", GOTO="xorg_synaptics_mike_end"
>
> ENV{x11_driver}="synaptics"
> #ENV{x11_options.RTCornerButton}="2"
> #ENV{x11_options.HorizEdgeScroll}="true"
> RUN+="hcitool enc $UNIQ"
>
> LABEL="xorg_synaptics_mike_end"
>
> Here is the device information.  I would like to pass UNIQ to hcitool
> in the +RUN.  The two devices are for the Magic Mouse, the first is
> the Magic Mouse's two button mouse emulation.  The other is created by
> the hid-magicmouse kernel module and reports touch events.
>
> P: /devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/0005:05AC:030D.0003
> E: UDEV_LOG=3
> E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/0005:05AC:030D.0003
> E: DRIVER=magicmouse
> E: HID_ID=0005:000005AC:0000030D
> E: HID_NAME=Apple Wireless Mouse
> E: HID_PHYS=00:15:E9:65:36:E4
> E: HID_UNIQ=34:15:9E:D3:C6:DA
> E: MODALIAS=hid:b0005v000005ACp0000030D
> E: SUBSYSTEM=hid
>
> P: /devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/input6
> E: UDEV_LOG=3
> E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/input6
> E: PRODUCT=5/5ac/30d/84
> E: NAME="Apple Wireless Mouse"
> E: PHYS="00:15:E9:65:36:E4"
> E: UNIQ="34:15:9E:D3:C6:DA"
> E: EV==17
> E: KEY==30000 0 0 0 0 0 0 0 0
> E: REL==3
> E: MSC==10
> E: MODALIAS=input:b0005v05ACp030De0084-e0,1,2,4,k110,111,r0,1,am4,lsfw
> E: SUBSYSTEM=input
>
> P: /devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/input7
> E: UDEV_LOG=3
> E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-3/5-3:1.0/bluetooth/hci0/hci0:41/input7
> E: PRODUCT=5/5ac/30d/84
> E: NAME="Apple Wireless Mouse"
> E: PHYS="00:15:E9:65:36:E4"
> E: UNIQ="34:15:9E:D3:C6:DA"
> E: EV==f
> E: KEY==20 0 70000 0 0 0 0 0 0 0 0
> E: REL==103
> E: ABS==2730000 0
> E: MODALIAS=input:b0005v05ACp030De0084-e0,1,2,3,k110,111,112,145,r0,1,8,a30,31,34,35,36,39,mlsfw
> E: SUBSYSTEM=input
>
> --
> Mike Mestnik
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email: mmestnik@xxxxxxxxxx
> Web: www.nagios.com
>



-- 
Mike Mestnik
Technical Team
___
Nagios Enterprises, LLC
Email: mmestnik@xxxxxxxxxx
Web: www.nagios.com
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux