SlideShare a Scribd company logo
1. 音 什 需要 莓派?響爲 麼 樹
2. 莓派解 器硬樹 碼 體
3. 莓派音 播放樹 樂 軟體
4. Volumio 安 定裝與設
4.1. 解決 NFS Umount 問題
4.2. 用啟 HDMI 形界面圖
4.3. 解 中文字型決
4.4. 控 幕組裝觸 螢
4.5. 整解析度調
5. 用 控 幕功能啟 觸 熒
5.1. 用啓 soft-keyboard
6. 外 控 定紅 線遙 設
6.1. 安裝 lircd
6.2. 外 按紅 線 鈕錄製
6.3. 行按 命令執 鈕
7. 防止 定被設 蓋寫
8. 息關閉啟動訊
9. KODI 安軟體 裝(Optional: 而定視時間 )
4. http://volumio.local
4.1. 解決 NFS Umount 問題
cp /etc/systemd/system/multi-user.target.wants/wireless.service
/etc/systemd/system
### to edit /etc/systemd/system/wireless.service
### - append ' remote-fs.target' at the end of the line 'Before='
systemctl disable wireless.service
systemctl enable wireless.service
4.2. 用啟 HDMI 形界面圖
apt-get update
apt-get install vim
apt-get install x11-xserver-utils xinit xorg xbindkeys
apt-get install midori
apt-get install matchbox
xbindkeys --defaults > /root/.xbindkeysrc
vi /root/startx.sh
#!/bin/bash
xset -dpms &
xset s off &
xset s noblank &
matchbox-window-manager -use_titlebar no -use_cursor yes &
xbindkeys &
until netstat -nap | grep -q '127.0.0.1:3000'; do
sleep 1
done
midori -p -e Fullscreen -a http://localhost:3000
###-----end----
chmod +x /root/startx.sh
vi /etc/rc.local
until [ "$_IP" ]; do
_IP=$(hostname -I)
sleep 1
done
xinit /root/startx.sh &
exit 0
###----end-----
4.3. 解 中文字型決
apt-cache search chinese > 1.txt
grep 'AR PL' 1.txt | grep 'Ming' | grep -v cjk | awk '{print $1}' | xargs apt-
get install -y
4.4. 控 幕組裝觸 螢
(DIY)
4.5. 整解析度調
vi /boot/config.txt
...
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
###----end----
5. 用 控 幕功能啟 觸 熒
### remove Keyboard & Mouse
### install plugins
5.1. 用啓 soft-keyboard
### restore origin config to /etc/rc.local
vi /opt/volumiokiosk.sh
...
#openbox-session &
matchbox-keyboard -d &
matchbox-window-manager -use_titlebar no -use_cursor yes &
...
###-----end----
reboot
6. 外 控 定紅 線遙 設
vi /etc/boot/config.txt
...
dtoverlay=lirc-rpi
dtparam=gpio_in_pin=2
...
###-----end---
reboot
6.1. 操作 API
volumio --help
cd /volumio/app/plugins/system_controller/volumio_command_line_client/commands/
npm install socket.io-client
npm install connect
cp playback.js play.js
vi play.js
#!/bin/node
var io=require('socket.io-client');
var socket= io.connect('http://localhost:3000');
var position = Number(process.argv.slice(2));
socket.emit('play', null);
socket.on('pushState',function(data)
{
process.exit()
});
###------end----
./play.js
./playback.js pause
6.2 外 按紅 線 鈕錄製
apt-get install lirc
cd /etc/lirc
vi hardware.conf
...
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"
...
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
...
###-----end---
irrecord -f -n -d /dev/lirc0 model.conf
mv lircd.conf lircd.conf.orig
ln -s model.conf lircd.conf
systemctl start lirc
systemctl status -l lirc
irw
vi /etc/lirc/lircrc
...
begin
prog = irexec
button = plus
config =
/volumio/app/plugins/system_controller/volumio_command_line_client/commands/volu
meup.sh
end
begin
prog = irexec
button = minus
config =
/volumio/app/plugins/system_controller/volumio_command_line_client/commands/volu
medown.sh
end
...
###--------end----
/usr/bin/irexec -d /etc/lirc/lircrc
ps auxw | grep irexec
systemctl stop lirc
systemctl start lirc
ps auxw | grep irexec
7. 防止 定被設 蓋寫
vi /etc/rc.local
conf_file=/boot/config.txt
key_line="## setings by netman ##"
grep -Eq "$key_line" $conf_file || {
cat >> $conf_file << END
$key_line
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=lirc-rpi
dtparam=gpio_in_pin=26
END
sleep 1
reboot
}
exit 0
###-------end----
8. 息關閉啟動訊
vi /boot/cmdline.txt
quiet force_turbo=1 dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1
dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 console=ttyAMA0,115200
kgdboc=ttyAMA0,115200 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh
elevator=noop rootwait smsc95xx.turbo_mode=N show_status=0 console=tty3
loglevel=0 rd.udev.log-priority=1
###------end----
reboot

More Related Content

What's hot

Comparison for 2 cpu Workstation Global Nettech Bangalore
Comparison for 2 cpu Workstation Global Nettech BangaloreComparison for 2 cpu Workstation Global Nettech Bangalore
Comparison for 2 cpu Workstation Global Nettech Bangalore
Sangeetha Selvaraj
 
Motherboard
MotherboardMotherboard
MotherboardCma Mohd
 
La2 Motherboard
La2 MotherboardLa2 Motherboard
La2 MotherboardCma Mohd
 
Ict - Motherboard
Ict - MotherboardIct - Motherboard
Ict - Motherboardaleeya91
 
Partes piezas mayo
Partes piezas mayoPartes piezas mayo
Partes piezas mayo
Henry Nazir Triforia
 
Caso de estudio(ccna4)
Caso de estudio(ccna4)Caso de estudio(ccna4)
Caso de estudio(ccna4)
Irwin Viteri
 
QNAP Selection Guide 2015
QNAP Selection Guide 2015QNAP Selection Guide 2015
QNAP Selection Guide 2015
Fernando Barrientos
 
QNAP Portafolio 2015
QNAP Portafolio 2015QNAP Portafolio 2015
QNAP Portafolio 2015
Fernando Barrientos
 
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
CODE BLUE
 
Top 10 juegos de psp actualizado
Top 10 juegos de psp actualizadoTop 10 juegos de psp actualizado
Top 10 juegos de psp actualizadoBrayan Ochoa
 
Aula 07 pino 1 e soquetes
Aula 07 pino 1 e soquetesAula 07 pino 1 e soquetes
Aula 07 pino 1 e soquetes
Alexandrino Sitoe
 
Lista Precios
Lista PreciosLista Precios
Lista Preciossantybsc
 
Cisco router basic configuration commands
Cisco router basic configuration commandsCisco router basic configuration commands
Cisco router basic configuration commandsCCNAStudyGuide
 
Netbook 的火狐體驗
Netbook 的火狐體驗Netbook 的火狐體驗
Netbook 的火狐體驗
Irvin Chen
 
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
Nazmul Hasan
 
Programming atmega using boot loader
Programming atmega using boot loaderProgramming atmega using boot loader
Programming atmega using boot loaderruyanchung
 
Aewin embedded fs9500 intel core
Aewin embedded fs9500 intel coreAewin embedded fs9500 intel core
Aewin embedded fs9500 intel core
Sirena Cheng
 

What's hot (20)

Comparison for 2 cpu Workstation Global Nettech Bangalore
Comparison for 2 cpu Workstation Global Nettech BangaloreComparison for 2 cpu Workstation Global Nettech Bangalore
Comparison for 2 cpu Workstation Global Nettech Bangalore
 
Motherboard
MotherboardMotherboard
Motherboard
 
La2 Motherboard
La2 MotherboardLa2 Motherboard
La2 Motherboard
 
Ict - Motherboard
Ict - MotherboardIct - Motherboard
Ict - Motherboard
 
Partes piezas mayo
Partes piezas mayoPartes piezas mayo
Partes piezas mayo
 
Caso de estudio(ccna4)
Caso de estudio(ccna4)Caso de estudio(ccna4)
Caso de estudio(ccna4)
 
QNAP Selection Guide 2015
QNAP Selection Guide 2015QNAP Selection Guide 2015
QNAP Selection Guide 2015
 
QNAP Portafolio 2015
QNAP Portafolio 2015QNAP Portafolio 2015
QNAP Portafolio 2015
 
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
Is there an EFI monster inside your apple? by Pedro Vilaça - CODE BLUE 2015
 
Top 10 juegos de psp actualizado
Top 10 juegos de psp actualizadoTop 10 juegos de psp actualizado
Top 10 juegos de psp actualizado
 
Aula 07 pino 1 e soquetes
Aula 07 pino 1 e soquetesAula 07 pino 1 e soquetes
Aula 07 pino 1 e soquetes
 
Envio Laptops
Envio LaptopsEnvio Laptops
Envio Laptops
 
Lista Precios
Lista PreciosLista Precios
Lista Precios
 
Cisco router basic configuration commands
Cisco router basic configuration commandsCisco router basic configuration commands
Cisco router basic configuration commands
 
Netbook 的火狐體驗
Netbook 的火狐體驗Netbook 的火狐體驗
Netbook 的火狐體驗
 
Cisco ios-cont
Cisco ios-contCisco ios-cont
Cisco ios-cont
 
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
Cpmputer fundamental-by -Md.Nazmul-Hasan (nazmulhasan.net)
 
P4 m890 m7 te-20130723
P4 m890 m7 te-20130723P4 m890 m7 te-20130723
P4 m890 m7 te-20130723
 
Programming atmega using boot loader
Programming atmega using boot loaderProgramming atmega using boot loader
Programming atmega using boot loader
 
Aewin embedded fs9500 intel core
Aewin embedded fs9500 intel coreAewin embedded fs9500 intel core
Aewin embedded fs9500 intel core
 

Similar to rpi_audio configuration steps

CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
Eng. Emad Al-Atoum
 
User manual of n280
User manual of n280User manual of n280
User manual of n280yogesh010
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
Netwax Lab
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSanilinvns
 
CCNA complete.ppt
CCNA complete.pptCCNA complete.ppt
CCNA complete.ppt
atharkaleem2
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
anilinvns
 
Getting started with robonova in ubuntu
Getting started with robonova in ubuntuGetting started with robonova in ubuntu
Getting started with robonova in ubuntu
Sandeep Saini
 
Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.
Payment Village
 
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматовТимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
KazHackStan
 
VM Forking and Hypervisor-based fuzzing
VM Forking and Hypervisor-based fuzzingVM Forking and Hypervisor-based fuzzing
VM Forking and Hypervisor-based fuzzing
Tamas K Lengyel
 
Happy porting x86 application to android
Happy porting x86 application to androidHappy porting x86 application to android
Happy porting x86 application to android
Owen Hsu
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
AndrewWright224
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal Parmar
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
AndrewWright224
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
scooby_doo
 
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇACODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
CODE BLUE
 
Scripting for infosecs
Scripting for infosecsScripting for infosecs
Scripting for infosecs
nancysuemartin
 

Similar to rpi_audio configuration steps (20)

CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
User manual of n280
User manual of n280User manual of n280
User manual of n280
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
Day 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOSDay 6 - Manage CISCO IOS
Day 6 - Manage CISCO IOS
 
CCNA complete.ppt
CCNA complete.pptCCNA complete.ppt
CCNA complete.ppt
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Getting started with robonova in ubuntu
Getting started with robonova in ubuntuGetting started with robonova in ubuntu
Getting started with robonova in ubuntu
 
Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.Launch Impossible Current State of Application Control Bypasses on ATMs.
Launch Impossible Current State of Application Control Bypasses on ATMs.
 
Ps3 linux
Ps3 linuxPs3 linux
Ps3 linux
 
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматовТимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
Тимур Юнусов (Россия), Positive Technologies. Уязвимости банкоматов
 
VM Forking and Hypervisor-based fuzzing
VM Forking and Hypervisor-based fuzzingVM Forking and Hypervisor-based fuzzing
VM Forking and Hypervisor-based fuzzing
 
Happy porting x86 application to android
Happy porting x86 application to androidHappy porting x86 application to android
Happy porting x86 application to android
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New Hardware
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Rac
RacRac
Rac
 
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇACODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
CODE BLUE 2014 : BadXNU, A rotten apple! by PEDRO VILAÇA
 
Scripting for infosecs
Scripting for infosecsScripting for infosecs
Scripting for infosecs
 

More from Kenny (netman)

Rpi audio
Rpi audioRpi audio
Rpi audio
Kenny (netman)
 
Importance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation readingImportance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation reading
Kenny (netman)
 
Ha opensuse
Ha opensuseHa opensuse
Ha opensuse
Kenny (netman)
 
Chap 19 web
Chap 19 webChap 19 web
Chap 19 web
Kenny (netman)
 
Chap 18 net
Chap 18 netChap 18 net
Chap 18 net
Kenny (netman)
 
About the Course
About the CourseAbout the Course
About the Course
Kenny (netman)
 
Linux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System RescueLinux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System Rescue
Kenny (netman)
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job Scheduling
Kenny (netman)
 
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell scriptLinux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell script
Kenny (netman)
 
Linux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account managementLinux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account management
Kenny (netman)
 
Linux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementLinux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware Management
Kenny (netman)
 
Linux fundamental - Chap 11 boot
Linux fundamental - Chap 11 bootLinux fundamental - Chap 11 boot
Linux fundamental - Chap 11 boot
Kenny (netman)
 
Linux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fsLinux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fs
Kenny (netman)
 
Linux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkgLinux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkg
Kenny (netman)
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 proc
Kenny (netman)
 
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 viLinux fundamental - Chap 07 vi
Linux fundamental - Chap 07 vi
Kenny (netman)
 
Linux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regxLinux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regx
Kenny (netman)
 
Linux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filterLinux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filter
Kenny (netman)
 
Linux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archiveLinux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archive
Kenny (netman)
 

More from Kenny (netman) (20)

Rpi audio
Rpi audioRpi audio
Rpi audio
 
Importance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation readingImportance of linux system fundamental in technical documentation reading
Importance of linux system fundamental in technical documentation reading
 
Ha opensuse
Ha opensuseHa opensuse
Ha opensuse
 
Chap 19 web
Chap 19 webChap 19 web
Chap 19 web
 
Chap 18 net
Chap 18 netChap 18 net
Chap 18 net
 
Chap 17 advfs
Chap 17 advfsChap 17 advfs
Chap 17 advfs
 
About the Course
About the CourseAbout the Course
About the Course
 
Linux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System RescueLinux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System Rescue
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job Scheduling
 
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell scriptLinux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell script
 
Linux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account managementLinux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account management
 
Linux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementLinux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware Management
 
Linux fundamental - Chap 11 boot
Linux fundamental - Chap 11 bootLinux fundamental - Chap 11 boot
Linux fundamental - Chap 11 boot
 
Linux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fsLinux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fs
 
Linux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkgLinux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkg
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 proc
 
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 viLinux fundamental - Chap 07 vi
Linux fundamental - Chap 07 vi
 
Linux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regxLinux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regx
 
Linux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filterLinux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filter
 
Linux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archiveLinux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archive
 

Recently uploaded

When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 

Recently uploaded (20)

When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 

rpi_audio configuration steps

  • 1. 1. 音 什 需要 莓派?響爲 麼 樹 2. 莓派解 器硬樹 碼 體 3. 莓派音 播放樹 樂 軟體 4. Volumio 安 定裝與設 4.1. 解決 NFS Umount 問題 4.2. 用啟 HDMI 形界面圖 4.3. 解 中文字型決 4.4. 控 幕組裝觸 螢 4.5. 整解析度調 5. 用 控 幕功能啟 觸 熒 5.1. 用啓 soft-keyboard 6. 外 控 定紅 線遙 設 6.1. 安裝 lircd 6.2. 外 按紅 線 鈕錄製 6.3. 行按 命令執 鈕 7. 防止 定被設 蓋寫 8. 息關閉啟動訊 9. KODI 安軟體 裝(Optional: 而定視時間 ) 4. http://volumio.local 4.1. 解決 NFS Umount 問題 cp /etc/systemd/system/multi-user.target.wants/wireless.service /etc/systemd/system ### to edit /etc/systemd/system/wireless.service ### - append ' remote-fs.target' at the end of the line 'Before=' systemctl disable wireless.service systemctl enable wireless.service 4.2. 用啟 HDMI 形界面圖 apt-get update apt-get install vim apt-get install x11-xserver-utils xinit xorg xbindkeys apt-get install midori apt-get install matchbox xbindkeys --defaults > /root/.xbindkeysrc vi /root/startx.sh #!/bin/bash xset -dpms & xset s off & xset s noblank & matchbox-window-manager -use_titlebar no -use_cursor yes & xbindkeys & until netstat -nap | grep -q '127.0.0.1:3000'; do sleep 1 done midori -p -e Fullscreen -a http://localhost:3000 ###-----end---- chmod +x /root/startx.sh vi /etc/rc.local until [ "$_IP" ]; do _IP=$(hostname -I)
  • 2. sleep 1 done xinit /root/startx.sh & exit 0 ###----end----- 4.3. 解 中文字型決 apt-cache search chinese > 1.txt grep 'AR PL' 1.txt | grep 'Ming' | grep -v cjk | awk '{print $1}' | xargs apt- get install -y 4.4. 控 幕組裝觸 螢 (DIY) 4.5. 整解析度調 vi /boot/config.txt ... hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 ###----end---- 5. 用 控 幕功能啟 觸 熒 ### remove Keyboard & Mouse ### install plugins 5.1. 用啓 soft-keyboard ### restore origin config to /etc/rc.local vi /opt/volumiokiosk.sh ... #openbox-session & matchbox-keyboard -d & matchbox-window-manager -use_titlebar no -use_cursor yes & ... ###-----end---- reboot 6. 外 控 定紅 線遙 設 vi /etc/boot/config.txt ... dtoverlay=lirc-rpi dtparam=gpio_in_pin=2 ... ###-----end--- reboot 6.1. 操作 API volumio --help cd /volumio/app/plugins/system_controller/volumio_command_line_client/commands/ npm install socket.io-client npm install connect cp playback.js play.js vi play.js #!/bin/node var io=require('socket.io-client');
  • 3. var socket= io.connect('http://localhost:3000'); var position = Number(process.argv.slice(2)); socket.emit('play', null); socket.on('pushState',function(data) { process.exit() }); ###------end---- ./play.js ./playback.js pause 6.2 外 按紅 線 鈕錄製 apt-get install lirc cd /etc/lirc vi hardware.conf ... # Arguments which will be used when launching lircd LIRCD_ARGS="--uinput" ... # Run "lircd --driver=help" for a list of supported drivers. DRIVER="default" # usually /dev/lirc0 is the correct setting for systems using udev DEVICE="/dev/lirc0" MODULES="lirc_rpi" ... ###-----end--- irrecord -f -n -d /dev/lirc0 model.conf mv lircd.conf lircd.conf.orig ln -s model.conf lircd.conf systemctl start lirc systemctl status -l lirc irw vi /etc/lirc/lircrc ... begin prog = irexec button = plus config = /volumio/app/plugins/system_controller/volumio_command_line_client/commands/volu meup.sh end begin prog = irexec button = minus config = /volumio/app/plugins/system_controller/volumio_command_line_client/commands/volu medown.sh end ... ###--------end---- /usr/bin/irexec -d /etc/lirc/lircrc ps auxw | grep irexec systemctl stop lirc systemctl start lirc ps auxw | grep irexec 7. 防止 定被設 蓋寫 vi /etc/rc.local
  • 4. conf_file=/boot/config.txt key_line="## setings by netman ##" grep -Eq "$key_line" $conf_file || { cat >> $conf_file << END $key_line hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 dtoverlay=lirc-rpi dtparam=gpio_in_pin=26 END sleep 1 reboot } exit 0 ###-------end---- 8. 息關閉啟動訊 vi /boot/cmdline.txt quiet force_turbo=1 dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait smsc95xx.turbo_mode=N show_status=0 console=tty3 loglevel=0 rd.udev.log-priority=1 ###------end---- reboot