Page 1 of 1

[SOLVED] Jack ERROR: control open "hw:usb" (No such device)

Posted: Thu Jul 21, 2016 1:39 am
by MountainX
I can't (yet) get the Scarlett Solo to work with Jack. I had Jack set up and working properly with my Native Instruments K6. In jack/config.xml I previosly used hw:k6,0 as the device specifier:

Code: Select all

 <drivers>
  <driver name="alsa">
   <option name="device">hw:k6,0</option>
I changed audio interfaces to try out the new Focusrite Scarlett Solo today. I expected I would only have to change the device name to hw:USB,0. However, that doesn't work.

The logs show:
Wed Jul 20 20:54:35 2016: Starting jack server...
Wed Jul 20 20:54:35 2016: JACK server starting in realtime mode with priority 70
Wed Jul 20 20:54:35 2016: self-connect-mode is "Don't restrict self connect requests"
Wed Jul 20 20:54:35 2016: ERROR: control open "hw:usb" (No such device)
Wed Jul 20 20:54:35 2016: ERROR: control open "hw:usb" (No such device)
Wed Jul 20 20:54:35 2016: creating alsa driver ... hw:usb,0|hw:usb,0|512|3|48000|0|0|nomon|swmeter|-|32bit
Wed Jul 20 20:54:35 2016: ERROR: control open "hw:usb" (No such device)
Wed Jul 20 20:54:35 2016: ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Wed Jul 20 20:54:35 2016: ERROR: Cannot initialize driver
Wed Jul 20 20:54:35 2016: ERROR: JackServer::Open failed with -1
Wed Jul 20 20:54:35 2016: ERROR: Failed to open server
I assume the problem can't be anything major because my system is working fine with the K6.

Here's some more info:

I'm running Arch Linux with both jack2dbus and pulseaudio. I am using pulseaudio-jack and my configuration is based on the "new new" method mentioned in the Arch wiki here https://wiki.archlinux.org/index.php/Pu ... rough_JACK. That was working perfectly with the K6.

cat /proc/asound/cards

Code: Select all

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfba30000 irq 76
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb080000 irq 75
 2 [USB            ]: USB-Audio - Scarlett Solo USB
                      Focusrite Scarlett Solo USB at usb-0000:00:14.0-14, high speed
lsusb:

Code: Select all

Bus 001 Device 009: ID 1235:8205 Focusrite-Novation       
cat /proc/asound/card2/pcm0p/info

Code: Select all

                                                                           
card: 2                                                                                                                                         
device: 0                                                                                                                                       
subdevice: 0                                                                                                                                    
stream: PLAYBACK                                                                                                                                
id: USB Audio                                                                                                                                   
name: USB Audio                                                                                                                                 
subname: subdevice #0                                                                                                                           
class: 0                                                                                                                                        
subclass: 0                                                                                                                                     
subdevices_count: 1                                                                                                                             
subdevices_avail: 1       
cat /proc/asound/card2/stream0

Code: Select all

                                                                                                                      
Focusrite Scarlett Solo USB at usb-0000:00:14.0-14, high speed : USB Audio 

Re: Jack ERROR: control open "hw:usb" (No such device)

Posted: Thu Jul 21, 2016 5:04 am
by MountainX
So here is what I had to do:
  • deleted database files in ~/.config/pulse (not sure if this was needed)
    exit KDE to a virtual console
    pulseaudio --kill
    jack_control dps device hw:USB
    jack_control dps capture hw:USB
    jack_control dps playback hw:USB
then start KDE again and everything works. It was the last two lines that fixed it (because I have duplex set to true).
This wasn't really different from what I had tried already with KDE running, but I guess I had missed some small detail somewhere.