Is there any chance of getting my card to work?
I'm the guy with the Shark Predator ISA card, AD1816a-based.
It works with 0.5 and doesn't work with 0.9, and nobody's been able to help me so far...
In fact, has anyone been working on any AD1816a-based card at all? Is this just a chipset that nobody has?
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
At Mon, 11 Feb 2002 19:44:54 -0800 (PST),
Quoted 5 lines · Ken Arromdee
I'm the guy with the Shark Predator ISA card, AD1816a-based.
It works with 0.5 and doesn't work with 0.9, and nobody's been able to help me so far...
could you elaborate the symtom a bit more?
Quoted 2 lines
In fact, has anyone been working on any AD1816a-based card at all? Is this just a chipset that nobody has?
not sure on 0.9.0.
it would be appreciated if you help debugging.
ciao,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 4 lines · Takashi Iwai
Quoted 3 lines
I'm the guy with the Shark Predator ISA card, AD1816a-based.
It works with 0.5 and doesn't work with 0.9, and nobody's been able to help me so far...could you elaborate the symtom a bit more?
Yes.
Cutting and pasting from my earlier post:
My sound card is a Shark Predator ISA. It's pretty obscure (I had to send in a patch to get it recognized). It works fine in Alsa 0.5 with the ad1816a driver. It also works fine with oss.
I am running Mandrake 8, kernel 2.4.3-20mdk.
Using 0.9.0 beta 9, Alsa malfunctions in the following way:
-- If I go to alsamixer, I find that the sound gets louder the *lower* I set the volume, so it's loudest at 0 and can't be heard at all at 100. -- aplay <filename> only plays the first half second of the sound, which keeps repeating over and over. A couple of seconds later I get this error:
aplay: pcm_write:934: write error: Input/output error
The sound does not stop and keeps repeating until I actually stop Alsa.
I compiled the driver with debug; /var/log/messages shows this:
Nov 19 14:39:42 localhost kernel: ALSA pcm_lib.c:1864: playback write error (DMA or IRQ trouble?) Nov 19 14:39:52 localhost kernel: ALSA pcm_native.c:1250: playback drain error (
DMA or IRQ trouble?)
As far as I can tell, my DMA and IRQ settings are correct. The relevant settings from my /etc/modules.conf are:
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-card-ad1816a
options snd-card-ad1816a snd_port=0x500 snd_mpu_port=0x300 snd_fm_port=0x388
snd_irq=5 snd_mpu_irq=7 snd_dma1=1 snd_dma2=0
[The same settings work in alsa 0.5. Someone later suggested that I use port 220 instead of 500. That didn't help. Either 220 or 500 works in Alsa 0.5. Taking out the options and letting PNP set up the card didn't help either.]
Here is my /proc/isapnp.
Card 1 'SMM7180:Predator 3D' PnP version 1.0 Product version 2.0
Logical device 0 'ADS7180:Unknown'
Supported registers 0x2
Device is active
Active port 0x220,0x388,0x500
Active IRQ 5 [0x2]
Active DMA 1,0
Resources 0
Priority preferred
Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding
Port 0x500-0x560, align 0xf, size 0x10, 16-bit address decoding
IRQ 5,7 High-Edge
DMA 1 8-bit byte-count type-A
DMA 0,1,3 8-bit byte-count type-A
Alternate resources 0:1
Priority acceptable
Port 0x220-0x240, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding
Port 0x500-0x560, align 0xf, size 0x10, 16-bit address decoding
IRQ 5,7,10 High-Edge
DMA 0,1,3 8-bit byte-count type-A
DMA 0,1,3 8-bit byte-count type-A
Alternate resources 0:2
Priority acceptable
Port 0x220-0x2e0, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x3b8, align 0x7, size 0x4, 16-bit address decoding
Port 0x500-0x560, align 0xf, size 0x10, 16-bit address decoding
IRQ 3,4,5,7,2/9,10,15 High-Edge
DMA 0,1,3 8-bit byte-count type-A
DMA 0,1,3 8-bit byte-count type-A
Alternate resources 0:3
Priority functional
Port 0x220-0x2e0, align 0x1f, size 0x10, 16-bit address decoding
Port 0x388-0x3b8, align 0x7, size 0x4, 16-bit address decoding
Port 0x500-0x560, align 0xf, size 0x10, 16-bit address decoding
IRQ 3,4,5,7,2/9,10,15 High-Edge
DMA 0,1,3 8-bit byte-count type-A
DMA <none> 8-bit byte-count type-A
Logical device 1 'ADS7181:Unknown'
Supported registers 0x2
Compatible device PNPb006
Device is active
Active port 0x300
Active IRQ 7 [0x2]
Resources 0
Priority preferred
Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
IRQ 5,7,2/9 High-Edge
Alternate resources 0:1
Priority acceptable
Port 0x300-0x420, align 0x2f, size 0x2, 16-bit address decoding
IRQ 3,4,5,7,2/9,10,15 High-Edge
Logical device 2 'ADS7182:Unknown'
Supported registers 0x2
Compatible device PNPb02f
Device is not active
Resources 0
Priority preferred
Port 0x200-0x200, align 0x7, size 0x8, 16-bit address decoding
Alternate resources 0:1
Priority acceptable
Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
Logical device 3 'ADS7100:Unknown'
Supported registers 0x2
Device is not active
Resources 0
Priority preferred
Port 0x290-0x2c0, align 0x7, size 0x8, 16-bit address decoding_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Hi Ken,
At Tue, 12 Feb 2002 08:14:50 -0800 (PST),
Quoted 15 lines · Ken Arromdee
Quoted 4 lines · Takashi Iwai
Quoted 3 lines
I'm the guy with the Shark Predator ISA card, AD1816a-based.
It works with 0.5 and doesn't work with 0.9, and nobody's been able to help me so far...could you elaborate the symtom a bit more?
Yes.
Cutting and pasting from my earlier post:
My sound card is a Shark Predator ISA. It's pretty obscure (I had to send in a patch to get it recognized). It works fine in Alsa 0.5 with the ad1816a driver. It also works fine with oss.
Quoted 5 lines
I am running Mandrake 8, kernel 2.4.3-20mdk.
Using 0.9.0 beta 9, Alsa malfunctions in the following way:
-- If I go to alsamixer, I find that the sound gets louder the *lower* I set the volume, so it's loudest at 0 and can't be heard at all at 100.
Ok, I found it.
Quoted 9 lines
-- aplay <filename> only plays the first half second of the sound, which keeps repeating over and over. A couple of seconds later I get this error:
aplay: pcm_write:934: write error: Input/output error
The sound does not stop and keeps repeating until I actually stop Alsa. I compiled the driver with debug;/var/log/messagesshows this:Nov 19 14:39:42 localhost kernel: ALSA pcm_lib.c:1864: playback write error (DMA or IRQ trouble?) Nov 19 14:39:52 localhost kernel: ALSA pcm_native.c:1250: playback drain error (DMA or IRQ trouble?)
I think I got this too.
Now the fixes are committed to cvs.
Could you try the cvs version?
ciao,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 2 lines · Takashi Iwai
Now the fixes are committed to cvs.
Could you try the cvs version?
Thanks! Finally after all this time it works... almost... I still have some problems.
If I play a sound file (.wav in this case) using aplay, the file plays, but when it finishes I get an extra repeated bit of sound, just a fraction of a second long.
Also, when I do "playmidi -e", it plays for the right length of time and gives no error messages, but produces no sound. I have a midi daughterboard attached to my card; it worked fine in Alsa 0.5 and it works in Windows 98. "playmidi -f" *does* work, but that's FM.
I have no idea whether midi not working is because oss emulation isn't working or whether it's not working even just in Alsa. I have no Alsa midi player that I can test. (There's a program in alsa-driver/test/playmidi1, but that just tells me "This player does not support merging of tracks.")
I did try putting a debug snd_printk in there and it is telling me that the MPU port is 0x300 and the IRQ is 9, which seems correct. cat /proc/isapnp tells me that the device ADS7181 with port 0x300 and IRQ 9 is active. cat /proc/interrupts shows IRQ 9 in use by "MPU401 UART", and cat /proc/ioports shows me "0300-0301 : MPU401 UART", which all seems okay.
The following is my /etc/modules.conf:
# ALSA native
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-card-0 snd-ad1816a
# OSS/Free emulation
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
At Tue, 12 Feb 2002 19:24:08 -0800 (PST),
Quoted 11 lines · Ken Arromdee
Quoted 2 lines · Takashi Iwai
Now the fixes are committed to cvs.
Could you try the cvs version?Thanks! Finally after all this time it works... almost... I still have some problems.
If I play a sound file (.wav in this case) using aplay, the file plays, but when it finishes I get an extra repeated bit of sound, just a fraction of a second long.
hmm, i don't figure out this yet.
Quoted 9 lines
Also, when I do "playmidi -e", it plays for the right length of time and gives no error messages, but produces no sound. I have a midi daughterboard attached to my card; it worked fine in Alsa 0.5 and it works in Windows 98. "playmidi -f" *does* work, but that's FM.
I have no idea whether midi not working is because oss emulation isn't working or whether it's not working even just in Alsa. I have no Alsa midi player that I can test. (There's a program in alsa-driver/test/playmidi1, but that just tells me "This player does not support merging of tracks.")
please check /proc/asound/card/0/midi0 whether the status is changed during playback.
(i suppose that your daughterboard is connected mpu401.) also you should check the counter in /proc/interrupts and whether irq 9 (for mpu401) is really generated.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 4 lines · Takashi Iwai
Quoted 3 lines
If I play a sound file (.wav in this case) using aplay, the file plays, but when it finishes I get an extra repeated bit of sound, just a fraction of a second long.
hmm, i don't figure out this yet.
I tried regular "play" (the one with sox). It worked and didn't give me the problem. Only aplay does that. I wonder if the ad1816a driver is really okay and it's just aplay that's wrong.
Quoted 10 lines
Quoted 8 lines
Also, when I do "playmidi -e", it plays for the right length of time and gives no error messages, but produces no sound. I have a midi daughterboard attached to my card; it worked fine in Alsa 0.5 and it works in Windows 98. "playmidi -f" *does* work, but that's FM.
I have no idea whether midi not working is because oss emulation isn't working or whether it's not working even just in Alsa. I have no Alsa midi player that I can test. (There's a program in alsa-driver/test/playmidi1, but that just tells me "This player does not support merging of tracks.")please check
/proc/asound/card/0/midi0whether the status is changed during playback.
The status is not changed during playback and it still says Tx bytes :0.
Where's the simplest Alsa midi player I can get?
Quoted 3 lines
(i suppose that your daughterboard is connected mpu401.) also you should check the counter in
/proc/interruptsand whether irq 9 (for mpu401) is really generated.
9: 1 XT-PIC MPU401 UART
The number goes up by 1 every time I stop and restart Alsa.
Somehow, playmidi -e just started working right now, for no reason at all. I didn't do anything unusual. It continued working until I stopped Alsa and started it again, and then it stopped working again. I can't get it to work any more.
When it was working the number in /proc/asound/card0/midi0 went up a lot. The number in /proc/interrupts didn't go up. I think that there are only supposed to be interrupts for input, not for output, so this is probably right.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel