BananaPro/Pi:FAQs

From BananaPro/Pi
Jump to: navigation, search

Other languages:
English • ‎中文(简体)‎


Q1: What is the user account/password for banana pi os images ?
A1: For most OS images the default login is bananapi/bananapi. The Bananian OS is root/pi.


Q2: The screen saver function in the R-Pi (Raspbian) image could not wake up the B-Pi. how can I avoid the screen saver starting in this os?
A2: See this 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 do I install the chinese language packages to correct the garbled display when the system is in chinese?
A3: Use this command:

sudo apt-get install xfonts-intl-chinese xfonts-wqy ttf-wqy-zenhei ttf-wqy-microhei

Q4: Which USB WiFi dongles can be used?
A4: All Linux OSs for Banana Pi can use both 8188eu and 8192cus serial USB WiFi adapters. Android 4.2 can only at the moment use the 8188eu serial USB WiFi adapter.


Q5: How to use the TTL serial debug?
A5: Refer to this link Log_in_to_the_Banana_Pi and scroll down (or click on the link in the Contents box) to Section 5 "Using the TTL serial port".


Q6: How to manage the audio ?
A6:First you can refer to this 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, including the microphone.


Q7: Does Banana Pi have some GPIO libraries such as Wiringpi, RPi.GPIO, etc?
A7: Yes. LeMaker has modified WiringPi, RPi.GPIO, and the BCM2835 GPIO libraries to make them work on the Banana Pi. You can use any of your programs from the Raspberry Pi directly on the Banana Pi board with libraries provide by LeMaker. You can download them from the LeMaker github.


Q8: Could Banana Pi run XBMC?
A8: The answer is of course. The Android OS runs XBMC perfectly. And the general Linux OSs can also run XBMC now, but not yet as 100% perfectly. Please refer to these links for further details:
http://linux-sunxi.org/XBMC
http://linux-sunxi.org/Mali_binary_driver
http://sunxi.org/CedarX


Q9: Which csi port does the Banana Pi use?
A10: It uses csi0.


Q10: Which LCD port does the Banana Pi use?
A11: It uses lcd0.


Q11: Is HDMI-CEC supported (as it is on the Raspberry Pi)?
A11:You can check the relevant 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 can support HDMI-CEC. Under general Linux, the driver hdmi-cec and library libcec should be modified. Now sunxi is testing hdmi-cec so that it can only turn the monitor on or off. Under Android, the driver is maybe more possible as its source code comes from Allwinner not sunxi.org .


Q12: Are all the source codes available (kernel, hardware drivers/firmware, especially the Mali 400 graphics chip)?
A12: For all source codes including kernels, hardware drivers/firmware, LeMaker will make all these available to the public; however, LeMaker also uses some dynamic libraries that are not open even to us. But rest assured, LeMaker will publish all the source codes that we have. For the Mali 400 graphics source code, we also get that from sunxi upstream. You can get these source codes from LeMaker github.


Q13: Who is LeMaker? could you provide some general information on your team?
A13: LeMaker consists of passionate and creative young PhDs and Masters students who are focusing on Education, Robotics, the Internet, smart homes, LEDs, and many other exciting science and engineering projects. It was founded earlier this year. LeMaker hopes to become a new and great manufacturing team, an open source community and a sharing platform. The name LeMaker, is a combination of Le + Maker. “Le” means love and help in Chinese, so LeMaker means a loving and making movement, to help other makers and promote creativity. LeMaker aims to be a public welfare organisation and therefore to contribute widely to education, promoting the open source spirit all over the world. We now have about 30 people in the LeMaker team, some of whom are open source aficionados. LeMaker are based in China, but we hope not to just stay in this country, but to step into and reach out to the whole world. LeMaker hopes to build a good relationship with all the other open source communities. Eventually, it is our goal that LeMaker will be a platform to help makers all over the world turn their ideas into a reality; and to contribute more efforts in education to help children know much more about science and cultivate them with a sharing spirit.


Q14: What is your intention for the Banana Pi? why are you doing this? some people have had reservations about the fact that you are a chinese team.
A14: The initial intention for Banana Pi was education. As the Raspberry Pi has such a strong and huge community and many resources, we wanted to use its extension boards and some of the software, so we designed our Banana Pi to be I/O compatible with the Raspberry Pi, and then to try our best to make its software work on the Banana Pi. We all know that the Raspberry Pi has quite a few disadvantages, such as no SATA, only a 10/100 Mbs Ethernet connection, only 512MB memory, slow single-core CPU, etc. We wanted to provide people with a more powerful single board computer to help them complete more projects that the Raspberry Pi was unable to achieve because of its low specifications and poor performance. For example, with the owncloud website, because the R-Pi has no possibility to link to an SSD, and also a rather slow internet connection, the Banana Pi is more suitable for this internet resource. We do not expect to replace the Raspberry Pi, we just want to improve upon some of its drawbacks. As we said before, LeMaker hopes earnestly to become an open source and sharing community that helps promote the maker's movement and foster more creativity and contribute increasingly to education; so our Banana Pi is just one way of realizing these ideas. We hope to design and build and manufacture even more powerful and interesting products in the future to make life better and to enrich it. Some Chinese companies do have a bad reputation in the world, it's true, but we feel that China is developing, and Chinese creativity is also very powerful. And LeMaker consists of young intelligent students and graduates, all with good educations under our belts; we have fire in our bellies and passion and a creativity to realize our dreams. Like the American dream, we Chinese also have a dream. We pledge that LeMaker will be a new and faithful representative of all that is good in China.


Q15: Does Banana Pi IR work?
A15: Yes, the infra-red control interface can be used with the standard program lirc. But even without using lirc, the IR interface inputs are interpreted as the keys on a keyboard. So it is possible to write nonsense words with letters in an lxsession with a IR remote 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 thereafter. A useful 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 the display resolution?
A16: There are many ways to achieve this. First modify the [disp_init] in the script.bin file, refer to
http://sunxi.org/Fex_Guide#.5Bdisp_init.5D .
Second you can edit the uEnv.txt file, refer to
http://forum.lemaker.org/viewthread.php?tid=2547&highlight=resolution .
The third way is the most convenient way to do:
To list the possible resolutions, type:

cat /sys/class/graphics/fb0/modes'

This will yield all possible HDMI-resolutions:

U:720x576p-50
D:1920x1080p-50
D:1280x720p-50
D:1920x1080i-60
D:1920x1080i-50
U:1440x900p-60
S:1280x1024p-60
V:1024x768p-60
V:800x600p-60
V:640x480p-60
D:1280x720p-60
D:1920x1080p-60

Then open the rc.local - file:

sudo nano /etc/rc.local

Copy your desired resolution from one of 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 support 1 gigabit speed?
A17: Yes. You can see the test from here http://forum.lemaker.org/2817-1-1-raspbian_3_1_how_to_force_gigabit_for_eth0_.html . 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 bananapi?
A18: You can refer to http://forum.lemaker.org/2937-1-1-uart3.html and http://forum.lemaker.org/490-1-2-wiringpi_for_bananapi_uart_test.html .


Q19: How to enable I²C and SPI on Banana 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 CPU temperature from:

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

Q21: Whether or not to be able to run the Windows XP on the BananaPi/BananaPro ?
A21: The BananaPi/BananaPro use the AllWinner A20 chip with ARM architecture, and the Window XP don't support the chip with the ARM architecture. Meanwhile, Window XP don't the OpenSource OS.


Q22: When using the Win32 Disk Imager to install the image files on the SD card and I noticed that the capacity drops to 60MB. Also only 3 files are present. Script.bin (50KB), uEnv.txt (1KB) and uImage (4690KB)
A22:The image files have two partitions. One of the partition is FAT format(about 60M) and the other is EXT4 format.On the window system you can only see the FAT format partition. But in linux system you can see two partitions.


Q23: where can I find the Realtime-Clock module for BananaPi/BananaPro?
A23:You can use the PCF8563-RTC Board module on the BananaPi/BananaPro, and the links below for your reference:
http://www.wvshare.com/product/PCF8563-RTC-Board.htm


Q24: where can I find the XBMC mirror for BananaPi/BananaPro?
A24: The image with XBMC for BananaPi/BananaPro has been released, please visit the download link:
http://www.lemaker.org/resources/9-191/lemedia.html .


Q25: where can I find the user manual and Schematic of the BananaPi?
A25: The below link for reference:
http://forum.lemaker.org/thread-7457-1-1-the_schematic_for_bananapi.html


Q26: Do the BananaPi/BananaPro support the 2.5" and 3.5" HDD ?
A26: Yes, for more information, please visit the website at http://wiki.lemaker.org/Basic_usages. But the you'd better use an external power to powern the 3.5" HDD.


Q27: Do you support i2s on the Banana Pi?
A27: We are sorry, the Banana Pi doesn't support the i2s, but the Banana Pro support the I2S.


Q28: Why does not my Banana Pi boot?
A28: If your Banana Pi does not boot and you see No Signal message on the monitor check for LED indicators on the board. If only red LED is on and you do not see the green LED after flashing the SD card, there might be two cases:
1) The SD card was not burnt/written properly, 2) The power supply does not supply enough current.


Q29:Why does the board have a AP6181 but no Realtek wifi chip (as can be seen on all images on the internet and even mentioned on Wikipedia)?
A29:We use Realtek wifi chip on the preview version, but we found its performs worse than ap6181. The AP6181 use broadcom wifi chip, so it has more performance.


Q30: The pinout of the BananaPro
A30: please refer to the link below
http://forum.lemaker.org/thread-10852-1-1-banana_pro_pin_definition.html


Q31 How to burn the Linux system and Andriod system to the SD/Micro card ?
A31: You need use different tools(Linux: Win32DiskImager; Andriod: PhoenixCard) to burn the Linux and Andriod system to SD/MicroSD card. For more information, please visit the website at http://www.lemaker.org/resources/9-39/banana_pi_quick_start_guide.html


Q32: Have you planned to release a current Kodi (formerly XBMC ) image for the Banana Pro ?
A32: Yes, The user mattrix had released the Kodi image based on the Andriod,Please visit the website at
http://forum.lemaker.org/thread-9261-1-1-android_mattrix_xbmc_kodi_image_v3_1_02_01_2015.html


Q33: I try to use modprobe ap6210 but it failed. messages in dmesg suggests wlan is not turned off. Why ?
A33: Please download right image for the BananaPro, and image name same as *_For_BananaPro_*


Q34: How to use the onboard wifi module ap6181 ?
A34: Please refer to the wiki at http://wiki.lemaker.org/BananaPro/Pi:WiFi_configuration


Q35: where can i find the Andriod source for the BananaPro/Pi ?
A35: Please visit the website at
http://forum.lemaker.org/thread-10241-1-1-building_lemaker_android_4_2_from_source.html


Q36: Is there any chance to get GPU acceleration for 3D applicants and HD Video playback ?
A36: Please refer to the links
http://forum.lemaker.org/forum.php?mod=viewthread&tid=10682&highlight=accelerationso
http://forum.lemaker.org/thread-5672-1-2-_bananian_script_to_install_and_configure_hw_accelerated_mplayer_on_bananian.html


Q37:How to modify the script.bin for the BananaPro/Pi
A37: Please refer to the link below:
http://forum.lemaker.org/forum.php?mod=viewthread&tid=221&highlight=script.bin


Q38: Can you provide user guide and technical information to for banana pro ?
A38:Please visit the links below:
http://www.lemaker.org/resources/9-39/banana_pi_quick_start_guide.html
http://forum.lemaker.org/thread-10852-1-1-banana_pro_pin_definition.html
http://wiki.lemaker.org/Main_Page


Q39: Is it possible to get a CAD for the Banana Pro/Pi?
A39: Please visit the website at:
http://forum.lemaker.org/thread-11946-1-1-banana_pro_pi_3d_2d_dimension.html


Q40:How to use the Touchscreen(3.5",5",7") on the Linux and Andriod system for the BananaPro/Pi ?
A40: Please refer to the wiki at http://wiki.lemaker.org/BananaPro/Pi:LCD_Module


Q41:How to use the root privileges under ordinary users
A41: Please add "sudo" before the command,or enter "su" to switch to root user.


Q42:Heard a burst of other sounds from AV port
A42: Please refer this link: http://forum.lemaker.org/forum.php?mod=viewthread&tid=23054


(With thanks to native speaker “roses” for checking and upgrading this document)