Skip to content

Raspberry PI and AOC e1649Fwu USB powered LED monitor – deprecated

 New post – https://imkiyoung.wordpress.com/2014/07/25/aoc-e1649fwu-16-usb-powered-portable-with-raspberry-pi/

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]

  1. Enable ssh  for control Raspberry PI without HDMI monitor.
  2. boot_behaviour : Don’t start desktop on boot.

[Build Raspberry kernel image including udlfb driver on Ubuntu Linux]

[Download DisplayLink X server and build]

  1. sudo apt-get install pkg-config xorg-dev
  2. git clone http://git.plugable.com/webdav/xf-video-udlfb/
  3. cd xf-video-udlfb
  4. ./configure
  5. make
  6. sudo make install

[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

Section “Device”

Identifier “myfb”

Driver “fbdev”

Option “fbdev” “/dev/fb1”

EndSection

  • Above will work fine.

[Make 10-monitor.conf file and copy it to /usr/share/X11/xorg.conf.d/]

#################################################

Section “ServerLayout”

Identifier      “Server Layout”
Screen         “DisplayLinkScreen”
EndSection
 
#################################################
 
Section “Files”
ModulePath      “/usr/lib/xorg/modules”
ModulePath      “/usr/lib/xorg/modules/drivers”
ModulePath      “/usr/local/lib/xorg/modules”
ModulePath      “/usr/local/lib/xorg/modules/drivers”
ModulePath      “/usr/local/lib”
EndSection
 
############### DisplayLink Stuff ###############
 
Section “Device”
Identifier      “DisplayLinkDevice”
Driver          “displaylink”
Option  “fbdev” “/dev/fb0”
#Option  “DPI”   “96×96”
EndSection
 
Section “Monitor”
Identifier      “DisplayLinkMonitor”
Option  “Enable”        “true”
EndSection
 
Section “Screen”
Identifier      “DisplayLinkScreen”
Device          “DisplayLinkDevice”
Monitor         “DisplayLinkMonitor”
DefaultDepth    16
SubSection “Display”
Depth   16
Modes   “1366×768”
EndSubSection
SubSection “Display”
Depth   24
Modes   “1366×768”
EndSubSection
EndSection
#################################################

[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

  1. BELKIN USB hub (external powered)
  2. USB keyboard

Belkin USB hub

  1. ASUS WL-330g power
  2. AOC’s monitor’s main USB connector
  3. Mouse (not appeared in this picture)

Notebook PC

  1. Raspberry PI’s main power
  2. AOC’s monitor’s sub USB connector(I think power from Belkin was unstable.)
Advertisements