LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-27-2005, 07:54 AM   #1
svar
Member
 
Registered: Jul 2003
Posts: 352

Rep: Reputation: 30
mouse in Slack 10.2 -test26.s


I tried Slack 10.2 with test26.s, the scsi kernel for 2.6.13
everything works except the damn mouse!
This is my first shot at 2.6 and I thought it recognizes everything, but not the mouse

The mouse s unresponsive both in graphical mode(kde) and cut&paste line mode

gpm is running
/etc/rc.d/rc.gpm says so

rc.hotplug is world executable

I change the xorg.conf to
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
(yes, I have an intellimouse)
but again no change.
I changed the BIOS to enable Plug and Play, again nothing

What am I doing worng? Why is my mouse dead?
 
Old 10-27-2005, 08:18 AM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Does /dev/mouse still exist?
I've seen it disappear for me after switching kernels.
 
Old 10-27-2005, 08:40 AM   #3
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
hmm.. /dev/mouse is a symlonk to psaux which does not exist apparently...

So, how do you fix that?
 
Old 10-27-2005, 09:19 AM   #4
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Your new kernel may have moved the location of your mouse device.
for example, it may be something like /dev/input/mouse, or /dev/input/psaux.

Do a search of your /dev directory for anything else with mouse or aux, or anything else that seems "mouse" like, and then point your xorg.conf to use this new device.
 
Old 10-27-2005, 10:01 AM   #5
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
I found /dev/input/mouse, but with startx cannot find the device and crashes

ls -l /dev/input/mouse
crw-rw---- 1 root sys 10, 149, 2003-01-24..... /dev/input/mouse

There are a bunch of mouse under /dev/input from mice, mouse, mouse1... mouse26 or so

startx says
xf86 open serial Cannot open device
no such device
Mouse 1: cannot open input device
PreInit failed

in xorg.conf

Indentifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option Device "/dev/input/mouse"
and ZAxis Mapping "4 5"
 
Old 10-27-2005, 10:28 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Read the file called RELEASE_NOTES on CD 1, it says that you've to install kernel modules from testing/ when using test26.s, those modules include mouse support.
Also it's not recommended to use test26.s for daily usage, it has a lot (more than most kernels have) of stuff built into the kernel to support different devices during install.
 
Old 10-27-2005, 11:35 AM   #7
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
mouse problem

I have same mouse with same kernel. Either imps/2 or auto work and u still use /dev/mouse.

But if u used test26.s during install setup still has 4.31 modules,headers,source and alsa driver. The 2nd install cd has the 2.6.13 directory with the needed files. Pkgtool or installpkg can install them. Remember to remove the 2.4.31 kernel things 1st. Then reboot and the mouse should work.

To setup ur printer u may need to uncommment lp0 and paraportc modules in /etc/rc.d/rc.modules file for a parallel port printer.

adsl-setup is now pppoe-setup. Good luck.
 
Old 10-27-2005, 04:46 PM   #8
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Re: mouse problem

Quote:
Originally posted by lestoil
I have same mouse with same kernel. Either imps/2 or auto work and u still use /dev/mouse.

But if u used test26.s during install setup still has 4.31 modules,headers,source and alsa driver. The 2nd install cd has the 2.6.13 directory with the needed files. Pkgtool or installpkg can install them. Remember to remove the 2.4.31 kernel things 1st. Then reboot and the mouse should work.

To setup ur printer u may need to uncommment lp0 and paraportc modules in /etc/rc.d/rc.modules file for a parallel port printer.

adsl-setup is now pppoe-setup. Good luck.
Not sure I understand. During installation, I specified test26.s.
And I do intend to use 2.6.13 for daily use-in fact for mission critical apps. Other than device issues(which will
be presumably solved), are there other things I should be aware of ?
Have people found 2.6.13 not ready for prime time?
 
Old 10-27-2005, 07:48 PM   #9
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
mouse config

I tried to respond earlier. What i mean is that 10.2 is unlike earlier versions in that adsl-setup is now pppoe-setup for dsl modem and parallel port modules must be uncommented for parallel port printer.. And tho' u use test26.s during install, 2.4.31 moudules,headers,source and alsa driver are still installed. So u need to remove the 2.4.31 stuff. There is debate regarding headers. U choose.
Then u will need the the 2.6.13 stuff on the 2nd install cd--source,modules,?headers and alsa driver. Then the system will be 2.6.13 with modules,etc. At end of install and on reboot try mount /mnt/cdrom > cd /mnt/cdrom > ls > cd 2.6.13 and installpkg the needed pkgs. Pkgtool can also be used.
Pls. follow other leads in forum regarding udev and how to turn it on for the 2.6.13 kernel.
Once u get used to the 2.6.13 kernel u can install and config a slimmer/more current 2.6.x kernel according to ur needs/wishes.
Again i have same mouse and /dev/mouse is still used and auto or imps/2 will work. Good luck.

Last edited by lestoil; 10-27-2005 at 07:49 PM.
 
Old 10-27-2005, 08:51 PM   #10
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
What kind of mouse is it? USB or PS/2?

If it's USB, try pointing it to /dev/input/mice

either that, or

ln -s /dev/input/mice /dev/mouse

Last edited by sweetnsourbkr; 10-27-2005 at 08:54 PM.
 
Old 10-28-2005, 12:32 PM   #11
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
MS Intellimouse with Intellieye usb mouse

Inspite of test 2.6.13 kernel /dev/mouse still works and auto or imps/2 too. Option "ZAxisMapping" "4 5" and Option "Buttons" "5" work for this 2button-scroll wheel mouse. ' lsusb' will show that MS usb mouse is used.
For some reason /dev/input/mouse or mice doesn't work unlike in L3 or X3 or Sarge.
 
Old 10-29-2005, 02:01 AM   #12
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Sorry, I'm still having problems:
I installed the 2.6.13 kernel(generic, modules, source, headers), all tgzs on the second CD except alsa.

Here's the relevant xorg.conf section:

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"


Option "Protocol" "IMPS/2"
# COMMENT: I kept PNP enabled in BIOS, but this is an Intellimouse(2 buttons
# with wheel, so IMPS/2 should be fine)

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/psaux"
# Option "Device" "/dev/mouse" (I tested both /dev/psaux #and /dev/mouse, the result is the same)
Option "ZAxisMapping" "4 5"

-------------------------------------

Now here are some relevant data
root@quality5:~# uname -r
2.6.13
# so I am indeed running 2.6.13

# I did not remoe 2.4.31, but that should be ok, I will later create two kernels and
#have a choice at lilo to but either one

root@quality5:~# ls -l /usr/src
total 1
lrwxrwxrwx 1 root root 12 2005-10-29 08:01 linux -> linux-2.6.13
drwxr-xr-x 15 root root 584 2005-06-06 04:17 linux-2.4.31
drwxr-xr-x 18 root root 624 2005-09-04 06:44 linux-2.6.13
drwxr-xr-x 7 root root 168 2003-10-29 08:08 rpm
drwxr-xr-x 2 root root 176 2005-06-06 04:25 speakup-2.4.31
root@quality5:~# ls -l /boot
total 3541
lrwxrwxrwx 1 root root 37 2005-10-25 13:14 README.initrd -> /usr/doc/mkinitrd-1.0.1/README.initrd
lrwxrwxrwx 1 root root 25 2005-10-29 07:59 System.map -> System.map-generic-2.6.13
-rw-r--r-- 1 root root 870274 2005-09-04 07:15 System.map-generic-2.6.13
-rw-r--r-- 1 root root 608033 2005-06-06 06:37 System.map-ide-2.4.31
-rw-r--r-- 1 root root 512 2005-10-25 13:52 boot.0800
-rw-r--r-- 1 root root 168 2005-10-25 13:52 boot_message.txt
lrwxrwxrwx 1 root root 21 2005-10-29 07:59 config -> config-generic-2.6.13
-rw-r--r-- 1 root root 54250 2005-09-04 07:15 config-generic-2.6.13
-rw-r--r-- 1 root root 41760 2005-06-06 06:37 config-ide-2.4.31
-rw-r--r-- 1 root root 5032 2004-05-21 10:19 diag1.img
drwx------ 2 root root 12288 2005-10-25 13:12 lost+found
-rw------- 1 root root 47104 2005-10-25 13:52 map
lrwxrwxrwx 1 root root 22 2005-10-29 07:59 vmlinuz -> vmlinuz-generic-2.6.13
-rw-r--r-- 1 root root 704512 2005-09-04 07:15 vmlinuz-generic-2.6.13
-rw-r--r-- 1 root root 1256566 2005-06-06 06:37 vmlinuz-ide-2.4.31
=================================

Now on startx, the only error message I get is font-related, but still my mouse is dead(also in cut and paste ):




root@quality5:~# startx

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13 i686 [ELF]
Current Operating System: Linux quality5 2.6.13 #1 Tue Sep 6 17:56:37 PDT 2005 i686
Build Date: 11 September 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 29 09:03:50 2005
(==) Using config file: "/etc/X11/xorg.conf"

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
xset: bad font path element (#58), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
KWrited - Listening on Device /dev/pts/1
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde/lib/kde3/kcm_kdnssd.so: undefined symbol: init_kdnssd
SetClientVersion: 0 8
QFont::setPointSize: Point size <= 0 (-3)
knotify: Fatal IO error: client killed
kwin: Fatal IO error: client killed
kicker: Fatal IO error: client killed
klipper: Fatal IO error: client killed
kded: Fatal IO error: client killed
kdesktop: Fatal IO error: client killed
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
*** kdesktop got signal 1 (Exiting)
kicker: sighandler called
ksmserver: Fatal IO error: client killed
xinit: connection to X server lost. klauncher: Exiting on signal 1
klauncher: Fatal IO error: client killed
Hangup
GOT SIGHUP
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
kicker: sighandler called
root@quality5:~# startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle 'Office/kword.desktop'
startkde: Running shutdown scripts...
startkde: Done.


As a final check, gpm is running
root@quality5:~# gpm
root@quality5:~#


and /dev/psaux as specified seems ok:
 ls -l /dev/psaux
crw-rw---- 1 root sys 10, 1 1994-07-18 02:49 /dev/psaux
root@quality5:~# ls -l /dev/psaux     mouse
lrwxrwxrwx 1 root root 5 2005-10-25 13:52 /dev/mouse -> psaux


Any ideas what to do next?
 
Old 10-29-2005, 09:47 AM   #13
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
When all else fails, try using all the devices, one by one, until you get it right.

This is the one thing I really hate about this system. Hotplug should autodetect your hardware and devfs display ONLY the devices that are connected to your system.

Last edited by sweetnsourbkr; 10-29-2005 at 09:49 AM.
 
Old 10-29-2005, 04:10 PM   #14
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
kernel problem

Sorry u have problems but i assume u install test26.s kernel during install. But 2.4.31 stuff still installed unless u did expert install during wc u can unselect 2.4.31 source,modules,etc. Then after finished install u can install the stuff on 2nd cd--not the kernel again but modules,maybe headers,source,alsa driver. Then u get 2.6.13 system. Good luck.
Oh and I forgot try to disable gpm then setup ur mouse. That gpm can cause problems.
Identifier mouse
Driver "mouse"
Option " Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
ttfn

Last edited by lestoil; 10-29-2005 at 04:38 PM.
 
Old 10-30-2005, 01:22 AM   #15
svar
Member
 
Registered: Jul 2003
Posts: 352

Original Poster
Rep: Reputation: 30
Well, that's what I did:
During installation, I chose test26.s
Then, I went to /usr/src/linux2.6.13, downloaded the tgzs[all except alsa which I do not need] from /mnt/cdrom,
installed them, built vmlinuz(overwriting the old one) and put them in /boot
The 2.4.31 directory is still there(as I may want to have the choice
of booting either kernel), but no image of it exists. So I ought to be ok there, no?

So the remaining things to try are
-disable gpm
-make links to devices one by one till I get something that works?!
 
  


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
Mouse problems 10.2 test26.s svar Slackware 8 11-08-2005 03:10 PM
Problems with keyboard and test26.s jimswe Slackware - Installation 9 10-29-2005 04:29 AM
test26.s = 2.6.13??? adds2one Slackware 4 09-15-2005 04:17 PM
Wireless mouse on Slack 10 oddo Slackware 2 08-31-2004 01:08 AM
Mouse problems in Slack 10 Diminished7th Linux - Hardware 3 07-01-2004 01:29 AM


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