LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-01-2003, 04:53 PM   #1
StaticSage
LQ Newbie
 
Registered: Mar 2003
Posts: 17

Rep: Reputation: 0
Post Mouse problems with xstart


Alright. I'm a complete newbie to the entire linux world. I chose slackware because I wanted to get the feel for a real linux distro without all the extremely user friendly features. I'm starting to think I made the wrong decision because I just can't get this to work. I had a problem getting KDE to load at all at first, but now it will load, but the mouse won't work. It sits at the top for the most part and goes crazy. I have a MS Intellimouse USB adapted to PS/2 port. I use xf86config and have tried basically every mouse config in the list. None of them seemed to work right for it. My keyboard is USB and that seems to be working fine, so right now I'm going to try the mouse with USB. I doubt it will work because I'm using the bare kernal. Any help would be great.
 
Old 03-01-2003, 06:30 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I am assuming it is Slackware 8.1 runing XFree86 version 4. The configuration file is in the /etc/X11 directory. It is called XF86Config. There is a section that handles the mouse pointer. It is usually set to the device /dev/mouse. That device is just a symlink. If it is set incorrectly then X would be reading the wrong device. X can also be configured to read the device directly if desired. You have to look to see what it is actually using. For PS/2 mouse the device port would be /dev/psaux and for USB mouse the device port would be /dev/input/mouse0. The /dev/mouse symlink can be changed to anything really, use a command something like;

ln -sf /dev/input/mouse0 /dev/mouse
or
ln -sf /dev/psaux /dev/mouse

There is also another important parameter and it is called the protocol. The standard default mouse config would be PS/2 I think. Yours would use IMPS/2 as the protocol, even if USB port. That has to be set in the XF86Config file.

There are some additional settings you will probably like to add as well. I have provided the pointer section from my XF86Config as a guideline below.

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Resolution" "300"
Option "ZAxisMapping" "4 5"
Option "Buttons" "3"
EndSection

The resolution setting I have found to be a great help with high resolution screens, 1024x768 or higher. Reduces my arm fatigue. The last two settings are provided for wheel mouse support.

Not sure how you have the USB keyboard running on the bare.i kernel. When I tried to switch I couldn't login. I had to conenct the PS/2 kb and then load the modules for the USB kb to get it to work. But for USB mouse and USB keyboard support I would recommend loading the following modules. I use the /etc/rc.d/rc.local file to load my modules. Others seem to like /etc/rc.d/rc.modules file. The commands here load the modules and some others that are needed.

modprobe usb-uhci (or usb-ohci)
modprobe hid (or usbmouse and usbkbd)
modprobe mousedev
modprobe keybdev

The modules usbcore and input will be autoloaded as well.

Perhaps it will provide the assistance that you desire. If you are using a USB keyboard you might want to switch to the usb.i kernel. In the event of a system failure and the modules can't be loaded you might not have keyboard control. The usb.i kernel includes all the features from the modules above.

Last edited by Excalibur; 03-01-2003 at 06:35 PM.
 
Old 03-01-2003, 06:36 PM   #3
StaticSage
LQ Newbie
 
Registered: Mar 2003
Posts: 17

Original Poster
Rep: Reputation: 0
thanks a lot for your help.. i'll get to it and post back. I dont know how to edit files directly but i won't pester you because I know theres documentation around. thanks again.
 
Old 03-01-2003, 06:40 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
An easy editor for a beginner is the "mcedit" from the Midnight Commander package if it was installed. It has function keys, etc.

mcedit /etc/X11/XF86Config

And Linux is case sensitive everywhere!
 
Old 03-01-2003, 06:41 PM   #5
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quick tip...

pico is a good editor for beginners (and for me)

so, if you want to edit say.../etc/rc.d/rc.modules, then...
pico /etc/rc.d/rc.modules

Hope it helps.

Ah...Excalibur...I forgot mcedit

Last edited by DaOne; 03-01-2003 at 06:43 PM.
 
Old 03-01-2003, 07:02 PM   #6
StaticSage
LQ Newbie
 
Registered: Mar 2003
Posts: 17

Original Poster
Rep: Reputation: 0
wow. thank you so much! my mouse works now... I just have to configure everything else now.
 
  


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
xstart rbermel Debian 5 11-22-2005 10:40 AM
XDM vs xstart hkctr Debian 4 12-16-2004 05:56 AM
Xstart problem Dutch_n00b Slackware 6 09-06-2004 12:48 PM
xstart error warmwater Linux - Newbie 3 02-25-2004 04:48 PM
Xstart up question OtisLinux Linux - Software 3 01-15-2004 02:09 PM

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

All times are GMT -5. The time now is 10:52 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
Open Source Consulting | Domain Registration