Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Rask Ingemann Lambertsen <rask@sygehus.dk>
Cc: Adam Belay <ambx1@neo.rr.com>, alsa-devel@alsa-project.org
Subject: Re: [PATCH] PnP: Protocol for Media Vision Jazz16 sound cards
Date: Fri, 20 Apr 2007 19:27:25 +0200	[thread overview]
Message-ID: <4628F7FD.7000808@gmail.com> (raw)
In-Reply-To: <20070412195523.GC5324@sygehus.dk>

On 04/12/2007 09:55 PM, Rask Ingemann Lambertsen wrote:

>  - Add code to detect and PnP protocol to manage Media Vision Jazz16 sound
>    cards.
> 
> Tested with a Jazz16 based sound card and Linux 2.6.20.6.

Just got around to giving this a spin again and unfortunately the preffered 
options code isn't working for me:

rene@5bt1:~$ cat /sys/bus/pnp/devices/02\:01/options
Dependent: 01 - Priority preferred
    port 0x220-0x220, align 0x0, size 0x10, 10-bit address decoding
    port 0x330-0x330, align 0x0, size 0x2, 10-bit address decoding
    port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
    irq 5 High-Edge
    irq 2/9 High-Edge
    dma 1 8-bit compatible
Dependent: 02 - Priority acceptable
    port 0x210-0x260, align 0xf, size 0x10, 10-bit address decoding
    port 0x300-0x330, align 0xf, size 0x2, 10-bit address decoding
    port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
    irq 3,5,7,2/9,10,15 High-Edge
    irq 3,5,7,2/9,10,15 High-Edge
    dma 1,3,5,7 8-bit&16-bit compatible
Dependent: 03 - Priority acceptable
    port 0x210-0x260, align 0xf, size 0x10, 10-bit address decoding
    port 0x300-0x330, align 0xf, size 0x2, 10-bit address decoding
    port 0x388-0x388, align 0x0, size 0x4, 10-bit address decoding
    irq 3,5,7,2/9,10,15 High-Edge
    dma 1,3,5,7 8-bit&16-bit compatible
rene@5bt1:~$ cat /sys/bus/pnp/devices/02\:01/resources
state = disabled
rene@5bt1:~$ su -c "modprobe snd-jazz16"
rene@5bt1:~$ cat /sys/bus/pnp/devices/02\:01/resources
state = active
io 0x210-0x21f
io 0x300-0x301
io 0x388-0x38b
irq 5
irq 7
dma 1

Ports 210 and 300 are first from the acceptables, not the preferreds and the 
irq 7 is also not preffered for MPU. Yes, ports 220, 330 and irq 9 are free.

Looking back through what I sent earlier, I see I sent you a wrong patch 
then so I'm not sure anymore what I tested and I don't have time to look at 
it now. Thought I'd let you know though.

Rene.

       reply	other threads:[~2007-04-20 17:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070412195523.GC5324@sygehus.dk>
2007-04-20 17:27 ` Rene Herman [this message]
2007-04-20 20:00   ` [PATCH] PnP: Protocol for Media Vision Jazz16 sound cards Rask Ingemann Lambertsen
2007-04-22 16:27     ` Rene Herman
2007-04-23 18:52       ` Rask Ingemann Lambertsen
2007-04-26 12:55         ` Rene Herman
2007-04-26 13:00           ` Takashi Iwai
2007-04-26 15:11             ` Rene Herman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4628F7FD.7000808@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=ambx1@neo.rr.com \
    --cc=rask@sygehus.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox