I am still trying to get my head around jackd and alsa to figure out how to get both capture and playback ports both on card 0 and card 1. If I try the following, I get both but the application does not output audio from the radio with all the ports connected - I get white noise similar to listening to the radio when it's off a station. # pasuspender -- /usr/local/bin/jackd -r -dalsa -Chw:1 -Phw:0 -Chw:0 -Phw:1 -r48000 -p1024 -s -n 3& [2] 10703 [1] Killed pasuspender -- /usr/local/bin/jackd -r -dalsa -D -r48000 -p1024 -s -n 3 slipstream:/home/lancelot/ftp/oct10 # jackdmp 1.9.7 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2010 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in non-realtime mode creating alsa driver ... hw:1|hw:0|1024|3|48000|0|0|nomon|swmeter|soft-mode|32bit Using ALSA driver EMU10K1 running on card 1 - SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 0xb880, irq 20 configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 3 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 16bit little-endian ALSA: use 3 periods for playback # jack_lsp system:capture_1 system:capture_2 system:playback_1 system:playback_2 slipstream:/home/lancelot/ftp/oct10 # pasuspender -- /usr/local/bin/jackd -r -dalsa -D -r48000 -p1024 -s -n 3& [1] 21332 slipstream:/home/lancelot/ftp/oct10 # jackdmp 1.9.7 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2010 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in non-realtime mode creating alsa driver ... hw:0|hw:0|1024|3|48000|0|0|nomon|swmeter|soft-mode|32bit Using ALSA driver HDA-Intel running on card 0 - HDA ATI SB at 0xf7df8000 irq 16 configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 3 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 3 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 3 periods for playback # jack_lsp system:capture_1 system:capture_2 system:playback_1 system:playback_2 system:playback_3 system:playback_4 system:playback_5 system:playback_6 system:playback_7 system:playback_8 slipstream:/HAMRADIO/SDR/SoftRock/9V1AL/MOBO/Mobo-ATmega32U2-1-06 # pasuspender -- /usr/local/bin/jackd -r -dalsa -dhw:1 -r48000 -p1024 -s -n 3& [1] 28849 slipstream:/HAMRADIO/SDR/SoftRock/9V1AL/MOBO/Mobo-ATmega32U2-1-06 # slipstream:/HAMRADIO/SDR/SoftRock/9V1AL/MOBO/Mobo-ATmega32U2-1-06 # jack_jackdmp 1.9.7 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2010 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details lsp`default' server already active Failed to start server Failure to resume: Invalid argument *** IGNORE - second jackd statement in script *** **** Connections look OK, noise from the speakers but I can't receive any stations on the radio. # jack_lsp -c system:capture_1 SDR-SHELL_RX:il system:capture_2 SDR-SHELL_RX:ir system:playback_1 SDR-SHELL_TX:ol system:playback_2 SDR-SHELL_TX:or onboard:capture_1 SDR-SHELL_TX:il onboard:capture_2 SDR-SHELL_TX:ir onboard:playback_1 SDR-SHELL_RX:ol onboard:playback_2 SDR-SHELL_RX:or SDR-SHELL_RX:il system:capture_1 SDR-SHELL_RX:ir system:capture_2 SDR-SHELL_RX:ol onboard:playback_1 SDR-SHELL_RX:or onboard:playback_2 SDR-SHELL_TX:il onboard:capture_1 SDR-SHELL_TX:ir onboard:capture_2 SDR-SHELL_TX:ol system:playback_1 SDR-SHELL_TX:or system:playback_2 Regards Sid. On 13/10/10 11:54, Sid Boyce wrote: > # cat /proc/asound/cards > 0 [SB ]: HDA-Intel - HDA ATI SB > HDA ATI SB at 0xf7df8000 irq 16 > 1 [Live ]: EMU10K1 - SB Live! 5.1 [SB0060] > SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 0xb880, irq 20 > > The problem - I have a Software Defined Radio transceiver that is > physically attached as follows:- > Radio receive port left/right channels --> Card 1 Line input > Radio transmit port left/right channels --> Card 1 output > The Microphone and Speakers are connected to Card 0 Mic and Speaker > > The sdr-shell program takes the input from the radio --> capture ports, > processes it and it comes out the speakers as audio, likewise it should > take the Mic input process it and send it to card 1 output --> radio for > transmission. > > From the display below the transmit ports are not connected, seemingly > because there are no playback ports available. > I've attached a screen shot of qjackctl, I don't know if the lists will > allow it. > # jack_lsp -c > system:capture_1 > SDR-SHELL_RX:il > system:capture_2 > SDR-SHELL_RX:ir > onboard:capture_1 > SDR-SHELL_TX:il > onboard:capture_2 > SDR-SHELL_TX:ir > onboard:playback_1 > SDR-SHELL_RX:ol > onboard:playback_2 > SDR-SHELL_RX:or > SDR-SHELL_RX:il > system:capture_1 > SDR-SHELL_RX:ir > system:capture_2 > SDR-SHELL_RX:ol > onboard:playback_1 > SDR-SHELL_RX:or > onboard:playback_2 > SDR-SHELL_TX:il > onboard:capture_1 > SDR-SHELL_TX:ir > onboard:capture_2 > SDR-SHELL_TX:ol <======= not connected > SDR-SHELL_TX:or <======= not connected > > # jack_lsp -A > system:capture_1 > alsa_pcm:capture_1 > system:capture_2 > alsa_pcm:capture_2 > onboard:capture_1 > onboard:capture_2 > onboard:playback_1 > onboard:playback_2 > SDR-SHELL_RX:il > SDR-SHELL_RX:ir > SDR-SHELL_RX:ol > SDR-SHELL_RX:or > SDR-SHELL_TX:il > SDR-SHELL_TX:ir > SDR-SHELL_TX:ol > SDR-SHELL_TX:or > > Regards > Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user