LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-23-2004, 05:46 PM   #1
Khang
Member
 
Registered: Aug 2004
Distribution: Debian, Linux 2.6
Posts: 88

Rep: Reputation: 15
Keep having to run startx twice for it to find the mouse


Hi there... I don't know if this problem is common, but I haven't been able to find much on it. Seems some people are having problems with their mouse device not being found when they run startx, but my problem is a bit different. You see, if I boot my system and run startx, I get the following:

xf86OpenSerial: Cannot open device /dev/psaux
No such device

(Typed from memory so I can't guarantee that's accurate to the letter)

However, if I run startx a second time, I get no errors, and everything works perfectly - including the mouse.

The device Mouse1 defined in my XF86Config-4 is as follows:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
EndSection

And in the appropriate line in my ServerLayout section is just:

InputDevice "Mouse1" "CorePointer"

My mouse is a Microsoft wireless one. It's plugged into a PS/2 port, but the actual mouse cable has a USB plug on it. I'm using an adapter that came with it to connect it to the PS/2 port. I'm not sure if that's of any importance.

Any ideas why this is happening, and how to fix it? Thanks
 
Old 10-23-2004, 10:02 PM   #2
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
Comment out what u have by putting a hash(#) in front of the lines

and put the following and try....




Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"


EndSection
 
Old 10-23-2004, 10:19 PM   #3
Khang
Member
 
Registered: Aug 2004
Distribution: Debian, Linux 2.6
Posts: 88

Original Poster
Rep: Reputation: 15
I don't have a /dev/mouse so I don't see that working :/

As for the change from auto to ImPS/2, judging by the logs it's was detecting ImPS/2 already.

I've tried having Emulate3Buttons on already, and it didn't make any difference.

Thanks for the reply though

If I type 'cat /dev/psaux' at the command line, then move the mouse, I get lots of characters being printed, so I know that device is the one. Having said that, it also works with /dev/input/mice and /dev/input/mouse0. I've tried using both of those devices in my XF86Config-4 and they didn't work (not even when I run startx a second time), so I changed it back to /dev/psaux.

Last edited by Khang; 10-23-2004 at 10:24 PM.
 
  


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
After typeing 'startx' it can't find /dev/mouse smurcoch Slackware 10 05-15-2005 05:43 AM
Help,I can't find my USB mouse when I run "kudzu" command in RH9. aeolus Red Hat 0 03-27-2004 10:14 PM
can't run startx avram Debian 5 10-20-2003 04:49 PM
Startx cannot run twice esael Slackware 2 10-11-2002 10:06 AM
cannot run startx juno Linux - General 8 10-03-2002 02:57 PM


All times are GMT -5. The time now is 05:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration