Updated: via8233 driver -- testers wanted
Hi,
I've exectly the same problem. When I use "cat /usr/kde/3/hare/sounds/pop.wav
Quoted 1 line
/dev/dsp", I get a I/O write error. The only thing that works is playing a
CD, I can mute/unmute, set the volume via alsamixer etc. Bye,
Niek.
Quoted 24 lines · René Kermis
Hi,
I can't get the driver (cvs-version 1.18) running on a VT8233A (EPoX 8K3A+). I get the following error when trying to play a sound file with aplay:
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain)
SNDRV_PCM_IOCTL_DRAINfailed:
Input/Output errordmesg-output:
ALSA
../alsa-kernel/core/pcm_lib.c:1871: playback write error (DMA or IRQ trouble?)
...
ALSA../alsa-kernel/core/pcm_native.c:1093: playback drain error (DMA or IRQ trouble?)Any suggestions?
René_______________________________________________________________
Quoted 7 lines
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Hi,
I can't get the driver (cvs-version 1.18) running on a VT8233A (EPoX 8K3A+). I get the following error when trying to play a sound file with aplay:
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed:
Input/Output error
dmesg-output:
ALSA ../alsa-kernel/core/pcm_lib.c:1871: playback write error (DMA or IRQ trouble?)
...
ALSA ../alsa-kernel/core/pcm_native.c:1093: playback drain error (DMA or IRQ trouble?)
Any suggestions?
René
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Quoted 8 lines · Takashi Iwai
it seems like no interrupts are generated during playback. could you check whether the status in
/proc/interruptsis changed during playback?also, could you check whether capture works? capture uses a different SGD, so it might work individually from playback.
Quoted 7 lines
(BTW, CD and line-ine can be heard without problems, since they are
routed directly throught ac97, so no sound engine is needed.)thanks,
Takashi
Hi Takashi,
I tried it, and here are the results:
Before playing:
tussen root # cat /proc/interrupts
CPU0
0: 3875633 XT-PIC timer 1: 6924 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305308 XT-PIC PS/2 Mouse 14: 60038 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3875608 ERR: 4810 MIS: 0
Start playing file:
tussen root # aplay /usr/kde/3/share/sounds/pop.wav
Playing WAVE '/usr/kde/3/share/sounds/pop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed:
Input/output error
While playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3882996 XT-PIC timer 1: 6940 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305536 XT-PIC PS/2 Mouse 14: 60050 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3882972 ERR: 4810 MIS: 0
After playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3892526 XT-PIC timer 1: 6950 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305744 XT-PIC PS/2 Mouse 14: 60074 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3892501 ERR: 4810
How can I test the capture? Do you mean that I have to plug in a microphone and record a sound or so?
Thanks,
Niek.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Hi all,
At Fri, 31 May 2002 10:51:35 +0200,
Quoted 9 lines · René Kermis
Hi,
I can't get the driver (cvs-version 1.18) running on a VT8233A (EPoX 8K3A+). I get the following error when trying to play a sound file with aplay:
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain)
SNDRV_PCM_IOCTL_DRAINfailed:
Input/Output error
Quoted 7 lines
dmesg-output:
ALSA
../alsa-kernel/core/pcm_lib.c:1871: playback write error (DMA or IRQ trouble?)
...
ALSA../alsa-kernel/core/pcm_native.c:1093: playback drain error (DMA or IRQ trouble?)
it seems like no interrupts are generated during playback. could you check whether the status in /proc/interrupts is changed during playback?
also, could you check whether capture works? capture uses a different SGD, so it might work individually from playback.
(BTW, CD and line-ine can be heard without problems, since they are
routed directly throught ac97, so no sound engine is needed.)
thanks,
Takashi
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Hi,
I tried to to record from mic and line in. I have no problems with recording, but the file is empty.
Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the evaluation version and removed the modules from memory and reloaded your modules. Now I can playback sounds without getting an error, but the sound is too fast, exactly 2x faster than it should be. Is it possible, that it is only an initialization problem of the sound chip?
René
----- Original Message -----
From: "Niek van der Maas" <[email protected]>
To: <[email protected]>
Sent: Friday, May 31, 2002 12:36 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
Quoted 8 lines · Takashi Iwai
it seems like no interrupts are generated during playback. could you check whether the status in
/proc/interruptsis changed during playback?also, could you check whether capture works? capture uses a different SGD, so it might work individually from playback.
Quoted 7 lines
(BTW, CD and line-ine can be heard without problems, since they are
routed directly throught ac97, so no sound engine is needed.)thanks,
Takashi
Hi Takashi,
I tried it, and here are the results:
Before playing:
tussen root # cat /proc/interrupts
CPU0
0: 3875633 XT-PIC timer 1: 6924 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305308 XT-PIC PS/2 Mouse 14: 60038 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3875608 ERR: 4810 MIS: 0
Start playing file:
tussen root # aplay /usr/kde/3/share/sounds/pop.wav
Playing WAVE '/usr/kde/3/share/sounds/pop.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Mono
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed:
Input/output error
While playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3882996 XT-PIC timer 1: 6940 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305536 XT-PIC PS/2 Mouse 14: 60050 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3882972 ERR: 4810 MIS: 0
After playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3892526 XT-PIC timer 1: 6950 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305744 XT-PIC PS/2 Mouse 14: 60074 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3892501 ERR: 4810
How can I test the capture? Do you mean that I have to plug in a microphone and record a sound or so?
Thanks,
Niek.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Sorry,
forgot to mention, that I cannot check the status of the interrupt, because there are other devices on the same interrupt (NIC and SCSI-adapter). I could not find an option in my bios to give the audio chip an own interrupt.
CPU0
0: 1551713 XT-PIC timer 1: 6143 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 11: 814617 XT-PIC AM53C974, eth0, VIA8233 12: 35795 XT-PIC hpt37x2 NMI: 0 LOC: 1551630 ERR: 272 MIS: 0
René
----- Original Message -----
From: "Niek van der Maas" <[email protected]>
To: <[email protected]>
Sent: Friday, May 31, 2002 12:36 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
Quoted 8 lines · Takashi Iwai
it seems like no interrupts are generated during playback. could you check whether the status in
/proc/interruptsis changed during playback?also, could you check whether capture works? capture uses a different SGD, so it might work individually from playback.
Quoted 7 lines
(BTW, CD and line-ine can be heard without problems, since they are
routed directly throught ac97, so no sound engine is needed.)thanks,
Takashi
Hi Takashi,
I tried it, and here are the results:
Before playing:
tussen root # cat /proc/interrupts
CPU0
0: 3875633 XT-PIC timer 1: 6924 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305308 XT-PIC PS/2 Mouse 14: 60038 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3875608 ERR: 4810 MIS: 0
Start playing file:
tussen root # aplay /usr/kde/3/share/sounds/pop.wav
Playing WAVE '/usr/kde/3/share/sounds/pop.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Mono
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed:
Input/output error
While playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3882996 XT-PIC timer 1: 6940 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305536 XT-PIC PS/2 Mouse 14: 60050 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3882972 ERR: 4810 MIS: 0
After playing file:
tussen root # cat /proc/interrupts
CPU0
0: 3892526 XT-PIC timer 1: 6950 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305744 XT-PIC PS/2 Mouse 14: 60074 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3892501 ERR: 4810
How can I test the capture? Do you mean that I have to plug in a microphone and record a sound or so?
Thanks,
Niek.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
YES!!!!!!
I downloaded revision 1.19 of the via8233.c file, and it works!!! Really great work!
Takashi, thanks a lot for writing this driver!
Greetings,
Niek.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
I tried to measure the interrupts. Here are the results:
If I don't play sounds, I have about 1 interrupt/sec on interrupt 11. If I play a mp3 with mpg321 (44,1kHz, 16bit), I get about 1375 interrupts/sec.
All values are measured after initializing the chip with oss-module, removing it from memory and reloading alsa-module. If I don't load the oss-module before and remove it, there are no interrupts used.
René
----- Original Message -----
From: "René Kermis" <[email protected]>
To: <[email protected]>
Sent: Friday, May 31, 2002 2:33 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
Quoted 3 lines
Sorry,
forgot to mention, that I cannot check the status of the interrupt,
because
Quoted 2 lines
there are other devices on the same interrupt (NIC and SCSI-adapter). I could not find an option in my bios to give the audio chip an own
interrupt.
Quoted 102 lines
CPU0
0: 1551713 XT-PIC timer 1: 6143 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 11: 814617 XT-PIC AM53C974, eth0, VIA8233 12: 35795 XT-PIC hpt37x2 NMI: 0 LOC: 1551630 ERR: 272 MIS: 0René
----- Original Message -----
From: "Niek van der Maas" <[email protected]>
To: <[email protected]>
Sent: Friday, May 31, 2002 12:36 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wantedQuoted 8 lines · Takashi Iwai
it seems like no interrupts are generated during playback. could you check whether the status in
/proc/interruptsis changed during playback?also, could you check whether capture works? capture uses a different SGD, so it might work individually from playback.
Quoted 7 lines
(BTW, CD and line-ine can be heard without problems, since they are
routed directly throught ac97, so no sound engine is needed.)thanks,
Takashi
Hi Takashi,
I tried it, and here are the results:
Before playing:
tussen root # cat/proc/interrupts
CPU00: 3875633 XT-PIC timer 1: 6924 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305308 XT-PIC PS/2 Mouse 14: 60038 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3875608 ERR: 4810 MIS: 0Start playing file:
tussen root # aplay/usr/kde/3/share/sounds/pop.wav
Playing WAVE '/usr/kde/3/share/sounds/pop.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Mono
ALSA lib pcm_hw.c:413:(snd_pcm_hw_drain)SNDRV_PCM_IOCTL_DRAINfailed:
Input/output errorWhile playing file:
tussen root # cat/proc/interrupts
CPU00: 3882996 XT-PIC timer 1: 6940 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305536 XT-PIC PS/2 Mouse 14: 60050 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3882972 ERR: 4810 MIS: 0After playing file:
tussen root # cat/proc/interrupts
CPU00: 3892526 XT-PIC timer 1: 6950 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 21629 XT-PIC usb-uhci, usb-uhci, eth0 9: 0 XT-PIC acpi 11: 0 XT-PIC VIA8233 12: 305744 XT-PIC PS/2 Mouse 14: 60074 XT-PIC ide0 15: 45 XT-PIC ide1 NMI: 0 LOC: 3892501 ERR: 4810
Quoted 1 line
How can I test the capture? Do you mean that I have to plug in a
microphone
Quoted 20 lines
and record a sound or so?
Thanks,
Niek.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel_______________________________________________________________
Quoted 8 lines
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
At Fri, 31 May 2002 14:13:28 +0200,
Quoted 5 lines · René Kermis
Hi,
I tried to to record from mic and line in. I have no problems with recording, but the file is empty.
ok, then at least interrupts for capture work well.
Quoted 6 lines
Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the evaluation version and removed the modules from memory and reloaded your modules. Now I can playback sounds without getting an error, but the sound is too fast, exactly 2x faster than it should be. Is it possible, that it is only an initialization problem of the sound chip?
interesting.
that imples, yes, that the initialization of playback channel is incorrect.
Takashi
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Hi,
At Fri, 31 May 2002 14:13:28 +0200,
Quoted 6 lines · René Kermis
Hi,
I tried to to record from mic and line in. I have no problems with recording, but the file is empty.
Quoted 6 lines
Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the evaluation version and removed the modules from memory and reloaded your modules. Now I can playback sounds without getting an error, but the sound is too fast, exactly 2x faster than it should be. Is it possible, that it is only an initialization problem of the sound chip?
now found out obvious typos - patch attached (already on cvs). hopefull this fixes the problem...
Takashi
Congratulations!!!
It's running, I have many unresolved symbols, but that does not matter, the card runs without trouble, quality is better than from commerical oss-module. I don't hear a difference to my SB 128 PCI with es1370. Now I will try to use the recording function.
Thank you very much!
René
----- Original Message -----
From: "Takashi Iwai" <[email protected]>
To: "René Kermis" <[email protected]>
Cc: <[email protected]>
Sent: Friday, May 31, 2002 3:31 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
Quoted 13 lines
Hi,
At Fri, 31 May 2002 14:13:28 +0200,
Quoted 9 lines · René Kermis
Hi,
I tried to to record from mic and line in. I have no problems with recording, but the file is empty.
Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the evaluation version and removed the modules from memory and reloaded your modules.
Now I
Quoted 10 lines
Quoted 3 lines
can playback sounds without getting an error, but the sound is too fast, exactly 2x faster than it should be. Is it possible, that it is only an initialization problem of the sound chip?
now found out obvious typos - patch attached (already on cvs). hopefull this fixes the problem...
Takashi
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Hi,
I tested the recording function, no problems, I can record via mic and line in.
Perfect work!!!
Thanks a lot,
René
----- Original Message -----
From: "René Kermis" <[email protected]>
To: "Takashi Iwai" <[email protected]>
Cc: <[email protected]>
Sent: Friday, May 31, 2002 3:50 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
Quoted 3 lines
Congratulations!!!
It's running, I have many unresolved symbols, but that does not matter,
the
Quoted 7 lines
card runs without trouble, quality is better than from commerical oss-module. I don't hear a difference to my SB 128 PCI with es1370. Now I will try to use the recording function.
Thank you very much!
René
Quoted 20 lines
----- Original Message -----
From: "Takashi Iwai" <[email protected]>
To: "René Kermis" <[email protected]>
Cc: <[email protected]>
Sent: Friday, May 31, 2002 3:31 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wantedQuoted 12 lines
Hi,
At Fri, 31 May 2002 14:13:28 +0200,
Quoted 8 lines · René Kermis
Hi,
I tried to to record from mic and line in. I have no problems with recording, but the file is empty.
Some very strange things happend on my machine. I tried to use the oss module and it worked without problems. Then I uninstalled the
evaluation
Quoted 3 lines
Quoted 1 line
Quoted 1 line
version and removed the modules from memory and reloaded your modules.
Now I
Quoted 1 line
Quoted 1 line
can playback sounds without getting an error, but the sound is too
fast,
Quoted 1 line
Quoted 1 line
Quoted 1 line
exactly 2x faster than it should be. Is it possible, that it is only
an
Quoted 12 lines
Quoted 8 lines
Quoted 1 line
initialization problem of the sound chip?
now found out obvious typos - patch attached (already on cvs). hopefull this fixes the problem...
Takashi
_______________________________________________________________
Quoted 8 lines
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Quoted 3 lines
I downloaded revision 1.19 of the
via8233.cfile, and it works!!! Really great work!
It also works with Soltek SL-75DRV4 - VT8233A sb.
Thanks,
Vlad
Signature · 11 lines
*================================================= * Vlad Danego * Nic-handles: VD437 * E-mail: [email protected] VLAD5-RIPE * [email protected] VLAD-UANIC *================================================= _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm