On Wed, 29 Apr 2009 17:55:28 +0200 Fons Adriaensen <[email protected]> wrote:
> On Wed, Apr 29, 2009 at 07:45:31AM -0400, Paul Davis wrote: > > > On Wed, Apr 29, 2009 at 5:09 AM, Fons Adriaensen > > <[email protected]> wrote: > > > > > > How do you start jackd on an alsa hw device without > > > knowing the index (in a non-interactive way, e.g. > > > from a script) ? > > > > jack ... -d alsa -d AnyALSA:deviceName,WillDo .... > > I did not find anything that seems to work. > Can you suggest what name to use given: > > f...@zita1:~> aplay -L > default:CARD=I82801DBICH4 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > Default Audio Device > front:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > Front speakers > surround40:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > 4.0 Surround output to Front and Rear speakers > surround41:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > 4.1 Surround output to Front, Rear and Subwoofer speakers > surround50:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > 5.0 Surround output to Front, Center and Rear speakers > surround51:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 > 5.1 Surround output to Front, Center, Rear and Subwoofer speakers > iec958:CARD=I82801DBICH4,DEV=0 > Intel 82801DB-ICH4, Intel 82801DB-ICH4 - IEC958 > IEC958 (S/PDIF) Digital Audio Output > null > Discard all samples (playback) or generate zero samples (capture) > default:CARD=EWS88MT > TerraTec EWS88MT, ICE1712 multi > Default Audio Device > f...@zita1:~> > f...@zita1:~> > f...@zita1:~> cat /proc/asound/cards > 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 > Intel 82801DB-ICH4 with ALC650E at irq 17 > 1 [UART ]: MPU-401 UART - MPU-401 UART > MPU-401 UART at 0x300, irq 10 > 2 [EWS88MT ]: ICE1712 - TerraTec EWS88MT > TerraTec EWS88MT at 0xac00, irq 21 > f...@zita1:~> > f...@zita1:~> cat /proc/asound/devices > 2: : timer > 3: [ 1- 0]: raw midi > 4: [ 1] : control > 5: : sequencer > 6: [ 2- 0]: raw midi > 7: [ 2- 2]: digital audio playback > 8: [ 2- 1]: digital audio playback > 9: [ 2- 1]: digital audio capture > 10: [ 2- 0]: digital audio playback > 11: [ 2- 0]: digital audio capture > 12: [ 2] : control > 13: [ 0- 4]: digital audio playback > 14: [ 0- 3]: digital audio capture > 15: [ 0- 2]: digital audio capture > 16: [ 0- 1]: digital audio capture > 17: [ 0- 0]: digital audio playback > 18: [ 0- 0]: digital audio capture > 19: [ 0] : control > f...@zita1:~> > In my case, excerpt of aplay -L: ... default:CARD=UA25 UA-25, USB Audio Default Audio Device ... In qjackctl: hw:UA25 So for the terratec that would be: hw:EWS88MT aplay -l lists the usable subdevices as well, usually you can use them with like hw:0,2 or something like that, so I guess [devicename],[subdevicenumber] could work as well. HTH Regards, Philipp _______________________________________________ Linux-audio-dev mailing list [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
