I am running Ubuntu 12.04 studio on an HP Pavilion dm1 4200sg netbook. This is a fairly recent installation. I am trying to start the Jackd server by running
jackd -R -d alsa
and it does not work with output:
JACK server starting in realtime mode with priority 10 control device hw:0 control device hw:0 audio_reservation_init Acquire audio card Audio0 creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode Cannot initialize driver JackServer::Open() failed with -1 Failed to open server
Running aplay -l gives the following result:
**** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice
I find that by running
jackd -R -d alsa -d hw:1
jackd starts up successfully. I would like to configure my machine so that hw: 1 is the default parameter (i.e., so that the original command "jackd -R -d alsa" works). Can someone help me do this?
I tried editing ~ / .asoundrc to be
pcm.!default { type hw card 1 } ctl.!default { type hw card 1 }
but this does not seem to work. I feel good here, and any help will be appreciated. Thanks!
source share