* Updated: via8233 driver -- testers wanted
@ 2002-05-27 13:39 Takashi Iwai
2002-05-27 14:29 ` Stephen Hassard
0 siblings, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2002-05-27 13:39 UTC (permalink / raw)
To: alsa-devel
Hi,
with help of VIA tech, i've changed via8233 drivers to support VT8233A
chip, which has been not working so far.
the changes were already commited to cvs.
so, if someone has VIA8233 chipsets, please test the latest cvs
version, and report back to this ML. (please check via8233.c has
rev.1.16.)
this change affects not only to VT8233A but also VT8233 and VT8233C
chips. it'd be appreciated if owners of these chips can test the
driver.
also, if your hardware supports multiple channels (4/6 playbacks) or
spdif i/o, please let me know. these features are not implemented,
but could be done relatively easily.
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-27 13:39 Updated: via8233 driver -- testers wanted Takashi Iwai
@ 2002-05-27 14:29 ` Stephen Hassard
0 siblings, 0 replies; 16+ messages in thread
From: Stephen Hassard @ 2002-05-27 14:29 UTC (permalink / raw)
To: alsa-devel
Hi there,
I just tried from CVS (within the last 20 mins) on my MSI KT266A chipset
with VT8233 southbridge and have a few problems. I've compiled and
modprobe'd all the req'd modules. The VT8233 detected properly, I've setup
OSS emulation and /dev/dsp exists. I try playing an mp3 stream thru xmms
and everything looks okay (no errors), but when I run any of the alsa apps
(alsactl store, alsamixer) I get a "function snd_ctl_open failed for
default: Sound protocol is not compatible" error .. I'm definitely using
the right lib and utils from the cvs ..
later,
Steve
At 03:39 PM 27/05/2002 +0200, Takashi Iwai wrote:
>Hi,
>
>with help of VIA tech, i've changed via8233 drivers to support VT8233A
>chip, which has been not working so far.
>the changes were already commited to cvs.
>
>so, if someone has VIA8233 chipsets, please test the latest cvs
>version, and report back to this ML. (please check via8233.c has
>rev.1.16.)
>
>this change affects not only to VT8233A but also VT8233 and VT8233C
>chips. it'd be appreciated if owners of these chips can test the
>driver.
>
>also, if your hardware supports multiple channels (4/6 playbacks) or
>spdif i/o, please let me know. these features are not implemented,
>but could be done relatively easily.
>
>
>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
>
>_______________________________________________
>Alsa-devel mailing list
>Alsa-devel@lists.sourceforge.net
>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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Updated: via8233 driver -- testers wanted
@ 2002-05-30 13:58 Vlad Danego
0 siblings, 0 replies; 16+ messages in thread
From: Vlad Danego @ 2002-05-30 13:58 UTC (permalink / raw)
To: alsa-devel
Hi,
I was tested the last cvs version of via8233 driver (rev.1.18)
on a Soltek MB SL-75DRV4 (VIA266 chipset with VT8233A sb).
And it's not work. There is no sound via pcm.
>================== dmesg ==================
PCI: Setting latency timer of device 00:11.5 to 64
ALSA ../alsa-kernel/core/pcm_native.c:1093: playback drain error (DMA or IRQ trouble?)
>================== dmesg ==================
Kernel 2.4.19-pre9
>----------------- moduses.conf
alias char-major-116 snd
alias snd-card-0 snd-via8233
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
>------------------ lsmod | grep snd
snd-pcm-oss 44612 0 (autoclean)
snd-mixer-oss 10240 0 (autoclean) [snd-pcm-oss]
snd-via8233 5860 0
snd-pcm 56608 0 [snd-pcm-oss snd-via8233]
snd-timer 11424 0 [snd-pcm]
snd-ac97-codec 24772 0 [snd-via8233]
snd 30696 2 [snd-pcm-oss snd-mixer-oss snd-via8233 snd-pcm snd-timer snd-ac97-codec]
soundcore 3332 3 [snd]
>------------------ cat /proc/asound/cards
0 [card0 ]: VIA8233 - VIA 8233
VIA 8233 at 0xc000, irq 10
>------------------ cat /proc/asound/devices
0: [0- 0]: ctl
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
>------------------ cat /proc/asound/card0/ac97#0
0-0/0: ICEnsemble ICE1232
Capabilities : -headphone out-
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : Reserved 27
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=0 AMAP DSA=0 VRA
Extended status : VRA
PCM front DAC : 44100Hz
PCM ADC : 48000Hz
>------------------ cat /proc/asound/oss/devices
0: [0- 0]: mixer
3: [0- 3]: digital audio
>----------------- cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0rc1 emulation code)
Kernel: Linux vlad.danego.net 2.4.19-pre9 #3 Wed May 29 15:07:40 EEST 2002 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
VIA 8233 at 0xc000, irq 10
Audio devices:
0: VIA 8233 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: mixer00
>-----------------------------------------------
What is wrong?
Thanks,
Vlad
--
*=================================================
* Vlad Danego
* Nic-handles: VD437
* E-mail: vlad@al.lg.ua VLAD5-RIPE
* vlad@vlad.danego.net 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 8:51 René Kermis
@ 2002-05-31 8:00 ` Niek van der Maas
2002-05-31 10:55 ` Takashi Iwai
1 sibling, 0 replies; 16+ messages in thread
From: Niek van der Maas @ 2002-05-31 8:00 UTC (permalink / raw)
To: René Kermis, alsa-devel
Hi,
I've exectly the same problem. When I use "cat /usr/kde/3/hare/sounds/pop.wav
> /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.
On Friday 31 May 2002 11:51, René Kermis wrote:
> 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
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
@ 2002-05-31 8:51 René Kermis
2002-05-31 8:00 ` Niek van der Maas
2002-05-31 10:55 ` Takashi Iwai
0 siblings, 2 replies; 16+ messages in thread
From: René Kermis @ 2002-05-31 8:51 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 10:55 ` Takashi Iwai
@ 2002-05-31 10:36 ` Niek van der Maas
2002-05-31 12:13 ` René Kermis
2002-05-31 12:33 ` René Kermis
0 siblings, 2 replies; 16+ messages in thread
From: Niek van der Maas @ 2002-05-31 10:36 UTC (permalink / raw)
To: alsa-devel
On Friday 31 May 2002 13:55, Takashi Iwai wrote:
> 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
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 8:51 René Kermis
2002-05-31 8:00 ` Niek van der Maas
@ 2002-05-31 10:55 ` Takashi Iwai
2002-05-31 10:36 ` Niek van der Maas
1 sibling, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2002-05-31 10:55 UTC (permalink / raw)
To: René Kermis; +Cc: Vlad Danego, Niek van der Maas, alsa-devel
Hi all,
At Fri, 31 May 2002 10:51:35 +0200,
René Kermis wrote:
>
> 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?)
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 10:36 ` Niek van der Maas
@ 2002-05-31 12:13 ` René Kermis
2002-05-31 13:23 ` Takashi Iwai
2002-05-31 13:31 ` Takashi Iwai
2002-05-31 12:33 ` René Kermis
1 sibling, 2 replies; 16+ messages in thread
From: René Kermis @ 2002-05-31 12:13 UTC (permalink / raw)
To: alsa-devel
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" <webmaster@refstart.nl>
To: <alsa-devel@lists.sourceforge.net>
Sent: Friday, May 31, 2002 12:36 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
On Friday 31 May 2002 13:55, Takashi Iwai wrote:
> 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
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
Alsa-devel@lists.sourceforge.net
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 10:36 ` Niek van der Maas
2002-05-31 12:13 ` René Kermis
@ 2002-05-31 12:33 ` René Kermis
2002-05-31 13:21 ` René Kermis
1 sibling, 1 reply; 16+ messages in thread
From: René Kermis @ 2002-05-31 12:33 UTC (permalink / raw)
To: alsa-devel
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" <webmaster@refstart.nl>
To: <alsa-devel@lists.sourceforge.net>
Sent: Friday, May 31, 2002 12:36 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
On Friday 31 May 2002 13:55, Takashi Iwai wrote:
> 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
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
Alsa-devel@lists.sourceforge.net
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 13:21 ` René Kermis
@ 2002-05-31 12:52 ` Niek van der Maas
2002-05-31 18:35 ` Vlad Danego
0 siblings, 1 reply; 16+ messages in thread
From: Niek van der Maas @ 2002-05-31 12:52 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 12:33 ` René Kermis
@ 2002-05-31 13:21 ` René Kermis
2002-05-31 12:52 ` Niek van der Maas
0 siblings, 1 reply; 16+ messages in thread
From: René Kermis @ 2002-05-31 13:21 UTC (permalink / raw)
To: alsa-devel
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" <kermis@gmx.de>
To: <alsa-devel@lists.sourceforge.net>
Sent: Friday, May 31, 2002 2:33 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
> 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" <webmaster@refstart.nl>
> To: <alsa-devel@lists.sourceforge.net>
> Sent: Friday, May 31, 2002 12:36 PM
> Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
>
>
> On Friday 31 May 2002 13:55, Takashi Iwai wrote:
> > 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
>
> 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
> Alsa-devel@lists.sourceforge.net
> 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
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 12:13 ` René Kermis
@ 2002-05-31 13:23 ` Takashi Iwai
2002-05-31 13:31 ` Takashi Iwai
1 sibling, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2002-05-31 13:23 UTC (permalink / raw)
To: René Kermis; +Cc: alsa-devel
At Fri, 31 May 2002 14:13:28 +0200,
René Kermis wrote:
>
> 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.
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 12:13 ` René Kermis
2002-05-31 13:23 ` Takashi Iwai
@ 2002-05-31 13:31 ` Takashi Iwai
2002-05-31 13:50 ` René Kermis
1 sibling, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2002-05-31 13:31 UTC (permalink / raw)
To: René Kermis; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
Hi,
At Fri, 31 May 2002 14:13:28 +0200,
René Kermis wrote:
>
> 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?
now found out obvious typos - patch attached (already on cvs).
hopefull this fixes the problem...
Takashi
[-- Attachment #2: via-fix.dif --]
[-- Type: application/octet-stream, Size: 1092 bytes --]
Index: alsa-kernel/pci/via8233.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/via8233.c,v
retrieving revision 1.15
diff -u -r1.15 via8233.c
--- alsa-kernel/pci/via8233.c 29 May 2002 09:42:36 -0000 1.15
+++ alsa-kernel/pci/via8233.c 31 May 2002 13:23:18 -0000
@@ -361,7 +361,7 @@
unsigned int slots;
int fmt = (runtime->format == SNDRV_PCM_FORMAT_S16_LE) ? VIA_REG_MULTPLAY_FMT_16BIT : VIA_REG_MULTPLAY_FMT_8BIT;
fmt |= runtime->channels << 4;
- outb(fmt, VIA_REG_MULTPLAY_FORMAT);
+ outb(fmt, chip->port + VIA_REG_MULTPLAY_FORMAT);
/* set sample number to slot 3, 4, 7, 8, 6, 9 */
switch (runtime->channels) {
case 1: slots = (1<<0); break;
@@ -371,7 +371,7 @@
default: slots = 0;
}
/* STOP index is never reached */
- outl(0xff000000 | slots, VIA_REG_MULTPLAY_STOP_IDX);
+ outl(0xff000000 | slots, chip->port + VIA_REG_MULTPLAY_STOP_IDX);
} else {
outl((runtime->format == SNDRV_PCM_FORMAT_S16_LE ? VIA_REG_TYPE_16BIT : 0) |
(runtime->channels > 1 ? VIA_REG_TYPE_STEREO : 0) |
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 13:31 ` Takashi Iwai
@ 2002-05-31 13:50 ` René Kermis
2002-05-31 14:03 ` René Kermis
0 siblings, 1 reply; 16+ messages in thread
From: René Kermis @ 2002-05-31 13:50 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
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" <tiwai@suse.de>
To: "René Kermis" <kermis@gmx.de>
Cc: <alsa-devel@lists.sourceforge.net>
Sent: Friday, May 31, 2002 3:31 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
> Hi,
>
> At Fri, 31 May 2002 14:13:28 +0200,
> René Kermis wrote:
> >
> > 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?
>
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 13:50 ` René Kermis
@ 2002-05-31 14:03 ` René Kermis
0 siblings, 0 replies; 16+ messages in thread
From: René Kermis @ 2002-05-31 14:03 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
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" <kermis@gmx.de>
To: "Takashi Iwai" <tiwai@suse.de>
Cc: <alsa-devel@lists.sourceforge.net>
Sent: Friday, May 31, 2002 3:50 PM
Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
> 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" <tiwai@suse.de>
> To: "René Kermis" <kermis@gmx.de>
> Cc: <alsa-devel@lists.sourceforge.net>
> Sent: Friday, May 31, 2002 3:31 PM
> Subject: Re: [Alsa-devel] Updated: via8233 driver -- testers wanted
>
>
> > Hi,
> >
> > At Fri, 31 May 2002 14:13:28 +0200,
> > René Kermis wrote:
> > >
> > > 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?
> >
> > 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
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Updated: via8233 driver -- testers wanted
2002-05-31 12:52 ` Niek van der Maas
@ 2002-05-31 18:35 ` Vlad Danego
0 siblings, 0 replies; 16+ messages in thread
From: Vlad Danego @ 2002-05-31 18:35 UTC (permalink / raw)
To: alsa-devel
> I downloaded revision 1.19 of the via8233.c file, and it works!!!
> Really great work!
It also works with Soltek SL-75DRV4 - VT8233A sb.
Thanks,
Vlad
--
*=================================================
* Vlad Danego
* Nic-handles: VD437
* E-mail: vlad@al.lg.ua VLAD5-RIPE
* vlad@vlad.danego.net 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
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2002-05-31 18:35 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-27 13:39 Updated: via8233 driver -- testers wanted Takashi Iwai
2002-05-27 14:29 ` Stephen Hassard
-- strict thread matches above, loose matches on Subject: below --
2002-05-30 13:58 Vlad Danego
2002-05-31 8:51 René Kermis
2002-05-31 8:00 ` Niek van der Maas
2002-05-31 10:55 ` Takashi Iwai
2002-05-31 10:36 ` Niek van der Maas
2002-05-31 12:13 ` René Kermis
2002-05-31 13:23 ` Takashi Iwai
2002-05-31 13:31 ` Takashi Iwai
2002-05-31 13:50 ` René Kermis
2002-05-31 14:03 ` René Kermis
2002-05-31 12:33 ` René Kermis
2002-05-31 13:21 ` René Kermis
2002-05-31 12:52 ` Niek van der Maas
2002-05-31 18:35 ` Vlad Danego
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.