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

Bug#430017: kernel: Recording silence, chipset: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator]



Hi,

Thanks for looking at this.

> Does this error still occur with more recent kernel versions?

By more recent do you mean later than Etch?  I do not wish to upgrade
to Lenny just now.

I am running Etch, which is kept up to date.  Can I easily get a later
stable kernel to test this with?

root@sir:~# uname -a
Linux sir 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux

I repeated the test and the behaviour is again as described above -
mic sounds are heard through the PC speakers but arecord records only
silence:

root@sir:~# arecord -d 10 test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
root@sir:~# hd test.wav
00000000  52 49 46 46 a4 38 01 00  57 41 56 45 66 6d 74 20  |RIFF.8..WAVEfmt |
00000010  10 00 00 00 01 00 01 00  40 1f 00 00 40 1f 00 00  |........@...@...|
00000020  01 00 08 00 64 61 74 61  80 38 01 00 80 80 80 80  |....data.8......|
00000030  80 80 80 80 80 80 80 80  80 80 80 80 80 80 80 80  |................|
*
000138a0  80 80 80 80 80 80 80 80  80 80 80 80              |............|
000138ac
root@sir:~# amixer info
Card default 'CS46xx'/'Sound Fusion CS46xx at 0xe8122000/0xe8000000, irq 11'
  Mixer name    : 'Cirrus Logic CS4297A rev 4'
  Components    : 'AC97a:43525914'
  Controls      : 45
  Simple ctrls  : 26
root@sir:~# amixer scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 58 [92%] [on]
  Front Right: Playback 58 [92%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 24 [77%] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [on]
  Front Right: Playback 24 [77%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on] Capture [off]
  Front Right: Playback 25 [81%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic1'
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Input',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mix'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 15 [100%] [on]
  Front Right: Capture 15 [100%] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'ADC',0
  Capabilities: volume cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 32767
  Front Left: 31178 [95%] Capture [off]
  Front Right: 27541 [84%] Capture [off]
Simple mixer control 'DAC',0
  Capabilities: volume cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 32767
  Front Left: 29491 [90%] Capture [off]
  Front Right: 29491 [90%] Capture [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
root@sir:~# lsmod
Module                  Size  Used by
savage                 28448  2
drm                    61332  3 savage
rfcomm                 34712  0
l2cap                  21760  5 rfcomm
bluetooth              46020  4 rfcomm,l2cap
nvram                   8328  1
uinput                  8288  1
ipt_REJECT              5248  2
ipt_LOG                 6112  3
xt_tcpudp               3136  17
xt_state                2272  22
iptable_filter          3104  1
iptable_nat             7044  0
ip_nat                 16876  1 iptable_nat
ip_conntrack           49088  3 xt_state,iptable_nat,ip_nat
nfnetlink               6680  2 ip_nat,ip_conntrack
iptable_mangle          2880  0
ip_tables              13028  3 iptable_filter,iptable_nat,iptable_mangle
x_tables               13316  6 ipt_REJECT,ipt_LOG,xt_tcpudp,xt_state,iptable_nat,ip_tables
ppdev                   8676  0
lp                     11012  0
button                  6672  0
ac                      5188  0
battery                 9636  0
ipv6                  226272  10
wlan_wep                6624  1
dm_snapshot            15552  0
dm_mirror              19152  0
dm_mod                 50200  2 dm_snapshot,dm_mirror
loop                   15048  0
tsdev                   7520  0
snd_cs46xx             76360  2
gameport               14632  2 snd_cs46xx
snd_seq_dummy           3844  0
snd_seq_oss            28768  0
snd_seq_midi            8192  0
snd_seq_midi_event      7008  2 snd_seq_oss,snd_seq_midi
wlan_scan_sta          12224  1
ath_rate_sample        12480  1
ath_pci               170188  0
wlan                  215152  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
snd_seq                45680  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ath_hal               232704  3 ath_rate_sample,ath_pci
irtty_sir               7808  0
psmouse                35016  0
snd_rawmidi            22560  2 snd_cs46xx,snd_seq_midi
snd_seq_device          7820  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidisir_dev                15492  1 irtty_sir
nsc_ircc               20912  0
serio_raw               6660  0
snd_ac97_codec         83104  1 snd_cs46xx
snd_ac97_bus            2400  1 snd_ac97_codec
irda                  162588  3 irtty_sir,sir_dev,nsc_ircc
pcmcia                 34140  0
firmware_class          9600  1 pcmcia
floppy                 53124  0
i2c_piix4               8268  0
snd_pcm_oss            38368  1
snd_mixer_oss          15200  1 snd_pcm_oss
i2c_core               19680  1 i2c_piix4
crc_ccitt               2240  1 irda
parport_pc             32132  1
parport                33256  3 ppdev,lp,parport_pc
snd_pcm                68676  3 snd_cs46xx,snd_ac97_codec,snd_pcm_oss
snd_timer              20996  2 snd_seq,snd_pcm
rtc                    12372  0
pcspkr                  3072  0
snd                    47012  12 snd_cs46xx,snd_seq_oss,snd_seq,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9248  2 snd
snd_page_alloc         10184  2 snd_cs46xx,snd_pcm
yenta_socket           24460  3
rsrc_nonstatic         11840  1 yenta_socket
pcmcia_core            36852  3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp                 33024  0
pci_hotplug            28704  1 shpchp
intel_agp              22204  1
agpgart                29896  2 drm,intel_agp
evdev                   9088  2
ext3                  119336  5
jbd                    52456  1 ext3
mbcache                 8356  1 ext3
ide_cd                 36064  0
ide_disk               14848  7
cdrom                  32544  1 ide_cd
uhci_hcd               21164  0
usbcore               112644  2 uhci_hcd
piix                    9444  0 [permanent]
generic                 4868  0 [permanent]
ide_core              110504  4 ide_cd,ide_disk,piix,generic
e100                   32232  0
mii                     5344  1 e100
thermal                13608  0
processor              28840  1 thermal
fan                     4804  0
root@sir:~# ps alx | grep art
0     0  5497  3954  16   0   2852   712 pipe_w S+   pts/2      0:00 grep art
root@sir:~# ps alx | grep esd
0  1000  3401     1  15   0   2048   348 429496 S    ?          0:00 /usr/bin/esd -nobeeps0     0  5505  3954  17   0   2852   696 -      R+   pts/2      0:00 grep esd
root@sir:~# ps alx | grep alsa
0     0  5514  3954  17   0   2848   696 -      R+   pts/2      0:00 grep alsa
root@sir:~# uname -a
Linux sir 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux
root@sir:~#



Reply to: