* SonyPI module and via82xx sound driver
@ 2003-12-28 19:47 Markus Gaugusch
2004-01-05 14:36 ` Takashi Iwai
2004-01-05 15:00 ` Sergey Vlasov
0 siblings, 2 replies; 5+ messages in thread
From: Markus Gaugusch @ 2003-12-28 19:47 UTC (permalink / raw)
To: alsa-devel
Hi,
The sonypi module uses IO Address 0x1080 - 0x1084B, which is in the range
of the via82xx sound driver (0x1000 - 0x10ff). Is it possible to exclude
the address range of the sonypi module in the via82xx driver? I'm pretty
sure that it isn't really used by ALSA :)
thanks
Markus
--
__________________ /"\
Markus Gaugusch \ / ASCII Ribbon Campaign
markus(at)gaugusch.at X Against HTML Mail
/ \
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SonyPI module and via82xx sound driver
2003-12-28 19:47 SonyPI module and via82xx sound driver Markus Gaugusch
@ 2004-01-05 14:36 ` Takashi Iwai
2004-01-05 14:42 ` Markus Gaugusch
2004-01-05 15:00 ` Sergey Vlasov
1 sibling, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2004-01-05 14:36 UTC (permalink / raw)
To: Markus Gaugusch; +Cc: alsa-devel
At Sun, 28 Dec 2003 20:47:07 +0100 (CET),
Markus Gaugusch wrote:
>
> Hi,
> The sonypi module uses IO Address 0x1080 - 0x1084B, which is in the range
> of the via82xx sound driver (0x1000 - 0x10ff). Is it possible to exclude
> the address range of the sonypi module in the via82xx driver? I'm pretty
> sure that it isn't really used by ALSA :)
check lspci -v whether the via chip requires really this whole
region. in the via82xx driver, we reserve the area with 256 bytes,
assuming that it's constant. if lspci shows a different value,
i.e. 128 bytes, the driver should reserve the region according to the
pci resource.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SonyPI module and via82xx sound driver
2004-01-05 14:36 ` Takashi Iwai
@ 2004-01-05 14:42 ` Markus Gaugusch
2004-01-05 14:50 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Markus Gaugusch @ 2004-01-05 14:42 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On Jan 5, Takashi Iwai <tiwai@suse.de> wrote:
> At Sun, 28 Dec 2003 20:47:07 +0100 (CET),
> Markus Gaugusch wrote:
> >
> > Hi,
> > The sonypi module uses IO Address 0x1080 - 0x1084B, which is in the range
> > of the via82xx sound driver (0x1000 - 0x10ff). Is it possible to exclude
> > the address range of the sonypi module in the via82xx driver? I'm pretty
> > sure that it isn't really used by ALSA :)
>
> check lspci -v whether the via chip requires really this whole
> region. in the via82xx driver, we reserve the area with 256 bytes,
> assuming that it's constant. if lspci shows a different value,
> i.e. 128 bytes, the driver should reserve the region according to the
> pci resource.
Unfortunately, the region is shown with 256 bytes:
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97
Audio Controller (rev 50)
Subsystem: Sony Corporation: Unknown device 80f6
Flags: medium devsel, IRQ 5
I/O ports at 1000 [size=256]
I/O ports at 1c54 [size=4]
I/O ports at 1c50 [size=4]
Is there any hope for a fix?
Markus
--
__________________ /"\
Markus Gaugusch \ / ASCII Ribbon Campaign
markus(at)gaugusch.at X Against HTML Mail
/ \
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SonyPI module and via82xx sound driver
2004-01-05 14:42 ` Markus Gaugusch
@ 2004-01-05 14:50 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-01-05 14:50 UTC (permalink / raw)
To: Markus Gaugusch; +Cc: alsa-devel
At Mon, 5 Jan 2004 15:42:02 +0100 (CET),
Markus Gaugusch wrote:
>
> On Jan 5, Takashi Iwai <tiwai@suse.de> wrote:
>
> > At Sun, 28 Dec 2003 20:47:07 +0100 (CET),
> > Markus Gaugusch wrote:
> > >
> > > Hi,
> > > The sonypi module uses IO Address 0x1080 - 0x1084B, which is in the range
> > > of the via82xx sound driver (0x1000 - 0x10ff). Is it possible to exclude
> > > the address range of the sonypi module in the via82xx driver? I'm pretty
> > > sure that it isn't really used by ALSA :)
> >
> > check lspci -v whether the via chip requires really this whole
> > region. in the via82xx driver, we reserve the area with 256 bytes,
> > assuming that it's constant. if lspci shows a different value,
> > i.e. 128 bytes, the driver should reserve the region according to the
> > pci resource.
> Unfortunately, the region is shown with 256 bytes:
> 00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97
> Audio Controller (rev 50)
> Subsystem: Sony Corporation: Unknown device 80f6
> Flags: medium devsel, IRQ 5
> I/O ports at 1000 [size=256]
> I/O ports at 1c54 [size=4]
> I/O ports at 1c50 [size=4]
>
> Is there any hope for a fix?
well, i think the only good way is to add a check of the pci
subsystem id and change the area size according to it.
oh, another hack...
(this driver already has two different hacks with subsystem id
checks.)
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SonyPI module and via82xx sound driver
2003-12-28 19:47 SonyPI module and via82xx sound driver Markus Gaugusch
2004-01-05 14:36 ` Takashi Iwai
@ 2004-01-05 15:00 ` Sergey Vlasov
1 sibling, 0 replies; 5+ messages in thread
From: Sergey Vlasov @ 2004-01-05 15:00 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
On Sun, Dec 28, 2003 at 08:47:07PM +0100, Markus Gaugusch wrote:
> The sonypi module uses IO Address 0x1080 - 0x1084B, which is in the range
> of the via82xx sound driver (0x1000 - 0x10ff). Is it possible to exclude
> the address range of the sonypi module in the via82xx driver? I'm pretty
> sure that it isn't really used by ALSA :)
Does the sonypi module really work on your machine if snd-via82xx is
not loaded? What is the exact machine model?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-01-05 15:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-28 19:47 SonyPI module and via82xx sound driver Markus Gaugusch
2004-01-05 14:36 ` Takashi Iwai
2004-01-05 14:42 ` Markus Gaugusch
2004-01-05 14:50 ` Takashi Iwai
2004-01-05 15:00 ` Sergey Vlasov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.