alidaf wrote: > Gordon has been trying to help out. I thought someone here might have > some esoteric knowledge of alsa. I've tried changing the device name as > well but nada banana. I have an old version B so I'm going to try that > with some different GPIOs. The code should still work for a rotary > encoder on those pins. > > EDIT: Using "PCM" in the code works on the old B board by connecting the > rotary encoder directly to GPIO pins 23 & 24 & the adjacent ground. The > headphone doesn't seem to have very much gain unless I use the > squeezebox server to increase volume as well. There must be something > else that sets the volume as well as the mixer. Still no go via the > IQaudIODAC on the B+ though.
Hi thank you for working on this. In order to find the name and control than can manipulate the card. You first will have to find out the number assigned to the IQaudIO card. I use this command: sudo cat /proc/asound/cards The IQaudIO is probably card 1. So next you can use this command: amixer -c 1 controls I think this is the command you should use. It will give you the info you need. Whereas amixer -c 0 controls will probably show you the info for the analog ALSA card. Regards Steen piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://sites.google.com/site/picoreplayer/home *Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer* ------------------------------------------------------------------------ sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
