[alsa-devel] Cirrus Logic CS4207
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?
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@localhost ~]# cat /proc/asound/cards 0 [MID ]: HDA-Intel - HDA Intel MID HDA Intel MID at 0xd0010000 irq 22
[root@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@localhost ~]#
[root@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@localhost ~]#
[root@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@localhost ~]#
[root@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
At Fri, 17 Apr 2009 10:33:47 +0200, Peter-Jan Deweirdt wrote:
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?
Changing this patch won't be too hard. It's just a small rewrite of the codec hook-up part.
But, for merging the patch, we need some formality, namely, a proper sign-off. Could you get the sign-off of the original patch submitter? See $LINUX/Documentation/SubmittingPatches for details.
thanks,
Takashi
Hi,
I manged myself to change the patch for the kernel 2.6.29 but it seems that it's not working as it should. And I don't want to change the patch everytime I need to update the kernel ;)
I'll check with the person that wrote the patch how we can submit it.
Regards Peter-Jan
On 17 Apr 2009, at 16:48, Takashi Iwai wrote:
At Fri, 17 Apr 2009 10:33:47 +0200, Peter-Jan Deweirdt wrote:
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?
Changing this patch won't be too hard. It's just a small rewrite of the codec hook-up part.
But, for merging the patch, we need some formality, namely, a proper sign-off. Could you get the sign-off of the original patch submitter? See $LINUX/Documentation/SubmittingPatches for details.
thanks,
Takashi
participants (2)
-
Peter-Jan Deweirdt
-
Takashi Iwai