Re: psm(4) stopped working suddently

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Wed, 15 Nov 2006 18:06:57 +0100
On Wed, Nov 15, 2006 at 03:18:38PM +0100, Jeremie Le Hen wrote:
> Hi,
> 
> my touchpad has been working like a charm until recently, then I
> noticed psm0 didn't exist any more.
> A verbose boot shows the following message in dmesg:
> 
> % jarjarbinks:~:107# dmesg | grep ^psm
> % psm0: unable to allocate IRQ
> % psmcpnp0: <PS/2 moudr port> irq 12 on acpi0
> % psm0: current command byte:0047
> % psm0: strange result for test aux port (1).
> % psm0: failed to reset the aux device
> 
> Therefore, I added PSM_CONFIG_NORESET (0x400) to hint.psm.0.cflags
> in loader.conf(5) and this made psm0 come back and the touchpad work.
> 
> I tried older kernels back to 2006.03.01 but none made my touchpad
> work without this flag.

I tested with FreeSBIE 2.0 beta, based on FreeBSD 6.1-RELEASE-p3 and I
didn't see the problem.  Given that I tried kernels back to March 1st,
I went to expect my kernel config file was the culprit.
Thus I've just tried a GENERIC kernel from the latest -CURRENT and
the problem went away:

% psm0: unable to allocate IRQ
% psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
% psm0: current command byte:0047
% psm0: strange result for test aux port (1).
% psm0: <PS/2 Mouse> irq 12 on atkbdc0
% psm0: [GIANT-LOCKED]
% psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
% psm0: config:00000000, flags:00000008, packet size:3
% psm0: syncmask:c0, syncbits:00

I tried to add/remove kbdmux and apic, but this resulted in nothing
better.
My configuration file is attached, I would be glad if someone pointed
out what makes my psm(4) fail.

Thank you.
Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

Received on Wed Nov 15 2006 - 16:06:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC