| Summary: | psm missing when acpi is loaded | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | KT Sin <ktsin> | ||||||||
| Component: | kern | Assignee: | Sheldon Hearn <sheldonh> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | ||||||||||
| Priority: | Normal | ||||||||||
| Version: | 5.0-CURRENT | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
oooppss....sorry. Please ignore the earlier patch. All that is needed is
adding a new pnp id into the psmcpnp_ids table.
============================ cut here =============================
*** sys/isa/psm.c.orig Sat Oct 13 18:28:02 2001
--- sys/isa/psm.c Wed Dec 19 08:46:37 2001
***************
*** 2877,2882 ****
--- 2877,2883 ----
static struct isa_pnp_id psmcpnp_ids[] = {
{ 0x130fd041, "PS/2 mouse port" }, /* PNP0F13 */
+ { 0x030fd041, "PS/2 mouse port" }, /* PNP0F03 */
{ 0x1303d041, "PS/2 port" }, /* PNP0313, XXX */
{ 0x80374d24, "IBM PS/2 mouse port" }, /* IBM3780, ThinkPad */
{ 0x81374d24, "IBM PS/2 mouse port" }, /* IBM3781, ThinkPad */
============================ cut here =============================
begin 644 psm-patch
M*BHJ('-Y<R]I<V$O<'-M+F,N;W)I9PE3870@3V-T(#$S(#$X.C(X.C`R(#(P
M,#$*+2TM('-Y<R]I<V$O<'-M+F,)5V5D($1E8R`Q.2`P.#HT-CHS-R`R,#`Q
M"BHJ*BHJ*BHJ*BHJ*BHJ*@HJ*BH@,C@W-RPR.#@R("HJ*BH*+2TM(#(X-S<L
M,C@X,R`M+2TM"B`@"B`@<W1A=&EC('-T<G5C="!I<V%?<&YP7VED('!S;6-P
M;G!?:61S6UT@/2!["B`@"7L@,'@Q,S!F9#`T,2P@(E!3+S(@;6]U<V4@<&]R
M="(@?2P)"2\J(%!.4#!&,3,@*B\**R`)>R`P>#`S,&9D,#0Q+"`B4%,O,B!M
M;W5S92!P;W)T(B!]+`D)+RH@4$Y0,$8P,R`J+PH@(`E[(#!X,3,P,V0P-#$L
M(")04R\R('!O<G0B('TL"0D)+RH@4$Y0,#,Q,RP@6%A8("HO"B`@"7L@,'@X
M,#,W-&0R-"P@(DE"32!04R\R(&UO=7-E('!O<G0B('TL"0DO*B!)0DTS-S@P
M+"!4:&EN:U!A9"`J+PH@(`E[(#!X.#$S-S1D,C0L("))0DT@4%,O,B!M;W5S
D92!P;W)T(B!]+`D)+RH@24)-,S<X,2P@5&AI;FM0860@*B\*
`
end
On Tue, Dec 18, 2001 at 06:50:00AM -0800, gnats-admin@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `kern/32973'.
> The individual assigned to look at your
> report is: freebsd-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=32973
>
> >Category: kern
> >Responsible: freebsd-bugs
> >Synopsis: psm missing when acpi is loaded
> >Arrival-Date: Tue Dec 18 06:50:00 PST 2001
Responsible Changed From-To: freebsd-bugs->sheldonh I'll take this one. State Changed From-To: open->closed Committed in rev 1.43, thanks! |
The PS/2 mouse device is not detected during bootup for certain motherboards when ACPI is loaded. Fix: Please apply the patch below: ===========================cut here================================== #if 0 kbdc_debug(TRUE); *************** /* see if IRQ is available */ rid = KBDC_RID_AUX; + + irq = bus_get_resource_start(dev, SYS_RES_IRQ, rid); + if (irq <= 0) { + if (resource_long_value(PSM_DRIVER_NAME, + device_get_unit(dev), "irq", &irq) != 0) + irq = 12; /* XXX */ + device_printf(dev, "irq resource info is missing; " + "assuming irq %ld\n", irq); + bus_set_resource(dev, SYS_RES_IRQ, rid, irq, 1); + } + sc->intr = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_SHAREABLE | RF_ACTIVE); if (sc->intr == NULL) { ===========================cut here===================================