Skip to content

AOC E1649FWU 16″ USB-Powered Portable with Raspberry Pi

July 25, 2014
My old post – https://imkiyoung.wordpress.com/2012/09/18/raspberry-pi-and-aoc-e1649fwu-usb-powered-led-monitor/
 cymera_20120921_113527

AOC E1649FWU 16″ USB-Powered Portable has no HDMI connector but USB 2.0 Y type cable(one is for additional 500mA power).

This article is written based on 2014-06-20-wheezy-raspibian.img.
To use AOC E1649FWU monitor with Raspberry Pi, there are somethings to do.
1) Prepare Raspberry Pi board and install Raspibian. Using Win32DiskImager, write Raspibian image to SD card. 
http://www.raspberrypi.org/downloads/ -> RASPIBIAN download
2) After writing SD card using Win32DiskImager & 2014-06-20-wheezy-raspibian.img, you can see file list as below.
bootcode.bin
cmdline.txt
config.txt
fixup.dat
fixup_cd.dat
fixup_x.dat
kernel.img
start.elf
start_cd.elf
start_x.elf
issue.txt
LICENSE.oracle
3) By default, Linux kernel of Raspibian does not support DisplayLink USB Framebuffer. So we are about to build new kernel image which supports DisplayLink USB Framebuffer. You can build Linux kernel on Raspberry Pi board. But it will take half of a day or more. So, I will use Ubuntu Linux running on VMware Player(Free for personal usage).
4) On Ubuntu linux, first get the same version of Linux kernel as Raspibian image.  After one or more hours, you can see ‘linux’ folder.
——————
im@ubuntu:~/Raspibian-2014-06-20$ git init
Initialized empty Git repository in /home/im/Raspibian-2014-06-20/.git/
im@ubuntu:~/Raspibian-2014-06-20$ git clone –depth 1 git://github.com/raspberrypi/linux.git
——————
5) On Ubuntu linux, prepare cross-compiler and tools.
——————
im@ubuntu:~/Raspibian-2014-06-20$ apt-get install gcc-arm-linux-gnueabi make ncurses-dev
im@ubuntu:~/Raspibian-2014-06-20$ git clone https://github.com/raspberrypi/tools.git
——————
6) For Kernel building,
——————
im@ubuntu:~/Raspibian-2014-06-20$ cd linux
im@ubuntu:~/Raspibian-2014-06-20/linux$ make mrproper
im@ubuntu:~/Raspibian-2014-06-20/linux$ cp arch/arm/configs/bcmrpi_defconfig .config
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- menuconfig
——————
7) On Ubuntu linux, refer to next images. Press ‘Y’ when DisplayLink is selected, ‘M’ will be appeared.
8) My Ubuntu has two cores, so ‘-j3′(the number of cores on your system plus one).
——————
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- -k -j3
——————
9) Build modules.
——————
im@ubuntu:~/Raspibian-2014-06-20/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-modules
im@ubuntu:~/Raspibian-2014-06-20/linux$ mkdir ../modules
im@ubuntu:~/Raspibian-2014-06-20/linux$ make modules_install ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- INSTALL_MOD_PATH=../modules/
im@ubuntu:~/Raspibian-2014-06-20/linux$ cd ../tools/mkimage/
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ ./imagetool-uncompressed.py ../../linux/arch/arm/boot/Image
——————
10) Finally, you can see kernel.img.
——————-
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ ls -l 
total 6264
-rw-rw-r– 1 im im     157 Jul 24 06:38 args-uncompressed.txt
-rw-rw-r– 1 im im     201 Jul 24 06:38 boot-uncompressed.txt
-rw-rw-r– 1 im im   32768 Jul 24 08:19 first32k.bin
-rwxrwxr-x 1 im im     822 Jul 24 06:38 imagetool-uncompressed.py
-rw-rw-r– 1 im im 6366188 Jul 24 08:19 kernel.img
——————-
11) And compress modules folder as one file for convenience of copying. You can see modules.tar file after below commands.
——————-
im@ubuntu:~/Raspibian-2014-06-20/tools/mkimage$ cd ../.. 
im@ubuntu:~/Raspibian-2014-06-20$ tar cvf modules.tar modules 
——————-
12) Now, we need to copy kernel.img file and modules folder to SD card. To avoid confusion, I will copy these after booting Raspberry Pi and connecting to it with WinSCP and Putty software.
13) Insert SD card and connect HDMI monitor to Raspberry Pi board and power up. Also you need keyboard and mouse. 🙂
-Login : pi
-Password: raspberry
14) On Raspberry Pi console(maybe it’s your HDMI monitor), there may be a popup menu.(or sudo raspi-config)
-You might want to select “Expand Filesystem”.
-Please enable SSH.
-Reboot(or sudo reboot at console)
15) After rebooting Raspberry Pi, install WinSCP and putty.exe to your Windows based computer. Or you need Secure FTP and Secure Telnet software for your desktop OS.
16) Using WinSCP, connect Raspberry Pi and copy kernel.img(see 10) and modules.tar(see 11) to home(default user’s) folder of Raspibian.
17) On Raspberry Pi console, following command will overwrite existing system files, so if you want, backup them first.
———————–
pi@raspberrypi ~ $ tar xvf modules.tar 
pi@raspberrypi ~ $ cd modules/lib 
pi@raspberrypi ~ /modules/lib $ cp -r * /lib
pi@raspberrypi ~ /modules/lib $ cd 
pi@raspberrypi ~ $ sudo cp kernel.img /boot
pi@raspberrypi ~ $ sudo shutdown -h now
———————–
18) Raspberry Pi cannot supply enough USB power to AOC monitor. So, External Powered USB 4 port Hub may be required.
-connect your keyboard, mouse and AOC monitor’s USB Y cable to your 4 port Hub
-connect USB 4 port Hub(External DC powered) to Raspiberry Pi.
-connect HDMI monitor also. -> Because for now you cannot see anything on AOC monitor.
19) After login to Raspberry Pi,
————————
pi@raspberrypi ~ $ sudo con2fbmap 1 1 
————————
20) Can you see any character on AOC monitor? If not, something is missing or USB Hub problem. For me, screen was not clear. It’s like video buffer noise.
————————-
pi@raspberrypi ~ $ sudo vi /etc/profile
————————-
press G key to go end of file.
press o key once to add one line, type the following.
————————-
con2fbmap 1 1
————————-
press Esc key and press : and w and q and Enter key.
21) For full graphic UI on Raspberry Pi, Now on Raspberyy Pi console,
————————
sudo apt-get install pkg-config xorg-dev
cd xf-video-udlfb
./configure
make
sudo make install
————————
22) On Raspberry Pi console.
————————
cd /usr/share/X11/xorg.conf.d/
sudo vi 99-fbdev.conf
————————
23) press i key once to enter vi editor into edit mode and typing the following.
————————
Section “Device”
  Identifier “myfb”
  Driver “fbdev”
  Option “fbdev” “/dev/fb1”
EndSection
————————
24) press Esc key and press : and w and q and Enter key.
25) On Raspberry Pi console,
————————-
startx
————————-
26) I don’t know why the console screen of AOC monitor goes wrong, but there is a solution. I recommend start as graphical desktop and exit desktop. You can see clear console screen. Sorry, I’m not an expert.
That’s all. Good luck!
Advertisements

From → Raspberry PI

7 Comments
  1. Brian permalink

    Thank you for this. My screen comes on briefly, it shows 3 color bands of static and then goes black. Any idea?

    • Hard to say because I don’t know your running environment. But I think there might be the lack of DC power. Trying another USB powered Hub(has external DC jack)?

  2. Cole permalink

    I’m about to try and set up this moniter but I’m running Kali on the rpi. Any suggestions?

  3. cole permalink

    on your line (step 6):

    im@ubuntu:~/Raspibian-2014-06-20/linux$ cp arch/arm/configs/bcmrpi_defconfig.config

    where are you copying that file to?

  4. Does anyone have a raspberry image (or at least the kernel) with the displaylink modifications for download? – I need to start a new project with the next generation of the AOC (E1659F) monitor and a Raspberry Pi B

Trackbacks & Pingbacks

  1. Raspberry PI and AOC e1649Fwu USB powered LED monitor – deprecated | imkiyoung

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: