User Tools

Site Tools


tutorials:common:begining_on_lubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:common:begining_on_lubuntu [2014/05/12 10:21]
allen [Set keyboard language]
tutorials:common:begining_on_lubuntu [2014/07/12 12:19] (current)
allen [Camera]
Line 53: Line 53:
  
 ==== Set keyboard language ==== ==== Set keyboard language ====
-[[tutorials:​common:​set_keyboard_language|Set Keyboard Language]]+ 
 +Refer to [[tutorials:​common:​set_keyboard_language|Set Keyboard Language]]
  
 ==== Flashplayer ==== ==== Flashplayer ====
Line 213: Line 214:
 </​code>​ </​code>​
  
-Modify the parameter according to the using HDMI displayer .+Modify the parameter according to the using HDMI displayer .For example ,''​screen0_output_type = 3''​set up HDMI output ,''​screen0_output_type = 4''​set up VGA output
 You can get more information about  display ​ from [[http://​linux-sunxi.org/​Display |Display]] and modify script.bin from [[http://​docs.cubieboard.org/​tutorials/​common/​edit_the_system_configuration |edit_the_system_configuration ]]  ​ You can get more information about  display ​ from [[http://​linux-sunxi.org/​Display |Display]] and modify script.bin from [[http://​docs.cubieboard.org/​tutorials/​common/​edit_the_system_configuration |edit_the_system_configuration ]]  ​
 ==== VGA ==== ==== VGA ====
 Refer to HDMI section. Refer to HDMI section.
 +Cubieboard1 and Cubieboard2 have no the VGA connector,but you can use [[http://​docs.cubieboard.org/​addons#​cubie_breadboard|Cubie Breadboard]] to effect output.
  
 ==== USB Host==== ==== USB Host====
Line 239: Line 241:
 The digital '​0094'​ is  keycode of the remote control ​ . The digital '​0094'​ is  keycode of the remote control ​ .
  
- +The sunxi-3.4 IR is exposed as a a keyboard on the Linux input device interface. For example, the following simple keybinder application might be used to run arbitrary commands when receiving a specific keycode via IR. You can install it by 
 +<​code>​ 
 +$ git clone https://​bitbucket.org/​emiliolopez/​keybinder.git 
 +$ cd keybinder 
 +$ sudo make install 
 +</​code>​ 
 +Configuration is handled on /​etc/​keybinder.conf,​ as a "​keycode,​command"​ pair per line. The application prints every keycode received, so you may as well use it to figure out the keycodes you want to use. 
 + 
 +To execute the application,​ run 
 +<​code>​ 
 +$ sudo keybinder /​dev/​input/​event0 
 +</​code>​
 ==== Headphone Jack ==== ==== Headphone Jack ====
 There are two audio devices HDMI and headphone in the cubieboard. There are two audio devices HDMI and headphone in the cubieboard.
Line 264: Line 277:
   }   }
 </​code>​ </​code>​
-If  +If plug in the headphone and type:
-Plug in the headphone and type:+
 <code bash> <code bash>
   $speaker-test -twav -c2   $speaker-test -twav -c2
Line 274: Line 286:
 <code bash> ​       <code bash> ​      
   $sudo apt-get install espeak   $sudo apt-get install espeak
-  $espeak "​hello"​            ​//say: hello +  $espeak "​hello"​             //say: hello 
-  $espeak "hello_cubieboar"​  //​say:​ hello cubieboard+  $espeak "hello_cubieboard"​  //​say:​ hello cubieboard
 </​code> ​                                       </​code> ​                                      
-==== Camera ==== +==== USB Camera ==== 
-Most of the camera driver has integrated in the kernel,so it is  available insert ​usb-camera into the cubieboard.+Most of the USB camera driver has integrated in the kernel,so it is  available insert camera into the cubieboard.
   $sudo apt-get install luvcview   $sudo apt-get install luvcview
   $luvcview -s 1080x720 (can modify the resolution)   $luvcview -s 1080x720 (can modify the resolution)
   ​   ​
  
 +If cubieboard has installed mplayer ,use mplyaer to display
 +<​code>​
 +
 +  $mplayer tv://
 +
 +</​code>​
 ==== Micro SD ==== ==== Micro SD ====
 TBD TBD
tutorials/common/begining_on_lubuntu.txt · Last modified: 2014/07/12 12:19 by allen