LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   mouse in Slack 10.2 -test26.s (http://www.linuxquestions.org/questions/slackware-14/mouse-in-slack-10-2-test26-s-377385/)

svar 10-27-2005 07:54 AM

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?

geeman2.0 10-27-2005 08:18 AM

Does /dev/mouse still exist?
I've seen it disappear for me after switching kernels.

svar 10-27-2005 08:40 AM

hmm.. /dev/mouse is a symlonk to psaux which does not exist apparently...

So, how do you fix that?

geeman2.0 10-27-2005 09:19 AM

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.

svar 10-27-2005 10:01 AM

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"

gbonvehi 10-27-2005 10:28 AM

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.

lestoil 10-27-2005 11:35 AM

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.

svar 10-27-2005 04:46 PM

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?

lestoil 10-27-2005 07:48 PM

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.

sweetnsourbkr 10-27-2005 08:51 PM

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

lestoil 10-28-2005 12:32 PM

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.

svar 10-29-2005 02:01 AM

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?

sweetnsourbkr 10-29-2005 09:47 AM

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.

lestoil 10-29-2005 04:10 PM

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

svar 10-30-2005 01:22 AM

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?!


All times are GMT -5. The time now is 10:38 AM.