All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Adam Belay <ambx1@neo.rr.com>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>,
	perex@suse.cz, alsa-devel@alsa-project.org
Subject: Re: 2.5.73: ALSA ISA pnp_init_resource_table compile errors
Date: Fri, 4 Jul 2003 14:11:24 +0200	[thread overview]
Message-ID: <20030704121124.GB12633@fs.tum.de> (raw)
In-Reply-To: <20030703190304.GA17707@neo.rr.com>

On Thu, Jul 03, 2003 at 07:03:04PM +0000, Adam Belay wrote:
> On Thu, Jul 03, 2003 at 04:53:43AM +0200, Adrian Bunk wrote:
> > I don't know whether it's related, but with 2.5.73 + your patch and
> > 2.5.74 my soundcard stopped working (driver compiled statically into
> > the kernel, no options given).
> >
> > >From dmesg:
> > 
> > 2.5.74:
> > 
> > <--  snip  -->
> > 
> > Advanced Linux Sound Architecture DriverVersion 0.9.4 (Mon Jun 09 12:01:18 2003 UTC).
> > specify port
> > pnp: the driver 'ad1816a' has been registered
> > pnp: match found with the PnP device '01:01.00'and the driver 'ad1816a'
> > pnp: match found with the PnP device '01:01.01'and the driver 'ad1816a'
> > ad1816a: AUDIO the requested resources areinvalid, using auto config
> > pnp: Unable to assign resources to device 01:01.00
> > ALSA device list:
> >   No soundcards found.
> > 
> > <--  snip  -->
> > 
> > 
> > 2.5.72 (soundcard works):
> > 
> > 
> > <--  snip  -->
> > 
> > Advanced Linux Sound Architecture DriverVersion 0.9.4 (Mon Jun 09 12:01:18 2003 UTC).
> > specify port
> > pnp: the driver 'ad1816a' has been registered
> > pnp: match found with the PnP device '01:01.00'and the driver 'ad1816a'Jul  3 04:37:42 r063144 kernel: pnp: match found with the PnP device '01:01.01'and the driver 'ad1816a'
> > pnp: res: the device '01:01.00' has been activated.
> > pnp: res: the device '01:01.01' has been activated.
> > ALSA device list:
> >   #0: ADI SoundPort AD1816A soundcard, SS at0x530, irq 5, dma 1&3
> >
> > <--  snip  -->
> 
> Hi,

Hi Adam,

> Some of my recent patches may correct this issue.  If not, it may be
> an unresolvable resource conflict.  Try catting

the dmesg output looks better, but it still doesn't work:

<--  snip  -->

Advanced Linux Sound Architecture Driver Version 0.9.4 (Mon Jun 09 12:01:18 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16specify port
pnp: the driver 'ad1816a' has been registered
pnp: match found with the PnP device '01:01.00' and the driver 'ad1816a'
pnp: match found with the PnP device '01:01.01' and the driver 'ad1816a'
pnp: Device 01:01.00 activated.
pnp: Device 01:01.01 activated.
ALSA device list:
  No soundcards found.

<--  snip  -->

This problem is hopefully not unresolvable, the card works fine 
with ISAPNP with both kernel 2.4 and kernel 2.5 <= 2.5.72 .

> /sys/bus/pnp1/devices/01:01.00/options and see if any of the needed
> irqs are available, most importantly irq 5.

<--  snip  -->

# cat /sys/bus/pnp/devices/01\:01.01/options 
Dependent: 01 - Priority preferred
   port 0x330-0x330, align 0xf, size 0x2, 16-bit address decoding
   irq 2/9 High-Edge
Dependent: 02 - Priority acceptable
   port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
   irq 2/9 High-Edge
Dependent: 03 - Priority functional
   port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
   irq 2/9,10,11,15 High-Edge
# cat /proc/interrupts 
           CPU0       
  0:     305721          XT-PIC  timer
  1:       3302          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          4          XT-PIC  rtc
 10:       2035          XT-PIC  eth0
 12:       5530          XT-PIC  i8042
 14:       7828          XT-PIC  ide0
 15:         25          XT-PIC  ide1
NMI:          0 
ERR:          0
# 

<--  snip  -->

> Also the 'resources' file can be used to configure the device.
> try...
> #"clear" > resources
> #"activate" > resources
> 
> A printk will display if it was successful.

<--  snip  -->

# cat /sys/bus/pnp/devices/01\:01.01/resources 
state = active
io 0x330-0x331
irq 9
# echo "clear" > /sys/bus/pnp/devices/01\:01.01/resources 
# cat /sys/bus/pnp/devices/01\:01.01/resources 
state = active
io 0x330-0x331
irq 9
# 

<--  snip  -->

> Let me know if this works.

Unfortunately not.  :-(

> Thanks,
> Adam
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2003-07-04 11:57 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-22 18:53 Linux 2.5.73 Linus Torvalds
2003-06-22 20:06 ` Alex Goddard
2003-06-22 20:15   ` Andrew Morton
2003-06-22 22:53     ` Greg KH
2003-06-22 23:31       ` Andrew Morton
2003-06-22 20:46 ` Florin Iucha
2003-06-22 21:17   ` Alex Goddard
2003-06-22 21:45     ` Alex Goddard
2003-06-22 21:58     ` Alex Goddard
2003-06-23  2:52       ` Greg KH
2003-06-22 23:44 ` 2.5.73: ALSA ISA pnp_init_resource_table compile errors Adrian Bunk
2003-06-23  0:08   ` Adam Belay
2003-07-03  2:53     ` Adrian Bunk
2003-07-03 19:03       ` Adam Belay
2003-07-04 12:11         ` Adrian Bunk [this message]
2003-07-15 22:47           ` Adam Belay
2003-07-16 18:22             ` Adrian Bunk
2003-07-16 18:43               ` Adam Belay
2003-07-19 22:03                 ` Adrian Bunk
2003-07-20  5:59                 ` Jochen Hein
2003-08-09 20:40                 ` Adrian Bunk
2003-06-23  0:31 ` 2.5.73: acorn.c compile error Adrian Bunk
2003-06-23 10:13 ` Linux 2.5.73 - Won't compile using oldconfig - config attached vlad
2003-07-02 14:31   ` John Covici
2003-07-02 16:38     ` Greg KH
2003-06-23 20:32 ` Linux 2.5.73 - keyboard failure, repost no. 3 Terje Fåberg
2003-06-26 20:45   ` Vojtech Pavlik
2003-06-27 14:22     ` Terje Fåberg
2003-06-27 19:03       ` Vojtech Pavlik
2003-06-28  9:11         ` Terje Fåberg
2003-06-28  9:37           ` Vojtech Pavlik
2003-06-28 11:40             ` Terje Fåberg

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=20030704121124.GB12633@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ambx1@neo.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /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 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.