LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-27-2003, 07:11 AM   #1
James007Bond
LQ Newbie
 
Registered: Jul 2003
Location: Antwerp, Belgium
Posts: 11

Rep: Reputation: 0
How do you define/add serial mouse for X-windows


I have installed X-windows but it will not initialise since my mouse seems not to be defined. It is a serial mouse on COM1 (microsoft trackball).

How do I add it/define it?

Info below on what XFree86 tells me before quitting.
(**) Mouse0: Protocol: "auto"
(**) Mouse0: Core Pointer
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
(II) Keyboard "Keyboard0" handled by legacy driver
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices
 
Old 07-27-2003, 03:19 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,694

Rep: Reputation: 232Reputation: 232Reputation: 232
Check if your /dev/mouse exists. It's a symlink. If it's not there or points to something different than /dev/ttyS0, you need to correct it.
 
Old 07-27-2003, 03:24 PM   #3
James007Bond
LQ Newbie
 
Registered: Jul 2003
Location: Antwerp, Belgium
Posts: 11

Original Poster
Rep: Reputation: 0
/dev/mouse does *NOT* exist

roger@marvin:~$ ls /dev/mouse
ls: /dev/mouse: No such file or directory

but I though that I needed to use /dev/ttyS0 which I edited into the XFree86new config file that appeared in /root when I ran "XFree86 -configure"

..seems like you think I should create a "sym link". How do I do that? I guess it is ln -s ....something....but what, exactly?

Last edited by James007Bond; 07-27-2003 at 03:26 PM.
 
Old 07-27-2003, 03:35 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,694

Rep: Reputation: 232Reputation: 232Reputation: 232
ln -s source destination
In fact, you don't need the symlink (can use /dev/ttyS0 instead), but it looks that X WIndow's coonfigured this way (probably you forgot to change something and it's still using a different mouse configuration - with /dev/mouse).
 
Old 07-30-2003, 10:30 AM   #5
rockmumbles
LQ Newbie
 
Registered: Jul 2003
Location: Podunk, Idaho
Distribution: Debian
Posts: 28

Rep: Reputation: 15
are you attempting to starting X as root with:

XFree86 -xf86config /root/XFree86new (or whatever the name of the file is)

so that you are using the 'new' XF86Config file?

If this works I'd rename your existing /etc/X11/XF86Config-4 just in case there is something in it you need, and copy the new file from /root/XFree86new file to /etc/X11/XF86Config-4

HTH

-rock
 
Old 08-08-2003, 04:54 PM   #6
James007Bond
LQ Newbie
 
Registered: Jul 2003
Location: Antwerp, Belgium
Posts: 11

Original Poster
Rep: Reputation: 0
Cracked it

You need to do sudo xf86config and then answer all the questions. This will generate a file XF86Config which you need to copy to /etc/X11/XF86Config-4 ....

.....and bob's your uncle.

Once you have got the file about right for you, you can do minor tweaking by editing the file (eg with vi), rather than re-running xf86config and answering all the questions again.
 
  


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 04:57 AM
Serial Mouse. Trust Slackware 2 05-23-2004 02:34 PM
Mouse set to None - Add a mouse to Mandrake KDE voltson Linux - Hardware 1 02-10-2003 01:58 AM
Serial Mouse Lisbon Linux - Newbie 1 12-17-2001 05:06 PM
serial mouse vicente General 3 07-30-2001 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:40 AM.

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