root@OCTOMEDIA:~# wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && b ash ./alsa-info.sh
--2012-06-28 12:14:25-- http://alsa-project.org/alsa-info.sh
Resolving alsa-project.org... 77.48.224.243
Connecting to alsa-project.org|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/al sa-info.sh [following]
--2012-06-28 12:14:25-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_p lain;f=utils/alsa-info.sh
Resolving git.alsa-project.org... 77.48.224.243
Reusing existing connection to alsa-project.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `alsa-info.sh'
[ <=> ] 27,785 109K/s in 0.2s
2012-06-28 12:14:25 (109 KB/s) - `alsa-info.sh' saved [27785]
ALSA Information Script v 0.4.61
--------------------------------
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
lsmod
aplay
amixer
alsactl
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See './alsa-info.sh --help' for command line options.
cat: /proc/asound/version: No such file or directory
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
cat: /proc/asound/modules: No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1504: No soundcards found...
cat: /tmp/alsa-info.B8MnoBG1tk/alsactl.tmp: No such file or directory
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!
Your ALSA information is located at http://www.alsa-project.org/db/?f=12651b9e68 d874ff95b1c5cc770b4bc09361219d
Please inform the person helping you.
root@OCTOMEDIA:~# ^C
root@OCTOMEDIA:~# http://www.alsa-project.org/db/?f=12651b9e68 d874ff95b1c5cc770b4bc09361219d
-bash: http://www.alsa-project.org/db/?f=12651b9e68: No such file or directory
root@OCTOMEDIA:~#
1. Jak widzisz sudo przestało działać, bo coś pomieszałeś z hostami. Ale i tak wydajesz polecenia jako root (świadczą o tym nazwa użytkownika i symbol '#' na końcu linii poleceń) więc polecenia można pisać bezpośrednio, bez sudo.
2. Czytaj dokładnie informacje z linku, linie hdmi_drive=2 trzeba dodać do pliku konfiguracyjnego http://elinux.org/R-Pi_ConfigurationFile.
3. Z jakiego źródła chcesz mieć dźwięk HDMI czy analogowe (jack)? W zależności od odpowiedzi w linijce:
za n trzeba podstawić: 0 - automat (HDMI jeżeli możliwe), 1 - analog, 2 - HDMI
4. Tam jest jeszcze dodatkowy akapit "Jeżeli używasz debiana" dlaczego jego nie wykonałeś?