All of lore.kernel.org
 help / color / mirror / Atom feed
* snd-opti92x-ad1848 problems
@ 2003-03-20  8:52 Andrei Boros
  2003-03-21 13:04 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Boros @ 2003-03-20  8:52 UTC (permalink / raw)
  To: alsa-devel


 I finally got the modules to compile and work. make-3.79 gave me a
headache to install last night, but I got it in. 

 I built the snd-opti92x-ad848 module and attempted to use it:

isapnp configures the card as : 
gate:/lib/modules/2.2.24/misc# isapnp /etc/isapnp.conf
Board 1 has Identity 1f 08 00 00 00 24 09 14 3e:  OPT0924 Serial No
134217728 [checksum 1f]
OPT0924/134217728[0]{Pro Audio 16        }: Ports 0x220 0x130 0x380;
IRQ7 DMA0 DMA1 --- Enabled OK
OPT0924/134217728[1]{Game Port           }: Port 0x201; --- Enabled OK
OPT0924/134217728[2]{MPU401              }: Port 0x300; IRQ5 --- Enabled
OK
/etc/isapnp.conf:263 -- Warning - resource conflict allocating IRQ5 (see
/etc/isapnp.conf)
OPT0924/134217728[5]{OPT924              }: Port 0x30D; IRQ5 --- Enabled
OK

(with or without MPU401 enabled and that shared IRQ is the same. anyway,
I got no more spare irqs...)

a modprobe snd-opti92x-ad1848 gives Device or resource busy.
I tried to give it the parameters as isapnp=1, same.
I gave it all the parameters with all settings as set by isapnp tool,
same.
Then, on a hunch, I gave changed the port from 220 to 530 (as I
remembered this was the port it used to run on under windows as WSS)

I did: 
 modprobe snd-opti92x-ad1848 isapnp=1 port=0x220 mpu_port=0x300
fm_port=0x380 irq=7 mpu_irq=5 dma1=0

and the module loaded ok! 

I tried to play some sound file and I get :
# aplay daffy12.wav
Playing WAVE 'daffy12.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: pcm_write:1025: write error: Input/output error



-- 
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: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en

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

* Re: snd-opti92x-ad1848 problems
  2003-03-20  8:52 snd-opti92x-ad1848 problems Andrei Boros
@ 2003-03-21 13:04 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-03-21 13:04 UTC (permalink / raw)
  To: Andrei Boros; +Cc: alsa-devel

At Thu, 20 Mar 2003 10:52:18 +0200,
Andrei Boros wrote:
> 
> 
>  I finally got the modules to compile and work. make-3.79 gave me a
> headache to install last night, but I got it in. 
> 
>  I built the snd-opti92x-ad848 module and attempted to use it:
> 
> isapnp configures the card as : 
> gate:/lib/modules/2.2.24/misc# isapnp /etc/isapnp.conf
> Board 1 has Identity 1f 08 00 00 00 24 09 14 3e:  OPT0924 Serial No
> 134217728 [checksum 1f]
> OPT0924/134217728[0]{Pro Audio 16        }: Ports 0x220 0x130 0x380;
> IRQ7 DMA0 DMA1 --- Enabled OK
> OPT0924/134217728[1]{Game Port           }: Port 0x201; --- Enabled OK
> OPT0924/134217728[2]{MPU401              }: Port 0x300; IRQ5 --- Enabled
> OK
> /etc/isapnp.conf:263 -- Warning - resource conflict allocating IRQ5 (see
> /etc/isapnp.conf)
> OPT0924/134217728[5]{OPT924              }: Port 0x30D; IRQ5 --- Enabled
> OK
> 
> (with or without MPU401 enabled and that shared IRQ is the same. anyway,
> I got no more spare irqs...)
> 
> a modprobe snd-opti92x-ad1848 gives Device or resource busy.

please don't mix isapnp-tools and alsa modules.
alsa modules support the isapnp stuff natively.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2003-03-21 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20  8:52 snd-opti92x-ad1848 problems Andrei Boros
2003-03-21 13:04 ` 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.