티스토리 뷰

OS/Raspberry Pi

Raspberry PI Pixel

파란크리스마스 2016. 10. 12. 14:27
728x90

마우스 반응 속도 개선

출처 : 라즈베리파이 무선마우스 속도 감도 문제 해결

cmdline.txt 파일의 첫줄에 usbhid.mousepoll=0 추가 / 디폴트가 8로 너무 빠르다 싶으면 숫자를 올려준다.

$ sudo vi /boot/cmdline.txt

최신 버전으로 업데이트

$ sudo apt-get update
$ sudo apt-get upgrade

XRDP 사용

출처 : Introducing PIXEL - Raspberry Pi
Raspberry Pi Adds Beautiful "Pixel" Desktop Environment To ...

최신 라즈베리파이OS인 PIXEL의 경우 기본적으로 VNC서버가 설치되어 있으므로, XRDP를 사용하실 경우 VNC 서버를 삭제 해야됩니다.

VNC서버 삭제 (RealVNC가 설치되어 있는 경우 사용)

$ sudo apt-get autoremove --purge realvnc
$ sudo apt-get purge realvnc-vnc-server

XRDP 설치

$ sudo apt-get install xrdp

라즈베리파이 펌웨어 업데이트

출처 : 라즈베리파이 펌웨어 업데이트 하기 (firmware update on the R-Pi)

$ sudo apt-get install ca-certificates
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

리눅스 정보

$ uname -a
Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux

HC-06 UART 설정

출처 : Raspberry Pi 3 UART baud rate workaround
RaspberryPi3でシリアル通信を行う - Qiita
Brian Dorey.com | Raspberry Pi 3 UART Boot Overlay Part Two

환경파일 /boot/config.txt 수정

내용 추가 dtoverlay=pi3-miniuart-bt, enable_uart=1, core_freq=25

$ sudo vi /boot/config.txt

변경후

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
dtoverlay=pi3-miniuart-bt
enable_uart=1
core_freq=250

해상도 변경

출처 : studymake.blogspot.kr: [00076] 라즈베리파이 해상도 변경하는 방법

$ sudo vi /boot/config.txt

아래 해당 부분의 주석 제거

hdmi_force_hotplug = 1
hdmi_group = 2
hdmi_mode = 16 # 16 = 1024x768   60 Hz
hdmi_drive = 1

한글 폰트 설치

$ sudo apt-get install ttf-unfonts-core

한글 입력기 설치

$ sudo apt-get install fcitx-hangul

node.js 설치

출처 : Installing Node.js v4.0.0 on a Raspberry Pi (All Models) - Blog - Wia

$ wget https://nodejs.org/dist/v4.0.0/node-v4.0.0-linux-armv7l.tar.gz
$ tar -xvf node-v4.0.0-linux-armv7l.tar.gz
$ cd node-v4.0.0-linux-armv7l
$ sudo cp -R * /usr/local/

node.js 설치 확인

$ command node -v
v4.0.0

스마트미러 설치

출처 : Smart Mirror 스마트 미러 만들기- 4 Smart Mirror GitHub 다운 및 실행

$ mkdir test-smart-mirror
$ cd test-smart-mirror
$ git clone https://github.com/evancohen/smart-mirror.git
Cloning into 'smart-mirror'...
remote: Counting objects: 3760, done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 3760 (delta 56), reused 0 (delta 0), pack-reused 3653
Receiving objects: 100% (3760/3760), 10.85 MiB | 2.09 MiB/s, done.
Resolving deltas: 100% (2072/2072), done.
Checking connectivity... done.
$ cd smart-mirror
$ cp config.example.js config.js
$ npm install

스마트미러 실행

$ npm start

스마트미러 실행 화면


$ lsusb
Bus 001 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 006: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함