I am putting together zynthian with a raspberry tuuch screen. so far I get the UI running ok.
my problem is when using webconf to edit the sound card to use a Linux usb sound card
I get a screen with zynthina error.
I had fallow this page http://wiki.zynthian.org/index.php/Simple_RPF_Touchscreen_Zynthian
but not shure what to exactly add in the JackD option
the output of aplay -L is below .
Please advice what to add in the jackd option and config area
best
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Device
USB Sound Device, USB Audio
Default Audio Device
sysdefault:CARD=Device
USB Sound Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
USB Sound Device, USB Audio
Front speakers
surround21:CARD=Device,DEV=0
USB Sound Device, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
USB Sound Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB Sound Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB Sound Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB Sound Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB Sound Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB Sound Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
USB Sound Device, USB Audio
Direct sample mixing device
dsnoop:CARD=Device,DEV=0
USB Sound Device, USB Audio
Direct sample snooping device
hw:CARD=Device,DEV=0
USB Sound Device, USB Audio
Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
USB Sound Device, USB Audio
Hardware device with all software conversions
thanks for the link , I am still not clear what are the parameters for my card
in the link the usb card has . P70 -t2000 -dalsa -dhw:CODEC -r48000 -p256 -n4 -s -S -Xraw
CODEC = NAME OF card , where do you get all other parameters ?
thanks
Try to use the same parameters from that thread and replace the âCODECâ value by the name of your card. You can get the name with the command $ cat /proc/asound/cards. To run this, you have to connect over SSH on your zynthian with root as user and raspberry as password. Know you how to do this? If not, you can google for âssh connection with linux/windows/macâ.
Iâve run the command now and got the name âCODECâ to UCA222.
Card list: (/proc/asound/cards)
0 [CODEC ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-bcm2708_usb-1.2, full speed
See this reply on the thread I told before:
I have zynthian working with a behringer uca222 USB interface. The web interface didnât work for me, jack is reading the settings from somewhere else. What you have to do is to modify the file /root/.jackdrc
Mine look like this:
The web interface didnât work for me, jack is reading the settings from somewhere else. What you have to do is to modify the file /root/.jackdrc
I had problems before configuring the zynthian with USB card on webconf. The thread author told the same.
Pehaps is there a bug with webconf and USB cards?
Pls send photos of the command you got the card name with.
And the webconf screen.
When you type, we donât know, if the typo is a mistake you really did or just when answering here.
Unless you have modified the systemd service units, the official Zynthian SD âGorgona Omegaâ will take the Jackd options from the environment, that is set by the webconf tool.
@BalamSoto, you should try the default jackd options from the webconf tool:
From your âaplay -Lâ command i see your card is device â0â (DEV=0), so it should work with â-d hw:0â.
Perhaps it doesnât support the 44100 rate. You could try with â-r 48000â:
This fixed my problem too. My USB card was listed as card 1 and âCODECâ but both hw:1 and hw:CODEC didnât work (Zyn UI didnât even start up). It seems jackd wasnât happy that there was no card 0 to begin with, so setting snd_usb_audio=0 and going with -d hw:0 in the webconf seemed to have solved that.