sound not playing on overo

Bug #711008 reported by Joey Stanford
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-linaro-omap (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I have the gumistix overo tide with tobi board. It currently doesn't produce sound via the headset jack. I've reset alsamix to ensure it's ok, check the jack connection and so on to no avail. I see no errors in syslog to account for this. In fact everything says it should work.

-----
root@localhost:~# aplay -vvvvv /usr/share/sounds/speech-dispatcher/test.wav
Playing WAVE '/usr/share/sounds/speech-dispatcher/test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream : PLAYBACK
  access : RW_INTERLEAVED
  format : S16_LE
  subformat : STD
  channels : 1
  rate : 16000
  exact rate : 16000 (16000/1)
  msbits : 16
  buffer_size : 8000
  period_size : 2000
  period_time : 125000
  tstamp_mode : NONE
  period_step : 1
  avail_min : 2000
  period_event : 0
  start_threshold : 8000
  stop_threshold : 8000
  silence_threshold: 0
  silence_size : 0
  boundary : 2097152000
Slave: Hardware PCM card 0 'overo' device 0 subdevice 0
Its setup is:
  stream : PLAYBACK
  access : MMAP_INTERLEAVED
  format : S16_LE
  subformat : STD
  channels : 2
  rate : 16000
  exact rate : 16000 (16000/1)
  msbits : 16
  buffer_size : 8000
  period_size : 2000
  period_time : 125000
  tstamp_mode : NONE
  period_step : 1
  avail_min : 2000
  period_event : 0
  start_threshold : 8000
  stop_threshold : 8000
  silence_threshold: 0
  silence_size : 0
  boundary : 2097152000
  appl_ptr : 0
  hw_ptr : 0

Revision history for this message
Andy Doan (doanac) wrote :

Joey - I just tried this on my board and it worked correctly. What kernel version are you on? I'm on:
 2.6.37-1002-linaro-omap

Revision history for this message
Joey Stanford (joey) wrote : Re: [Bug 711008] Re: sound not playing on overo

Linux localhost.localdomain 2.6.37-1002-linaro-omap #5-Ubuntu SMP Thu
Jan 20 02:19:36 UTC 2011 armv7l armv7l armv7l GNU/Linux

I tested the speaker on my workstation with the same command and it
works fine. I unplugged the speaker and put it into the mic jack just
to see if that would work on the tobi but no luck. I suppose it's
possible I have a bad tobi.

J

Andy Doan (doanac)
Changed in linux-linaro-omap (Ubuntu):
status: New → Confirmed
Revision history for this message
Joey Stanford (joey) wrote :

Hi,

I've tested this now with a different analog headset and also with a logitech USB headset (to demonstrate that it's not a failed tobi board). All instances it looks like sound is being played but nothing is heard. I've ensured alsamixer is set correctly.

Revision history for this message
Andy Doan (doanac) wrote :

I'm seeing this now as well. The original test I did was using the alpha 1 drop:
 linaro-natty-headless-tar-20101202-1.tar.gz

Maybe something has changed since then?

Revision history for this message
Andy Doan (doanac) wrote :

I've found a hack to get this working. The file:
 /var/lib/alsa/asound.state

has two important fields set to false:

  name 'HeadsetL Mixer Voice'
  name 'HeadsetR Mixer AudioR1'

when I manually edited the file and then ran "alsactl restore" I was able to get sound working.

I'm not sure why the default file is generated incorrectly and why I couldn't enable this using the alsamixer GUI

Revision history for this message
Joey Stanford (joey) wrote :

That patch worked for me too! I have sound for the first time.

Revision history for this message
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.