SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à rpi_audio configuration steps

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
 
Scripting for infosecs
Scripting for infosecsScripting for infosecs
Scripting for infosecsnancysuemartin
 

Similaire à 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
 

Plus de 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)
 

Plus de 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
 

Dernier

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Dernier (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

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