Incredible : can't use a PS2 mouse !!! - Mandrake
This is a discussion on Incredible : can't use a PS2 mouse !!! - Mandrake ; Hello,
I use for a long time a MX1000 mouse on my MDV 2007, I wanted to use it in
PS2 mode, to use a KVM.
BUT I can't manage to get it detected in PS2 ! Of course I ...
-
Incredible : can't use a PS2 mouse !!!
Hello,
I use for a long time a MX1000 mouse on my MDV 2007, I wanted to use it in
PS2 mode, to use a KVM.
BUT I can't manage to get it detected in PS2 ! Of course I tried without the
KVM, on 2 different boxes, I verified the BIOS, there's no option to
disable the PS2. I tried 2 different USB/PS2 adapters (1 from Logitech and
1 from Microsoft). I tried 2 different mouses as well (although the MX1000
is a PS2/USB mouse).
It doesn't work with X, whatever mouse protocol I choose, it doesn't even
work with GPM, even the Mandriva install doesn't detect and use my mouse !
The psmouse module is loaded, the psaux device is there with good perms, and
good symbolic links to it, but it doesn't work !!! I never had any problems
with PS2 mouse and I use linux everyday for 9 years now !!!
I tried a Debian Etch as well, same problem !!!
Any idea ?
Thank you
Zal
-
Re: Incredible : can't use a PS2 mouse !!!
On Wed, 11 Apr 2007 05:22:45 -0400, zal wrote:
> The psmouse module is loaded, the psaux device is there with good perms, and
> good symbolic links to it, but it doesn't work !!! I never had any problems
> with PS2 mouse and I use linux everyday for 9 years now !!!
> I tried a Debian Etch as well, same problem !!!
Using a mandriva supplied kernel, grep MOUSE /boot/config shows ...
[root@hodgins ~]# grep MOUSE /boot/config
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_INPORT=m
# CONFIG_MOUSE_ATIXL is not set
CONFIG_MOUSE_LOGIBM=m
CONFIG_MOUSE_PC110PAD=m
CONFIG_MOUSE_VSXXXAA=m
CONFIG_USB_MOUSE=m
CONFIG_USB_IDMOUSE=m
So the PS2 support has been compiled into the kernel. Explictly loading
the psmouse module may be conflicting with the compiled in kernal support.
Boot into run level 3. Is udev creating /dev/mouse? On my system, which
is using a (real) ps2 mouse, /dev/mouse is a /dev/input/mice, which is
a character device.
Try running "cat /dev/mouse" and moving the mouse around. You should see
some characters appear on the screen. Press ctrl+c to stop the cat command.
[root@hodgins ~]# cat /dev/input/mice
▒�▒�▒� ▒�▒�▒�▒�▒�8��8��8ï¿½ï¿ ½8��(�(�(�(�(�(�(�(�(�▒�
▒�▒�
▒▒�
▒�▒� ▒�▒�▒�8��8��8��8��(� (�(�(�(
�( �
▒�▒�
Now check the mouse definition in /etc/X11/xorg.conf. Mine has
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5 6 7"
Option "AutoSoft" "false"
EndSection
This is a logitech mouse, with the scroll wheel. Your ZAxisMapping may
be different, if your mouse doesn't have a scroll wheel.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> So the PS2 support has been compiled into the kernel. Explictly loading
> the psmouse module may be conflicting with the compiled in kernal support.
I loaded the psmouse module on a custom mandriva kernel, but I tried on the
stock 2.6.17.11 mandriva kernel as well, without psmouse, with the same
result.
> Boot into run level 3. Is udev creating /dev/mouse?
Yes
> > On my system, which
> is using a (real) ps2 mouse, /dev/mouse is a /dev/input/mice, which is
> a character device.
>
> Try running "cat /dev/mouse" and moving the mouse around. You should see
> some characters appear on the screen. Press ctrl+c to stop the cat
> command.
It doesn't :-( (I tried with /dev/psaux and with /dev/input/mice as well...)
> Now check the mouse definition in /etc/X11/xorg.conf. Mine has
> Section "InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "Auto"
> Option "Device" "/dev/mouse"
> Option "ZAxisMapping" "4 5 6 7"
> Option "AutoSoft" "false"
> EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection
>
> This is a logitech mouse, with the scroll wheel. Your ZAxisMapping may
> be different, if your mouse doesn't have a scroll wheel.
I tried first without Zaxis, but the mouse doesn't event run in text mode
with gpm !!!
Thank you for your help !
-
Re: Incredible : can't use a PS2 mouse !!!
On Wed, 11 Apr 2007 15:18:30 -0400, zal wrote:
> David W. Hodgins wrote:
>> > On my system, which
>> is using a (real) ps2 mouse, /dev/mouse is a /dev/input/mice, which is
>> a character device.
>>
>> Try running "cat /dev/mouse" and moving the mouse around. You should see
>> some characters appear on the screen. Press ctrl+c to stop the cat
>> command.
>
> It doesn't :-( (I tried with /dev/psaux and with /dev/input/mice as well...)
Is this with, or without the switch? If cat /dev/mouse doesn't show anything
when the mouse is moving, gpm, and xorg aren't going to see anything either.
What do you get for ...
[root@hodgins log]# grep PS/2 /var/log/syslog
Apr 11 16:49:24 hodgins kernel: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
Apr 11 16:49:24 hodgins kernel: mice: PS/2 mouse device common for all mice
Apr 11 16:49:24 hodgins kernel: input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
As the PS/2 Controller is a plug and play device, check your bios settings. If it has
a setting for "boot to pnp os", try reversing the current value.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
"David W. Hodgins" writes:
>On Wed, 11 Apr 2007 05:22:45 -0400, zal wrote:
>> The psmouse module is loaded, the psaux device is there with good perms, and
>> good symbolic links to it, but it doesn't work !!! I never had any problems
>> with PS2 mouse and I use linux everyday for 9 years now !!!
>> I tried a Debian Etch as well, same problem !!!
Since I use a PS2 mouse on about 10 computers in mandriva 2007, it is not a
problem in general. Ie, there is something specific about your system. Eg,
are you sure that the mouse is actually a working mouse?
>Using a mandriva supplied kernel, grep MOUSE /boot/config shows ...
>[root@hodgins ~]# grep MOUSE /boot/config
>CONFIG_INPUT_MOUSEDEV=y
>CONFIG_INPUT_MOUSEDEV_PSAUX=y
>CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
>CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
>CONFIG_INPUT_MOUSE=y
>CONFIG_MOUSE_PS2=y
>CONFIG_MOUSE_SERIAL=m
>CONFIG_MOUSE_INPORT=m
># CONFIG_MOUSE_ATIXL is not set
>CONFIG_MOUSE_LOGIBM=m
>CONFIG_MOUSE_PC110PAD=m
>CONFIG_MOUSE_VSXXXAA=m
>CONFIG_USB_MOUSE=m
>CONFIG_USB_IDMOUSE=m
>So the PS2 support has been compiled into the kernel. Explictly loading
>the psmouse module may be conflicting with the compiled in kernal support.
>Boot into run level 3. Is udev creating /dev/mouse? On my system, which
>is using a (real) ps2 mouse, /dev/mouse is a /dev/input/mice, which is
>a character device.
>Try running "cat /dev/mouse" and moving the mouse around. You should see
>some characters appear on the screen. Press ctrl+c to stop the cat command.
>[root@hodgins ~]# cat /dev/input/mice
>▒�▒�▒� ▒�▒�▒�▒�▒�8��8��8ï¿½ï¿ ½8��(�(�(�(�(�(�(�(�(�▒�
>▒�▒�
>▒▒�
> ▒�▒� ▒�▒�▒�8��8��8��8��(� (�(�(�(
>�( �
> ▒�▒�
>Now check the mouse definition in /etc/X11/xorg.conf. Mine has
>Section "InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "Auto"
> Option "Device" "/dev/mouse"
> Option "ZAxisMapping" "4 5 6 7"
> Option "AutoSoft" "false"
>EndSection
>This is a logitech mouse, with the scroll wheel. Your ZAxisMapping may
>be different, if your mouse doesn't have a scroll wheel.
>Regards, Dave Hodgins
>--
>Change nomail.afraid.org to ody.ca to reply by email.
>(nomail.afraid.org has been set up specifically for
>use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
Unruh wrote in
news:nZdTh.11147$Uf7.8363@edtnps89:
> "David W. Hodgins" writes:
>
>>On Wed, 11 Apr 2007 05:22:45 -0400, zal
>> wrote:
>
>>> The psmouse module is loaded, the psaux device is there with good
>>> perms, and good symbolic links to it, but it doesn't work !!! I never
>>> had any problems with PS2 mouse and I use linux everyday for 9 years
>>> now !!! I tried a Debian Etch as well, same problem !!!
>
> Since I use a PS2 mouse on about 10 computers in mandriva 2007, it is
> not a problem in general. Ie, there is something specific about your
> system. Eg, are you sure that the mouse is actually a working mouse?
And a working PS2 port on the PC? He should be checking his hardware.
Klazmon.
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> [root@hodgins log]# grep PS/2 /var/log/syslog
> Apr 11 16:49:24 hodgins kernel: PNP: PS/2 Controller
> [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 Apr 11 16:49:24 hodgins
> kernel: mice: PS/2 mouse device common for all mice Apr 11 16:49:24
> hodgins kernel: input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
Thanks, I think you found the problem, but now I still don't know how to fix
it.
This is what I have :
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
mice: PS/2 mouse device common for all mice
So it seems that Linux uses only the IRQ 12 for a PS2 mouse. But my
mainboard can only assign IRQ 5 or IRQ 11 for the PS2 port.
I tried some options like pci=routeirq or pnpbios=off or pci=biosirq,
without success. I tried the parameter "mouseirq=11" with insmod as well,
but it doesn't accept it :
[root@gargamel chris]#
insmod /lib/modules/2.6.17-11mdvcustom/kernel/drivers/input/mouse/psmouse.ko
mouse_irq=11
insmod: error
inserting '/lib/modules/2.6.17-11mdvcustom/kernel/drivers/input/mouse/psmouse.ko': -1
Unknown symbol in module
Any idea ?
Zal
-
Re: Incredible : can't use a PS2 mouse !!!
On Thu, 12 Apr 2007 10:27:02 -0400, zal wrote:
> So it seems that Linux uses only the IRQ 12 for a PS2 mouse. But my
> mainboard can only assign IRQ 5 or IRQ 11 for the PS2 port.
Check your bios setttings, to see if IRQ 12 has been reserved for
ISA usage. Assuming you have some ISA boards in use, check to
see which IRQs those are using, and ensure only those ones are
reserved for ISA. If you don't have any ISA slots, make all of
the interrupts available for PNP.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> Check your bios setttings, to see if IRQ 12 has been reserved for
> ISA usage. Assuming you have some ISA boards in use, check to
> see which IRQs those are using, and ensure only those ones are
> reserved for ISA. If you don't have any ISA slots, make all of
> the interrupts available for PNP.
I don't have any settings for PNP, and I only have the IRQ 5 or 11 for the
PS2 port. So I need to make Linux recognize it with these IRQ, but I don't
know how...
>
> Regards, Dave Hodgins
>
-
Re: Incredible : can't use a PS2 mouse !!!
On Thu, 12 Apr 2007 16:13:26 -0400, zal wrote:
> I don't have any settings for PNP, and I only have the IRQ 5 or 11 for the
Triple check every menu entry in the bios setup program.
What bios type/version are you running?
What does (as root) "tree /proc/irq" show? What's using all
of the irqs?
> PS2 port. So I need to make Linux recognize it with these IRQ, but I don't
> know how...
You'd also have to get the mouse to use the different irq, not just the kernel.
You could try the kernel paramater "i8042.nopnp "
Regrards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> What does (as root) "tree /proc/irq" show? What's using all
> of the irqs?
I'll do the other checks later today. This is my /proc/irq :
[root@gargamel chris]# tree /proc/irq
/proc/irq
|-- 0
|-- 1
| `-- i8042
|-- 10
|-- 11
|-- 12
|-- 13
|-- 14
|-- 15
| `-- ide1
|-- 16
| `-- eth0
|-- 17
| `-- ohci_hcd:usb1
|-- 18
| `-- ehci_hcd:usb2
|-- 19
| `-- nvidia
|-- 2
|-- 20
| `-- EMU10K1
|-- 3
|-- 4
|-- 5
|-- 6
|-- 7
|-- 8
| `-- rtc
`-- 9
`-- acpi
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> Triple check every menu entry in the bios setup program.
I checked once more, but found nothing about PNP. I can only assign IRQ to
PCI port, and choose between IRQ 5 & 11 for the PS/2 port (and between
adress 310 & 320)
> What bios type/version are you running?
My mobo is a GA-K8N51GMF-9 with the latest BIOS (F7), it's an Award v6.00PG
> What does (as root) "tree /proc/irq" show? What's using all
> of the irqs?
>
>> PS2 port. So I need to make Linux recognize it with these IRQ, but I
>> don't know how...
>
> You'd also have to get the mouse to use the different irq, not just the
> kernel. You could try the kernel paramater "i8042.nopnp "
With this parameter, I can't see the PS/2 controller any more :
[root@gargamel chris]# dmesg|grep PS
mice: PS/2 mouse device common for all mice
-
Re: Incredible : can't use a PS2 mouse !!!
On Fri, 13 Apr 2007 06:24:02 -0400, zal wrote:
> My mobo is a GA-K8N51GMF-9 with the latest BIOS (F7), it's an Award v6.00PG
According to http://www.answersthatwork.com/Downl...guidelines.pdf
there should be a bios setup option called PNP/PCI Configurations.
In that menu try setting the "PNP OS INSTALLED" to no.
The next option is "Resources controlled by". Change it
from auto to manual. You should then be able to assign most of
the irqs to PNP.
From you other article, ...
> [root@gargamel chris]# tree /proc/irq
> /proc/irq
> |-- 0
> |-- 1
> | `-- i8042
> |-- 10
> |-- 11
> |-- 12
> |-- 13
> |-- 14
> |-- 15
> | `-- ide1
snip
Looks like irq 12 is not currently in use.
The corresponding output I get is ...
[dave@hodgins ~]$ sudo tree /proc/irq
/proc/irq
|-- 0
| `-- smp_affinity
|-- 1
| |-- i8042
| `-- smp_affinity
|-- 10
| `-- smp_affinity
|-- 11
| `-- smp_affinity
|-- 12
| |-- i8042
| `-- smp_affinity
|-- 13
| `-- smp_affinity
|-- 14
| |-- ide0
| `-- smp_affinity
|-- 15
| |-- ide1
| `-- smp_affinity
snip
Note the i8042 is the PS/2 keyboard/mouse controller.
Regarding the smp_affinity, the kernel I'm running is
[dave@hodgins ~]$ uname -rv
2.6.17-13mdv #1 SMP Fri Mar 23 13:07:21 MDT 2007
although this is a single processor system.
Which kernel are you running?
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
On Thu, 12 Apr 2007 16:27:02 +0200, zal wrote:
> Thanks, I think you found the problem, but now I still don't know how
> to fix it.
Send ME $29 to get my CD, "Using the PS2 Mouse for Dummies" !
Guaranteed you'll master the beastly mouse in a few lessons !
:-)
--
Linux Help: http://rsgibson.com/linux.htm
Email - rsgibson@verizon.borg
Replace borg with net
-
Re: Incredible : can't use a PS2 mouse !!!
David W. Hodgins wrote:
> On Fri, 13 Apr 2007 06:24:02 -0400, zal
> wrote:
>
>> My mobo is a GA-K8N51GMF-9 with the latest BIOS (F7), it's an Award
>> v6.00PG
>
> According to
>
http://www.answersthatwork.com/Downl...guidelines.pdf
> there should be a bios setup option called PNP/PCI Configurations.
No, there's not !
>
> From you other article, ...
>> [root@gargamel chris]# tree /proc/irq
>> /proc/irq
>> |-- 0
>> |-- 1
>> | `-- i8042
>> |-- 10
>> |-- 11
>> |-- 12
>> |-- 13
>> |-- 14
>> |-- 15
>> | `-- ide1
> snip
>
> Looks like irq 12 is not currently in use.
>
> Which kernel are you running?
2.6.17.11-mdv
I solved the problem by switching to USB, but it's a shame that no AM2
Gigabyte mobo can use a PS2 mouse with Linux...
-
Re: Incredible : can't use a PS2 mouse !!!
On Mon, 23 Apr 2007 03:47:48 -0400, zal wrote:
> David W. Hodgins wrote:
>
>> On Fri, 13 Apr 2007 06:24:02 -0400, zal
>> wrote:
>>> My mobo is a GA-K8N51GMF-9 with the latest BIOS (F7), it's an Award
>>> v6.00PG
>> According to
> http://www.answersthatwork.com/Downl...guidelines.pdf
>> there should be a bios setup option called PNP/PCI Configurations.
> No, there's not !
Strange! While the bios is showing Award_6.00PG, it must be an OEM
version, with some options disabled, probably due to lack of hardware
support on the motherboard.
> I solved the problem by switching to USB, but it's a shame that no AM2
> Gigabyte mobo can use a PS2 mouse with Linux...
Glad you have a usable mouse. First time I've seen a motherboard that
had a ps2 mouse port, but that didn't support it.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
-
Re: Incredible : can't use a PS2 mouse !!!
On Tue, 24 Apr 2007 10:41:10 -0400, David W. Hodgins wrote:
>> I solved the problem by switching to USB, but it's a shame that no AM2
>> Gigabyte mobo can use a PS2 mouse with Linux...
> Glad you have a usable mouse. First time I've seen a motherboard that had
> a ps2 mouse port, but that didn't support it.
If this is a Gigabyte (Award) mobo you might need to hit CTL-F1 while in
BIOS to get it in advanced BIOS mode. I have to do that on my P4-Titan.
It doesn't tell you that on the BIOS screen and it's sort of hidden away
in the manual. This is the only mobo of that era I have seen this setup.
2-3 major classes of settings are missing if you don't do this.
Look in the manual for mention of enabling "Advanced BIOS Settings" or
something to that effect.
--
Linux Help: http://rsgibson.com/linux.htm
Email - rsgibson@verizon.borg
Replace borg with net