linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev: block usbhid to autobind mouse device before appletouch
@ 2006-08-24 22:35 Thomas Meyer
  2006-08-25  2:32 ` Andrey Borzenkov
  2006-09-03 13:27 ` Thomas Meyer
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Meyer @ 2006-08-24 22:35 UTC (permalink / raw)
  To: linux-hotplug

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/?mc\x022222


-------------------------------------------------------------------------
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev: block usbhid to autobind mouse device before appletouch
  2006-08-24 22:35 udev: block usbhid to autobind mouse device before appletouch Thomas Meyer
@ 2006-08-25  2:32 ` Andrey Borzenkov
  2006-09-03 13:27 ` Thomas Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Borzenkov @ 2006-08-25  2:32 UTC (permalink / raw)
  To: linux-hotplug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 25 August 2006 02:35, Thomas Meyer wrote:
> 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

> 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/?mc\x022222
>
>
> -------------------------------------------------------------------------
> 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&kid\x120709&bid&3057&dat\x121642
> _______________________________________________
> Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> 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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: udev: block usbhid to autobind mouse device before appletouch
  2006-08-24 22:35 udev: block usbhid to autobind mouse device before appletouch Thomas Meyer
  2006-08-25  2:32 ` Andrey Borzenkov
@ 2006-09-03 13:27 ` Thomas Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Meyer @ 2006-09-03 13:27 UTC (permalink / raw)
  To: linux-hotplug

Andrey Borzenkov wrote:
>> On Friday 25 August 2006 02:35, Thomas Meyer wrote:
>>  
>>> 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   
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-03 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 22:35 udev: block usbhid to autobind mouse device before appletouch Thomas Meyer
2006-08-25  2:32 ` Andrey Borzenkov
2006-09-03 13:27 ` Thomas Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).