Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 12:23:15 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        acpi-jp@jp.FreeBSD.org
Cc:        "current@freebsd.org" <current@freebsd.org>, "Vladimir B. Grebenschikov" <vova@express.ru>
Subject:   RE: [acpi-jp 2035] Re: ACPI missfucntioning on SONY VAIO Z505s w
Message-ID:  <XFMail.20021211122315.jhb@FreeBSD.org>
In-Reply-To: <3DF6C488.746B555C@cablespeed.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11-Dec-2002 Chuck McCrobie wrote:
> "Vladimir B. Grebenschikov" wrote:
>> 
>> χ Mon, 09.12.2002, Χ 13:55, Vladimir B. Grebenschikov ΞΑΠΙΣΑΜ:
>> 
>> > I have already filled http://www.freebsd.org/cgi/query-pr.cgi?pr=45913
>> >
>> > Lucent WaveLan Orinoco card  (driver wi) stops working with latest
>> > current (last I have tried RC)
>> >
>> > Playing with problem I have found that WaveLan problem can be cured
>> > by turning off ACPI.
>> >
>> > Also another problem cured - with turned off ACPI I can insert and
>> > remove PCCARDs while notebook running, card successful detected.
>> > With ACPI turned on insertion/removal of PCCARD freezes machine
>> > completely.
>> 
>> Another thing - without ACPI: pcm driver detected
>> but does not work:
>> 
>> Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc046c0b4.
>> pcm0: <NeoMagic 256AV> mem 0xfea00000-0xfeafffff,0xfe000000-0xfe3fffff
>> irq 9 at device 8.1 on pci0
>> pcm0: buftop is 0x0027ec00
>> pcm0: buftop is changed to 0x0027ec00
>> pcm0: ac97 codec id 0x414b4d01 (Asahi Kasei AK4542)
>> pcm0: ac97 codec features headphone, 5 bit master volume, AKM 3D Audio
>> pcm0: rec buf 0xcb49bc00
>> pcm0: play buf 0xcb497c00
>> 
>> # cat /dev/sndstat
>> FreeBSD Audio Driver (newpcm)
>> Installed devices:
>> pcm0: <NeoMagic 256AV> at memory 0xfe000000, 0xfea00000 irq 9 (1p/1r/2v
>> channels duplex default)
>> #
>> 
>> but does not work
>> 
>> pcm0:virtual:1: play interrupt timeout, channel dead
>> pcm0:virtual:1: play interrupt timeout, channel dead
>> 
>> > Can I help to diagnose problem ? how ?
>> --
>> Vladimir B. Grebenschikov <vova@express.ru>
>> TSB "Russian Express"
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-current" in the body of the message
> 
> Sony Vaio GRX 670 did not play sound either - interrupt routing issue. 
> "Fixed" with the following:
> 
> /usr/src/sys/dev/pci/pci.c: line 776, or there-abouts.
> 
>         if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
>#ifdef __ia64__
>                 /*
>                  * Re-route interrupts on ia64 so that we can get the
>                  * I/O SAPIC interrupt numbers (the BIOS leaves legacy
>                  * PIC interrupt numbers in the intline registers).
>                  */
>                 cfg->intline = PCIB_ROUTE_INTERRUPT(pcib, dev,
> cfg->intpin);
> +#else
> +                /*
> +                 * XXX: Do we need to re-program the device's PCIREG
> intline?
> +                 */
> +
> +                cfg->intline = PCIB_ROUTE_INTERRUPT(pcib, dev,
> cfg->intpin);
>#endif
>                 resource_list_add(rl, SYS_RES_IRQ, 0, cfg->intline,
>                   cfg->intline, 1);
>         }

Eventually we will always route interrupts on i386 as well as ia64,
but it doesn't work with IO APIC's right now.  I'm trying to work on
that but it's taking a while.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.20021211122315.jhb>