LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2004, 11:30 PM   #1
diamondstyle
LQ Newbie
 
Registered: May 2004
Location: South Florida
Posts: 6

Rep: Reputation: 0
Problems with mouse when using startx


During my install I erased my widnows partition with fdisk...I'm making sure I get Linux working before I install windows again. I got my partitions correctly done I think. Lilo installed and I got Slackware 9.1 to boot. When I try to run startx I get something along these lines...

(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such device
(EE) Mouse1: Cannot open input device
(EE) PreInit failed for input device "Mouse1"
No Core Pointer

Fatal server error:
failed to initialize core devices


What a bummer...figuring out my way around linux with command line is fun but I need to see a desktop! I am using a Microsoft optical mouse connected via USB. Actually it's connected by a PS/2 connector/USB connector piece. The PS/2 connector wont fit the port for some reason. Some links to point me in the right direction and a little advice wouldnt hurt. Thanks alot.
 
Old 05-05-2004, 12:15 AM   #2
franzfranz
Member
 
Registered: Mar 2004
Location: Indiana, US
Distribution: gentoo
Posts: 87

Rep: Reputation: 15
i don't think that connection would make a huge difference. have you run xf86config and set up your mouse? if choosing the right mouse options there doesn't help, then you'll probably have to modify your /etc/XF86Config file. Just find what settings you need in the mouse section. There should be plenty of examples around these forums, if not just turn to google.
 
Old 05-05-2004, 02:32 AM   #3
nonperson
LQ Newbie
 
Registered: May 2004
Location: Napoli, IT
Distribution: compiled from scratch, and a gentoo system
Posts: 24

Rep: Reputation: 15
It sounds to me like you just need to make a sym link from /dev/whatever to /dev/mouse. The script your using to configure your X setup should have configured this for you, but doing it by hand is more fun. Just type (from a bash prompt) ln -s /dev/psaux /dev/mouse
The /dev/mouse is sym linked to whatever hardware your mouse actually is. This provides a common interface to any program that needs the mouse, be it a usb, serial, or ps/2 mouse it can be accessed through the /dev/mouse link. The above example where I used psaux is for a ps/2 mouse, I dont know which device you link to for a USB mouse.
If your bios supports handeling USB HID's and you enable it, than I belive it will logicaly connect your USB to your psaux. I have done this before and am not quite sure how it works, but it's pretty damn cool.
 
Old 05-05-2004, 06:27 AM   #4
diamondstyle
LQ Newbie
 
Registered: May 2004
Location: South Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Excellent replies thanks alot fellas. I've got plenty of new commands and what not to work with now. I picked up a book in Barnes & Nobles today and started reading about fdisk and partitioning drives. It used the words "hacking the system" or something similar to that. The Linux OS is giganticly new for me and it really is a fun thing to explore and troubleshoot. Thanks again.
 
Old 05-05-2004, 07:21 AM   #5
diamondstyle
LQ Newbie
 
Registered: May 2004
Location: South Florida
Posts: 6

Original Poster
Rep: Reputation: 0
Ok here's the rundown on the stuff I just tryed. First I ran xf86config. Evertyhing went fine, for mouse selection I just chose 1 Auto, because I did not see anything for USB. I'm thinking about just plugging a PS/2 mouse in and forgetting about this. But I know the USB mouse works because i'm using it with KNOPPIX right now! When KNOPPIX boots I saw this...

USB found, managed by hotplug
starting hotplug

Maybe I need hotplug? I also tryed this -s /dev/psaux/dev/mouse is there supposed to be a command before the -s because it does not work like that. I was looking at /dev/input and saw mouse0 - mouse4 I think. Did not know what to do with any of em. After all was said and done I typed in "startx". I thought it was gonna work because it took half a second longer then normal before I got my error. DARN! I lost windows while partitioning for this install so I MUST GET LINUX WORKING! Thanks for any help.
 
Old 05-05-2004, 07:35 AM   #6
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Link command:
ln -s /dev/psaux /dev/mouse
Also try linking to the files in /dev/input . Look in Knoppix to see what device it's using.
 
  


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 04:43 AM
Keep having to run startx twice for it to find the mouse Khang Linux - Software 2 10-23-2004 09:19 PM
No keyboard/mouse after startx Scruff Linux - Hardware 1 06-06-2004 09:55 PM
monitor/mouse trouble startx centr0 Slackware - Installation 1 04-16-2004 03:07 PM
loose Keyboard and mouse after startx Bishop942 Linux - Hardware 4 05-29-2003 04:44 PM


All times are GMT -5. The time now is 05:21 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