#11219 NORM 1.75-so: aplay broken in xo 1.75

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 5 10:31:52 EDT 2011


#11219: aplay broken in xo 1.75
--------------------------+-------------------------------------------------
 Reporter:  godiard       |                 Owner:  saadia       
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  1.75-software
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  diagnose     
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 The activity Distance use the binaries aplay and arecord in the package
 alsa-utils
 to play a sound in two xos and record the result and calculate the
 distance.
 The last version in ASLO [1] is working in os3, but in os41, can't play
 the test sound
 the commands used are:

 /usr/bin/aplay fname

 /usr/bin/arecord --file-type=raw --channels=1 --format=S16_LE --rate=48000
 --duration=10  fname

 I know record is not working in xo-1.75 but play should be working.

 The test sound file can be downloaded from [2]

 In a xo-1.75 if in the command line I do:

 [olpc at localhost ~]$ /usr/bin/aplay ]outtqh4Xr
 ]outtqh4Xr: No such file or directory
 [olpc at localhost ~]$ /usr/bin/aplay outtqh4Xr
 Playing WAVE 'outtqh4Xr' : Unsigned 8 bit, Rate 48000 Hz, Stereo
 ALSA lib pcm_mmap.c:369:(snd_pcm_mmap) mmap failed: No such device or
 address
 aplay: set_params:1116: Unable to install hw params:
 ACCESS:  RW_INTERLEAVED
 FORMAT:  U8
 SUBFORMAT:  STD
 SAMPLE_BITS: 8
 FRAME_BITS: 16
 CHANNELS: 2
 RATE: 48000
 PERIOD_TIME: 5000
 PERIOD_SIZE: 240
 PERIOD_BYTES: 480
 PERIODS: 4
 BUFFER_TIME: 20000
 BUFFER_SIZE: 960
 BUFFER_BYTES: 1920
 TICK_TIME: 0

 /usr/bin/aplay -l
 show a card

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


More information about the Bugs mailing list