LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-22-2004, 12:46 AM   #1
volition
LQ Newbie
 
Registered: Oct 2003
Location: cny
Distribution: evilentity
Posts: 7

Rep: Reputation: 0
Exclamation usb mouse recognized... but where


i am using a 2 button 'normal' mouse and would like to use a usb mouse -it works in mandrake10 and did work in 9
in EvilEntity the mouse seems to be recognized by the kernel (?) and/so? all the right modules are loaded (?)

i assume my problem is finding what to put as the "Device" in XF86Config

i am using EvilEntity DR2.5 (i think)
#uname -r
2.4.20

#lspci | grep USB
00:02.0 USB Controller: nVidia Corporation: Unknown device 0067 (rev a3)
00:02.1 USB Controller: nVidia Corporation: Unknown device 0067 (rev a3)
00:02.2 USB Controller: nVidia Corporation: Unknown device 0068 (rev a3)

# tail -f /var/log/messages
Jun 23 04:05:36 TheEvil kernel: usb.c: USB disconnect on device 00:02.1-1 address 2
Jun 23 04:05:50 TheEvil kernel: hub.c: new USB device 00:02.1-2, assigned address 3
Jun 23 04:05:50 TheEvil kernel: hiddev0: USB HID v1.00 Mouse [045e:0009] on usb2:3.0

[my clock is a little off]

#cat /dev/input/mice
[move the mouse, get nothing]

#cat /dev/psaux
-i get junk...but for the other mouse (nothing when the usb mouse is moved)

#lsmod
Module Size Used by Tainted: P
nvidia 1967008 6 (autoclean)
smbfs 39808 5 (autoclean)
com20020 3808 0 (unused)
arcnet 8896 0 [com20020]
hid 15424 0 (unused)
usb-ohci 19968 0 (unused)
nvaudio 37620 0
ac97_codec 11136 0 [nvaudio]
nvnet 26592 1
slip 10048 0 (unused)
slhc 5248 0 [slip]
lp 7040 1
parport_pc 16036 1

#modprobe mousedev
doesn't exist
#modprobe ...others that mdk has
don't exist

this is the intersting part or at least the part i don't get (/mnt/mdk is mandrake):
#cat /mnt/mdk/dev/usb/hiddev0
-i get junk when i move the usb mouse

XF86Config (mouse parts):

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
EndSection


Section "InputDevice"
Identifier "MouseUsb"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option "Device" "/mnt/mdk/dev/usb/hiddev0" #didn't work
Option "Device" "/dev/usb/hiddev0" #wasn't there originally -mknode (stupid thing to do?)
# Option "Device" "/dev/input/mice" #doesn't work
# Option "Device" "/dev/psaux" #does weird stuff with the other mouse
Option "emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
EndSection


InputDevice "MouseUsb" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"


sorry for the length, hope this hasn't been addressed before, and thanks very much for reading
 
Old 06-22-2004, 05:42 AM   #2
javeree
Member
 
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
Where is /dev/mouse a symbolic link to ?
My guess would be /dev/psaux. Change it to /dev/usb/hiddev0
Any change ?
 
Old 06-22-2004, 12:32 PM   #3
volition
LQ Newbie
 
Registered: Oct 2003
Location: cny
Distribution: evilentity
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for the fast reply

is that what i want to try?
i want to have both mice (mouses?) in X.. and the PS/2 mouse works with /dev/mouse. if i create a symbolic link (still googling to find out how to do that) for /dev/mouse to link to ../hiddev0 will the other mouse still work with /dev/mouse
wow.......thats confusing -sorry

also i -stupidly?- created hiddev0 with #mknod hiddev0 c 13 63 (followed by "mv hiddev0 /dev/usb/hiddev0") it wasn't there before

#cat hiddev0 displays no 'junk' when i move the mouse do i want to symbolic link to that

i think (and i don't know much so....) i am looking for what will give me junk when i move the mouse?'

again, thanks for reading
 
Old 06-22-2004, 03:51 PM   #4
javeree
Member
 
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
I'm probably just as newbie as you are (or even more), but my tip is equivalent to what I had to do to make my serial mouse working: I pointed it to /dev/ttyS0.
I guess this construct only allows one mouse. There may be other ways unknown to me. For the sake of knowledge, I would try to change the symbolic link to what produces the junk when you move the mouse.

To be able to easily switch, you could do "ln -s /dev/usbmouse /mnt/mdk/..../hiddev0"
and in the xconfig file replace /dev/mouse with /dev/usbmouse
 
Old 06-22-2004, 05:27 PM   #5
volition
LQ Newbie
 
Registered: Oct 2003
Location: cny
Distribution: evilentity
Posts: 7

Original Poster
Rep: Reputation: 0
well that sucked... but it sounded like a good idea

when i moved the usb mouse, with device pointing directly to /mnt/.., enlightenment went......to hell
donno how or why. lost a lot of settings --strange i think i am done playing with the usb mouse for a while
thanks for the help though

Last edited by volition; 06-22-2004 at 05:36 PM.
 
  


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
PS/2 Mouse no more recognized by sgi O2 ? fluppi Other *NIX 1 05-29-2005 02:27 PM
IBM USB Wheel Mouse not recognized in SUSE 9.1 noobs_r_us Linux - Hardware 1 09-22-2004 04:25 PM
mouse not recognized -- frustrated gadhiraju Red Hat 19 07-08-2004 11:30 PM
Gentoo USB mouse not recognized cbqwinner Linux - Hardware 1 03-30-2004 09:44 PM
Wheel on mouse recognized!!! saxophobe DamnSmallLinux 0 01-07-2004 04:56 PM

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

All times are GMT -5. The time now is 05:07 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
Open Source Consulting | Domain Registration