DragonFly BSD
DragonFly kernel List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: no psm0


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Thu, 9 Mar 2006 14:47:21 -0800 (PST)

On Thu, 9 Mar 2006, Jeremy C. Reed wrote:

> And some more information from booting FreeBSD 6.0 with verbose:
> 
> psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> psm0: current command byte:0065
> 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
> 
> And on DragonFly, I built kernel with:
> 
> options KBD_RESETDELAY=1000
> options KBD_MAXWAIT=100
> options PSM_DEBUG=3
> options KBDIO_DEBUG=3
> 
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> ...
> atkbdc0.isa0.isab0.pci0.pcib0.legacypci0.nexus0.root0
> atkbdc0: <Keyboard controller (i8042)> [tentative] at port 0x60,0x64 on 
> isa0
> atkbd0.atkbdc0.isa0.isab0.pci0.pcib0.legacypci0.nexus0.root0
> atkbd0: <AT Keyboard> [tentative] flags 0x1 irq 1 on atkbdc0
> atkbd: the current kbd controller command byte 0065
> atkbd: keyboard ID 0x41ab (2)
> kbd0 at atkbd0
> kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
> atkbd0: <AT Keyboard> [attached!] flags 0x1 irq 1 on atkbdc0
> psm0: current command byte:0065

I see that the log(LOG_DEBUG, ...) never get logged (nor in dmesg).

I used:
  options SC_HISTORY_SIZE=2000
and now I can scroll back to also see (manually typed in):

kbdc: new command byte:0054 (set_controller...)
kbdc: TEST_AUX_PORT status:ffffffff
kbdc: DIAGNOSE status:0055
kbdc: new command byte:0065 (set_controller...)

> psm0: the aux port is not functioning (-1).
> atkbdc0: <Keyboard controller (i8042)> [attached!] at port 0x60,0x64 on 
> isa0
> 
> This laptop has a touch pad that I want to use. It also has a single PS/2 
> port on the back that has a picture for both keyboard and mouse.
> 
> I am looking at the sys/dev/misc/psm/psm.c code. It appears that the "-1" 
> is for "time out".
> 
> The DIAGNOSTICS section in the psm(4) man page says I should get other 
> logging from DragonFly (and I see in the code). Why don't I see it? And 
> why not logged? (The default syslog.conf has the kern.debug.) I assume I 
> don't see it since those functions that log this info are never reached in 
> psm.c.
>
> Some of the diagnostics is available above from FreeBSD though.
> 
> Any ideas on how I can track this down? How can I get this touchpad to 
> work in DragonFly, like it does on FreeBSD?

 Jeremy C. Reed



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]