Fedora Linux Support Community & Resources Center
  #1  
Old 16th December 2011, 05:53 PM
john_a_s Offline
Registered User
 
Join Date: Mar 2009
Location: UK
Posts: 25
linuxfirefox
FC16 - Help addng PS/2 mouse

Hi,

I'm running FC16 on a PC with a USB mouse. I'd like to use a PS/2 mouse, I have enabled it in the BIOS, but it does not appear to work when Fedora is started. I've looked in lshw, and no input devices (keyboard or mouse) are shown. This is odd as I am using a keyboard with a PS/2 connector.

Any advice please on how to detect / enable a PS/2 mouse,

Thanks,
John
Reply With Quote
  #2  
Old 29th December 2011, 12:17 PM
john_a_s Offline
Registered User
 
Join Date: Mar 2009
Location: UK
Posts: 25
windows_xp_2003firefox
Re: FC16 - Help addng PS/2 mouse

Bumping to top..

Any starters I can check please, especially as to detecting non-USB keyboards and mice?

Regards,
John
Reply With Quote
  #3  
Old 29th December 2011, 12:51 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfirefox
Re: FC16 - Help addng PS/2 mouse

On my F16 I have a PS/2 keyboard. There is a short blurb in the kernel dmesg log about it:
Code:
[    1.405370] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
And something near the end of /var/log/Xorg.0.log:
Code:
[    50.074] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input2/event2"
[    50.074] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[    50.074] (**) Option "xkb_rules" "evdev"
[    50.074] (**) Option "xkb_model" "pc105+inet"
[    50.074] (**) Option "xkb_layout" "us"
[    50.074] (**) Option "xkb_options" "terminate:ctrl_alt_bksp,"
I imagine your PS/2 mouse if detected would appear near those areas.
Reply With Quote
  #4  
Old 5th January 2012, 02:37 PM
john_a_s Offline
Registered User
 
Join Date: Mar 2009
Location: UK
Posts: 25
linuxfirefox
Re: FC16 - Help addng PS/2 mouse

Quote:
Originally Posted by JEO View Post
On my F16 I have a PS/2 keyboard. There is a short blurb in the kernel dmesg log about it:

And something near the end of /var/log/Xorg.0.log:

I imagine your PS/2 mouse if detected would appear near those areas.
Thanks! Yes here are the results on my FC16 PC:

dmesg gives:

Code:
[    1.303213] i8042: PNP: PS/2 Controller [PNP0303:KEYB,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.305755] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.305767] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.305945] mousedev: PS/2 mouse device common for all mice
so this shows the PS/2 mouse device has been found, using the i8042 device and IRQ 12.

I had a look in /var/log/Xorg.0.log and found the following:
Code:
[    26.033] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event2)
[    26.033] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
but nothing about a PS/2 mouse.

I came across xinput command, this shows (once I had plugged in a USB mouse as well as the PS/2 mouse):
Code:
#xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech Optical USB Mouse              	id=8	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=9	[slave  keyboard (3)]
For a comparison I looked on another PC (running FC14 rather than FC16) which has a USB mouse and PS/2 connected, this shows dmesg very similar to the above, but on this PC the PS/2 mouse is detected by X and works fine, for example:

Code:
# xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                      	id=9	[slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                       	id=10	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=8	[slave  keyboard (3)]
I am not sure how the output of dmesg relates to what X detects, there seems to be a difference between these two PCs (nb one with FC16 is having the problem, FC14 one is fine!)

Any further suggestions welcome,
Regards,
John

Last edited by john_a_s; 5th January 2012 at 05:44 PM.
Reply With Quote
  #5  
Old 5th January 2012, 09:25 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfirefox
Re: FC16 - Help addng PS/2 mouse

For comparision I plugged a ps/2 mouse into my F16 laptop (it works).

dmesg:
Code:
[    1.745251] i8042: PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOU2] at 0x60,0x64 irq 1,12
[    1.772588] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.772604] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.772851] mousedev: PS/2 mouse device common for all mice
Xorg.0.log:
Code:
[    45.866] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event4)
[    45.866] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer catchall"
[    45.867] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[    45.867] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    45.867] (**) PS/2 Generic Mouse: always reports core events
[    45.867] (**) evdev: PS/2 Generic Mouse: Device: "/dev/input/event4"
[    45.867] (--) evdev: PS/2 Generic Mouse: Vendor 0x2 Product 0x1
[    45.867] (--) evdev: PS/2 Generic Mouse: Found 3 mouse buttons
[    45.867] (--) evdev: PS/2 Generic Mouse: Found relative axes
[    45.867] (--) evdev: PS/2 Generic Mouse: Found x and y relative axes
[    45.867] (II) evdev: PS/2 Generic Mouse: Configuring as mouse
[    45.867] (**) evdev: PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[    45.867] (**) evdev: PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    45.867] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event4"
[    45.868] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 10)
[    45.868] (II) evdev: PS/2 Generic Mouse: initialized for relative axes.
[    45.868] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[    45.868] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[    45.868] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[    45.868] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[    45.869] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse0)
[    45.869] (II) No input driver/identifier specified (ignoring)
I noticed in the kernel mine ID's as MOU2 and yours PS2M. Not sure if that is why Xorg doesn't see it. The one I tried was a 2 button emachines mouse (no scroll wheel also ) made by logitech.

Also worth noting, the laptop I used has a synaptics touchpad which also runs on the ps/2 port (internal). Plugging in the ps/2 mouse has disabled it.

---------- Post added at 01:25 PM ---------- Previous post was at 01:16 PM ----------

I would suggest you try booting from a livecd or live usb and see if it is detected there. (Especially if you upgraded from a previous version of Fedora).

Last edited by JEO; 5th January 2012 at 09:23 PM.
Reply With Quote
  #6  
Old 5th January 2012, 10:29 PM
john_a_s Offline
Registered User
 
Join Date: Mar 2009
Location: UK
Posts: 25
windows_xp_2003firefox
Re: FC16 - Help addng PS/2 mouse

Quote:
Originally Posted by JEO View Post
I noticed in the kernel mine ID's as MOU2 and yours PS2M. Not sure if that is why Xorg doesn't see it. The one I tried was a 2 button emachines mouse (no scroll wheel also ) made by logitech.

I would suggest you try booting from a livecd or live usb and see if it is detected there. (Especially if you upgraded from a previous version of Fedora).
Thanks. A Google for 'dmesg MOU2' gives less hits than 'dmesg PS2M' so I doubt if that is the problem, I'll try the liveCD route. The FC16 PC was a fresh install from a FC16 liveCD, so it wasn't an upgrade.

Regards,
John
Reply With Quote
  #7  
Old 6th January 2012, 03:29 PM
john_a_s Offline
Registered User
 
Join Date: Mar 2009
Location: UK
Posts: 25
linuxfirefox
Re: FC16 - Help addng PS/2 mouse

Hi,

I've booted off a liveCD, and again the PS/2 mouse was found in dmesg but not detected within X.

Here's the version:
Code:
$ uname -a
Linux localhost.localdomain 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686 i386 GNU/Linux
Can someone advise please about the order devices are detected? Any suggestions on udevadm would help, there are no PS/2 mouse devices listed under /dev/input/by-path

Regards,
John
Reply With Quote
Reply

Tags
addng, fc16, mouse, ps or 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS and FC16 and systemd lensman3 Servers & Networking 4 15th March 2012 01:58 AM
FC16 randomly restarting yoshimitsuspeed Hardware & Laptops 28 31st January 2012 06:55 PM
[SOLVED] FC16 runlevel 3 pulseaudio danespen Using Fedora 6 17th December 2011 04:01 AM
FC16 Number pad becomes mouse tarunpsoni Hardware & Laptops 1 15th November 2011 07:36 PM


Current GMT-time: 03:45 (Friday, 01-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat