Skip to contentSkip to conversation

Recording problem on cs46xx on recent linux kernels

DISCUSSION Johan Bilien 1 participant 1 message Dec 10, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

since moving from kernel 2.6.9 to 2.6.10-rc2 and -rc2-bk4, I was happy to see that hardware mixing is now supported on my hardware (CrystalClear SoundFusion Audio Accelerator on a IBM T22). However I have also been experiencing a new problem when recording from the
soundcard: a readi returns -5 after about 5 seconds, with parameters that used to work. I'm using libalsa v1.0.7 (Debian unstable) and Linux 2.6.10-rc2-bk4 with cs46xx and "New DSP support".

The /proc says that the capture PCM is running, but the available field remains to 0.

10/12 14:56 /proc/asound/card0/pcm0c/sub0% cat status
state: RUNNING
trigger_time: 1102686881.461093000
tstamp : 1102687019.388211000
delay : 0
avail : 0
avail_max : 0
-----
hw_ptr : 0
appl_ptr : 0

10/12 14:57 /proc/asound/card0/pcm0c/sub0% cat hw_params
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 8000 (8000/1)
period_size: 8
buffer_size: 320
tick_time: 1000

10/12 14:57 /proc/asound/card0/pcm0c/sub0% cat sw_params
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 8
xfer_align: 8
start_threshold: 1
stop_threshold: 2147483647
silence_threshold: 0
silence_size: 0
boundary: 1342177280

Thanks,
Johan.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/