[darkice] Re: Cant Get Creative E-MU USB audio interface to work

  • From: Ben Edwards <list4me2@xxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Tue, 7 Jun 2016 12:11:25 +0100

On 7 June 2016 at 11:54, Niels Dettenbach <nd@xxxxxxxxxxxx> wrote:

Am Dienstag, 7. Juni 2016, 10:32:44 schrieb Ben Edwards:
Thanks for that.  The plughw thing seems to work but lost the stream
during
a 3 houre show, not sure why and need to do some more testing.  Will
enable
debug next  time.

On a earlier machine we had "random" hangs of the USB audio kernel module
stack which happen some weeks or several day or some weeks. THe only way to
get the device working was reconnecting the USB plug or (remotely) unload
alsa
and all snd modules down to snd-usb-audio and reload it.

We had this problems long time with a (today very old) Creative
Soundblaster
USB. After switching over to a E-MU USB (which had an XLR stereo couple the
problem was gone. For me it seems the USB driver and/or the device was
running
into a undefined state leading to hang the whole stack.

We use today:
Creative E-MU 0404 USB Audio/MIDI Interface


Thanks, that's exactly what i am using. It is with a Raspberry Pi 3.


(just to "record" / AD the radio stream into darkice) which seems to work
properly and without any breaks/hangs anymore. I've seen problems on
machines
with the same device where the runtime bug seems to be related to the
kernel
version and/or build options (suboptimal for the underlying x86/amd64
hardware).


I am actually streaming and dumping the stream to a USB stick, maybe it is
the later that is causing the problem.



On the regarding system with the Soundblaster we restart our stream
including
the USB sound subsystem each night, because it seems it helped a bit that
time
to avoid any "overruns" of the system or some pointer within. Not shure if
that helps you too as a ugly workaround.


Only stream for less than 6 hours and turn off when not used so that's OK.
Think it was after around 1.5 hours we lost stream.



I would try to work with different kernel module options and kernel builds
if
possible and/or contact the alsa developer list if you find the problem not
within darklice. For now, pls send us a darkice log (and look for any
dmesg /
kernel log output which regard to it...


Will do but it is a Pi so not sure what options are available (and this is
getting to the limits of my Linux expertness).

Thanks,
Ben



good luck,


Niels.
--
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---







-- 
*Ben Edwards, Video Editor and Cameraman*
*web*:*www.nkytwig.com* <http://funkytwig.com/>* mobile:**07773 02 44 82*
*skype**:**funkytwig** twitter:**@funkytwig*
<https://twitter.com/funkytwig>iContact Community Video
<http://www.icontactvideo.org/> | Bristol Community Channel
<http://bristol.mirocommunity.org/>

Other related posts: