[Gllug] Newbie problem: Optical USB mouse.
Michael Gabriel
mike at globe.net.nz
Mon Oct 14 10:19:23 UTC 2002
Hi all,
I'm have just bought a USB optical mouse and I can't seem to make it
work.I can see the device in USB Viewer but that's as far as I get. I am
new to Linux/Debian so it might just be a simple problem.
I've read that when you cat /dev/input/mice and move the mouse, one
should see characters appearing but in my case nothing happens.
Any help would be much appreciated.
Many thanks,
Michael.
Background info:
Mouse: Swann Opti Pro USB Optical Trackball Scroller Mouse.
Kernel: 2.4.18-k7. With Debian
Modules I've tried to load: usbcore, usb-uhci uhci.
#cat /proc/bus/usb/drivers
usbdevfs
hub
96-111: hiddev
hid
#cat /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=104/900 us (12%), #Int= 2, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 4
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=050f ProdID=0003 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04b4 ProdID=aef6 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 26mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl= 10ms
Changes I have made to XF86Config-4:
************************************
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "USBmouse" "AlwaysCore" <----- this line
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice" <-- added this paragraph
Identifier "USBmouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
# Option "Emulate3Buttons" "true"
EndSection
*****************************************************
#lsmod
Module Size Used by Not tainted
keybdev 1696 0 (unused)
usb-uhci 21508 0 (unused)
tdfx 35480 1
mousedev 3904 1
hid 19200 0 (unused)
usbcore 49696 1 [usb-uhci hid]
input 3424 0 [keybdev mousedev hid]
pcmcia_core 39648 0
nls_cp437 4384 2 (autoclean)
msdos 4956 1 (autoclean)
fat 29752 0 (autoclean) [msdos]
snd-ac97-codec 23236 0 (unused)
snd 25704 0 [snd-ac97-codec]
via82cxxx_audio 18432 0
uart401 6176 0 [via82cxxx_audio]
ac97_codec 9696 0 [via82cxxx_audio]
sound 54540 0 [via82cxxx_audio uart401]
soundcore 3684 5 [snd via82cxxx_audio sound]
8139too 14688 1
mii 1120 0 [8139too]
af_packet 11848 0 (unused)
rtc 5592 0 (autoclean)
unix 13636 193 (autoclean)
ide-disk 6816 3 (autoclean)
ide-probe-mod 8096 0 (autoclean)
ide-mod 131404 3 (autoclean) [ide-disk ide-probe-mod]
ext2 30848 0 (autoclean) (unused)
ext3 57248 1 (autoclean)
jbd 35640 1 (autoclean) [ext3]
************************************************************
output from USB Viewer:
***********************
mouse
Speed: 1.5Mb/s (low)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 04b4
Product Id: aef6
Revision Number: 0.01
Config Number: 1
Number of Interfaces: 1
Attributes: a0
MaxPower Needed: 26mA
Interface Number: 0
Name: hid
Alternate Number: 0
Class: 03(HID )
Sub Class: 1
Protocol: 2
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 4
Interval: 10ms
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list