[alsa-devel] Cirrus Logic CS4207

Peter-Jan Deweirdt deweirdt at gmail.com
Fri Apr 17 10:33:47 CEST 2009


Hi,

We are in the progress of developming a new platform and we are using  
the audio chip CS4207 from Cirrus Logic (very new). I've noticed that  
the audio is not working as it should.
I'm using the moblin menlow kernel and I'm able to see 1 playback  
channel and 1 capture channel (which is not correct according to the  
chip).

I have retreived from our vendor a patch for the kernel (2.6.27.7) but  
since the moblin kernel is based on the 2.6.29 I cannot use it, even  
not verify if it's working.

Would it be possible to look to the patch and maybe even integrate it  
into a new build?
Or would it be possible to guide me trough so that the audio is  
working properly?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cs4207-linux.2.6.27.7-hda.patch
Type: application/octet-stream
Size: 25632 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090417/eb52481f/attachment-0001.dll 
-------------- next part --------------


This is what I'm seeing when using the current kernel from moblin  
(2.6.29.rc7-40.1)

 >>> chunk from dmesg
[    5.166641] Advanced Linux Sound Architecture Driver Version 1.0.18a.
[    5.171792] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    5.216898] ALSA device list:
[    5.216916]   #0: HDA Intel MID at 0xd0010000 irq 22
[    5.217024] nf_conntrack version 0.5.0 (3947 buckets, 15788 max)
<<<end chunk of dmesg

[root at localhost ~]# cat /proc/asound/cards
  0 [MID            ]: HDA-Intel - HDA Intel MID
                       HDA Intel MID at 0xd0010000 irq 22

[root at localhost ~]# ls -al /dev/snd/
total 0
drwxr-xr-x  2 root root     160 Mar 24 20:00 .
drwxr-xr-x 15 root root    3360 Mar 24 20:00 ..
crw-rw----  1 root audio 116, 7 Mar 24 20:00 controlC0
crw-rw----  1 root audio 116, 6 Mar 24 20:00 hwC0D0
crw-rw----  1 root audio 116, 5 Mar 24 20:00 pcmC0D0c
crw-rw----  1 root audio 116, 4 Mar 24 20:00 pcmC0D0p
crw-rw----  1 root audio 116, 3 Mar 24 20:00 seq
crw-rw----  1 root audio 116, 2 Mar 24 20:00 timer
[root at localhost ~]#


[root at localhost ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: HDA Generic [HDA Generic]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
[root at localhost ~]#

[root at localhost ~]# aplay -L
front:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     Front speakers
surround40:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
     HDA Intel MID, HDA Generic
     7.1 Surround output to Front, Center, Side, Rear and Woofer  
speakers
null
     Discard all samples (playback) or generate zero samples (capture)
pulse
     PulseAudio Sound Server
default
     Default
[root at localhost ~]#

[root at localhost ~]# alsamixer
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect:  
Connection refused


alsamixer: function snd_ctl_open failed for default: Connection refused



More information about the Alsa-devel mailing list