My audio card is listed as:
pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Bus 001 Device 008: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
pi@raspberrypi ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
When i do:
pi@raspberrypi ~ $speaker-test -Dplughw:1,0 -t sine -f 800
I get a test tone from the output. Then I do:
pi@raspberrypi ~ $ sudo pd -nogui -listdev audio input devices:
audio output devices:
API number 1
pi@raspberrypi ~ $ pd -nogui -alsa -nomidi -audiodev 1,1 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such file or directory ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such file or directory
hmmmm... am i doing something silly wrong here? what am i missing with my flags that giving me "Invalid value for card"?
thanks! m