LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-23-2004, 09:00 AM   #1
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Rep: Reputation: 0
slackware 9.1 USB mouse and other usb devices not working


Hello, i have recently installed slackware 9.1, and my optical USB mouse does not work.

The mouse is: optical USB wheel mouse, the brand name appears to be "Val Gear". there are 2 buttons and wheel that can be depressed and act as a third button as well as a wheel.

When booting up there are oodles of messages concerning usb devices that say things like "bulk timeout". These messages fly by and i cant read them all.

lsmod reveals the following modules are loaded (there are others laoded but i dont think they are related to USB):

usbmouse 2008 0 (unused)
mousedev 4244 0 (unused)
hid 21156 0 (unused)
input 3200 0 [usbmouse keybdev mousedev hid]
uhci 24496 0 (unused)
ehci-hcd 16872 0 (unused)
usbcore 58400 1 [usbmouse hid uhci ehci-hcd]

I cut and pasted this while using a PS2 mouse.

I used the bare.i distro kernel, although i think that should be fine.
I dont think this is an Xfree86 issue, since my mouse is supposed to work before i "startX", and it does not.

when i reconfigured and pointed the /dev/mouse file to a PS2 mouse, the PS2 mouse worked fine before starting X and after. I think this is a matter of finding the correct modules for this USB mouse.

I realy want this USB mouse to work, because my PS2 mouse is garbage. thanks for any help.
 
Old 01-23-2004, 06:23 PM   #2
sharper
Member
 
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
This might work

Unplug the USB mouse then as root run the coomand tail -s 3 -f /var/log/syslog

Now plug in the mouse and it should show on the console where the mouse is, ie sd1 or whatever.

Then link that to /dev/mouse

Hope this works
 
Old 01-23-2004, 08:05 PM   #3
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
usb still does not work

thank you for the suggestion.
I tried your suggestion, and this was the result:
from syslog:
Jan 23 20:51:25 nc kernel: usb_control/bulk_msg: timeout
Jan 23 20:51:43 nc last message repeated 150 times
Jan 23 20:52:32 nc kernel: usb_control/bulk_msg: timeout
Jan 23 20:52:32 nc kernel: usb.c: USB device not accepting new address=3 (error=-110)
Jan 23 20:52:37 nc kernel: usb_control/bulk_msg: timeout
Jan 23 20:52:37 nc kernel: usb.c: USB device not accepting new address=4 (error=-110)
Jan 23 20:54:31 nc kernel: usb_control/bulk_msg: timeout
Jan 23 20:54:31 nc kernel: usb.c: USB device not accepting new address=5 (error=-110)
Jan 23 20:54:37 nc kernel: usb_control/bulk_msg: timeout
Jan 23 20:54:37 nc kernel: usb.c: USB device not accepting new address=6 (error=-110)

it seems my usb mouse doen not want to cooperate.
any other ideas?
has anyone else seen this before?

i would like to get usb working, as i have other usb devices as well.
i have tried to change my usb modules from uhci to one of the others (usb-uhci, usb-ohci) but this only spat insmod errors:

bash-2.05b# modprobe usb-ohci
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-ohci.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-ohci.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-ohci.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/usb/host/usb-ohci.o.gz failed
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-ohci.o.gz: insmod usb-ohci failed
bash-2.05b#

I am running low on ideas. suggestions?
 
Old 01-23-2004, 08:28 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
What usb chipset do you have?
The command "lspci -vv" will tell, just post the usb info.
Also the command "lsusb" will tell us if the mouse is detected correctly.
 
Old 01-23-2004, 08:36 PM   #5
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
some more information:
I tried this command that I saw elsewhere while trying to figure this out:
>lspci -v | grep HCI
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])

more specificaly:
>lspci -v (verbose with usb sections)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e000 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at e800 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at dffffe00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2


tired of reading yet?
could this be some power management thing? are my usb devices turning themselves off before they can be used?
again, i would appreciate any help.
 
Old 01-23-2004, 08:42 PM   #6
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
bash-2.05b# lsusb
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 004 Device 001: ID 0000:0000 Virtual Hub
Bus 004 Device 002: ID 124b:4d01
Bus 004 Device 003: ID 046d:c20b Logitech Inc.
Bus 003 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub

00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 4: I/O ports at e000 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+

00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at e400 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+

00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin C routed to IRQ 10
Region 4: I/O ports at e800 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, cache line size 08
Interrupt: pin D routed to IRQ 5
Region 0: Memory at dffffe00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 
Old 01-23-2004, 08:42 PM   #7
sharper
Member
 
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
OK; I just hooked up a usb mouse and it worked with Slack 9.0.
If these directions don't work your past my knowledge.

Plug the mouse in

As root run mouseconfig and pick usb for usb connected mouse

Reboot
 
Old 01-23-2004, 08:47 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Wel, that tells us that modprobe usb-ohci won't do any good because you don't have an ohci chip, what you do have is an uhci usb 1.1 controller and an ehci usb 2.0 controller. There are two modules for uhci controllers, uhci and usb-uhci and you have uhci loaded, you need to try the usb-uhci module. Did toy install hotplug? If yes then look at /etc/hotplug/blacklist, make sure it says uhci and not usb-uhci, if it says neither then add uhci to it and reboot.
 
Old 01-23-2004, 10:04 PM   #9
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you sharper, but i have already tried that
In fact that was my choice at setup when i installed. the mousconfig uses this for gpm:

gpm -m /dev/input/mice -t imps2
or something very much like it.
I have however tried to do this again after loading the other type of usb support. see below.

I have since tried to load the other type of usb support, as suggested by changing the line in my blacklist file to be "uhci" instead of "usb-uhci". now the loaded modules are:

mousedev 4244 0
hid 21156 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
usb-uhci 22188 0 (unused)
ehci-hcd 16872 0 (unused)
usbcore 58400 1 [hid usbmouse usb-uhci ehci-hcd]
amoung modules that dont appear to be usb related.

i have tried to use the mouse again. no luck. here is some of the output from using the command: >tail -s 3 -f /var/log/syslog
Jan 23 22:39:51 nocode kernel: usb.c: USB device 3 (vend/prod 0x46d/0xc20b) is not claimed by any active driver.
Jan 23 22:39:51 nocode kernel: usb-uhci.c: interrupt, status 2, frame# 1125
Jan 23 22:39:51 nocode kernel: usb.c: error getting string descriptor 0 (error=-75)
Jan 23 22:39:51 nocode kernel: usb_control/bulk_msg: timeout
Jan 23 22:39:53 nocode last message repeated 99 times
Jan 23 22:43:39 nocode modprobe: modprobe: Can't locate module char-major-10-134Jan 23 22:48:51 nocode kernel: usb_control/bulk_msg: timeout
Jan 23 22:48:51 nocode kernel: usb.c: error getting string descriptor 0 (error=-110)
Jan 23 22:48:56 nocode kernel: usb_control/bulk_msg: timeout
Jan 23 22:48:56 nocode kernel: usb.c: error getting string descriptor 0 (error=-110)
Jan 23 23:00:21 nocode kernel: usb_control/bulk_msg: timeout
Jan 23 23:00:21 nocode kernel: usb.c: USB device not accepting new address=3 (error=-110)
Jan 23 23:00:26 nocode kernel: usb_control/bulk_msg: timeout
Jan 23 23:00:26 nocode kernel: usb.c: USB device not accepting new address=4 (error=-110)

thank you again for the help and directions.
 
Old 01-23-2004, 10:06 PM   #10
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
the pesky mouse still does not work. i know it is functional since i use it in windows. it had no required software, just plaugged it in and it was working.
 
Old 01-24-2004, 08:02 AM   #11
jamil5454
Member
 
Registered: Nov 2003
Location: houston
Distribution: slackware 9.1
Posts: 41

Rep: Reputation: 15
hmmm, I have a logitech MX300(USB) and it works fine in slackware9.1. Even though yours is plugged in the USB, run mouseconfig and select PS/2 mouse. For some reason my mouse still worked when it was setup as ps/2 but plugged in to USB. Do you have an adapter to plug it in to the ps/2 port? You might have to sacrifice a little responsitivity to get it to work in linux and windows.
 
Old 01-24-2004, 11:58 AM   #12
jimMC
LQ Newbie
 
Registered: Jan 2004
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
i purchased a usb-to-ps2 adaptor, so my usb mouse is now a ps2 mouse. however the wheel part of it does not work. This is not realy a solution to my problem, and my other usb devices still dont work. (32MB mass storage device, and an airflo game controller.) but at least i can use a halfway decent mouse now. I am optimistic about the wheel part.

I used the mouseconfig program to set up my mouse as a ps2.
I would still like to get USB working properly. I will be compiling the kernel and modules soon, so perhaps that will fix the problem.

thanks for the help thus far, i have learned a few things.http://www.linuxquestions.org/questi...readid=137767#
any more suggestions / help is welcome.
 
  


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
usb mouse is not working, slackware 10.2 amer_58 Linux - Newbie 7 11-07-2005 07:26 PM
Slackware 10.2 USB Mouse Configuration not working right. PastorFrederick Linux - Newbie 3 10-09-2005 08:31 PM
Logitech USB Mouse Wheel not working on Slackware 9.1 Ken Ju-On Linux - Hardware 9 04-11-2004 11:39 PM
ps/2-mouse via usb-adaptor not working - usb error=-110 mule Fedora 0 01-30-2004 07:23 AM
USB Optical Mouse and Slackware 9 - I cannot get it working GIJoe Linux - Newbie 0 10-13-2003 02:36 PM


All times are GMT -5. The time now is 04:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration