LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB Devices not working :( (https://www.linuxquestions.org/questions/slackware-14/usb-devices-not-working-56446/)

zaubara 04-23-2003 01:24 PM

USB Devices not working :(
 
Hey there,
just installed Slackware 9.0, and im pretty happy with that (im a newbie, tho)

Im working on a Gericom Per4mance Radeon Notebook with following stats:

P4 2,53ghz
512mb RAM
Radeon Mobility 9000
and so on .... dont think the rest is important ;)

After fighting with the graphics i cant get my mouse working - i got 4 USB slots, but none of them work - i think Linux is in trouble with the USB bus (or so).
It works fine with RH9, even if i got an error message on boot ...

Any infos missing? Im a noob, so i dont know how to fetch the error ;(

Help me please!! Huge thanx ...

Tinkster 04-23-2003 03:23 PM

First of all, check whether any USB modules
have been loaded ...
lsmod

What type of USB has that box got?
1.1 or 2?

Cheers,
Tink

zaubara 04-23-2003 03:43 PM

Hey there,
thanx for an answer :D

lsmod
shows me this:

bash-2.05b# lsmod
Module Size Used by Not tainted
CDCEther 11868 0 (unused)
ntfs 51040 1 (autoclean)
keybdev 1952 0 (unused)
mousedev 4212 0 (unused)
hid 18596 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
ohci1394 16264 0 (unused)
ieee1394 30828 0 [ohci1394]
i810_audio 21160 1
ac97_codec 9512 0 [i810_audio]
soundcore 3332 2 [i810_audio]
usb-ohci 18856 0 (unused)
usbcore 58144 1 [CDCEther hid usbmouse usb-ohci]
ds 6568 1
yenta_socket 9632 1
pcmcia_core 38112 0 [ds yenta_socket]
ide-scsi 8048 0
sis900 13484 1


Mhm, afaik they are USB 2!

Do you know where the bootlog is located? That thing shows me dozens of errors ...

Tinkster 04-23-2003 03:52 PM

Just type
dmesg

Or, if that is too much recent output (some
errors keep repeating :}) look in /var/log
files of interest would be
messages
syslog
debug

If it's USB 2, try unloading ohci
modprobe -r usb-ohci
and loading ehci
modprobe ehci-hcd


Cheers,
Tink

zaubara 04-23-2003 04:11 PM

Wahoow, good news!

this is what dmesg | grep usb showed me (before doing anything)

bash-2.05b$ dmesg | grep usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: deregistering driver usbdevfs
usb.c: deregistering driver hub
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe4910000, IRQ 9
usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 1
usb-ohci.c: USB OHCI at membase 0xe4912000, IRQ 11
usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 2
usb-ohci.c: USB OHCI at membase 0xe4914000, IRQ 10
usb-ohci.c: usb-00:03.2, Silicon Integrated Systems [SiS] 7001 (#3)
usb.c: new USB bus registered, assigned bus number 3
usb.c: USB device 2 (vend/prod 0x46d/0xc012) is not claimed by any active driver.
usb.c: registered new driver usb_mouse
input0: Logitech USB-PS/2 Optical Mouse on usb2:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: USB disconnect on device 00:03.1-1 address 2
input0: Logitech USB-PS/2 Optical Mouse on usb2:3.0
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver CDCEther
usb.c: USB disconnect on device 00:03.1-1 address 3
input0: Logitech USB-PS/2 Optical Mouse on usb2:4.0


i like the last msg - Logitech USB-PS/2 Optical Mouse on usb2:4.0 - looks good! Seems as if USB works (changing the USB slots changes dmesg's output) !!

The only question is: how can i activate the mouse without reinstalling?

--- edit ----

I think usb-ohci works - i can load it without any error msgs; ehci-hcd keeps telling me this (i think thats the same msg i got while booting)

bash-2.05b# modprobe ehci-hcd
/lib/modules/2.4.20/kernel/drivers/usb/hcd/ehci-hcd.o.gz: init_module: No such device
/lib/modules/2.4.20/kernel/drivers/usb/hcd/ehci-hcd.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.20/kernel/drivers/usb/hcd/ehci-hcd.o.gz: insmod /lib/modules/2.4.20/kernel/drivers/usb/hcd/ehci-hcd.o.gz failed
/lib/modules/2.4.20/kernel/drivers/usb/hcd/ehci-hcd.o.gz: insmod ehci-hcd failed

Tinkster 04-23-2003 04:30 PM

You might have to do a search on
USB and mouse here .... I don't
use any usb rodents but recall that
people had to symlink something
from either /dev/input or /dev/usb
to /dev/mouse to get their USB mice
to work...


Cheers,
Tink

zaubara 04-23-2003 04:55 PM

Yeah, got it! Everything works fine now - the touchpad and the USB mouse at the same time!

Heres a part of my XF86Config :

------------ start ----------------

Section "InputDevice"
Driver "mouse"
Identifier "Mouse1"
Option "Device" "/dev/psaux"
Option "Protocol" "ps/2"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse2]"
Option "ButtonNumber" "5"
Option "Device" "/dev/input/mice"
Option "Name" "AutoDetected"
Option "Protocol" "imps/2"
Option "Vendor" "AutoDetected"
Option "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "Screen 1"
EndSection

--------- end -------------

mouse1 is the touchbad; mouse2 the usb mouse. Dont forget to add
InputDevice "Mouse2" "SendCoreEvents"
to the Section ServerLayout! This means that the Touchpad is the Core Device (CorePointer) and the USB-Mouse kinda support-mouse - it moves the same Pointer! (SendCoreEvents)


Huge thanx Tinkster - you safed my hd from another format :D

Tinkster 04-23-2003 06:10 PM

Glad I could throw you a few pointers mate,
pleased to see you're all happy now :}


Cheers, and God bless,
Tink

Nasser 06-28-2003 11:38 PM

Hi Zaubara and Tink
what abt if I want to install RH9 on a new machine and how do i use lsmod or dmesg kind of commands so that I can install without problem. My installation gets stuck in a place where the screen shows something like : USB.c, usb-uhci.c ....
thnx

IeU 06-29-2003 06:51 AM

ive usb adsl modem

and also have problem to setup my internet connection . . .

i ll take some infos in the slack , and right way post here , and i hope some1 help me figure out how to get my internet in linuy
thank you anyway

:)


All times are GMT -5. The time now is 07:29 AM.