[Alsa-devel] SonyPI module and via82xx sound driver

2003-12-28 Thread Markus Gaugusch
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
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] SonyPI module and via82xx sound driver

2004-01-05 Thread Takashi Iwai
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
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] SonyPI module and via82xx sound driver

2004-01-05 Thread Markus Gaugusch
On Jan 5, Takashi Iwai <[EMAIL PROTECTED]> 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
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] SonyPI module and via82xx sound driver

2004-01-05 Thread Takashi Iwai
At Mon, 5 Jan 2004 15:42:02 +0100 (CET),
Markus Gaugusch wrote:
> 
> On Jan 5, Takashi Iwai <[EMAIL PROTECTED]> 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
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] SonyPI module and via82xx sound driver

2004-01-05 Thread Sergey Vlasov
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?


pgp0.pgp
Description: PGP signature