Hi,

I want to debug my audio since I had to patch the kernel from moblin with a driver from Cirrus (cs4207). The patch that I had was for the kernel 2.6.27 and since moblin is now at 2.6.29 I had to update the patch so that it could work.
(I've attached the modified patch)

These are the steps that I've done until now:
- Download the kernel source from moblin
- add the patch from Cirrus
- recompile the kernel

now when I boot I see that another audio device is found. This is how I see it:

[r...@localhost ~]# ls /dev/snd/
controlC0  hwC0D0  pcmC0D0c  pcmC0D0p  pcmC0D1c  pcmC0D1p  seq  timer
[r...@localhost ~]#

[r...@localhost ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: CS4207 Analog [CS4207 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: CS4207 Digital [CS4207 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[r...@localhost ~]#


and this is the output fro aplay -L;
[r...@localhost ~]# aplay -L
front:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
    Front speakers
surround40:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
    HDA Intel MID, CS4207 Digital
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default
[r...@localhost ~]#



I have noticed that my pulseaudio is not running so I cannot use this for playing a wav file.

How can I test my audio on my board? When I was using the original kernel I was able to play audio with this command:
aplay -D plughw:0,0 <wavefile>

[r...@localhost ~]# ls /dev/snd/
controlC0  hwC0D0  pcmC0D0c  pcmC0D0p  seq  timer
[r...@localhost ~]#
[root at localhost snd]# 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 snd]# 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 snd]#
Any suggestions what else I can do?
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to