Openmoko Bug #2347: speaker-test fails with Write error: -110, Connection timed out
Openmoko Public Trac
bugs at docs.openmoko.org
Wed Jul 7 22:43:43 CEST 2010
#2347: speaker-test fails with Write error: -110,Connection timed out
--------------------+-------------------------------------------------------
Reporter: lindi | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone:
Component: kernel | Version: unspecified
Severity: normal | Keywords:
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible: always
--------------------+-------------------------------------------------------
Steps to reproduce:
1) build linux using
#!/bin/bash
set -x
set -e
rev=$(git log | head -n1|cut -d' ' -f2|cut --bytes=1-32)
buildroot=build-$rev
rm -fr $buildroot
mkdir $buildroot
cp arch/arm/configs/gta02_defconfig $buildroot/.config
make O=$buildroot ARCH=arm silentoldconfig
CROSS_COMPILE=arm-linux-gnueabi- make -j4 O=$buildroot ARCH=arm
CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=om-gta02-2.6.32-$rev
arm-linux-gnueabi-objcopy -O binary -R .note -R .comment -S
$buildroot/arch/arm/boot/compressed/vmlinux $buildroot/linux.bin
mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "om-
gta02-2.6.32-$rev" -d $buildroot/linux.bin $buildroot/uImage-om-
gta02-2.6.32-$rev.bin
mkdir -p $buildroot/staging
make O=$buildroot ARCH=arm modules_install INSTALL_MOD_PATH=staging
cd $buildroot/staging
tar czf ../modules-om-gta02-2.6.32-$rev.tar.gz .
2) boot uImage-om-gta02-2.6.32-a9254be10ac2294ea20165a87c09ea6a.bin
3) speaker-test
Expected results:
3) sound is played or at least speaker-test does not exit
Actual results:
3) speaker-test exits with
speaker-test 1.0.23
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 32768
Period size range from 1024 to 2048
Using max buffer size 32768
Periods = 4
was set period_size = 2048
was set buffer_size = 32768
0 - Front Left
Write error: -110,Connection timed out
xrun_recovery failed: -110,Connection timed out
Transfer failed: Operation not permitted
More info:
1) my ~/.asoundrc is empty
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2347>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the openmoko-kernel
mailing list