This is a discussion on Serial mouse and X within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> There have been a few questions along the same lines as this one, but none of the previously suggested ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| There have been a few questions along the same lines as this one, but none of the previously suggested solutions work for me, unfortunately. I have managed to get my mouse to work in the console with: $ /usr/sbin/wsmoused -t microsoft -p /dev/cua00 but when I stop wsmoused and try to start X, I get the following errors: (==) Using config file: "/etc/X11/XF86Config" (EE) xf86OpenSerial: Cannot open device /dev/cua00 Operation not permitted. (EE) Mouse1: cannot open input device (EE) PreInit failed for input device "Mouse1" No core pointer I have tried: - changing /etc/fbtab to add /dev/cua00 to the /dev/ttyC0: /dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wsmouse:/dev/ttyCcfg:/dev/cua00 - changing the permissions/ownership of /dev/cua00 to all sorts, including 0777. - using different devices in XF86Config, all of them are dead (no response, but no errors) The relevant part of XF86Config: Driver "mouse" Option "Protocol" "microsoft" Option "Device" "/dev/cua00" Any help/tips appreciated!! |
| |||
| In article <b1b527ad.0401030745.388d1d3c@posting.google.com >, digger wrote: > There have been a few questions along the same lines as this one, but > none of the previously suggested solutions work for me, unfortunately. > > I have managed to get my mouse to work in the console with: > > $ /usr/sbin/wsmoused -t microsoft -p /dev/cua00 > > but when I stop wsmoused and try to start X, I get the following > errors: Did you try NOT stopping wsmoused and telling X to use wsmoused, too? The XFree86 documentation doesn't say so for OpenBSD (I already filed a PR about that with the XFree86 people months ago) but it should be supported by any recent OpenBSD much like the NetBSD wsmoused. -- j p d (at) d s b (dot) t u d e l f t (dot) n l . |
| |||
| i have had the same problem with my serial mouse when using /dev/ttyC0 or /dev/cua00. the following XF86Config lines work for me (mouse is connected to first serial port). Identifier "Mouse1" Driver "mouse" Option "Protocol" "Microsoft" Option "Device" "/dev/tty00" also note the last lines in the wsmoused manual page, saying wsmoused must be stopped before starting X in the case of a serial mouse. steven. |
| |||
| jpd <read_the_sig@do.not.spam.it> wrote in message news:<1073145398.985787@ente.ipberlin.com>... > > I have managed to get my mouse to work in the console with: > > > > $ /usr/sbin/wsmoused -t microsoft -p /dev/cua00 > > > > but when I stop wsmoused and try to start X, I get the following > > errors: > > Did you try NOT stopping wsmoused and telling X to use wsmoused, too? > The XFree86 documentation doesn't say so for OpenBSD (I already filed > a PR about that with the XFree86 people months ago) but it should be > supported by any recent OpenBSD much like the NetBSD wsmoused. I have tried using the wsmouse protocol, and /dev/wsmouse, if that's what you mean? Basically, if the device is set to /dev/cua00 it fails with an OpenSerial error, if the device is set to anything else, it is unresponsive. For that reason, I think there is something wrong in /dev/ or /etc/fbtab rather than XF86Config. No idea what the problem is though! Thanks for the idea - I thought it would work for a minute then =( |
| ||||
| "steven mestdagh" <smestdag@_NOSPAM_esat.kuleuven.ac.be> wrote in message news:Pine.LNX.4.58.0401031719300.32135@batcher.esa t.kuleuven.ac.be... > i have had the same problem with my serial mouse when using /dev/ttyC0 or > /dev/cua00. the following XF86Config lines work for me (mouse is connected > to first serial port). > > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "Microsoft" > Option "Device" "/dev/tty00" Thanks a lot - that fixed it! |