ts-7000
[Top] [All Lists]

[ts-7000] Alsa on TS7400

To:
Subject: [ts-7000] Alsa on TS7400
From: "Michael DeGroot" <>
Date: Wed, 5 Dec 2007 21:28:47 -0800
I have been working on installing a USB alsa driver for a while now.  I have gotten to the point where I am able to play a sound using aplay.  However, most of the time, I get one of these errors:

underrun!!! (at least 350.000 ms long)
aplay: xrun:1093: read/write error, state = PREPARED

or

pcm_write:1268: write error: Input/output error

The audio abruptly stops when these errors occur.

--

The general procedure I followed to get to this point was:
1.  Install kernel sources onto a cross compiler system.
2.  make ts7400_config, make oldconfig, make config (adding CONFIG_SOUND), make modules, make modules_install (with an alternate path)
3.  copy soundcore.o to ts7400 and place in modules sound/2.4.26-ts11/kernel/sound directory.  Load with insmod

I had an issue with building alsa on the crosstools system, so I copied the source and alsa source to the SD card to build directly on system.

I built per these instructions found on this forum:

=======
This is what i did. First i get alsa-driver 1.0.4 from

http://arm.cirrus.com/files/index.php?path=linux%2Fpackages/

then i modify include/config.h
and add this lines
#define CONFIG_HAVE_PDE
#define __WORK_INITIALIZER

and then change acore/misc.c
in line 225
works->func(works->data); to works->routine(works->data);

then just do
./configure --with-cards=usb-audio --with-sequencer=yes/no (this for
midi i think) --with-kernel=PREFIX/linux( 2.4.26-ts11 sources)
--with-cross=(if u use crosstools)
make
make install
=========

I also ran ./snddevices and loaded the modules with insmod as necessary.

To add additional strangenesss, the aplay will always work if I type random garbage into the terminal window (or hold down a key).  It will sometimes work properly, but will often fail.

I am not sure how to proceed further on this.  I believe part of the problem could be I am not installing the modules properly, or that I need additional kernel modules to support alsa.
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Alsa on TS7400, Michael DeGroot <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU