@pelof: Det funkade bra. Nu ser det ut att vara konfigurerat korrekt. Men, jag får tyvärr ingen ljud, varken ut eller in...
aplay: sprakar svagt i hörlurarna...
arecord: ger ett fel.
Detaljer:
$ aplay -D plughw:1,0 beep.wav
Playing WAVE 'beep.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Citat:
$ arecord temp.wav Recording WAVE 'temp.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:1233: Sample format non available Available formats:
- S16_LE
Här verkar det vara som så att ljudkortet inte kan spela in i 8000Hz.
Se inlägg 9 för möjlig lösning på problemet.
https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=20866...
Även den här tråden kan vara av intresse, jag är dock inte speciellt bra på linux.
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=70983
Citat:
$ sudo arecord temp.wav
arecord: main:722: audio open error: No such file or directory
Här verkar det som du saknar något.
Säkert på att allt är installerat?
http://elinux.org/R-Pi_Troubleshooting#Sound_does_not_work_at...
Konfig:
$ lsusb Bus 001 Device 007: ID 2001:330f D-Link Corp.
Bus 001 Device 006: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter Bus 001 Device 005: ID 1bcf:0007 Sunplus Innovation Technology Inc.
Optical Mouse
Bus 001 Device 004: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet
K-2024 Multimedia Keyboard
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ cat /proc/asound/modules
0 snd_usb_audio
1 snd_bcm2835
$ amixer
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 151
Mono:
Front Left: Playback 96 [64%] [-10.38dB] [on]
Front Right: Playback 96 [64%] [-10.38dB] [on] Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 32 Capture 0 - 16
Mono: Playback 23 [72%] [34.36dB] [off] Capture 9 [56%] [13.39dB] [on] Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
mvh
/Martin