hi all .
i am suprised that dietpi works very very quickly .
perhaps using usb sound card , i get sound .
it is regretable that TV does not give any sound .
i expect that dietpi solves this problem .
---
regards
[solved] odroid-c2 , no hdmi sound
[solved] odroid-c2 , no hdmi sound
Last edited by hatahata on Wed Jul 13, 2016 11:46 am, edited 1 time in total.
Re: odroid-c2 , no hdmi sound
Is this using Kodi?
Re: odroid-c2 , no hdmi sound
i have not expiriencsed kodi .
i use odroid-c2 , and old USB sound blaser is not recognized automatically .
i want to enjoy youtube with sound by web browser .
----------
regards
i use odroid-c2 , and old USB sound blaser is not recognized automatically .

i want to enjoy youtube with sound by web browser .
----------
regards
Re: odroid-c2 , no hdmi sound
You will need to configure the USB soundcard manually in /etc/asound.conf.hatahata wrote:i have not expiriencsed kodi .
i use odroid-c2 , and old USB sound blaser is not recognized automatically .![]()
i want to enjoy youtube with sound by web browser .
----------
regards
As for the HDMI sound. What desktop did you install?
If its MATE (known issue, resolved for v123), please run the command here: https://github.com/Fourdee/DietPi/issue ... -231587426
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: odroid-c2 , no hdmi sound
thanks for advices .
i install xfce4 .
i have several questions
1) dietpi-config shows
choose hdmi , then This option is not available for oDroid C2 (aarch64)
2)# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S dit-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: I2S pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
then
cat /etc/asound.conf
pcm.!default {
type hw
card 0
device 0
}
is OK ?
at present i have no hdmi sound .
----
regards
i install xfce4 .
i have several questions
1) dietpi-config shows
choose hdmi , then This option is not available for oDroid C2 (aarch64)
2)# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S dit-hifi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: I2S pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
then
cat /etc/asound.conf
pcm.!default {
type hw
card 0
device 0
}
is OK ?
at present i have no hdmi sound .
----
regards
Re: odroid-c2 , no hdmi sound
Hi,hatahata wrote: cat /etc/asound.conf
pcm.!default {
type hw
card 0
device 0
}
The asound.conf is incorrect for the C2.
We need to use the following, please copy and paste the following command over SSH:
Code: Select all
cat << _EOF_ > /etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:0,0"
format S32_LE
}
}
_EOF_
Code: Select all
nano /etc/asound.conf
Code: Select all
pcm.!default {
type plug
slave {
pcm "hw:0,0"
format S32_LE
}
}
After the reboot, you can test the sound with:
Code: Select all
speaker-test -c2
#CTRL + C to stop test
The option below (soundcard) is available. Setting this to "none" will revert back to the default card and writes the HDMI asound.conf as above.1) dietpi-config shows
choose hdmi , then This option is not available for oDroid C2 (aarch64)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: odroid-c2 , no hdmi sound
thanks for advice .
but also no hdmi sound .
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 8192
Period size range from 8 to 4096
Using max buffer size 8192
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
did i miss something what you said ?
shoud i install some packages ?
present state
dpkg -l | grep 'pulseaudio'
ii pulseaudio 5.0-13 arm64 PulseAudio sound server
ii pulseaudio-utils 5.0-13 arm64 Command line tools for the PulseAudio sound server
------------
regards
but also no hdmi sound .
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 8192
Period size range from 8 to 4096
Using max buffer size 8192
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
Code: Select all
root@DietPi:/home/pi# diff /etc/asound.conf /etc/asound.conf-ori
2,6c2,8
< type plug
< slave {
< pcm "hw:0,0"
< format S32_LE
< }
---
> type hw
> card 1
> }
>
> ctl.!default {
> type hw
> card 1
root@DietPi:/home/pi#
root@DietPi:/home/pi# diff /etc/pulse/default.pa /etc/pulse/default.pa-ori
167d166
< set-default-sink alsa_output.platform-odroid_hdmi.37.analog-stereo
shoud i install some packages ?
present state
dpkg -l | grep 'pulseaudio'
ii pulseaudio 5.0-13 arm64 PulseAudio sound server
ii pulseaudio-utils 5.0-13 arm64 Command line tools for the PulseAudio sound server
------------
regards
Re: odroid-c2 , no hdmi sound
i accidently get sound from hdmi (youtube)
what i did is
1) aptitude remove slim xfce4
2)aptitude install lightdm lxde
3) now state
root@DietPi:/home/pi# dpkg -l | grep alsa
ii alsa-base 1.0.27+1 all dummy package to ease purging of obsolete conffiles
ii alsa-utils 1.0.28-1 arm64 Utilities for configuring and using ALSA
ii gstreamer0.10-alsa:arm64 0.10.36-2 arm64 GStreamer plugin for ALSA
root@DietPi:/home/pi# dpkg -l | grep pulse
ii libpulse0:arm64 5.0-13 arm64 PulseAudio client libraries
ii libpulsedsp:arm64 5.0-13 arm64 PulseAudio OSS pre-load library
ii pulseaudio 5.0-13 arm64 PulseAudio sound server
ii pulseaudio-utils 5.0-13 arm64 Command line tools for the PulseAudio sound server
cat /etc/pulse/default.pa perhaps original /etc/pulse/default.pa is OK , so i think .
.nofail
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
load-module module-detect
.endif
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
pi@DietPi:~$ ./comment-out.bat .asoundrc
pcm.!default {
type hw
format S32_LE
card 0
}
ctl.!default {
type hw
card 0
}
my success is quite accident .
please see [youtube] https://youtu.be/VD8sFLaMe6E [/youtube]
https://youtu.be/VD8sFLaMe6E
so perhaps there are somuting dulplicates .
----
regards
now my root is on hard disk drive .
ps:
-------------
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 147512632 1962728 138033600 2% <--- 150GB /
udev 10240 0 10240 0% /dev
tmpfs 351868 10372 341496 3% /run
tmpfs 879664 37536 842128 5% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 879664 0 879664 0% /sys/fs/cgroup
tmpfs 10240 1168 9072 12% /DietPi
tmpfs 20480 60 20420 1% /var/log
tmpfs 879664 16 879648 1% /tmp
/dev/mmcblk0p1 130798 46920 83878 36% /boot
tmpfs 175936 4 175932 1% /run/user/0
tmpfs 175936 0 175936 0% /run/user/105
tmpfs 175936 4 175932 1% /run/user/1000
top - 17:29:49 up 36 min, 3 users, load average: 1.24, 1.02, 0.92
Tasks: 127 total, 2 running, 125 sleeping, 0 stopped, 0 zombie
%Cpu(s): 18.2 us, 2.7 sy, 0.0 ni, 78.1 id, 0.8 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem: 1759332 total, 1369524 used, 389808 free, 27132 buffers
KiB Swap: 6291452 total, 0 used, 6291452 free. 785784 cached Mem <- 6GB
./comment-out.bat /etc/rc.local
/DietPi/dietpi/dietpi-services start
/DietPi/dietpi/dietpi-banner 0
echo " Default Login:\n Username = root\n Password = dietpi\n"
swapon /dev/sda3
exit 0
64bit CPU can use over 4GB memory , 2+6G is very good for me .
what i did is
1) aptitude remove slim xfce4
2)aptitude install lightdm lxde
3) now state
root@DietPi:/home/pi# dpkg -l | grep alsa
ii alsa-base 1.0.27+1 all dummy package to ease purging of obsolete conffiles
ii alsa-utils 1.0.28-1 arm64 Utilities for configuring and using ALSA
ii gstreamer0.10-alsa:arm64 0.10.36-2 arm64 GStreamer plugin for ALSA
root@DietPi:/home/pi# dpkg -l | grep pulse
ii libpulse0:arm64 5.0-13 arm64 PulseAudio client libraries
ii libpulsedsp:arm64 5.0-13 arm64 PulseAudio OSS pre-load library
ii pulseaudio 5.0-13 arm64 PulseAudio sound server
ii pulseaudio-utils 5.0-13 arm64 Command line tools for the PulseAudio sound server
cat /etc/pulse/default.pa perhaps original /etc/pulse/default.pa is OK , so i think .
.nofail
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
load-module module-detect
.endif
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
pi@DietPi:~$ ./comment-out.bat .asoundrc
pcm.!default {
type hw
format S32_LE
card 0
}
ctl.!default {
type hw
card 0
}
my success is quite accident .

please see [youtube] https://youtu.be/VD8sFLaMe6E [/youtube]
https://youtu.be/VD8sFLaMe6E
so perhaps there are somuting dulplicates .
----
regards
now my root is on hard disk drive .
ps:
-------------
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 147512632 1962728 138033600 2% <--- 150GB /
udev 10240 0 10240 0% /dev
tmpfs 351868 10372 341496 3% /run
tmpfs 879664 37536 842128 5% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 879664 0 879664 0% /sys/fs/cgroup
tmpfs 10240 1168 9072 12% /DietPi
tmpfs 20480 60 20420 1% /var/log
tmpfs 879664 16 879648 1% /tmp
/dev/mmcblk0p1 130798 46920 83878 36% /boot
tmpfs 175936 4 175932 1% /run/user/0
tmpfs 175936 0 175936 0% /run/user/105
tmpfs 175936 4 175932 1% /run/user/1000
top - 17:29:49 up 36 min, 3 users, load average: 1.24, 1.02, 0.92
Tasks: 127 total, 2 running, 125 sleeping, 0 stopped, 0 zombie
%Cpu(s): 18.2 us, 2.7 sy, 0.0 ni, 78.1 id, 0.8 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem: 1759332 total, 1369524 used, 389808 free, 27132 buffers
KiB Swap: 6291452 total, 0 used, 6291452 free. 785784 cached Mem <- 6GB
./comment-out.bat /etc/rc.local
/DietPi/dietpi/dietpi-services start
/DietPi/dietpi/dietpi-banner 0
echo " Default Login:\n Username = root\n Password = dietpi\n"
swapon /dev/sda3
exit 0
64bit CPU can use over 4GB memory , 2+6G is very good for me .