LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2005, 02:41 AM   #1
helliax
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 9

Rep: Reputation: 0
USB Mouse only works when plugged into USB PCI Card


My mouse only seems to work when I plug it into a USB 2.0 PCI Card; when I plug the mouse into the ports that are on the motherboard, it's unresponsive, though it does light up (it's an mx510 optical). The odd thing is, when I initially installed Slackware with kernel 2.4 something, it was the same deal. It wasn't until I downloaded kernel 2.6.10 (the one I have now) and compiled it, that it stopped working again.
The only things I can remember between the initial slackware installation and the mosue suddenly working on the motherboard USB ports is that I edited xorg.conf to have /dev/input/mice instead of /dev/mouse.

I ran dmesg, and I can see that it finds a 6 port USB 2.0 hub, another 4 port hub, and a 2 port hub. I am guessing the 6 port is the PCI card, the 4 port is the mobo stuff that's the back panel, and the 2 port is the front panel connectors.

Does anyone know if there's anything else I should check? I downloaded lshw in hopes that it might help, and was gonna try out some other stuff for xorg.conf.

Info in short:
------------------
mouse: Logitech MX510
Current booting Kernel: 2.6.10
Slackware 10.2
Using KDE
Problem: Mouse works when plugged into PCI USB card, but not motherboard's USB connections.

the whole of the InputDevice section is xorg.conf
Code:
Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "ButtonNumber" "7"
  Option       "Buttons" "7" 	   
  Option       "Device" "/dev/input/mice"
  Option       "InputFashion" "Mouse"
  Option       "Name" "USB-Mouse;ExplorerPS/2"
  Option       "Protocol" "ExplorerPS/2"
  Option       "ZAxisMapping" "6 7"
EndSection
I think I should also mention I run hotplug during boot, since when I disable hotplug the mouse doesn't get picked up (if it gets connected to the PCI card).

Another somewhat related question is, does the "wacom" section in rc.modules help at all if it's activated (uncommented)? I have a Wacom board, and when the mx510 was working on the backpanel mobo USB connections, the wacom magically worked too.Though now since the wacom is still connected to the backpanel, it doesn't work anymore.

Thanks for your help.

Last edited by helliax; 11-28-2005 at 02:43 AM.
 
Old 11-28-2005, 05:39 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
 
Old 11-28-2005, 07:33 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
can you give the output of " lspci " ?
and the kenel messages when you plug-in the mouse in a working
and non working port ?

( type " tail -f /var/log/messages " in a console and unplug/plug the mouse )

egag
 
Old 11-29-2005, 05:12 AM   #4
sithscripter
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware!
Posts: 10

Rep: Reputation: 0
I had the same problem with one of my workstations (Dell Optiplex GX280, Intel ICH6 chipset, generic USB optical mouse). Upgrading to some bleeding-edge 2.6 kernel fixed it ... I think 2.6.13 was the lucky number. Oh, and there was some module I had to load explicitly ... I'll look it up when I stagger into the office.

My understanding is that BIOS handles the on-board USB controller during the initial boot phase, and hands control to the kernel only later. Depending on your combo of kernel, USB controller, BIOS, etc. the handover may or may not take place smoothly. I don't know if that's precisely true or not but it makes sense to me. That may explain why you don't have that problem with your PCI USB card.

Last edited by sithscripter; 11-29-2005 at 06:04 AM.
 
Old 11-29-2005, 06:09 PM   #5
sithscripter
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware!
Posts: 10

Rep: Reputation: 0
Oh yeah, about those modules ...

Uncomment the following lines in /etc/rc.d/rc.modules ... it might help ...

/sbin/modprobe hid
/sbin/modprobe usbmouse
 
Old 11-30-2005, 06:08 AM   #6
helliax
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
Changing the protocol and device in xorg.conf didn't help, and neither did editing rc.modules, unfortunately.

Here's the readout from the kernel when plugging an dunplugging mouse:
Code:
Nov 30 06:53:27 agnesi kernel: usb 6-1: USB disconnect, address 2
Nov 30 06:53:32 agnesi kernel: usb 3-1: new low speed USB device using uhci_hcd and address 2
Nov 30 06:53:39 agnesi kernel: usb 3-1: new low speed USB device using uhci_hcd and address 3
Nov 30 06:54:03 agnesi kernel: usb 6-1: new low speed USB device using uhci_hcd and address 3
Nov 30 06:54:04 agnesi kernel: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:02:00.0-1
And the readout from lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4 Ti 4200] (rev a3)
02:00.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:00.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
02:00.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
02:01.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
02:02.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
02:02.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
02:0c.0 Communication controller: Conexant HSF 56k Data/Fax/Voice/Spkp Modem (rev 01)
Those Intel USB Controllers are the mainboard ones I am pretty sure, so I guess this means they're detected, but for some reason the mouse doesn't work.

Below is the readout from lshw, if it helps anymore:
Code:
:dc680000-dc6fffff irq:11
        *-usb:0
             description: USB Controller
             product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@00:1d.0
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd
             resources: ioport:e800-e81f irq:11
           *-usbhost
                product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Contro
ller #1
                vendor: Linux 2.6.10 uhci_hcd
                physical id: 1
                bus info: usb@3
                logical name: usb3
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:1
             description: USB Controller
             product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@00:1d.1
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd
             resources: ioport:e880-e89f irq:5
           *-usbhost
                product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Contro
ller #2
                vendor: Linux 2.6.10 uhci_hcd
                physical id: 1
                bus info: usb@4
                logical name: usb4
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:2
             description: USB Controller
             product: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@00:1d.2
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: uhci bus_master
             configuration: driver=uhci_hcd
             resources: ioport:ec00-ec1f irq:9
           *-usbhost
                product: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Contro
ller #3
                vendor: Linux 2.6.10 uhci_hcd
                physical id: 1
                bus info: usb@5
                logical name: usb5
                version: 2.06
                capabilities: usb-1.10
                configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
        *-usb:3
             description: USB Controller
             product: 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: pci@00:1d.7
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci_hcd
             resources: iomemory:febffc00-febfffff irq:10
           *-usbhost
                product: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller
                vendor: Linux 2.6.10 ehci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 2.06
                capabilities: usb-2.00
                configuration: driver=hub maxpower=0mA slots=6 speed=480.0MB/s
 
Old 12-05-2005, 01:18 AM   #7
helliax
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
It worked, and then it didn't work. I figured it might have been something I forgot to compile into the kernel, perhaps a module or something or other, so I got a new kernel and compiled it, and the mouse finally worked, so I figure it was somethign I forgot to check in the config. Thanks.
 
  


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
mandrake 10.1 fail to start when usb wireless mouse is plugged luigi_gr Linux - Hardware 0 02-08-2005 08:42 PM
Problems with USB hub of monitor/mouse plugged to it dreamtheater Linux - Hardware 1 01-10-2005 02:33 PM
USB compact flas memory works ONLY if plugged in at boot ganja_guru Linux - Hardware 3 11-01-2004 11:40 AM
gdm + not always plugged usb mouse vrana Slackware 5 06-29-2004 12:48 AM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 01:52 AM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
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