[LAD] alsa card order

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Mon May 4 15:52:52 UTC 2009


On Wed, 2009-04-29 at 17:55 +0200, Fons Adriaensen 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 <fons at kokkinizita.net> 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.

I was told that the name to use in "hw:name" is the name in
"cat /proc/asound/cards" (in between the [])

-- Fernando


> Can you suggest what name to use given:
> 
> fons at 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
> fons at zita1:~> 
> fons at zita1:~> 
> fons at 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
> fons at zita1:~> 
> fons at 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
> fons at zita1:~> 
> 




More information about the Linux-audio-dev mailing list