Re: VT8233/8237/snd_via82xx: arecord hangs at 44 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Dec 2006, Kiesel wrote:

No ideas concerning the problem described below?

Is there a way to debug this in detail?

Could mixer settings be the cause for such behaviour? (I doubt it)

Regards

> Although ALSA seems to be set up fine here (playback is working
> flawlessly, see below for setup details), recording does not work. arecord
> does not record silence but simply blocks after writing the file header:
>
> $ arecord -f cd test.wav
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
> (CTRL-C after a while)
> Aborted by signal break...
> $ ls -lh test.wav
> -rw-r--r-- 1 user user 44 2006-12-12 16:46 test.wav
>
> I also tried some arecord options (other sample formats or devices)
> without success.
>
> Any hints?
>
> Regards
>
>
> $ strace asound -f cd test.wav
> [...]
> open("test.wav", O_WRONLY|O_CREAT|O_LARGEFILE, 0644) = 6
> write(6, "RIFF$\0\0\200WAVE", 12)       = 12
> write(6, "fmt \20\0\0\0", 8)            = 8
> write(6, "\1\0\2\0D\254\0\0\20\261\2\0\4\0\20\0", 16) = 16
> write(6, "data\0\0\0\200", 8)           = 8
> ioctl(4, 0x4122, 0xb7fa42f9)            = 0
> ioctl(5, 0x54a0, 0xb7ebd000)            = 0
> gettimeofday({1165938569, 215445}, NULL) = 0
> poll( <-- hangs here
>
> $ cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24 2006 UTC).
(no change with ALSA 1.0.14rc1)
>
> $ uname -a
> Linux 2.6.17.11 #1 PREEMPT Thu Aug 31 17:43:20 CEST 2006 i686 GNU/Linux
>
> $ lspci -v
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
>         Subsystem: ASUSTeK Computer Inc. A8V Deluxe motherboard (Realtek ALC850 codec)
>         Flags: medium devsel, IRQ 5
>         I/O ports at e800 [size=256]
>
> $ cat /proc/asound/cards
>  0 [V8237          ]: VIA8237 - VIA 8237
>                       VIA 8237 with ALC850 at 0xe800, irq 5
>
> $ lsmod | grep "snd"
> snd_via82xx            26008  2
> gameport               14088  1 snd_via82xx
> snd_via82xx_modem      13960  0
> snd_ac97_codec         83104  2 snd_via82xx,snd_via82xx_modem
> snd_ac97_bus            2304  1 snd_ac97_codec
> snd_pcm                75528  4 snd_via82xx,snd_via82xx_modem,snd_ac97_codec
> snd_timer              20996  1 snd_pcm
> snd_page_alloc          9608  3 snd_via82xx,snd_via82xx_modem,snd_pcm
> snd_mpu401_uart         7296  1 snd_via82xx
> snd_rawmidi            22816  1 snd_mpu401_uart
> snd_seq_device          7692  1 snd_rawmidi
> snd                    47744  11 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> soundcore               9312  1 snd

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux