Ticket #11219 (closed defect: fixed)
aplay broken in xo 1.75
| Reported by: | godiard | Owned by: | saadia |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.75-software |
| Component: | kernel | Version: | Development build as of this date |
| Keywords: | Cc: | ||
| Action Needed: | no action | Verified: | no |
| Deployments affected: | Blocked By: | #10831 | |
| Blocking: |
Description (last modified by Quozl) (diff)
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@localhost ~]$ /usr/bin/aplay ]outtqh4Xr ]outtqh4Xr: No such file or directory [olpc@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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


