using a mimo um-710 on linux (displaylink) with udlfb driver

We've had this dream for some time of having a display that we can control from our desktops but mounted in the hallway. The idea would be to use the sign in place of post-it notes or some other sort of messageboard arrangement. We've tried the Kodak EX811 in the past with limited success, we used mediatomb to control the kodak, but wheneverthe wireless network had problems or the kodak got confused, it would just go to a blank screen, hardly useful.

In walks the mimo, it's a usb connected display, we found drivers for it here. You can extend your X desktop onto the screen using the supplied drivers, but we only wanted to display one image at a time on the screen. We opted to use a combination of tools to just cat data directly to the framebuffer device, and yes this incredibly silly arrangement actually works. Here is the script we are using, we hope to replace this with something compiled later. #!/bin/sh SIZE='800x480!' RESIZED=`mktemp -u /tmp/XXXXXXXX`.png CONVERTED=`mktemp /tmp/XXXXXXXX` if [ xxx${FRAMEBUFFER}xxx == 'xxxxxx' ]; then FRAMEBUFFER=/dev/fb0 fi CURRENT=/var/www/lighttpd/assets/current.jpg while [ 1 ] do convert -resize $SIZE $CURRENT $RESIZED mkdfiff -f RGB16 $RESIZED > $CONVERTED dd if=$CONVERTED of=$FRAMEBUFFER bs=1 skip=24 sleep 30 done Hopefully useful to someone else out there....

Here is our (Ben Rose and I) first attempt at a C version of the above... framebugger.tar.bz2

/* read color value from pixel (left->right, up-> down) then convert * from RGB32 to RGB16 using code from directfb */ for (j = 0; j

Wordpress category: 

Comments

Hi,

Any info about the touchscreen? Does it require a special driver? Can you show the lsusb output with this display plugged in? Thanks

Ours is a 710, the touchscreen is a 740. I think the 740 also has a webcam...so we don't have any information on the touchscreen version :-( Sorry...

[root@door ~]# lsusb |grep New
Bus 006 Device 002: ID 17e9:401a Newnham Research
Bus 003 Device 002: ID 17e9:401a Newnham Research
[root@door ~]# lsusb -v -s 003:002

Bus 003 Device 002: ID 17e9:401a Newnham Research
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x17e9 Newnham Research
idProduct 0x401a
bcdDevice 0.07
iManufacturer 1 DisplayLink
iProduct 2 nanovision MiMo
iSerial 3 USM700-8c010008
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 57
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 29
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)

Thank you for putting this up. I found the script quite useful.

Hi Thomas and Ben,

I know this is an old blog entry, but it's such a cool idea that I'm interested in trying it out on my Mimo UM-710S (USB vend/prod id 17e9:0335). I figured out that I needed to install the following packages: directfb, directfb-devel and ImageMagick-devel. Once I had these, the script worked great!

I have a couple of questions about the framebugger C program.

1. When I try compiling it on my Fedora 16 32bit PC, I get an error that "src/load_image.c" is missing:

$ make
/usr/bin/cc src/do_update.c src/load_image.c src/main.c src/prescale_image.c -w -g -L/usr/lib64 -I./lib -L./lib -lgd -o bin/framebugger
cc: error: src/load_image.c: No such file or directory
make: *** [framebugger] Error 1
$

2. Which packages did you use that provide the following three include (.h) files?

$ fgrep "#include" ./src/*.c
./src/do_update.c:#include
./src/main.c:#include "config.h"
./src/main.c:#include "framebuffer.h"

Thanks in advance for any help you can provide.

-Todd

I'm looking for the original source, I found a few files and posted them to the src dir, I'll make a new tar as soon as I can...

http://ramblings.narrabilis.com/src/load_image.c

I'll keep digging around my old boxes.

--T

Hi Thomas,

Thanks for uploading load_image.c. When I try to do a 'make' now I get:


src/do_update.c:1:16: fatal error: gd.h: No such file or directory
compilation terminated.
src/load_image.c:6:17: fatal error: png.h: No such file or directory
compilation terminated.
src/main.c:1:19: fatal error: debug.h: No such file or directory
compilation terminated.
src/prescale_image.c:1:16: fatal error: gd.h: No such file or directory
compilation terminated.
make: *** [framebugger] Error 1

Quoting from your reply: "I found a few files and posted them to the src dir"

You wrote files (plural) -- can you let me know the URL of the src dir where you posted the others? I tried going to http://ramblings.narrabilis.com/src in hopes I could see more than just load_image.c, but I get "Page not found."

Here's an updated list of what seems to be missing after adding load_image.c:

  • config.h
  • debug.h
  • framebuffer.h
  • gd.h
  • png.h

I can take care of preparing a new tar file, once I have all the files needed for a successful compilation.

Thanks for your continued help to get this working.

-Todd

Add new comment

Markdown

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.