Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-09-2006, 08:55 PM
|
#1
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Rep:
|
Mouse frozen. Is it an xorg.conf problem?
After a new install of Slackware 10.2 KDE looks great, but mouse doesn't move.
I've read numerous posts and tried xorgconfig and X -configure,
and several manual edits of xorg.conf, including changing protocol
to IMPS/2 and PS/2, but no mouse movement. Nada.
Any suggestions.
PS - I'm new to slackware.
Thanks.
My mouse is a usb Microsoft "Basic Optical Mouse" USB/PS2 Compatible, pretty generic.
############################################################
# xorg.conf
...
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
...
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
############################################################
|
|
|
07-09-2006, 09:34 PM
|
#2
|
Member
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919
Rep:
|
You could always burn a minimal LiveCD like Damn Small or the like, then boot that and look to see what it autoconfigures your X with in regards to mouse settings. I don't see at first glance what the issue is unless the USB aspect is causing a glitch, then again you may be able to just google your mouse type and see if others have encountered similar problems.
|
|
|
07-09-2006, 10:05 PM
|
#3
|
Member
Registered: Jan 2006
Location: Santa Cruz, CA
Distribution: Slack 10.2 and 11.0
Posts: 102
Rep:
|
mice
Since it is a usb mouse.......
try changing the device option to "/dev/input/mice". Save and restart x. That got mine working.
|
|
|
07-09-2006, 11:42 PM
|
#4
|
Member
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241
Rep:
|
hello
my usb wheel mouse workds fine with the following option:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
EndSection
|
|
|
07-10-2006, 12:02 AM
|
#5
|
Member
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480
Rep:
|
If your mouse is plugged into a USB port (and the USB subsystem actually loaded up) then you have to use /dev/input/mice as the device node (like the previous poster said). If it's plugged into the PS/2 port (the round thing next to the keyboard connector) then you use /dev/psaux. If /dev/mouse exists, it's likely to be a symlink which may or may not be pointing to the correct one of these.
If you actually have the "Basic Optical Mouse" model, it's (as far as I know, and after checking MS's site) just a plain-jane Intellimouse, so IMPS/2 should work as a protocol. Do not use the "Emulate3buttons" option as your mouse wheel is the third button when you press down on it. All you should need to make X aware of your mousewheel is the 'Option "ZAxisMapping" "4 5"' argument added as above.
|
|
|
07-10-2006, 11:06 AM
|
#6
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi All,
Thanks for you input, but still no luck. Any other ideas???
(I tried all your recommendations, as described below)
1) (Xian), tried I LiveCD (Knoppix V5) and used sections found in /etc/X11/xorg.conf but no luck.
2) (ryanoa), tried changing the device option to "/dev/input/mice", save and restart x, but no luck.
3) (krussell), tried
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
EndSection
4) (EvilDagmar), also tried IMPS/2 and not the "Emulate3buttons" option as your mouse wheel is the third button when you press down on it. All you should need to make X aware of your mousewheel is the 'Option "ZAxisMapping" "4 5"' argument added as above.
-kenyon
|
|
|
07-10-2006, 11:39 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
As it's a usb mouse it could possibly be a problem with hotplug not recognizing it properly.
This is a shot in the dark, but try uplugging it and plugging it back in and see if hotplug recognizes it then.
|
|
|
07-10-2006, 12:26 PM
|
#8
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi masonm,
Thanks again, I tried but still no movement.
Perhaps hotplug is not enabled, how to check for that?
-kenyon
|
|
|
07-10-2006, 12:59 PM
|
#9
|
Member
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249
Rep:
|
You could from a console do cat /dev/input/mice and cat on the other devices you think it might be, and move the mouse around and click some buttons to see if you kernel is seeing it (if it does you'll see jibberish everytime you move it). That would let you know where to start, if its just an x config problem or if its the kernel not seeing it (like you dont have usb support in you kernel etc.)
|
|
|
07-10-2006, 01:16 PM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
#9 is a good suggestion. Check dmesg to see if usb support was started during boot.
|
|
|
07-10-2006, 01:18 PM
|
#11
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
Quote:
Originally Posted by kenyon
Hi masonm,
Thanks again, I tried but still no movement.
Perhaps hotplug is not enabled, how to check for that?
-kenyon
|
You should see a message about hotplug starting during boot. Also, do other usb devices work when you hotplug them?
|
|
|
07-12-2006, 11:35 AM
|
#12
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi All,
Yep, I tried to plug in another usb device (apple shuffle) and it was not able determine much. Also tried to cat /dev/input/mice,
However, I was able to start up a terminal window from KDE without
the mouse and look around.
Here's the output from an egrep of dmesg and some info from /proc
============================================
bash-3.00# egrep -i 'usb|hot' /var/log/dmesg
usbcore: registered new driver usbfs
usbcore: registered new driver hub
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
usbmon: debugfs is not available
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
PCI0 HUB COM1 COM2 USB1 USB2 USB3 USB4 EUSB PBTN
============================================
bash-3.00# cat /proc/devices # should the mouse show up here???
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 /tty
4 /ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
29 fb
128 ptm
136 pts
180 usb
253 megadev
254 aac
...
Is this helpful info? Anyways, I'm pretty lost on the usb mouse
issue and don't know where to go from here.
Any ideas?
Thanks,
-Kenyon
|
|
|
07-12-2006, 11:49 AM
|
#13
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Did you by any chance installed test26.s kernel and didn't install it's modules from CD 2?
|
|
|
07-12-2006, 12:43 PM
|
#14
|
LQ Newbie
Registered: Jul 2006
Posts: 14
Original Poster
Rep:
|
Hi gbonvehi, et al.
Hmm. I did install test26.s. Honestly, at this point I don't know about additional modules, but below the output from lsmod and it is blank.
bash-3.00# lsmod
Module Size Used by
bash-3.00#
How to proceed?
Thanks,
-Kenyon (I'm new to slackware)
|
|
|
07-12-2006, 01:37 PM
|
#15
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
Hi. I have a USB mouse too, this are my configs and outputs
Code:
# Option "ChordMiddle"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option for mouse wheel to work
Option "ZAxisMapping" "4 5"
# The mouse device. The device is normally set to /dev/mouse,
Option "Device" "/dev/mouse"
From Xorg config file.
Code:
root@nykey:~# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 04a5:7008 Acer Peripherals Inc. (now BenQ Corp.)
Bus 004 Device 002: ID 09da:0006 A4 Tech Co., Ltd Optical Mouse WOP-35 / Trust 450L Optical Mouse
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
root@nykey:~#
The output of lsusb command.
Code:
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
Part of lspci output.
Code:
root@nykey:~# dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb usb5: configuration #1 chosen from 1 choice
usb 4-1: new low speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
usb 4-2: new low speed USB device using uhci_hcd and address 3
usb 4-2: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: USB HID v1.10 Mouse [A4Tech USB Optical Mouse] on usb-0000:00:1d.2-1
input: USB HID v1.10 Keyboard [NOVATEK USB MULTIMEDIA KEYBOARD] on usb-0000:00:1d.2-2
input: USB HID v1.10 Device [NOVATEK USB MULTIMEDIA KEYBOARD] on usb-0000:00:1d.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Output from dmesg | grep usb.
You can check the output of these commands and compare them as much as you can. Do a lspci, check there if your USB ports appear and everything is right. After try with a lsusb and see what you get. Then check if you have the modules for test26 installed, you can find them in the "testing" directory, on Slackware CD 1 or CD 2 can't remember right now, just look for it it's on the top of the CD. Install the modules, do a reboot and see if your mouse is working. After you make sure modules are installed and mouse still isn't working, run "mouseconfig" and make sure you choose
Code:
usb USB connected mouse
option and optionally start GPM at boot. You can use the config I have for my mouse in xorg.conf if you wish, if everything is installed alright they should work as charm, and actually you don't need to have /dev/input/mice , /dev/mouse works if you choose the usb option from "mouseconfig" as I told you. Good luck, and hope this helps solving your problem, or at least a little hand . cheers!
|
|
|
All times are GMT -5. The time now is 09:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|