View previous topic :: View next topic |
Author |
Message |
melon1234 n00b
Joined: 07 May 2013 Posts: 6
|
Posted: Tue May 07, 2013 11:55 am Post subject: [SOLVED] How to activate mouse? |
|
|
Hi, all,
I installed gentoo as guest system in virtualbox, it works fine except mouse. "mice" & "mouse0" are in /dev/input, but when I "cat" them while move my mouse, no data output. If I start from install-*-minimal.iso, the mouse will be detected and the driver will be loaded correctly. I think there might be a command to activate mouse. The mouse setting in my kernel option seems correct: CONFIG_INPUT_MOUSEDEV=y, CONFIG_MOUSE_PS2*=y. What should I do now?
p.s. FYI, Xorg.0.log says:
(II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
(**) ImExPS/2 ...
(II) config/udev: Adding input device ImExPS/2... (/dev/input/mouse0)
(II) No input driver specified, ignoring this device. // How to specify mouse driver?
(II) This device may have been added with another device file.
(II) evdev: ImExPS/2 ... : Close
Thank you in advance.
--
ShenLei
Last edited by melon1234 on Wed May 08, 2013 11:43 am; edited 1 time in total |
|
Back to top |
|
|
PabloEsc n00b
Joined: 24 Dec 2009 Posts: 40
|
Posted: Tue May 07, 2013 12:06 pm Post subject: |
|
|
You need to emerge xorg-drivers with evdev flag enabled. |
|
Back to top |
|
|
melon1234 n00b
Joined: 07 May 2013 Posts: 6
|
Posted: Tue May 07, 2013 12:55 pm Post subject: |
|
|
PabloEsc wrote: | You need to emerge xorg-drivers with evdev flag enabled. |
Would you please tell me the exact form of these commands? I have done:
Code: | echo "x11-base/xorg-server udev" >> /etc/portage/package.use | and Code: | echo 'INPUT_DEVICE="evdev"' >> /etc/make.conf | --
ShenLei |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue May 07, 2013 1:12 pm Post subject: |
|
|
Typo. Should be INPUT_DEVICES, not INPUT_DEVICE.
Then, just Code: | emerge -1v xorg-drivers |
- John
P.S.: Code tags appreciated for readability. _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
melon1234 n00b
Joined: 07 May 2013 Posts: 6
|
Posted: Wed May 08, 2013 5:21 am Post subject: |
|
|
John R. Graham wrote: | Typo. Should be INPUT_DEVICES, not INPUT_DEVICE.
Then, just Code: | emerge -1v xorg-drivers |
- John
P.S.: Code tags appreciated for readability. |
Thank you very much! It works. Now I have a fully functional Xorg.
--
ShenLei |
|
Back to top |
|
|
|