Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is my serial mouse working? minicom test
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
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 942
Location: Queensland

PostPosted: Mon May 20, 2019 8:30 pm    Post subject: Is my serial mouse working? minicom test Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Mon May 20, 2019 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 942
Location: Queensland

PostPosted: Tue May 21, 2019 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 942
Location: Queensland

PostPosted: Thu May 23, 2019 11:25 am    Post subject: Reply with quote

Apparently the inputattach utility is required but it isn't in Portage.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Thu May 23, 2019 5:50 pm    Post subject: Reply with quote

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
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