[linux-audio-user] Tascam US-122, Laptop and Keyboard

Arnold Krille arnold at roederberg.dyndns.org
Wed Mar 23 05:21:04 EST 2005


On Wednesday 23 March 2005 03:32, Steve Fosdick wrote:
> Frustrated that my laptop doesn't have line-in and that the mic-in is not
> very useful (unbalanced, no phantom power) I have finally invested in an
> external USB interface, the Tascam US-122.
> Unfortunately this doesn't appear to work with my laptop though it works
> mostly-ok with my desktop.

Mine works good with desktop and laptop. :-P

> The two applications I have tried to use are jack+ardour and the standard
> ALSA aplay.  ALSA aplay does work for a while but can stall part way
> through playing and then never seems to recover eventually reporting I/O
> error.
> Jackd will sometimes run for a few seconds without error but soon starts
> reporting errors of the form:
> delay of 24606.000 usecs exceeds estimated spare time of 23134.000; restart
> ... delay of 24779.000 usecs exceeds estimated spare time of 23134.000;
> restart ... delay of 24781.000 usecs exceeds estimated spare time of
> 23134.000; restart ... delay of 24741.000 usecs exceeds estimated spare
> time of 23134.000; restart ... jackd watchdog: timeout - killing jackd

Yeah, I got this too, sometime back.

> I have read the thread on this list "USX2Y rawusb mode" and have therefore
> already tried turning off ACPI and running with nrpacks=4.  Turning off
> ACPI seemed to make little difference though it did change the interrupt
> assignments, while nrpacks=4 seems to have improved things slighly though
> not reliable enough to use.  Changing the -p option seems to change the
> values of time reported above but that's about all.  The problem is just
> the same for either 44100 or 48000 sample rate.

Did you set the jack-options according to nrpacks=4?
I once tried playing with this option but dropped it as it brought no 
advantage for me.
Mine currently works with several different settings, I have attached my 
qjackctlrc...



> I have tried kernels 2.6.10, 2.6.11, 2.6.11.4 and 2.6.11.5.  The 2.6.11
> series seems to be closer to working.  Anyone please have ideas of what to
> try next or what info I could gather than would be useful?

I am using 2.6.11 successfully...

> By comparison it works a treat on my desktop PC apart from one from little
> niggle (which also affects the laptop).  Sometimes when unplugging the
> US-122 the keyboard on the PC locks up.  At this point it is usually still
> possible to log in over the network and shut the PC down which is
> sometimes sucessful and sometimes it hangs somewhere in the shutdown
> sequence.

I get this error occasionally on my desktop-system. But as this has two 
soundcards I don't need a third very often...

> >From my laptop, /proc/interrupts with ACPI on:
>
>            CPU0
>   0:   26742183          XT-PIC  timer
>   1:       7401          XT-PIC  i8042
>   2:          0          XT-PIC  cascade
>   5:    1148549          XT-PIC  VIA686A, ohci1394, VIA82XX-MODEM
>   8:          1          XT-PIC  rtc
>   9:          4          XT-PIC  acpi
>  10:    1218664          XT-PIC  eth0, uhci_hcd, uhci_hcd

This could be a problem, I would focus on splitting these up. (And perhaps 
disable network while recording.)

Perhaps this helps...

Arnold

-- 
There is a theory which states that if ever anyone discovers exactly what the 
Universe is for and why it is here, it will instantly disappear and be 
replaced by something even more bizarre and inexplicable.


There is another theory which states that this has already happened.

 -- Douglas Adams, The Restaurant at the End of the Universe
-------------- next part --------------
[Defaults]
PatchbayPath=/home/arnold/hydrogen-midi.xml

[Geometry]
qjackctlConnectionsForm/height=369
qjackctlConnectionsForm/visible=true
qjackctlConnectionsForm/width=507
qjackctlConnectionsForm/x=90
qjackctlConnectionsForm/y=344
qjackctlMainForm/height=94
qjackctlMainForm/visible=true
qjackctlMainForm/width=513
qjackctlMainForm/x=555
qjackctlMainForm/y=611
qjackctlMessagesForm/height=476
qjackctlMessagesForm/visible=false
qjackctlMessagesForm/width=608
qjackctlMessagesForm/x=172
qjackctlMessagesForm/y=106
qjackctlPatchbayForm/height=260
qjackctlPatchbayForm/visible=false
qjackctlPatchbayForm/width=709
qjackctlPatchbayForm/x=320
qjackctlPatchbayForm/y=288
qjackctlStatusForm/visible=false

[History]
ActivePatchbayPathComboBox/Item1=/home/arnold/hydrogen-midi.xml
ActivePatchbayPathComboBox/Item2=/home/arnold/jackmix_qjackctl_patchbay.xml
ActivePatchbayPathComboBox/Item3=/home/arnold/musik/default_zyn.xml
ActivePatchbayPathComboBox/Item4=/home/arnold/musik/take_red/takered_email_patchbay.xml
InDeviceComboBox/Item1=(default)
InDeviceComboBox/Item2=/dev/dsp
InterfaceComboBox/Item1=hw:1
InterfaceComboBox/Item2=hw:1,2
InterfaceComboBox/Item3=hw:0
InterfaceComboBox/Item4=default
OutDeviceComboBox/Item1=(default)
OutDeviceComboBox/Item2=/dev/dsp
PriorityComboBox/Item1=0
PriorityComboBox/Item2=1
PriorityComboBox/Item3=2
PriorityComboBox/Item4=3
PriorityComboBox/Item5=4
PriorityComboBox/Item6=5
PriorityComboBox/Item7=6
PriorityComboBox/Item8=7
ServerComboBox/Item1=jackd
ServerComboBox/Item2=jackstart
ServerComboBox/Item3=jackd-realtime
ServerConfigNameComboBox/Item1=.jackdrc
StartupScriptShellComboBox/Item1=artsshell -q terminate
XrunRegexComboBox/Item1=xrun of at least ([0-9|\\.]+) msecs

[Options]
ActivePatchbay=true
ActivePatchbayPath=/home/arnold/hydrogen-midi.xml
AliasesEditing=false
AliasesEnabled=false
AutoRefresh=true
BezierLines=false
ConnectionsFont=Arial,13,-1,5,50,0,0,0,0,0
ConnectionsIconSize=0
DisplayEffect=true
DisplayFont1=Arial,12,-1,5,75,0,0,0,0,0
DisplayFont2=Arial,12,-1,5,48,0,0,0,0,0
KeepOnTop=true
MessagesFont=Terminal,12,-1,5,48,0,0,0,0,0
MessagesLimit=true
MessagesLimitLines=1000
PostShutdownScript=false
PostShutdownScriptShell=
PostStartupScript=false
PostStartupScriptShell=
QueryClose=true
QueryShutdown=true
ServerConfig=true
ServerConfigName=.jackdrc
ServerConfigTemp=false
ShutdownScript=false
ShutdownScriptShell=
StartJack=false
StartupScript=false
StartupScriptShell=artsshell -q terminate
StdoutCapture=true
SystemTray=false
TimeDisplay=0
TimeFormat=0
TimeRefresh=5
XrunIgnoreFirst=true
XrunRegex=xrun of at least ([0-9|\\.]+) msecs

[Presets]
DefPreset=(default)
Preset1=stable
Preset2=fast

[Program]
Version=0.2.15

[Settings]
Audio=0
Chan=0
Dither=0
Driver=alsa
Frames=512
HWMeter=false
HWMon=false
IgnoreHW=false
InChannels=0
InDevice=\0
Interface=hw:1
Monitor=false
NoMemLock=true
OutChannels=0
OutDevice=\0
Periods=2
PortMax=128
Priority=3
Realtime=true
SampleRate=48000
Server=jackd
Shorts=false
SoftMode=false
StartDelay=2
Timeout=10000
UnlockMem=false
Verbose=false
Wait=21333
WordLength=16
fast/Audio=0
fast/Chan=0
fast/Dither=0
fast/Driver=alsa
fast/Frames=64
fast/HWMeter=false
fast/HWMon=false
fast/IgnoreHW=false
fast/InChannels=0
fast/InDevice=\0
fast/Interface=hw:1
fast/Monitor=false
fast/NoMemLock=false
fast/OutChannels=0
fast/OutDevice=\0
fast/Periods=6
fast/PortMax=128
fast/Priority=3
fast/Realtime=true
fast/SampleRate=48000
fast/Server=jackd
fast/Shorts=false
fast/SoftMode=false
fast/StartDelay=2
fast/Timeout=5000
fast/UnlockMem=false
fast/Verbose=false
fast/Wait=21333
fast/WordLength=16
stable/Audio=0
stable/Chan=0
stable/Dither=0
stable/Driver=alsa
stable/Frames=128
stable/HWMeter=false
stable/HWMon=false
stable/IgnoreHW=false
stable/InChannels=0
stable/InDevice=\0
stable/Interface=hw:1
stable/Monitor=false
stable/NoMemLock=false
stable/OutChannels=0
stable/OutDevice=\0
stable/Periods=4
stable/PortMax=128
stable/Priority=3
stable/Realtime=true
stable/SampleRate=48000
stable/Server=jackd
stable/Shorts=false
stable/SoftMode=false
stable/StartDelay=2
stable/Timeout=20000
stable/UnlockMem=false
stable/Verbose=false
stable/Wait=21333
stable/WordLength=16

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20050323/746e109f/attachment.pgp 


More information about the Linux-audio-user mailing list