#10831 BLOC 1.75-so: XO-1.75 kernel driver for audio device

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 4 04:24:29 EDT 2011


#10831: XO-1.75 kernel driver for audio device
---------------------------------------------------------+------------------
           Reporter:  cjb                                |       Owner:  saadia       
               Type:  task                               |      Status:  new          
           Priority:  blocker                            |   Milestone:  1.75-software
          Component:  kernel                             |     Version:  not specified
         Resolution:                                     |    Keywords:               
        Next_action:  code                               |    Verified:  0            
Deployment_affected:                                     |   Blockedby:               
           Blocking:  10914, 11155, 11187, 11193, 11219  |  
---------------------------------------------------------+------------------

Comment(by erikos):

 Replying to [comment:22 saadia]:
 > In os8, the initial setting of DC Mode Enable is wrong. Run
 >  amixer sset "DC Mode Enable" off
 > and you will be able to record.

 Hmm, I did set 'amixer sset "DC Mode Enable" off' and the option does show
 'Mono: Playback [off]' but when I do 'arecord -d 5 test.wav' I still get
 the following error:

 {{{
 [olpc at xo-6d-61-0c results]$ arecord -d 10 /tmp/test-mic.wav
 Recording WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
 ALSA lib pcm_mmap.c:369:(snd_pcm_mmap) mmap failed: No such device or
 address
 arecord: set_params:1116: Unable to install hw params:
 ACCESS:  RW_INTERLEAVED
 FORMAT:  U8
 SUBFORMAT:  STD
 SAMPLE_BITS: 8
 FRAME_BITS: 8
 CHANNELS: 1
 RATE: 8000
 PERIOD_TIME: 60000
 PERIOD_SIZE: 480
 PERIOD_BYTES: 480
 PERIODS: 4
 BUFFER_TIME: 240000
 BUFFER_SIZE: 1920
 BUFFER_BYTES: 1920
 TICK_TIME: 0
 [olpc at xo-6d-61-0c results]$
 }}}

 I did play with the setting and "arecord -d 5 -f S16 test.wav" does not
 produce the error from above, but when I play back the file there is no
 output.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10831#comment:23>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list