You are not logged in.
Hi guys,
I have a wireless logitech mouse connected to my laptop via the PS2 port. Whenever I start Arch/XOrg, the mouse doesn't work at all. However, if I unplug the mouse and plug it straight back in it then works. I have tried with and without hotplug, but I still have the same problem. Please help. Thanks.
kirkl_uk
Offline
Is the PS/2 port correctly enabled in the BIOS ?
Is the cable ok ?
The connector ?
Is the wireless mouse fully charged ?
What kernel are you using ? (uname -r)  
Is ps/2 loaded as a module ? (lsmod)
If it is not loaded when you boot, then add it to the end of the MODULES=() section of /etc/rc.conf.
I think the problem is that your mouse needs to be set up when all the other things are already set up. I also think it is hotplug which loads the appropriate module when you unplug and plug it again.
Last thing : is your xorg.conf correctly set to use the PS2 protocol ?
If you cant figure out how to solve the problem after what I said, then post your config files :
/boot/kconfig26 ( if using Arch kernel)
/boot/.config (if self-compiled kernel)
xorg.conf
dmesg > filetopost
Offline
Hey, thanks for the input so far. My wireless mouse works perfectly under Windows, so I know it's not a hardware problem, and my system is currently set up for dual-boot as well. I will look into the software side of things as soon as I can and report back. Thanks again.
kirkl_uk
Offline
Ok, even without hotplug running, the mouse works when I unplug and plug back in. Also, looking at lsmod, I don't seem to have any extra modules load up after this is done. The kernel is 2.6.10 stock. Xorg is set up to use ExplorerPS/2, but I have tried this with other protocols as well.
kirkl_uk
Offline

is there any difference in /dev/input before and after it works?
how is your mouse device defined in xorg.conf?
Offline
Ok, here we go...
Before the "unplug", /dev/input/:
miceAfter:
event0 event1 mice mouse0 ts0Xorg mouse section:
Section "InputDevice"
# Identifier and driver
    Identifier    "Mouse1"
    Driver    "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
# Mouse-speed setting for PS/2 mouse.
#    Option "Resolution"    "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
#    Option "Protocol"    "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
#    Option "BaudRate"    "9600"
#    Option "SampleRate"    "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
# ChordMiddle is an option for some 3-button Logitech mice
#    Option "ChordMiddle"
EndSectionThanks,
kirkl_uk
Offline

ok, the problem is in the first part... /dev/input/mice is just a multiplexer (combination) for all over mouseX devices...
in the first case you do not have mouse0, so mice is inept... afterwards mouse0 exists, so it's all fine.
these events (plugging/unplugging) are handled by udev... so there's something happening "on boot" that's not telling udev there is a device there... hmmm
on another path altogether... do you have a /dev/psaux device? before and after?
Offline
/dev/psaux exists in both situations.
Offline

use that instead of /dev/input/mice.... psaux is for the ps2 port... it seems on boot, udev recognizes there's something there, but doesn't recognize it as a mouse until you replug it in...
usb mice work much nicer, but for now just use /dev/psaux in xorg.conf
Offline
I was using /dev/psaux first of all, and switched to /dev/input/mice after reading some articles on the Internet.
Offline