LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2009, 02:44 PM   #1
ozeax
LQ Newbie
 
Registered: Sep 2009
Location: Brazil
Distribution: Slackware, Debian and Ubuntu
Posts: 7

Rep: Reputation: 0
Question Serial mouse on Slackware 13


Hi there,

I am glad to be here.

My serial mouse was run perfect with Slackware 12.2 (Microsoft protocol and /dev/ttyS0 in /etc/X11/xorg.conf), but now, with Slackware 13.0, I dont know how to setup my serial mouse.

When I started the X Windows System, the arrow freeze.

The mouse-test can detect my mouse on /dev/ttyS0

But it dont work...

I uncommented "modprobe sermouse" in /etc/rc.d/rc.modules, but dont work too...

Who can help me?

Thank you and sorry my english...

cya,

ozeax
 
Old 09-24-2009, 07:55 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

Your English is fine.

How do you have the 'X' configured for your system? When you first installed you would have been given the choice to setup your mouse. If you want to re-run the script you can use 'pkgtool'. Which mouse setting, 'bare' or 'ms'?
 
Old 09-24-2009, 08:33 AM   #3
ozeax
LQ Newbie
 
Registered: Sep 2009
Location: Brazil
Distribution: Slackware, Debian and Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
To be continue...

Hi and thanks,

Well, indeed, I configured the mouse in instalation process (with Microsoft protocol, the same I use in Slackware 12.2). After, I used the #xorgsetup, but without sucess. The X start normally, but mouse stay freeze.

I found the same problem in other area of this forum:

http://www.linuxquestions.org/questi...36#post3604636

There are a solution, but I dont know how to do it... as I told, I edited the rc.modules to load sermouse module, but dont work. I loaded sermouse module by hand, but dont work too.

Sorry if I am asking in wrong form ()

Thank you again,

ozeax
 
Old 09-24-2009, 09:36 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

What does your 'lsmod' show? Do you have 'gpm' enabled? If so how is it configured?
 
Old 09-25-2009, 09:11 AM   #5
ozeax
LQ Newbie
 
Registered: Sep 2009
Location: Brazil
Distribution: Slackware, Debian and Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Hi,

So, lsmod show many loaded modules, of course, and sermouse (after edit rc.modules to include it). If you looking for a module conflict, psmouse (or other modules used by mice) is not loaded in. I dont use/like gpm. So, I dont need it to configure my mouse. If you want a detailed lsmod output, wait my lunch, because I am at work now.

Thx and cya,

ozeax
 
Old 09-25-2009, 05:52 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

The reason I asked about 'gpm' is that sometimes there can be a conflict. A good test to see if the mouse is working at the console level would be to enable '/etc/rc.d/rc.gpm' then '/etc/rc.d/rc.gpm start' to see if you have the mouse in the console before 'X'. If the mouse functions then you know that 'X' is not configured properly.

Do you see anything in your logs or 'dmesg'? You should be able to use parts of your 12.2 xorg.conf that pertain to the mouse.
 
Old 09-28-2009, 08:28 AM   #7
ozeax
LQ Newbie
 
Registered: Sep 2009
Location: Brazil
Distribution: Slackware, Debian and Ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Solved

Hi,

Yes, you right.

I tested my mouse with gpm and it works. As you told, is not a module conflict or something like that, is a X configuration problem. But how solve it?

Well, after read the file log generated by the X (/var/log/), I saw something betrayer:

"AllowEmptyInput" is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled".

That is, I found my problem.

After read the X.conf man page, I discovered that "AllowEmptyInput" is a ServerFlag Option, "on" by default. What is the obvious solution? I set up "AllowEmptyInput" to "off" and, OMG, my mouse worked... strange...

I recieved a secret gift: Each time I pressed one key (keyboard or mouse), I saw triplicate echoes (or double clicks). That shit. Reading documentation again, I discovered another two ServerFlags that must be "off" or X would add, configure and enable devices (three keyboards and two mice?). I confirmed this, after read X log file again.

Complete Solution (/etc/X11/xorg.conf):

Code:
Section "ServerFlags"
Option "AutoAddDevices" "off"
Option "AutoEnableDevices" "off"
Option "AllowEmptyInput" "off"
EndSection

Now, all works fine.

Thank you very much for help me.

I see you arround,

ozeax
 
Old 09-28-2009, 09:20 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Glad to hear you have your system running.

As the 'OP' you can mark the Thread as [SOLVED] via the 'Thread Tools'. This will aid others when searching.
 
  


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
Bus Mouse or Serial Mouse rsankar Linux - Hardware 2 10-30-2007 05:57 AM
Activating serial mouse at boot in Slackware 12.0? allend Slackware 6 10-02-2007 02:56 PM
serial mouse help hoaxci5 Linux - Hardware 15 06-05-2004 01:30 AM
help with serial mouse Mugatu Linux - Hardware 1 01-07-2004 10:36 AM
serial mouse in X MikeeX Linux - Newbie 6 04-25-2002 01:08 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration