LinuxQuestions.org
Visit Jeremy's Blog.
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-22-2004, 03:41 PM   #1
ruahm
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 5

Rep: Reputation: 0
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.
 
Old 01-22-2004, 03:48 PM   #2
zefo
Member
 
Registered: Mar 2003
Posts: 71

Rep: Reputation: 15
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
 
Old 01-22-2004, 04:18 PM   #3
ruahm
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 01-22-2004, 04:26 PM   #4
zefo
Member
 
Registered: Mar 2003
Posts: 71

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

try this: find /dev -name mouse
 
Old 01-22-2004, 04:30 PM   #5
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
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.
 
Old 01-22-2004, 04:38 PM   #6
ruahm
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
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...
 
Old 01-22-2004, 04:43 PM   #7
zefo
Member
 
Registered: Mar 2003
Posts: 71

Rep: Reputation: 15
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
 
Old 01-22-2004, 05:09 PM   #8
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
You could also try compiling a new kernel in case yours doesn't have USB mouse support.
 
Old 01-22-2004, 05:20 PM   #9
ruahm
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 01-24-2004, 02:53 PM   #10
frandalla
Member
 
Registered: Oct 2003
Location: Tokyo - Japan
Distribution: Slackware
Posts: 348
Blog Entries: 1

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


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/KVM issue with Slackware Burnside Linux - Hardware 6 07-24-2005 02:29 AM
USB mouse not found? NiallC Slackware 7 01-21-2005 05:34 PM
USB Mouse not found on boot vanwas Linux - Hardware 2 09-01-2004 08:53 AM
Need to config USB mouse peradino Linux - Hardware 3 10-21-2003 12:05 PM
USB mouse config Goatdemon Slackware 4 08-17-2002 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration