All of lore.kernel.org
 help / color / mirror / Atom feed
* snd-opti92x-ad1848
@ 2003-10-15 10:07 Andrei Boros
  2003-10-15 10:16 ` snd-opti92x-ad1848 Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Boros @ 2003-10-15 10:07 UTC (permalink / raw)
  To: alsa-devel

 Attempting again at opti92x-ad1848 build from cvs tree taken today :

compilation goes well (all components of alsa).

./configure --with-isapnp=yes --with-sequencer=yes --with-oss=yes
--with-debug=detect --with-cards=cs46xx,opti92x-ad1848
make
make install
depmod -a
(depmod returns no unresolved symbols)

gate:~# modprobe snd-opti92x-ad1848
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_register_oss_device_Rddc5e1d2
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_info_register_Rfccceac3
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_unregister_oss_device_Rab87d9aa
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_info_create_module_entry_Rd13be217
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_ctl_register_ioctl_Rf18647ae
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_ctl_unregister_ioctl_R7ca01faa
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_unregister_device_R15d14211
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_device_new_R4b610fa9
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_register_device_Rb4cb86ab
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_info_unregister_Reeb79eb0
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_card_file_remove_Rcf50c6bd
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_card_file_add_Rbb7360e0
/lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
snd_info_free_entry_R1e9a962a
snd: Device or resource busy
snd-timer: Device or resource busy
snd-mpu401-uart: No such file or directory

File snd-mpu401-uart.o exists

>From the modules loaded, I see there is a snd-ac97-codec, but it makes
no sense, since the Opti924 is an old ISA card where ac97 didn't even
exist...



-- 
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: snd-opti92x-ad1848
  2003-10-15 10:07 snd-opti92x-ad1848 Andrei Boros
@ 2003-10-15 10:16 ` Takashi Iwai
       [not found]   ` <3F8D29F7.77623812@srr.ro>
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-10-15 10:16 UTC (permalink / raw)
  To: Andrei Boros; +Cc: alsa-devel

At Wed, 15 Oct 2003 13:07:22 +0300,
Andrei Boros wrote:
> 
>  Attempting again at opti92x-ad1848 build from cvs tree taken today :
> 
> compilation goes well (all components of alsa).
> 
> ./configure --with-isapnp=yes --with-sequencer=yes --with-oss=yes
> --with-debug=detect --with-cards=cs46xx,opti92x-ad1848
> make
> make install
> depmod -a
> (depmod returns no unresolved symbols)
> 
> gate:~# modprobe snd-opti92x-ad1848
> /lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
> snd_register_oss_device_Rddc5e1d2

there has been no change about the version symbols in the ALSA codes
for very long time.
did you run make clean ?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: snd-opti92x-ad1848
       [not found]   ` <3F8D29F7.77623812@srr.ro>
@ 2003-10-15 11:14     ` Takashi Iwai
  2003-10-16  6:48       ` snd-opti92x-ad1848 Andrei Boros
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-10-15 11:14 UTC (permalink / raw)
  To: Andrei Boros; +Cc: alsa-devel

At Wed, 15 Oct 2003 14:05:27 +0300,
Andrei Boros wrote:
> 
> 
> 
> Takashi Iwai wrote:
> > 
> > At Wed, 15 Oct 2003 13:07:22 +0300,
> > Andrei Boros wrote:
> > >
> > >  Attempting again at opti92x-ad1848 build from cvs tree taken today :
> > >
> > > compilation goes well (all components of alsa).
> > >
> > > ./configure --with-isapnp=yes --with-sequencer=yes --with-oss=yes
> > > --with-debug=detect --with-cards=cs46xx,opti92x-ad1848
> > > make
> > > make install
> > > depmod -a
> > > (depmod returns no unresolved symbols)
> > >
> > > gate:~# modprobe snd-opti92x-ad1848
> > > /lib/modules/2.2.24/misc/snd-hwdep.o: unresolved symbol
> > > snd_register_oss_device_Rddc5e1d2
> > 
> > there has been no change about the version symbols in the ALSA codes
> > for very long time.
> > did you run make clean ?
> 
> Actually I erased the entire alsa-driver, alsa-kernel and alsa-oss
> directories and get a fresh, clean copy with cvs just before I did the
> above.
> 
> Ok, I am rechecking my steps.
> - Delete alsa-driver, alsa-kernel, alsa-oss directories.
> - also /lib/modules/2.2.24/misc/snd*.o
> - getting latest with cvs
> - in alsa-driver, cvscompile. I stop it when it gets to the configure
> stage so I can give coonfigure my set of parameters.
> - make

unload all ALSA (and isapnp, pnp) modules before the following. 

> - make install
> - depmod -a 
> - modprobe ....
> 
> Odd, i get only one unresolved symbol now (now I also deleted alsa-oss,
> which i did not before.
> ok, here it is : 
> gate:~/install/alsa-cvs/alsa-driver# modprobe snd-opti92x-ad1848
> /lib/modules/2.2.24/misc/snd-opti92x-ad1848.o: unresolved symbol
> isapnp_resource_change_R09b965af
> snd: Device or resource busy

it must be the old isapnp module which wasn't unloaded.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: snd-opti92x-ad1848
  2003-10-15 11:14     ` snd-opti92x-ad1848 Takashi Iwai
@ 2003-10-16  6:48       ` Andrei Boros
  2003-10-17 11:17         ` snd-opti92x-ad1848 Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Boros @ 2003-10-16  6:48 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

 
> unload all ALSA (and isapnp, pnp) modules before the following.
> 
> it must be the old isapnp module which wasn't unloaded.
> 
I checked that no sound related modules are loaded. 
I removed snd*.o from the /lib/modules...
I did make install, depmod -a

My /etc/modules.conf reads : 
alias char-major-116            snd
options snd                     cards_limit=2
alias snd-card-0                snd-cs46xx
alias snd-card-1                snd-opti92x-ad1848
options snd-opti-92x-ad1848     index=1 isapnp=1 id="Opti924" port=0x220
irq=5 dma1=0 fm_port=0x388 mpu_port=0x300 mpu_irq=7

(i also have a hercules fortissimo 2, the cs46xx which works fine)

So now I am sure no sound related modules are loaded.
modprobe snd-opti92x-ad1848 says 
/lib/modules/2.2.24/misc/snd-opti92x-ad1848.o: unresolved symbol
isapnp_resource_change_R09b965af
snd: Device or resource busy

I see that snd-isapnp is not loaded

Again, I unload _all_ modules.
I do modprobe snd-isapnp by hand
dmesg

isapnp: Card 'OPTi Audio 16'
isapnp: 1 Plug & Play card detected total

below is the contents of /proc/isapnp

gate:~# modprobe snd-opti92x-ad1848
/lib/modules/2.2.24/misc/snd-opti92x-ad1848.o: init_module: Device or
resource busy
snd: Device or resource busy

I take a look at the /proc/isapnp and I see that the device did not get
enabled

At this point I am out of ideas...






Card 1 'OPT0924:OPTi Audio 16' PnP version 1.0
  Logical device 0 'OPT0000:Pro Audio 16'
    Device is not active
    Active port 0x220
    Resources 0
      Priority preferred
      Port 0x220-0x240, align 0x1f, size 0x10, 10-bit address decoding
      Port 0x130-0x3f0, align 0x3, size 0x8, 10-bit address decoding
    Resources 1
      Priority acceptable
      Port 0x380-0x380, align 0xf, size 0xc, 10-bit address decoding
      IRQ 5,7,10 High-Edge
      DMA 0,1,3 8-bit compatible
      Alternate resources 1:1
        Priority acceptable
        Port 0x380-0x3f0, align 0xf, size 0xc, 10-bit address decoding
        IRQ 5,7,2/9,10,11 High-Edge
        DMA 0,1,3 8-bit compatible
        DMA 0,1,3 8-bit compatible
  Logical device 1 'OPT0001:Game Port'
    Compatible device PNPb02f
    Device is not active
    Resources 0
      Priority acceptable
      Port 0x201-0x201, align 0x0, size 0x1, 10-bit address decoding
      Alternate resources 0:1
        Priority acceptable
        Port 0x100-0x3f0, align 0xf, size 0x2, 10-bit address decoding
  Logical device 2 'OPT0002:MPU401'
    Device is not active
    Active port 0x300
    Active IRQ 9 [0x2]
    Resources 0
      Priority preferred
      Port 0x300-0x330, align 0xf, size 0x2, 10-bit address decoding
      IRQ 5,7,2/9,10 High-Edge
  Logical device 3 'OPT0003:CD'
    Compatible device PNP0600
    Device is active
    Active port 0x376,0x170
    Active IRQ 15 [0x2]
    Resources 0
      Priority preferred
      IRQ 15 High-Edge
    Resources 1
      Priority acceptable
      Port 0x376-0x376, align 0xf, size 0x2, 10-bit address decoding
      Port 0x170-0x170, align 0xf, size 0x8, 10-bit address decoding
      Alternate resources 1:1
        Priority acceptable
        Port 0x376-0x3f6, align 0xf, size 0x2, 10-bit address decoding
        Port 0x170-0x3f0, align 0xf, size 0x8, 10-bit address decoding
  Logical device 4 'OPT0004:Modem'
    Compatible device PNP0500
    Device is not active
    Resources 0
      Priority preferred
      IRQ 3,4,5,7,2/9,10,11 High-Edge
    Resources 1
      Priority acceptable
      Port 0x2e8-0x2f8, align 0xf, size 0x8, 10-bit address decoding
      Alternate resources 1:1
        Priority acceptable
        Port 0x3e8-0x3f8, align 0xf, size 0x8, 10-bit address decoding
      Alternate resources 1:2
        Priority acceptable
        Port 0x100-0x3f0, align 0xf, size 0x8, 10-bit address decoding
  Logical device 5 'OPT0005:OPT924'
    Device is not active
    Active port 0x30d
    Resources 0
      Priority preferred
      Port 0x30d-0x3ed, align 0x1f, size 0x9, 10-bit address decoding
    Resources 1
      Priority acceptable
      IRQ 5,10,11 High-Edge




-- 
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: snd-opti92x-ad1848
  2003-10-16  6:48       ` snd-opti92x-ad1848 Andrei Boros
@ 2003-10-17 11:17         ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2003-10-17 11:17 UTC (permalink / raw)
  To: Andrei Boros; +Cc: alsa-devel

At Thu, 16 Oct 2003 09:48:02 +0300,
Andrei Boros wrote:
> 
>  
> > unload all ALSA (and isapnp, pnp) modules before the following.
> > 
> > it must be the old isapnp module which wasn't unloaded.
> > 
> I checked that no sound related modules are loaded. 
> I removed snd*.o from the /lib/modules...
> I did make install, depmod -a
> 
> My /etc/modules.conf reads : 
> alias char-major-116            snd
> options snd                     cards_limit=2
> alias snd-card-0                snd-cs46xx
> alias snd-card-1                snd-opti92x-ad1848
> options snd-opti-92x-ad1848     index=1 isapnp=1 id="Opti924" port=0x220
> irq=5 dma1=0 fm_port=0x388 mpu_port=0x300 mpu_irq=7
> 
> (i also have a hercules fortissimo 2, the cs46xx which works fine)
> 
> So now I am sure no sound related modules are loaded.
> modprobe snd-opti92x-ad1848 says 
> /lib/modules/2.2.24/misc/snd-opti92x-ad1848.o: unresolved symbol
> isapnp_resource_change_R09b965af
> snd: Device or resource busy
> 
> I see that snd-isapnp is not loaded
> 
> Again, I unload _all_ modules.
> I do modprobe snd-isapnp by hand
> dmesg
> 
> isapnp: Card 'OPTi Audio 16'
> isapnp: 1 Plug & Play card detected total
> 
> below is the contents of /proc/isapnp
> 
> gate:~# modprobe snd-opti92x-ad1848
> /lib/modules/2.2.24/misc/snd-opti92x-ad1848.o: init_module: Device or
> resource busy
> snd: Device or resource busy
> 
> I take a look at the /proc/isapnp and I see that the device did not get
> enabled

the devices are activated by the alsa driver.  so it's ok.
the problem is that the detection of device failed by some reason.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-17 11:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-15 10:07 snd-opti92x-ad1848 Andrei Boros
2003-10-15 10:16 ` snd-opti92x-ad1848 Takashi Iwai
     [not found]   ` <3F8D29F7.77623812@srr.ro>
2003-10-15 11:14     ` snd-opti92x-ad1848 Takashi Iwai
2003-10-16  6:48       ` snd-opti92x-ad1848 Andrei Boros
2003-10-17 11:17         ` snd-opti92x-ad1848 Takashi Iwai

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.