Pandaboard ES no audio

November 27th, 2012

Home Forums GeeXboX on ARM SoCs Pandaboard ES no audio

This topic contains 16 replies, has 3 voices, and was last updated by  brajesh07 9 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #5404

    spike
    Member

    Hello,

    I installed GeexBox 3.0 to my Pandaboard ES. Everything but sound seems to work. As soon as I try to play some audio it fails with “failed to initialize audio device”. I have tried to use analog and hdmi. I have changed settings in the GUI and in /etc/audio too. Nothing seems to help. Some users have written in this forum that they have sound in the menu but not while playing music. Well, I don’t have sound at all. I don’t understand the different combinations in the GUI audio settings. There are 16 different PandaES hdmi’s. Which should I choose? And I don’t mind using analog sound, but it keeps failing to initialize too…

    wbr,spike

     

    # aplay -l

    **** List of PLAYBACK Hardware Devices ****

    card 0: PandaES [PandaES], device 0: Multimedia (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 2: Voice (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 3: Tone Playback (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 4: VIB-DL (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 5: MODEM (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 6: Multimedia (*) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 8: Headset Playback twl6040-legacy-8 []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 9: (HS Playback) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 11: (HF Playback) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 12: (Vibra) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 13: (BT Capture) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 14: (BT Playback) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 15: (FM Playback) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 0: PandaES [PandaES], device 16: (FM Capture) []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    card 1: OMAPHDMI [OMAPHDMI], device 0: HDMI omap-hdmi-hifi-0 []

    Subdevices: 1/1

    Subdevice #0: subdevice #0

    #5410

    tomlohave
    Moderator

    what is the content of /etc/asound.conf ?

    #5413

    spike
    Member

    Thank you for a reply. Here’s my /etc/audio

    # cat /etc/audio

    # Soundcard Configuration File

     

    # Soundcard to use by name (e.g. “SB”) or by ID (0 for first card, 1 for second, …)

    ALSA_CARD=”0″

     

    # Output mode ( analog/digital/hdmi )

    # digital is used for SPDIF/IEC958 output

    SOUNDCARD_MODE=”analog”

     

    # passthrough mode for digital/hdmi outputs (none, ac3, dts or ac3dts)

    #   (Note: in analog mode this option is ignored)

    # none : software audio decoding for all streams

    # ac3 : enable hardware passthrough for AC-3 streams only

    # dts : enable hardware passthrough for DTS streams only

    # ac3dts : enable hardware passthrough for both AC-3 and DTS streams

    SOUNDCARD_PT_MODE=”none”

     

    # IEC958 Playback AC97-SPSA Mode:

    # 0. PCM1

    # 1. PCM2,PCM1 (rear)

    # 2. Centre and LFE

    # 3. PCM3,Modem,Dedicated S/PDIF

    # For SPDIF most users will want 0, but some users may need 3.

    AC97_SPSA=”0″

     

    # Playback channels

    #   2 – Stereo

    #   4 – Surround

    #   6 – Full 5.1

    # note: in SPDIF and hardware AC3 decoder mode this option is ignored.

    CHANNELS=”2″

     

    # SB Live/Audigy Analog/Digital Output Mode:

    # 0: Suitable for some older SB Live! cards

    # 1: Suitable for newer SB Live! and all Audigy cards

    SBL_AUDIGY=”1″

    #5415

    tomlohave
    Moderator

    ok, you use analog …

    try in xbmc, in audio conf, custom settings, enter :

    plughw:0,6

    try too :

    plughw:0,8

    #5420

    spike
    Member

    Hi,

    the plughw:0,8 doesn’t give the “failed to initialize” error, but there still is no sound.

    Another thing I noticed is that if I open any music add-on with plughw:0,8 the radio starts to play but the seconds go really slow. It takes nearly 10 real seconds until the box changes the second number on screen. If I change the plughw to something else, I get the initializing error but the seconds go in realtime.

    wbr,spike

    #5425

    tomlohave
    Moderator

    will test, i just received a new board 4460

    other is 4430

    #5427

    spike
    Member

    Thanks, I’ll wait for your reply.

    wbr,spike

    #5429

    tomlohave
    Moderator
    #5438

    spike
    Member

    Hi,

    It didn’t help. I installed this build the same way – formatted the SD card and added the build with the ./omapsd /dev/ssd

    The out-of-box was configured in xbmc settings audio output analog and it gave the initialization fault. I tried to change it but still got the same fault. Please post here the out-of-box settings in xbmc audio settings and from /etc/audio that you managed to get to work.

    wbr,spike

    #5440

    tomlohave
    Moderator

    my omap :

    U-Boot 2012.07 (Nov 28 2012 – 20:00:44)

    CPU  : OMAP4460 ES1.1
    Board: OMAP4 Panda

    my asound.conf :

    # cat /etc/asound.conf

    pcm.!default { type hw card 1  device 0 }

     

    I didn’t touch conf in /etc/audio, nor in xbmc,  it’s default one

    # cat /etc/audio
    # Soundcard Configuration File

    # Soundcard to use by name (e.g. “SB”) or by ID (0 for first card, 1 for second, …)
    ALSA_CARD=”0″

    # Output mode ( analog/digital/hdmi )
    # digital is used for SPDIF/IEC958 output
    SOUNDCARD_MODE=”hdmi”

    # passthrough mode for digital/hdmi outputs (none, ac3, dts or ac3dts)
    #   (Note: in analog mode this option is ignored)
    # none : software audio decoding for all streams
    # ac3 : enable hardware passthrough for AC-3 streams only
    # dts : enable hardware passthrough for DTS streams only
    # ac3dts : enable hardware passthrough for both AC-3 and DTS streams
    SOUNDCARD_PT_MODE=”none”

    # IEC958 Playback AC97-SPSA Mode:
    # 0. PCM1
    # 1. PCM2,PCM1 (rear)
    # 2. Centre and LFE
    # 3. PCM3,Modem,Dedicated S/PDIF
    # For SPDIF most users will want 0, but some users may need 3.
    AC97_SPSA=”0″

    # Playback channels
    #   2 – Stereo
    #   4 – Surround
    #   6 – Full 5.1
    # note: in SPDIF and hardware AC3 decoder mode this option is ignored.
    CHANNELS=”2″

    # SB Live/Audigy Analog/Digital Output Mode:
    # 0: Suitable for some older SB Live! cards
    # 1: Suitable for newer SB Live! and all Audigy cards
    SBL_AUDIGY=”1″

    #5442

    spike
    Member

    what are the settings in the system->settings->system->audio output

    I have Pandaboard ES rev.B1 OMAP4460

    The conf files are the same as you have.

    wbr,spike

    #5447

    tomlohave
    Moderator

    As said, I didn’t touch the config of xbmc. it’s the basic one, I use only hdmi for sound.

    #5449

    spike
    Member

    Well, yes you mentioned that you didn’t change anything. Although in my panda’s original xbmc config there was analog output enabled. That’s why I’m asking. It would be a bit strange if you also have analog defined as output but the sound comes from hdmi…

    wbr,spike

    #5450

    tomlohave
    Moderator

    yes, keep this value.

    #5514

    spike
    Member

    Sry, I’ve beem away for a while and I could not test it. But now I just tested out-of-box with the build you told and with the latest build (03.12) too but no change – there’s the initialization error. I didn’t change anything. I have a Philips 32″ LCD connected to the PandaES.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.

Comments are closed.