LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB mouse not found (slackware, _not_ an X config issue I think) (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-not-found-slackware-_not_-an-x-config-issue-i-think-137560/)

ruahm 01-22-2004 03:41 PM

USB mouse not found (slackware, _not_ an X config issue I think)
 
I'm trying to get my USB mouse working on my Acer TravelMate 530 laptop, running Slackware 9.1, kernel 2.4.22. The internal touchpad has been working since install no problems. I've tried 2 mice in case the mouse was weird, and am now using Logitech optical scroll mouse. The mouse is recognised (bus 2 dev 2) - output of /sbin/lsusb follows...
Code:

root@rualaptop:~# /sbin/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 0d7d:0240 Apacer
Bus 003 Device 001: ID 0000:0000 Virtual Hub
Bus 003 Device 002: ID 04f2:0112 Chicony Electronics Co., Ltd. KU-8933 Keyboard with PS/2 Mouse port
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 002 Device 002: ID 046d:c00e Logitech Inc. Optical Mouse
Bus 001 Device 001: ID 0000:0000 Virtual Hub

I believe this is not an X config issue, I have added the mouse to XF86Config, e.g.
Code:

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/usb/mouse0"
        Option          "Protocol"              "Auto"
        Option          "Emulate3Buttons"      "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

and couldn't get it working (though I probably had the device wrong).

The reason I don't think it's X is that the touchpad works in the terminal after bootup (i.e. no X) - I figure if I can get the mouse to work there (as well as touchpad) then I should be able to configure X to use it.

Do I need to add the mouse to some linux config file? If so I guess I'll need to know the device - how can I find this out?

Please help! Thanks...
Rua HM.

zefo 01-22-2004 03:48 PM

take a look at this thread http://www.linuxquestions.org/questi...736#post715736

it might help you (i think this *is* XFree86Config's issue..)

cheers,

-- joe

ruahm 01-22-2004 04:18 PM

Thanks... but...

Are you saying it should not work in the terminal & there's no point me trying to get it going there?

I redid my X config to see if I could get it going - here are the changed sections:
Code:

Section "InputDevice"
        Identifier      "USBMouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/usb/mouse0"
        Option          "Protocol"              "IMPS/2"
        Option          "Emulate3Buttons"      "true"
        Option          "ZAxisMapping"          "4 5"
EndSection
...
    InputDevice "USBMouse" "SendCoreEvents"

The last line is in the ServerLayout section. I used to use protocol auto but tried IMPS/2 this time.

I guessed what the device might be, I guess it's not /dev/usb/mouse0. How can I find out the correct device name to access the USB mouse (seems to be my main problem)?

Is there a config util that will tell me/allow me to change the mapping between devices listed by lsusb & /dev/* links?

Thanks again... any help is really appreciated - very newbie here.

zefo 01-22-2004 04:26 PM

> I guessed what the device might be, I guess it's not /dev/usb/mouse0

try this: find /dev -name mouse

Pwnz3r 01-22-2004 04:30 PM

You could open the /dev folder as an option. Another thing is that my USB mouse is located on the device /dev/usbmouse. That should work.

ruahm 01-22-2004 04:38 PM

cheers all...

i looked into my devs named mouse and this is them:
Code:

lroot@rualaptop:~# find /dev -name mouse
/dev/input/mouse
/dev/mouse
root@rualaptop:~# ls -l /dev/mouse
rwxrwxrwx    1 root    root            5 Jan 22 13:59 /dev/mouse -> psaux
root@rualaptop:~# ls -l /dev/input/mouse
crw-rw----    1 root    sys      10, 149 Jan 24  2003 /dev/input/mouse
root@rualaptop:~# ls -l /dev/usbmouse 
/usr/bin/ls: /dev/usbmouse: No such file or directory

/dev/mouse dev is the touchpad. I tried using /dev/input/mouse for the device for the second InputDevice in XF86Config, but to no avail.

I am really starting to think that I need to do some lower level config to get the mouse & /dev/something working properly.

all posts appreciated .. cheers...

zefo 01-22-2004 04:43 PM

try to download and boot slax (www.slax.org). once kde/fluxbox is loaded run konsole and then less /etc/X11/XF86Config.. i am not sure if this can help but why not to give it a shot.

cheers,

-- joe

Pwnz3r 01-22-2004 05:09 PM

You could also try compiling a new kernel in case yours doesn't have USB mouse support.

ruahm 01-22-2004 05:20 PM

lsmod should tell me if I have USB mouse support right?

I'm in win land now so I can't paste it in, but I saw modules for usb-mouse, usb-input etc.

A lot of them were not being used by anything, but if they're listed by lsmod, they're in the kernel, right?

If I have lsmod & modprobe confused please forgive me - one of em lists all the modules in a directory, the other lists a shorter list with extra info e.g. "used by" & "not tainted" - that's the list i refer to above.

Cheers for suggesting & apologies for the newbieness!

By the way I'm going to look at www.knoppix.com to see if it can access the mouse. I'm fearful that I won't know how to config my slackware to be like knoppix tho (assuming that it's not an X issue)...

slater

frandalla 01-24-2004 02:53 PM

Why to download knoppix if you have slax which is a live distro based on slackware?


All times are GMT -5. The time now is 02:41 PM.