udev: block usbhid to autobind mouse device before appletouch
I've got a problem with my shiny new macbook. the touchpad has two drivers that feel themself responsible for this device: usbhid and appletouch. but my usb subsystem is completely modular, so it happens that sometimes the touchpad device is on bus 1-2:1.1 and sometimes the device is on bus 2-2:1.1. so my quick and dirty solution in /etc/conf.d/local.start:
"echo -n 1-2:1.1 > /sys/bus/usb/drivers/usbhid/unbind
echo -n 1-2:1.1 > /sys/bus/usb/drivers/appletouch/bind"
only works sometimes. the second problem is, that my current x server configuration need the synaptics driver to work. and if /etc/conf.d/local.start fails to unbind the usbhid driver and bind the appletouch driver, the /etc/init.d/xdm fails, too.
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc2222
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Thomas Meyer
I've got a problem with my shiny new macbook. the touchpad has two drivers that feel themself responsible for this device: usbhid and appletouch. but my usb subsystem is completely modular, so it happens that sometimes the touchpad device is on bus 1-2:1.1 and sometimes the device is on bus 2-2:1.1. so my quick and dirty solution in
/etc/conf.d/local.start: "echo -n 1-2:1.1 >/sys/bus/usb/drivers/usbhid/unbind
echo -n 1-2:1.1 >/sys/bus/usb/drivers/appletouch/bind"
look for modalis of your device and add to modprobe.conf
alias $modalias appletouch
like
alias pcmcia:m0156c0002f06fn00pfn00paB4585A1Apb0B537C13pcD27DEB1Apd00000000 wlags49_h1_cs
- -andrey
Quoted 9 lines
only works sometimes. the second problem is, that my current x server configuration need the synaptics driver to work. and if
/etc/conf.d/local.startfails to unbind the usbhid driver and bind the appletouch driver, the/etc/init.d/xdmfails, too.
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos. Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc2222
Quoted 10 lines
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE7mFVR6LMutpd94wRAiaYAJ9XBEuuZ92Xu/pIc5N+uO7G4DgHiACfS0qj hpRo84WUl73NwkWrpZm9M20=nLJE
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 17 lines · Andrey Borzenkov
Quoted 17 lines · Thomas Meyer
Quoted 13 lines
I've got a problem with my shiny new macbook. the touchpad has two drivers
that feel themself responsible for this device: usbhid and appletouch. but
my usb subsystem is completely modular, so it happens that sometimes the
touchpad device is on bus 1-2:1.1 and sometimes the device is on bus 2-2:1.1. so my quick and dirty solution in/etc/conf.d/local.start:
"echo
-n 1-2:1.1 >/sys/bus/usb/drivers/usbhid/unbind
echo -n 1-2:1.1 >/sys/bus/usb/drivers/appletouch/bind"look for modalis of your device and add to modprobe.conf
Quoted 7 lines
Quoted 7 lines
alias $modalias appletouch
like
alias pcmcia:m0156c0002f06fn00pfn00paB4585A1Apb0B537C13pcD27DEB1Apd00000000
wlags49_h1_cs
I did add the alias to /etc/modprobe.conf. but the usbhid driver still sometimes is the first driver how claims the touchpad device, instead of the appletouch driver.
any ideas?
With kind regards
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel