meyert n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Aug 2005 Posts: 45
|
Posted: Wed Aug 23, 2006 8:54 pm Post subject: udev force specific driver with bind / unbind sysfs option |
|
|
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. now all my usb subsystem is completely, 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.
Is there a elegant solution for this problem? i did search on google, but found nothing helpful.
one thing i found: maybe i need udev-097 version for this to work, because the option DRIVER== is added to this version.
Has anybody a similar problem and a nice solution for this, i guess a more common problem? |
|