Raspberry PI and AOC e1649Fwu USB powered LED monitor
I have AOC’s 15.6 inch USB LED monitor and want to use it as a monitor for Raspberry PI.
- It wasn’t easy for me. So, I wrote down here.
For now, AOC’s e1649Fwu monitor does not work in console mode, so you should connect AOC monitor just before run ‘startx’. I have no idea why it does not work in console mode.
- From https://github.com/notro/fbtft/wiki/Framebuffer-use#console, I can use AOC monitor as a console. I added “con2fbmap 1 1″ to /etc/profile and “source /etc/profile” will turn on AOC monitor. But, only after X-Window(Desktop) is launched and exit Desktop mode, console works fine.
- Additionally, Ubuntu is required for cross compile & build new kernel for Raspberry PI.
- Please refer to http://elinux.org/RPi_Kernel_Compilation for latest kernel compile.
- When SD is connected to PC(Windows), we can see only the contents of (real) /boot directory. When copying kernel.img, there is no problem. But, with lib(module, firmwar) directory, I connected to RPi using WinSCP(file copying using SSH). You should check /lib has proper version of modules.
First prepare SD card for Raspberry PI using Raspbian “wheezy” image. (http://www.raspberrypi.org/downloads)
[After boot, raspi-config]
- Enable ssh for control Raspberry PI without HDMI monitor.
- boot_behaviour : Don’t start desktop on boot.
[Build Raspberry kernel image including udlfb driver on Ubuntu Linux]
- Follow instructions in http://mitchtech.net/raspberry-pi-kernel-compile/
- select “Device Drivers -> Graphics Support -> Support for Frame buffer devices” as “*”. -> Press ‘Y’.
[Download DisplayLink X server and build]
- sudo apt-get install pkg-config xorg-dev
- git clone http://git.plugable.com/webdav/xf-video-udlfb/
- cd xf-video-udlfb
- sudo make install
- Reference - http://plugable.com/2009/11/16/setting-up-usb-multiseat-with-displaylink-on-linux-gdm-up-to-2-20/
[Make 99-fbdev.conf and copy it to /usr/share/X11/xorg.conf.d/]
- please refer to https://github.com/notro/fbtft/wiki/Framebuffer-use#x-server
Option “fbdev” “/dev/fb1″
- Above will work fine.
[Make 10-monitor.conf file and copy it to /usr/share/X11/xorg.conf.d/] ################################################# Section “ServerLayout”
- [added Dec 5, 2012] You can download “10-monitor.conf” file or gzipped file of it from https://github.com/imkiyoung/raspberryPI.
- Reference - http://karuppuswamy.com/wordpress/2012/08/17/lilliput-displaylink-usb-monitor-um-70-17e902a9-with-raspberry-pi-on-raspbian/
[Connect AOC's USB monitor to Raspberry]
- USB monitor has Y-type USB connectors. One is for data & power, another is for additional power.
- For my experience, connect data & power USB connector to Raspberry PI, and connect additional power USB connector to PC/Notebook. External powered USB Hub(Belkin) does not work for me.
[Check connection status]
pi@raspberrypi ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 17e9:4107 DisplayLink
pi@raspberrypi ~ $ dmesg | grep udlfb
usbcore: registered new interface driver udlfb
udlfb: DisplayLink e1649Fwu – serial #CZSC4HA018627
udlfb: vid_17e9&pid_4107&rev_0112 driver’s dlfb_data struct at cba21000
udlfb: console enable=1
udlfb: fb_defio enable=1
udlfb: shadow enable=1
udlfb: vendor descriptor length:17 data:17 5f 01 0015 05 00 01 03 00 04
udlfb: DL chip limited to 1500000 pixel modes
udlfb: allocated 4 65024 byte urbs
udlfb: 1366×768 valid mode
udlfb: DisplayLink USB device /dev/fb1 attached. 1366×768 resolution. Using 4104K framebuffer memory
[Run X11 using 'startx' on console]
- During launch X11, screen will be abnormal state. But, after a long wait, everything will be ok.
Thank you for reading.
Raspberry PI USB
- BELKIN USB hub (external powered)
- USB keyboard
Belkin USB hub
- ASUS WL-330g power
- AOC’s monitor’s main USB connector
- Mouse (not appeared in this picture)
- Raspberry PI’s main power
- AOC’s monitor’s sub USB connector(I think power from Belkin was unstable.)