LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-14-2012, 07:42 AM   #16
af7567
LQ Newbie
 
Registered: Nov 2012
Posts: 16

Rep: Reputation: 6

Quote:
Originally Posted by stf92 View Post
Code:
semoi@darkstar:~$ sudo cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:9728 rx:6887 fe:1 brk:2841
1: uart:unknown port:000002F8 irq:3
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
semoi@darkstar:~$

From the tx: and rx: numbers there it looks like data is being sent and received on the port. I have no idea what fe:1 or brk:2841 means, mine does not show those. If you move the mouse then cat /proc/tty/driver/serial you should see the rx: number change after some seconds. If not, then I guess you have something different plugged into /dev/ttyS0.
 
Old 11-14-2012, 12:52 PM   #17
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 803

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
A serial mouse (we assume Microsoft 2 button type here) has to be powered by the serial port to send data to the host. Also the parameters of the serial port have to be setup correctly (1200 bps 7E1), so the cat /dev/ttyS0 trick will never work.

Fortunately Slackware already includes a program, which does everything we need. Just do:

Code:
# /usr/sbin/gpm -m /dev/ttyS0 -t ms
Then try moving the mouse. You should see a moving rectangle (the mouse cursor).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
forcing traffic through certain route(forcing source ip) taltman Linux - Networking 1 12-26-2007 01:07 PM
my suse 10 cannot detect mouse nurid Linux - Newbie 4 03-15-2006 12:30 AM
Not able to detect mouse device simontki Linux - Hardware 2 03-12-2006 06:55 PM
How do detect a port scan? jon_k Linux - Software 1 04-18-2004 11:54 AM
Laptop does not detect my mouse Belize Linux - General 7 09-13-2003 07:40 AM


All times are GMT -5. The time now is 01:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration