FAQ

From Orange Pi
Jump to: navigation, search

Q1: WHAT IS THE USER ACCOUNT/PASSWORD FOR ORANGE PI OS IMAGES?
A1: For most os images the default login username is orangepi/root and the default password is orangepi.


Q2: THE SCREEN SAVER FUNCTION IN RP IMAGE COULD NOT WAKE UP OP. HOW TO AVOID SCREEN SAVER START IN RP IMAGE?
A2: Reference to Link, you need to edit your script, so locate:
/etc/lightdm/lightdm.conf
in the SeatDefaults section, it's a command for starting the X server, so it just needs to be modified. To make it turn off the screen saver use:

dpmsxserver-command=X -s 0 -dpms

Q3:HOW DOES INSTALL CHINESE LANGUAGE PACKAGES TO CORRECT THE GARBLED WHEN DISPLAT CHINESE?

A3: Use this command:
sudo apt-get install xfonts-intl-chinese xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei

Q4: WHICH USB WIFI DONDLE COULD BE USED?
A4:All Linux OS for Orange Pi can use both 8188eu and 8192cus serial usb wifi adapter. Android 4.2 can only now use 8188eu serial usb wifi adapter.


Q5: HOW TO USE TTL SERIAL DEBUG?
A5: Refer to Login_to_the_Orange_Pi#Using_TTL_serial_port.


Q6: HOW TO MANAGE THE AUDIO ?
A6:First you can refer to Link.Or you can do:

sudo apt-get install pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio pavucontrol

This will give you a GUI to handle all audio devices easily, inclusively the microphone.


Q7: DOES ORANGE PI HAVE SOME GPIO LIBRARIES SUCH AS WIRINGPI RPI.GPIO, ETC?
A7: Yes. Orange pi has modified WiringPi, RPi.GPIO, BCM2835 GPIO libraries to make them work on Orange Pi. You can use your program for Raspberry Pi directly on Orange Pi board with libraries provide by Orange pi. You can donwload them from the Orange pi github.


Q8: COULD ORANGE PI RUN XBMC?
A8: The answer is sure. Now the Android runs XBMC perfectly. And the general Linux can also run XBMC now, but not perfect. Please refer to the below links for details:
http://www.orangepi.org/wiki/2015-01-15/81.html
http://www.orangepi.org/wiki/2015-01-15/82.html
http://www.orangepi.org/wiki/2015-01-15/83.html
http://linux-sunxi.org/XBMC
http://linux-sunxi.org/Mali_binary_driver
http://sunxi.org/CedarX


Q9: WHICH CSI PORT DOES ORANGE PI USE?
A9: It uses csi0.


Q10: WHICH LCD PORT DOES ORANGE PI USE?
A10: It uses lcd0.


Q11: IS HDMI-CEC SUPPORTED (LIKE ON RASPBERRY PI)?
A11:You can check the relative information from:
http://linux-sunxi.org/A20
http://www.cubieforums.com/index.php?topic=1140.0
From the information above, we can see the hardware is support hdmi-cec. Under general Linux, the driver hdmi-cec and library libcec should be modified, now the sunxi test hdmi-cec that it only turn on or off monitor. Under Android, the driver maybe more possible. As the android source code is come from Allwinner not sunxi.org .


Q12: ARE ALL SOURCES AVAILABLE (KERNEL, HARDWARE DRIVERS/FIRMWARE, especially the Mali 400 graphics chip)?
A12:All source code include kernel, hardware driviers/firmware, Orange pi will open to public, except that Orange pi also use some dynamic lib that do not open to us. Orange pi will open all the source code we have. For mali 400 graphics source code, we also get from sunxi upstream. You can get the source code from Orange pi github: https://github.com/orangepi-xunlong .


Q13: COULD YOU PROVIDE SOME GENERAL INFORMATION ON YOUR TEAM?
A13: All members in our team are opensource lovers. Orange pi come from China, but not just stay in China, we are stepping into the whole world. Orange pi hope to build a good relation with all the opensource communities. Eventually, Orange pi will be a platform to help makers all the world to make their ideas to reality, and contribute more effort to education to help children know much more about science and cultivate them with sharing spirit.


Q14: WHAT IS YOU INTENTION WITH THE ORANGE PI? WHY ARE YOU DOING THIS?SOME PEOPLE HAD RESERVATIONS TOWARDS A CHINESE COMPANY.
A14: The initial intention for Orange Pi is education. And the Raspberry Pi has strong and huge community and resource, we want to use its extension boards and some software, so we design our Orange Pi to IO compatible with Raspberry Pi, and try our best to make its software work on Orange Pi. We all know that the performance of Raspberry Pi has some disadvantages, such as no sata, no 1Gb ethernet, only 512M memory. We want to provide people a more powerful single board computer to help them complete more projects that Raspberry Pi has its short performance. Like owncloud, the Raspberry Pi has sata and no 1Gb ethernet, so Orange Pi is more suitable for Owncloud. We do not expect to replace Raspberry Pi, we just want to make up some disadvantage that Raspberry Pi has. As we say, Orange pi hope to become a opensource and sharing community that help promote maker movement and creativity and contribute to education, so Orange Pi is just one platform to realize ideas. We will design more powerful and interesting products to make life better and enrich. Chinese company has some bad record in the world, but I want to say China is developing, and Chinese creativity is also very powerful. And Orange pi consists of young PhDs and masters, we are all under good educations, we have passion and creativity to realize our dream. Like America dream, we also have Chinese dream. We promise Orange pi will be a new representative of China.


Q15: DOES ORANGE PI IR WORK?
A15: Yes.The IR - control - interface can be used with the standard - program lirc.But even without using lirc, IR-interface-inputs are interpreted as keys of a keyboard. So it is possible to write nonsens letters in a lxsession with a IR-remot-control, even if lirc is not installed.Adding the line ' xinput disable sunxi-ir ' to the Autostart-section of Lubuntu in the lxsession will avoid this. Lirc is not affected therefrom.
A usefull guide how to install lirc can be found here: https://github.com/cubieplayer/Cubian/issues/75 (ambrosa commented August 27, 2013)(The input channel for the IR-input is ' /dev/input/event0 ')


Q16:HOW TO CHANGE DISPLAY RESOLUTION?
A16: There are many ways to achieve that. First modify the [disp_init] in script.bin file, refer to http://sunxi.org/Fex_Guide#.5Bdisp_init.5D . Second you can edit the uEnv.txt file, make sure you disable EDID in the uEnv.txt...The screen output-mode field should look sth like :disp.screen0_output_mode=1280x720p50, instead of disp.screen0_output_mode=EDID:1280x720p50, Use the desired resolution instead of 1280x720p above...
To list the possible resolutions, type:

cat /sys/class/graphics/fb0/modes

This will yield all possible HDMI-resolutions:

U:1440x900p-60
S:1280x1024p-60
V:1152x864p-75
V:1280x1024p-75
V:1024x768p-70
V:1024x768p-60
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-75
V:640x480p-72
V:640x480p-60
D:1920x1080p-60

Then open the rc.local - file:

sudo nano /etc/rc.local

Copy your desired resolution from those given above and add it (before 'exit 0') to the rc.local- script like this:

echo V:1024x768p-60 > /sys/class/graphics/fb0/mode

This will give you the resolution 1024x768 at 60Hz.


Q17: DOES THE ETHERNET PORT REALLY SIPPORT 1 GIGABIT SPEED?
A17: Yes. You can see the test from here http://www.linuxuser.co.uk/revie ... tier-than-raspberry . However, you need a suitable cable and appropriate network devices to make the speed run at 1 Gigabit/sec.


Q18: HOW TO USE AND IDENTIFY THE UART ON ORANGE PI?
A18: You can refer to http://www.orangepi.org/wiki/2015-01-15/84.html .


Q19: HOW TO ENABLE I²C AND SPI ON ORANGE PI?
A19:The I²C driver is included in the kernel - you do not need load any drivers. The I²C on the CON3 is I²C-2.
The SPI driver is compiled as a module. You need to load the SPI driver to enable it:

sudo modprobe spi-sun7i

Q20: HOW TO READ CPU TEMPERATURE?
A20:You can find the read CPU temperature from:

cat /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input