Code: Select all
/usr/bin/jackd -P10 -t2000 -dalsa -dhw:USB -r48000 -p256 -n2 -Xseq -D -Phw:USB
Some info:
and also$ cat /proc/asound/modules
0 snd_usb_audio
1 snd_hda_intel
Since[~]$ cat /proc/asound/cards
0 [USB ]: USB-Audio - Scarlett 2i4 USB
Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.1, high speed
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xd0600000 irq 43
I tried by putting into /etc/asound.conf$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: USB [Scarlett 2i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
pcm.!default {
type hw
card USB
}
ctl.!default {
type hw
card USB
}
I have managed to setup some udev rules to dynamically switch audio card when I plug in the USB port of the interaface, so at least I got that going for me.
My list of devices and modules is:
The messages when I start jack via qjackctl are:[~]$ lsmod | grep snd
snd_hrtimer 1636 1
snd_seq_midi 5136 2
snd_seq_midi_event 5628 1 snd_seq_midi
snd_seq_dummy 1463 2
snd_seq 50170 13 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_hda_codec_hdmi 36379 1
snd_hda_codec_conexant 37907 1
snd_usb_audio 117811 5
snd_usbmidi_lib 19755 1 snd_usb_audio
snd_rawmidi 18742 2 snd_usbmidi_lib,snd_seq_midi
snd_seq_device 5180 4 snd_seq,snd_rawmidi,snd_seq_dummy,snd_seq_midi
snd_hda_intel 37352 0
snd_hda_codec 150017 3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 6332 2 snd_usb_audio,snd_hda_codec
snd_pcm 77822 6 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7298 2 snd_pcm,snd_hda_intel
snd_timer 18718 3 snd_hrtimer,snd_pcm,snd_seq
snd 59029 18 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 5418 1 snd
usbcore 180320 6 snd_usb_audio,uvcvideo,rts5139,snd_usbmidi_lib,ehci_hcd,ehci_pci
I'm on a 64bit Lenovo G570, using kernel 3.13.4-1 on Arch Linux, jackdmp 1.9.9.5 (from Arch repositories).JACK server starting in realtime mode with priority 10
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:USB|hw:USB|256|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
port created: Midi-Through:midi/playback_1
port created: Midi-Through:midi/capture_1
port created: Scarlett-2i4-USB:midi/playback_1
port created: Scarlett-2i4-USB:midi/capture_1
I've searched online all weekend, and haven't found anything that helps. I'm sure I'm missing something simple but by god I can't figure it out.
(First real post, I'll be happy to move it to a more appropriate forum if needed).