LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-12-2003, 02:18 AM   #1
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
How to fix this USB mouse with scroll


I am just switch my serial mouse to USB mouse. But just can get the mouse works..below is my dmesg.
Code:
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 15:45:26 Jun 23 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251 Georg Acher, Deti Fliegl, Thomas Sailer, Roman Weissgaerber
usb-uhci.c: USB Universal Host Controller Interface driver
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6 Vojtech Pavlik <vojtech@suse.cz>
usbmouse.c: USB HID Boot Protocol mouse driver
PCI: Found IRQ 12 for device 00:0c.0
PCI: The same IRQ used for device 00:0a.0
hub.c: USB new device connect on bus1/2, assigned device number 2
input0: A4Tech USB Optical Mouse on usb1:2.0
I do trillion of times mouseconfig and select 'USB connected mouse' but just won't works.
By the way,
Quote:
bash# ls -al /dev/mouse
lrwxrwxrwx 1 root root 12 Nov 3 13:43 /dev/mouse -> input/mouse0
Quote:
bash# ls -al /dev/usb/mouse*
crw-rw---- 1 root root 180, 16 Mar 26 2001 /dev/usb/mouse0
crw-rw---- 1 root root 180, 17 Mar 26 2001 /dev/usb/mouse1
crw-rw---- 1 root root 180, 26 Mar 26 2001 /dev/usb/mouse10
crw-rw---- 1 root root 180, 27 Mar 26 2001 /dev/usb/mouse11
crw-rw---- 1 root root 180, 28 Mar 26 2001 /dev/usb/mouse12
crw-rw---- 1 root root 180, 29 Mar 26 2001 /dev/usb/mouse13
crw-rw---- 1 root root 180, 30 Mar 26 2001 /dev/usb/mouse14
crw-rw---- 1 root root 180, 31 Mar 26 2001 /dev/usb/mouse15
crw-rw---- 1 root root 180, 18 Mar 26 2001 /dev/usb/mouse2
crw-rw---- 1 root root 180, 19 Mar 26 2001 /dev/usb/mouse3
crw-rw---- 1 root root 180, 20 Mar 26 2001 /dev/usb/mouse4
crw-rw---- 1 root root 180, 21 Mar 26 2001 /dev/usb/mouse5
crw-rw---- 1 root root 180, 22 Mar 26 2001 /dev/usb/mouse6
crw-rw---- 1 root root 180, 23 Mar 26 2001 /dev/usb/mouse7
crw-rw---- 1 root root 180, 24 Mar 26 2001 /dev/usb/mouse8
crw-rw---- 1 root root 180, 25 Mar 26 2001 /dev/usb/mouse9
And my gpm is running at boot..with the following script.
Quote:
bash# cat /etc/rc.d/rc.gpm

#!/bin/sh
# Running gpm
echo "Running gpm..."
gpm -m /dev/mouse -t imps2
# There is another way to run GPM, where it acts as a repeater outputting a
# virtual MouseSystems mouse on /dev/gpmdata. This is useful for feeding
# gpm's data to X, especially if you've got a busmouse (in that situation X
# and gpm may not coexist without using a repeater). To try running a GPM
# repeater for X, change the gpm command line to look like this:
# gpm -R msc -m /dev/mouse -t imps2
# Then, make sure that the mouse configuration in your XF86Config file refers
# to the repeater device (/dev/gpmdata) and a MouseSystems mouse type. If you
# edit the file directly, you'll want the lines to look like this (minus the
# comment marks '#' shown here, of course):
#Section "Pointer"
# Protocol "MouseSystems"
# Device "/dev/gpmdata"
How to fix this ?
 
Old 11-12-2003, 01:58 PM   #2
evil_Tak
Member
 
Registered: Oct 2003
Distribution: Debian/unstable
Posts: 85

Rep: Reputation: 15
Shouldn't the mouse device be /dev/input/mice instead of /dev/input/mouse0 ?
 
Old 11-12-2003, 02:56 PM   #3
dd78749
LQ Newbie
 
Registered: Oct 2003
Location: Austin, TX USA
Distribution: Slackware 9.1
Posts: 12

Rep: Reputation: 0
My USB mouse device shows a symbolic link pointing to input/mice (/dev/mouse --> input/mice). Change your symlink and see if that will work.

Also, check your X config file. Most USB optical mice will only work if Option "Protocol" is changed to "IMPS/2" and if you have a scroll wheel, add Option "ZAxisMapping" "4 5" below it and it should work just fine.
 
Old 11-12-2003, 04:00 PM   #4
murray_linux
Member
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 210

Rep: Reputation: 30
follow this:

http://www.linux-usb.org/USB-guide/x194.html

and your mouse will work.
 
Old 12-04-2003, 04:05 AM   #5
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Original Poster
Rep: Reputation: 15
After get back to the serial mouse a while for some works, I went back to the USB mouse again..for the above solutions, I tried, I changed the mouse dev to /dev/input/mice, but no luck..also I followed links and still the same ..

I am suspect the problem might be caused by the USB hub hardware that I used, it is Insulation Displacement Cable/Connector (IDC) hence it is not built-in to the motherboard..

any idea / hints ?
 
Old 12-04-2003, 07:10 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I've added the 'Option "ZAxisMapping" "4 5" ' line to my config. file, but the scroll wheel still doesn't work.
It's a simple enough 2-button PS2 mouse - any idea why it hasn't worked?
 
  


Reply



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
MIcrosoft USB Optical Mouse Wheel Scroll Not Working... onelung02 Slackware 8 02-02-2005 06:11 AM
USB mouse and scroll not working. Slovak Slackware 18 11-16-2004 09:20 AM
USB scroll mouse doesn't scroll Rhatlinux Linux - Software 10 09-29-2004 07:42 PM
scroll wheel not working HP usb optical mouse anorman Linux - Hardware 1 07-22-2004 08:34 PM
Slack problem w/USB scroll mouse mike74 Slackware 24 01-27-2004 07:31 AM

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

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