Created
December 5, 2020 06:57
-
-
Save osakanataro/c32c3411a05b6cec2471ad6bc07b8a4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chronos@localhost ~ $ aplay -l | |
**** List of PLAYBACK Hardware Devices **** | |
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] | |
Subdevices: 3/3 | |
Subdevice #0: subdevice #0 | |
Subdevice #1: subdevice #1 | |
Subdevice #2: subdevice #2 | |
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 1: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1] | |
Subdevices: 2/2 | |
Subdevice #0: subdevice #0 | |
Subdevice #1: subdevice #1 | |
card 2: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones] | |
Subdevices: 2/2 | |
Subdevice #0: subdevice #0 | |
Subdevice #1: subdevice #1 | |
chronos@localhost ~ $ | |
chronos@localhost ~ $ aplay Downloads/dq.wav -D hw:CARD=Headphones,DEV=0 | |
Playing WAVE 'Downloads/dq.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono | |
chronos@localhost ~ $ aplay Downloads/dq.wav -D hw:CARD=ALSA,DEV=0 | |
Playing WAVE 'Downloads/dq.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono | |
chronos@localhost ~ $ aplay Downloads/dq.wav -D hw:CARD=ALSA,DEV=1 | |
Playing WAVE 'Downloads/dq.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono | |
aplay: set_params:1341: Sample format non available | |
Available formats: | |
- S16_LE | |
chronos@localhost ~ $ aplay Downloads/dq.wav -D hw:CARD=ALSA,DEV=2 | |
Playing WAVE 'Downloads/dq.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono | |
aplay: set_params:1341: Sample format non available | |
Available formats: | |
- S16_LE | |
chronos@localhost ~ $ aplay Downloads/dq.wav -D hw:CARD=bi,DEV=0 | |
ALSA lib /build/rpi4-fydeos/tmp/portage/media-libs/alsa-lib-1.2.1.2-r1/work/alsa-lib-1.2.1.2/src/pcm/pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card | |
aplay: main:828: audio open error: No such device | |
chronos@localhost ~ $ | |
chronos@localhost ~ $ dmesg|grep hdmi | |
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 smsc95xx.macaddr=DC:A6:32:B0:99:38 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 coherent_pool=6M smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyS0,115200 earlyprintk=ttyS0,115200 log_level=7 root=/dev/mmcblk0p3 rootfstype=ext2 rootwait ro cros_debug cros_secure elevator=deadline snd_bcm2835.enable_compat_alsa=1 | |
chronos@localhost ~ $ | |
chronos@localhost ~ $ sudo mount /dev/mmcblk0p12 /mnt | |
chronos@localhost ~ $ cat /mnt/cmdline.txt | |
coherent_pool=6M smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=serial0,115200 earlyprintk=serial0,115200 log_level=7 root=/dev/mmcblk0p3 rootfstype=ext2 rootwait ro cros_debug cros_secure elevator=deadline snd_bcm2835.enable_compat_alsa=1 | |
chronos@localhost ~ $ cat /mnt/config.txt | |
#hdmi_drive=2 | |
#config_hdmi_boost=7 | |
#hdmi_force_edid_audio=1 | |
#disable_overscan=1 | |
#disable_overscan=0 | |
dtparam=audio=on | |
# better graphic performance,but need fydeos-force-cursor-compositing in /etc/chrome_dev.conf | |
#dtoverlay=vc4-kms-v3d | |
# fit for rpi3/rpi4 | |
dtoverlay=vc4-fkms-v3d | |
# for more power | |
#force_turbo=1 | |
# for debug | |
#enable_uart=1 | |
#start_debug=1 | |
arm_64bit=1 | |
max_framebuffers=2 | |
chronos@localhost ~ $ | |
Author
osakanataro
commented
Dec 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment