View previous topic :: View next topic |
Author |
Message |
mounty1 l33t
Joined: 06 Jul 2006 Posts: 942 Location: Queensland
|
Posted: Mon May 20, 2019 8:30 pm Post subject: Is my serial mouse working? minicom test |
|
|
If I have a mouse on serial ttyS0 and run mincom and connect to that port, if I move the mouse around, should I see stuff on the minicom display? I'm trying to work out why the mouse appears not to work.
It is not listed by cat /proc/bus/input/devices. _________________ Michael Mounteney |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54584 Location: 56N 3W
|
Posted: Mon May 20, 2019 8:57 pm Post subject: |
|
|
mounty1,
Maybe. You need set the serial port correctly to communicate with the mouse.
If the mouse sends all non printing characters, you won't see anything.
To test minicom, link pins 2 and 3 on the serial port.
Thats Tx data and Rx data. Everythinf to type will go out of Tx, through the link to Rx and appear on the screen. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mounty1 l33t
Joined: 06 Jul 2006 Posts: 942 Location: Queensland
|
Posted: Tue May 21, 2019 8:12 am Post subject: |
|
|
I don't doubt that minicom works. It's the mouse that is suspect. Shouldn't it be listed by cat /proc/bus/input/devices ? _________________ Michael Mounteney |
|
Back to top |
|
|
mounty1 l33t
Joined: 06 Jul 2006 Posts: 942 Location: Queensland
|
Posted: Thu May 23, 2019 11:25 am Post subject: |
|
|
Apparently the inputattach utility is required but it isn't in Portage. _________________ Michael Mounteney |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54584 Location: 56N 3W
|
Posted: Thu May 23, 2019 5:50 pm Post subject: |
|
|
mounty1,
Its a wee while since I've used a serial mouse.
When I used one with Xorg, it was with the mouse driver and listing the serial port in xorg.conf.
Thats not so easy today as the auto detect will disable anything with the mouse or kbd drivers.
I suspect that your mouse needs the serial port set to 9600,8N1 with both software and hardware handshaking disabled.
I've never needed inputattach to make a serial mouse work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|