use different mouse/input devices in X.org
Hi List, i've using a Notebook with touchpad which works perfeclty fine. However, i'd like also to use in paralell an external via usb connect mouse. If i configure this hard into X.org config it will work but i stumble here on problems. First of all, i have to shutdown the X.org Server to do so, and restart it. Secondly i was not able to tell X.org to use both device, which would be the touchpad and the external mouse. Possibly there is a daemon i can run in backround which maybe handles that? Anyone has a solution for that kind of problem or something to hit me in the right direction? As usual thank you in advance, Marco ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use different mouse/input devices in X.org
Le Sat, 13 Dec 2008 13:53:02 +0100, Marco ilikef...@web.de a écrit : Hi List, Hello, i've using a Notebook with touchpad which works perfeclty fine. However, i'd like also to use in paralell an external via usb connect mouse. If i configure this hard into X.org config it will work but i stumble here on problems. First of all, i have to shutdown the X.org Server to do so, and restart it. Secondly i was not able to tell X.org to use both device, which would be the touchpad and the external mouse. Possibly there is a daemon i can run in backround which maybe handles that? Anyone has a solution for that kind of problem or something to hit me in the right direction? moused(8) is able to mix several mice. You can use devd to call moused when an usb mouse is inserted, with a rule in /etc/devd.conf like : attach 200 { device-name ums0; action /usr/sbin/moused -a 5 -p /dev/ums0 -I /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on; }; In Xorg.conf, use /dev/sysmouse for the mouse device. That's all. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: use different mouse/input devices in X.org
Hello Patrick, works like a charm. I had to test a little bit, but i ended up with /dev/sysmouse in Xorg config and the following lines in the devd.conf: attach 200 { device-name psm0; action /usr/sbin/moused -a 2 -p /dev/psm0 -I /var/run/moused.psm0.pid; /usr/sbin/vidcontrol -m on; }; attach 220 { device-name ums0; action /usr/sbin/moused -a 2 -p /dev/ums0 -I /var/run/moused.ums0.pid; /usr/sbin/vidcontrol -m on; }; Where psm0 is my touchpad and ums0 my external mouse. Ok i never wanted mouse support on the console, but it's maybe i feature i'll get used to ;-) Thanks a lot, Marco Patrick Lamaizière wrote: Le Sat, 13 Dec 2008 13:53:02 +0100, Marco ilikef...@web.de a écrit : Hi List, Hello, i've using a Notebook with touchpad which works perfeclty fine. However, i'd like also to use in paralell an external via usb connect mouse. If i configure this hard into X.org config it will work but i stumble here on problems. First of all, i have to shutdown the X.org Server to do so, and restart it. Secondly i was not able to tell X.org to use both device, which would be the touchpad and the external mouse. Possibly there is a daemon i can run in backround which maybe handles that? Anyone has a solution for that kind of problem or something to hit me in the right direction? moused(8) is able to mix several mice. You can use devd to call moused when an usb mouse is inserted, with a rule in /etc/devd.conf like : attach 200 { device-name ums0; action /usr/sbin/moused -a 5 -p /dev/ums0 -I /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on; }; In Xorg.conf, use /dev/sysmouse for the mouse device. That's all. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org