Skip to content

Instantly share code, notes, and snippets.

@yeyus
Last active May 19, 2018 22:05
Show Gist options
  • Save yeyus/57c08941dab75291b440326b0e1bdf23 to your computer and use it in GitHub Desktop.
Save yeyus/57c08941dab75291b440326b0e1bdf23 to your computer and use it in GitHub Desktop.
iMo Monztor 10" USB monitor

First we need to tell the monitor to expose the screen interface and remove the fake cd-rom interface.

$ sudo usb_modeswitch -v 0x17e9 -p 0x0288 -u 1
Look for default devices ...
   product ID matched
Get the current device configuration ...
 Found devices in default mode (1)
Access device 006 on bus 001
Current configuration number is 2
Use interface number 0

USB description data (for identification)
-------------------------
Manufacturer: DisplayLink
     Product: Monztor S10
  Serial No.: 11410603
-------------------------
Change configuration to 1 ...
 Device is busy, try to detach kernel driver
Looking for active driver ...
 OK, driver detached
 OK, configuration set
Get the current device configuration ...

Check that the interface has been binded to the udlfb driver:

$ dmesg
...
[457365.149219] usb 1-1.3.3: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #1
[457366.369033] udlfb: DisplayLink Monztor S10 - serial #11410603
[457366.369103] udlfb: vid_17e9&pid_0288&rev_f002 driver's dlfb_data struct at cd8c6000
[457366.369110] udlfb: console enable=1
[457366.369115] udlfb: fb_defio enable=1
[457366.369120] udlfb: shadow enable=1
[457366.369398] udlfb: vendor descriptor length:17 data:17 5f 01 00 15 05 00 01 03 00 04
[457366.369412] udlfb: DL chip limited to 700000 pixel modes
[457366.370593] udlfb: allocated 4 65024 byte urbs
[457366.387025] usbcore: registered new interface driver udlfb
[457366.405533] udlfb: 1024x600 @ 60 Hz valid mode
[457366.405557] udlfb: Reallocating framebuffer. Addresses will change!
[457366.410304] udlfb: 1024x600 @ 60 Hz valid mode
[457366.410324] udlfb: set_par mode 1024x600
[457366.446815] udlfb: DisplayLink USB device /dev/fb1 attached. 1024x600 resolution. Using 2400K framebuffer memory
[457366.536250] usbcore: registered new interface driver udl

Check modules present:

$ lsmod
...
udl                    22496  0
drm_kms_helper        166436  1 udl
drm                   365250  2 udl,drm_kms_helper
udlfb                  18479  0
...

Check that /dev/fb1is present:

$ ls /dev/fb*
fb0  fb1

Then start X server:

$ startx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment