SlideShare a Scribd company logo
1 of 4
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 BangaloreSangeetha Selvaraj
 
Motherboard
MotherboardMotherboard
MotherboardCma Mohd
 
La2 Motherboard
La2 MotherboardLa2 Motherboard
La2 MotherboardCma Mohd
 
Ict - Motherboard
Ict - MotherboardIct - Motherboard
Ict - Motherboardaleeya91
 
Caso de estudio(ccna4)
Caso de estudio(ccna4)Caso de estudio(ccna4)
Caso de estudio(ccna4)Irwin Viteri
 
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 2015CODE 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
 
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 coreSirena 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

Wireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfWireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfMegumi Takeshita
 
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
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOSanilinvns
 
Getting started with robonova in ubuntu
Getting started with robonova in ubuntuGetting started with robonova in ubuntu
Getting started with robonova in ubuntuSandeep 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 fuzzingTamas K Lengyel
 
Happy porting x86 application to android
Happy porting x86 application to androidHappy porting x86 application to android
Happy porting x86 application to androidOwen Hsu
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadAndrewWright224
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal BootloaderSatpal Parmar
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New HardwareRuggedBoardGroup
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220AndrewWright224
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environmentscooby_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ÇACODE BLUE
 

Similar to rpi_audio configuration steps (20)

CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Wireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfWireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdf
 
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
 

More from 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 readingKenny (netman)
 
Linux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System RescueLinux fundamental - Chap 16 System Rescue
Linux fundamental - Chap 16 System RescueKenny (netman)
 
Linux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingLinux fundamental - Chap 15 Job Scheduling
Linux fundamental - Chap 15 Job SchedulingKenny (netman)
 
Linux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell scriptLinux fundamental - Chap 14 shell script
Linux fundamental - Chap 14 shell scriptKenny (netman)
 
Linux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account managementLinux fundamental - Chap 13 account management
Linux fundamental - Chap 13 account managementKenny (netman)
 
Linux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementLinux fundamental - Chap 12 Hardware Management
Linux fundamental - Chap 12 Hardware ManagementKenny (netman)
 
Linux fundamental - Chap 11 boot
Linux fundamental - Chap 11 bootLinux fundamental - Chap 11 boot
Linux fundamental - Chap 11 bootKenny (netman)
 
Linux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fsLinux fundamental - Chap 10 fs
Linux fundamental - Chap 10 fsKenny (netman)
 
Linux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkgLinux fundamental - Chap 09 pkg
Linux fundamental - Chap 09 pkgKenny (netman)
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procKenny (netman)
 
Linux fundamental - Chap 07 vi
Linux fundamental - Chap 07 viLinux fundamental - Chap 07 vi
Linux fundamental - Chap 07 viKenny (netman)
 
Linux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regxLinux fundamental - Chap 06 regx
Linux fundamental - Chap 06 regxKenny (netman)
 
Linux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filterLinux fundamental - Chap 05 filter
Linux fundamental - Chap 05 filterKenny (netman)
 
Linux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archiveLinux fundamental - Chap 04 archive
Linux fundamental - Chap 04 archiveKenny (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

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 

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