Date: Tue, 18 Mar 2003 10:32:03 -0800 (PST) From: Shizuka Kudo <shizukakudo_99@yahoo.com> To: freebsd-current@freebsd.org Subject: Mouse/Parellel port problem with ACPI Message-ID: <20030318183203.38846.qmail@web11401.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
I just replaced my -current with an I815EP mother board and found that the mouse and printer not
working. When I was moving the mouse, the cursor on the console just disappeared and reappeared
after I stop moving the mouse. For the printer port, when I sent some data, the printer's data
LED was flashing, indicating data was received, but it never printed anything.
I stopped loading ACPI at boot and everything become normal. I did have some good experience with
this motherboard and ACPI several months ago so I searched back and found that the following
commit caused the problem
> Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 31 20:43:02 2002 UTC (4
months, 2 weeks ago) by iwasaki
> Branch: MAIN
> Changes since 1.2: +4 -5 lines
> Diff to previous 1.2 (colored)
>
> Don't examine ACPI_STA_ENABLE bit of device's_STA object on initial
> state. Instead, use ACPI_STA_PRESENT and ACPI_STA_FUNCTIONAL for it.
> In some ACPI BIOS implementations, boot disabled devices don't have
> ACPI_STA_ENABLE bit in _STA object.
> Also it is not fatal if getting current IRQ of boot disabled devices
> is failed in initial state.
In particular this patch causes my problem:
@@ -461,9 +460,9 @@ acpi_pci_link_add_prt(device_t pcidev, A
return_ACPI_STATUS (error);
}
- if (!(sta & ACPI_STA_ENABLE)) {
+ if (!(sta & (ACPI_STA_PRESENT | ACPI_STA_FUNCTIONAL))) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
- "PCI interrupt link is disabled - %s\n",
+ "PCI interrupt link is not functional - %s\n",
acpi_name(handle)));
return_ACPI_STATUS (AE_ERROR);
}
I believe it was related to the interrupt handling as you can see on the following output from
"vmstat -i"
"vmstat -i" for a problematic mouse/printer config (note: no psm0 irq12)
interrupt total rate
stray irq0 1 0
stray irq6 1 0
npx0 irq13 1 0
cbb0 irq10 1 0
cbb1 irq10 1 0
ata0 irq14 20 0
uhci0 irq11 2495 31
pcm0 irq10 247 3
fdc0 irq6 1 0
sio0 irq4 2 0
sio1 irq3 2 0
atkbd0 irq1 167 2
clk irq0 7727 99
rtc irq8 9891 126
Total 20557 263
"vmstat -i" for a working mouse and printer config.
interrupt total rate
stray irq0 1 0
stray irq6 1 0
stray irq7 1 0
npx0 irq13 1 0
cbb0 irq10 1 0
cbb1 irq10 1 0
ata0 irq14 20 0
uhci0 irq11 2464 36
pcm0 irq10 360 5
fdc0 irq6 1 0
sio0 irq4 2 0
sio1 irq3 2 0
atkbd0 irq1 5 0
psm0 irq12 260 3
clk irq0 6556 97
rtc irq8 8391 125
Total 18067 269
Any idea on this one?
Regards,
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030318183203.38846.qmail>
