Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev force specific driver with bind / unbind sysfs option
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
meyert
n00b
n00b


Joined: 23 Aug 2005
Posts: 45

PostPosted: Wed Aug 23, 2006 8:54 pm    Post subject: udev force specific driver with bind / unbind sysfs option Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum