etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

USB Displaylink

Sat Jul 28, 2012 4:42 pm

Hi,

I have read a lot recently on UDLFB which is the module that makes USB Displaylink adpaters work.

This modules was incorporated into the kernel since like 2.6 so, quite a long time ago, but it does not seem to be enabled by default in the kernel that ships with raspbian (or debian, or arch). So I decided to learn a bit more about modules and kernel.

I first figured it should be easy to compile just the module, so my first approach was to download the package: linux-source and decompress it. First thing that sounded strange to me was that the kernel seems to be 3.1.9+, but the source code is 3.1.2. Was I doing something wrong? Anyway, didnt get very far this way.

I decided instead to do a git clone of the official kernel ( git clone https://github.com/raspberrypi/linux.git --depth 1 ), and then a make menuconfig selecting Display Support (which turns out has nothing to do with DisplayLink). I went on compiled the kernel, and rebooted. Obviously it didnt work.

Scratching my head, I decided to do another git clone of the module itself, from git.plugable.com/webdav/udlfb and then from the root of the source code of the full kernel did a : make M=/home/pi/udlfb/ and this did work but giving me 4 warnings saying I needed:

- CONFIG_FB_DEFERRED_IO
- CONFIG_FB_SYS_IMAGEBLIT
- FB_SYS_FOPS
- CONFIG_FB_MODE_HELPERS

As the module compiled fine, I tried loading it with insmod but obviously failed miserably.

So... at this point the question is: how do I do in order to enable the module udlfb that comes already with the source code (drivers/video/udlfb.c) and enable it? Anyone knows how to do this directly from "make menuconfig" ? Is there a way to compile/enable the module directly without having to do a full kernel compilation?

This is part of the fun of the raspberypi, but I would appreciate some guidance or help.

Thanks!

etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

Re: USB Displaylink

Tue Jul 31, 2012 3:23 pm

BUMP.

etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

Re: USB Displaylink

Wed Aug 08, 2012 1:51 pm

I managed to find some time and advance on this subject a bit. I found that the 3.2.0-3-rpi image on the repositories actually has the module activated.

This means that I am now getting a green screen on my secondary screen (i.e. the adapter works perfectly. ). I am going to try to get either a terminal session on it, or even better, extend X to it. Will update this if I get any firther.

Blergo
Posts: 2
Joined: Thu Aug 09, 2012 5:57 pm

Re: USB Displaylink

Thu Aug 09, 2012 6:01 pm

Hey,
Did you ever manage to get anywhere in the end? Lovely as a green screen is i cant for the life of me get it to do anything else. If i use it on my netbook i can configure it to give me an x session on the monitor connected to displaylink, but i just cant seem to make it work on the pi.

etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

Re: USB Displaylink

Thu Aug 09, 2012 6:38 pm

Actually, I have, not inmensly but its a start.

When you get the green screen, basically what happens is that you get a new framebuffer device, probably /dev/fb1 (on top of the normal one, /dev/fb0)

Then, I found a command, con2fb that basically what it does is assign a virtual console to a frambefufer, so for example, if you do con2fb 1 6 , it will assing tty6 to the second screen. Once you've issued this command, try CTRL+ALT+F6 and it will be displayed on the screen.

The downside of this method, is that the virtual terminal stops working when you switch to a different one. For example, run "top" on tty1 and then assign tty2 to the displaylink framebuffer, and do CTRL+ALT+F2.

Havent had time to play with it today, but Im sure tomorrow I will give it another go. Please update this post if you get any further.

Good to know Im not the only one trying to get this working.

jonolo
Posts: 4
Joined: Tue Apr 17, 2012 2:34 pm

Re: USB Displaylink

Fri Aug 10, 2012 2:48 pm

Hi,

I just dug out my old MIMO display and will hopefully also start to looking into getting it to work on my Pi...

I'll post any progress here and hopefully we'll be able to get this working in the end...

Btw,I read somewhere that there needs to be a primary display attached for DisplayLink to work but I can't remember that this was the case when I was playing with an previous ITX board and I think it was Puppy Linux...

Cheers

jonas

Blergo
Posts: 2
Joined: Thu Aug 09, 2012 5:57 pm

Re: USB Displaylink

Fri Aug 10, 2012 5:33 pm

Thanks for the info, i will have a bit of a play around tonight and see what i can do. The device i am trying to get working is infact a toshiba U10 usb dock, it has a lot more than just a displaylink adapter built in but it i am trying to concentrate on getting one thing running at a time. Ultimate goal is to build the Pi into the U10 case, there is room in there, not really sure why im doing it yet but i tend to do these things and then find a use for them afterwards.

Ectra
Posts: 5
Joined: Thu Sep 27, 2012 10:50 am

Re: USB Displaylink

Thu Sep 27, 2012 10:55 am

I was able to sort of get this to work last night.

Once following the tips in this thread I was able to get X to start by logging in on the display link and running export FRAMEBUFFER=/dev/fb1 and then startx.

Only issue is trying to do anything on X causes it to freeze.

Anyone got any better results?

etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

Re: USB Displaylink

Thu Sep 27, 2012 12:49 pm

Hi Ectra,

Im stuck at the same stage. It turns out there is a bug, I cant find any link for it at the moment, that makes anything on that kernel freeze whenever X needs to do anything with images in the browser. Loading up a page that is only text, doesnt make it freeze.

I ran the same kernel, with the display link unplugged and the same thing happened.

So basically the stage I am an in at the moment is:

a - kernel with udlfb driver craches when browser loads something thats not text. even with displaylink not connected
b - kernel with no udlfb driver works fine.

etherbest
Posts: 25
Joined: Wed Jul 25, 2012 10:39 am

Re: USB Displaylink

Thu Sep 27, 2012 12:51 pm

Oh, and setting up Xinerama to use the new framebuffer through twinview (by editing a new file xorg.conf) does make it have dual screen. So you can have an extended desktop.

But obviously this doesnt help much since it crashes as soon as you open a website with images.

mikaelj
Posts: 1
Joined: Mon May 27, 2013 8:16 am

Re: USB Displaylink

Mon May 27, 2013 8:18 am

Any progress on this one? Crashes fixed?

My use case is that I want to have a main control monitor connected through USB and then multiple information displays on the HDMI port using a splitter.

philharlow
Posts: 51
Joined: Mon Dec 31, 2012 9:17 pm

Re: USB Displaylink

Sat Jun 01, 2013 10:27 am

Ectra wrote:I was able to sort of get this to work last night.

Once following the tips in this thread I was able to get X to start by logging in on the display link and running export FRAMEBUFFER=/dev/fb1 and then startx.

Only issue is trying to do anything on X causes it to freeze.

Anyone got any better results?
Other members recently got the mimo 720 display working, (http://www.raspberrypi.org/phpBB3/viewt ... 64&t=27781) so I wonder if you just need to setup your xorg.conf file first. Try something like this saved at /etc/X11/xorg.conf and rebooting. If you hit the hung blinking cursor, hit f2 (I believe) and rename/remove (sudo mv) the file to have X11 boot like normal.

Code: Select all

Section "Device"
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection

Section "Monitor"
Identifier "monitor"
EndSection

Section "Screen"
Identifier "screen"
Device "uga"
Monitor "monitor"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "screen" 0 0
Option "Xinerama" "Off"
EndSection


masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Mon Dec 23, 2013 12:09 am

Hi All,

I know this thread is a little old, but I was wondering if any one has had success with dual monitor support with HDMI and USB displaying link ? I have successfully rebuilt the kernel with frame buffer support, and can get the displays to work independently, but not together. Does anyone have a working xorg.conf that will enable both screens to give an extended desktop ?

Cheers,
Stephen.

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Wed Jan 01, 2014 11:21 pm

I have one that works for me. My main monitor is a HP with a resolution of 1680x1050 and the secondary is a 1280x1024 Dell.
I have the secondary (Dell) monitor sitting to the right of the primary (HP) monitor.

Code: Select all

Section "Device" 
# RPi builtin video, framebuffer 0
  Identifier "rpi" 
  driver "fbdev" 
  Option "fbdev" "/dev/fb0" 
  Option "ShadowFB" "off"
EndSection 

Section "Device" 
# USB DisplayLink video, framebuffer 1
  Identifier "uga" 
  driver "fbdev" 
  Option "fbdev" "/dev/fb1" 
  Option "ShadowFB" "off"
EndSection 

Section "Monitor" 
# Primary monitor. 1680x1050
  Identifier "HP" 
EndSection 

Section "Monitor" 
# Secondary monitor. 1280x1024
  Identifier "Dell" 
EndSection 

Section "Screen" 
  Identifier "primary" 
  Device "rpi" 
  Monitor "HP" 
EndSection 

Section "Screen" 
  Identifier "secondary" 
  Device "uga" 
  Monitor "Dell" 
EndSection 

Section "ServerLayout" 
  Identifier "default" 
  Screen 0 "primary" 0 0 
# The HP is 26 pixels higher than the Dell. Align the screens along the monitors bottom edges,
# so the status bar is visible on both monitors.
  Screen 1 "secondary" 1680 26
# If both monitors are the same height, you can just do:
#  Screen 1 "secondary" RightOf "primary"
  Option   "Xinerama" "1"  # enable XINERAMA extension.  Default is disabled.
EndSection
--
Ragnar

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Thu Jan 02, 2014 11:00 pm

Just a couple of data points more.
I use a VideoHome NBdock1920, a small docking station that in addition to the DisplayLink has a 4 port USB hub, a sound card and a network interface.
lsusb shows it as ID 17e9:0215 DisplayLink

And this is what the whole assembly looks like in real life:
Image

--
Ragnar

masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Mon Jan 06, 2014 4:31 am

Hi Ragnar,

Many thanks for this reply ! Apologises for the delay, been away for the Xmas break. I will try your conf file and see how I go.

Love the look of your little system, exactly what I am looking at doing.

Many thanks again.

Stephen.

masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Tue Jan 07, 2014 3:24 am

Thanks Ragnar,

I tried your config, and I now get a flashing cursor on the main HDMI screen and the green screen on the second. Does anyone know how to stop the xorg.conf loading and enable me to replace it to keep trying ?

Cheers,
Stephen.
ragnarjensen wrote:I have one that works for me. My main monitor is a HP with a resolution of 1680x1050 and the secondary is a 1280x1024 Dell.
I have the secondary (Dell) monitor sitting to the right of the primary (HP) monitor.

Code: Select all

Section "Device" 
# RPi builtin video, framebuffer 0
  Identifier "rpi" 
  driver "fbdev" 
  Option "fbdev" "/dev/fb0" 
  Option "ShadowFB" "off"
EndSection 

Section "Device" 
# USB DisplayLink video, framebuffer 1
  Identifier "uga" 
  driver "fbdev" 
  Option "fbdev" "/dev/fb1" 
  Option "ShadowFB" "off"
EndSection 

Section "Monitor" 
# Primary monitor. 1680x1050
  Identifier "HP" 
EndSection 

Section "Monitor" 
# Secondary monitor. 1280x1024
  Identifier "Dell" 
EndSection 

Section "Screen" 
  Identifier "primary" 
  Device "rpi" 
  Monitor "HP" 
EndSection 

Section "Screen" 
  Identifier "secondary" 
  Device "uga" 
  Monitor "Dell" 
EndSection 

Section "ServerLayout" 
  Identifier "default" 
  Screen 0 "primary" 0 0 
# The HP is 26 pixels higher than the Dell. Align the screens along the monitors bottom edges,
# so the status bar is visible on both monitors.
  Screen 1 "secondary" 1680 26
# If both monitors are the same height, you can just do:
#  Screen 1 "secondary" RightOf "primary"
  Option   "Xinerama" "1"  # enable XINERAMA extension.  Default is disabled.
EndSection
--
Ragnar

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Tue Jan 07, 2014 3:14 pm

Ctrl+Alt+F2 should give you a text console where you can log in.

Questions:
What kind of monitors are you using - resolution and which is connected to what?

Does the kernel create two framebuffer devices?
This is what I have:

Code: Select all

[email protected]:~$ ls -l /dev/fb*
crw-rw---T 1 root video 29, 0 Jan  1  1970 /dev/fb0
crw-rw---T 1 root video 29, 1 Jan  6 23:24 /dev/fb1
What happens if you remove /etc/X11/xorg.conf completely and just run with the X server's defaults?

Could you post the output from the dmesg command and also the contents of the /var/log/Xorg.0.log file?

--
Ragnar

masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Wed Jan 08, 2014 11:56 pm

Thanks for your assistance Ragnar.

My setup is HP monitor via HDMI (1920x1080), and a Dell monitor via a USB Displaylink adapter (1680x1050)

The monitors/screens seen to be detected, as without an xorg.conf, the main display shows the desktop and the second screen is green.

Thanks again.

Here are the results of what your requested..

Here is my xorg.conf as well...

Code: Select all

[email protected] ~ $ cat /etc/X11/xorg.conf
Section "Device"
Identifier "uga0"
driver "fbdev"
Screen 0
Option "fbdev" "/dev/fb0"
Option "ShadowFB" "off"
EndSection

Section "Device"
Identifier "uga1"
driver "fbdev"
Screen 1
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection


Section "Monitor"
Identifier "monitor0"
EndSection

Section "Monitor"
Identifier "monitor1"
EndSection


Section "Screen"
Identifier "screen0"
Device "uga0"
Monitor "monitor0"
EndSection

Section "Screen"
Identifier "screen1"
Device "uga1"
Monitor "monitor1"
EndSection


Section "ServerLayout"
Identifier "default"
Screen 0 "screen0" 0 0
Screen 1 "screen1" LeftOf "screen0"
Option "Xinerama" "1" 
EndSection

Code: Select all

[email protected] ~ $  ls -l /dev/fb*
crw-rw---T 1 root video 29, 0 Jan  1  1970 /dev/fb0
crw-rw---T 1 root video 29, 1 Jan  7 22:28 /dev/fb1

Code: Select all

[email protected] ~ $ dmesg 
Booting Linux on physical CPU 0x0
Linux version 3.10.21+ ([email protected]) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #1 Wed Dec 4 23:21:03 EST 2013
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: BCM2708
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 114688
free_area_init_node: node 0, pgdat c041d5f0, node_mem_map c046c000
  Normal zone: 896 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 114688 pages, LIFO batch:31
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708.boardrev=0xe bcm2708.serial=0xd5a6358d smsc95xx.macaddr=B8:27:EB:A6:35:8D sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 448MB = 448MB total
Memory: 450184k/450184k available, 8568k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
    lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03cef94   (3868 kB)
      .init : 0xc03cf000 - 0xc03ee94c   ( 127 kB)
      .data : 0xc03f0000 - 0xc041dd20   ( 184 kB)
       .bss : 0xc041dd20 - 0xc046b098   ( 309 kB)
NR_IRQS:330
sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
Switching to timer-based delay loop
Console: colour dummy device 80x30
console [tty1] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc034e260 - 0xc034e2bc
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 4096 KiB pool for atomic coherent allocations
bcm2708.uart_clock = 0
mailbox: Broadcom VideoCore Mailbox driver
bcm2708_vcio: mailbox at f200b880
bcm_power: Broadcom power driver
bcm_power_open() -> 0
bcm_power_request(0, 8)
bcm_mailbox_read -> 00000080, 0
bcm_power_request -> 0
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
console [ttyAMA0] enabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource stc
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
bcm2708_dma: DMA manager at f2007000
bcm2708_gpio: bcm2708_gpio_probe c03fb5e0
vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Netfs 'nfs' registered for caching
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
msgmni has been set to 879
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
BCM2708FB: allocated DMA memory 5b920000
BCM2708FB: allocated DMA channel 0 @ f2007000
Console: switching to colour frame buffer device 240x67
brd: module loaded
loop: module loaded
vchiq: vchiq_init_state: slot_zero = 0xdc804000, is_master = 0
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver cdc_ncm
dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
Core Release: 2.80a
Setting default values for core params
Finished setting default values for core params
Using Buffer DMA mode
Periodic Transfer Interrupt Enhancement - disabled
Multiprocessor Interrupt Enhancement - disabled
OTG VER PARAM: 0, OTG VER FLAG: 0
Dedicated Tx FIFOs mode
dwc_otg: Microframe scheduler enabled
dwc_otg bcm2708_usb: DWC OTG Controller
dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
Init: Port Power? op_state=1
Init: Power Port (0)
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.10.21+ dwc_otg_hcd
usb usb1: SerialNumber: bcm2708_usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
dwc_otg: FIQ enabled
dwc_otg: NAK holdoff enabled
dwc_otg: FIQ split fix enabled
Module dwc_common_port init
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci: Enable low-latency mode
mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
Waiting for root device /dev/mmcblk0p2...
mmc0: read SD Status register (SSR) after 2 attempts
mmc0: new high speed SDHC card at address ae50
mmcblk0: mmc0:ae50 SU16G 14.8 GiB 
Indeed it is in host mode hprt0 = 00021501
 mmcblk0: p1 p2
usb 1-1: new high-speed USB device number 2 using dwc_otg
Indeed it is in host mode hprt0 = 00001101
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
Freeing unused kernel memory: 124K (c03cf000 - c03ee000)
usb 1-1: New USB device found, idVendor=0424, idProduct=9512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
usb 1-1.1: new high-speed USB device number 3 using dwc_otg
usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
smsc95xx v1.0.4
smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a6:35:8d
usb 1-1.2: new high-speed USB device number 4 using dwc_otg
usb 1-1.2: New USB device found, idVendor=17e9, idProduct=0198
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: WS Tech USB-DVI
usb 1-1.2: Manufacturer: DisplayLink
usb 1-1.2: SerialNumber: 147587
usb 1-1.3: new high-speed USB device number 5 using dwc_otg
usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0610
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3: Product: USB2.0 Hub
usb 1-1.3: Manufacturer: GenesysLogic
hub 1-1.3:1.0: USB hub found
hub 1-1.3:1.0: 4 ports detected
usb 1-1.3.1: new low-speed USB device number 6 using dwc_otg
usb 1-1.3.1: New USB device found, idVendor=0461, idProduct=4d15
usb 1-1.3.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 1-1.3.1: Product: USB Optical Mouse
input: USB Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input0
hid-generic 0003:0461:4D15.0001: input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-bcm2708_usb-1.3.1/input0
usb 1-1.3.3: new full-speed USB device number 7 using dwc_otg
usb 1-1.3.3: New USB device found, idVendor=413c, idProduct=1003
usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.3.3: Product: Dell USB Keyboard Hub
usb 1-1.3.3: Manufacturer: Dell
hub 1-1.3.3:1.0: USB hub found
hub 1-1.3.3:1.0: 3 ports detected
usb 1-1.3.3.1: new full-speed USB device number 8 using dwc_otg
usb 1-1.3.3.1: New USB device found, idVendor=413c, idProduct=2010
usb 1-1.3.3.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
usb 1-1.3.3.1: Product: Dell USB Keyboard
usb 1-1.3.3.1: Manufacturer: Dell
input: Dell Dell USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3.1/1-1.3.3.1:1.0/input/input1
udlfb: DisplayLink WS Tech USB-DVI - serial #147587
udlfb: vid_17e9&pid_0198&rev_0014 driver's dlfb_data struct at dbb93000
udlfb: console enable=1
udlfb: fb_defio enable=1
udlfb: shadow enable=1
udlfb: vendor descriptor length:22 data:22 5f 01 0020 05 00 01 03 04 02
udlfb: DL chip limited to 2080000 pixel modes
udlfb: allocated 4 65024 byte urbs
usbcore: registered new interface driver udlfb
hid-generic 0003:413C:2010.0002: input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-bcm2708_usb-1.3.3.1/input0
udlfb: 1920x1200 beyond chip capabilities
udlfb: 720x400 @ 70 Hz valid mode
udlfb: 640x480 @ 60 Hz valid mode
udlfb: 640x480 @ 75 Hz valid mode
udlfb: 800x600 @ 60 Hz valid mode
udlfb: 800x600 @ 75 Hz valid mode
udlfb: 1024x768 @ 60 Hz valid mode
udlfb: 1024x768 @ 75 Hz valid mode
udlfb: 1280x1024 @ 75 Hz valid mode
udlfb: 1280x1024 @ 60 Hz valid mode
udlfb: 1600x1200 @ 60 Hz valid mode
udlfb: 1152x864 @ 75 Hz valid mode
udlfb: 1680x1050 @ 60 Hz valid mode
udlfb: Reallocating framebuffer. Addresses will change!
input: Dell Dell USB Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3.1/1-1.3.3.1:1.1/input/input2
udlfb: 1680x1050 @ 59 Hz valid mode
udlfb: set_par mode 1680x1050
hid-generic 0003:413C:2010.0003: input: USB HID v1.10 Device [Dell Dell USB Keyboard] on usb-bcm2708_usb-1.3.3.1/input1
udlfb: DisplayLink USB device /dev/fb1 attached. 1680x1050 resolution. Using 6896K framebuffer memory
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SS
udlfb: open /dev/fb1 user=1 fb_info=dbaaf800 count=1
udlfb: released /dev/fb1 user=1 count=0
usb 1-1.2: USB disconnect, device number 4
udlfb: USB disconnect starting
udlfb: Freeing all render urbs
udlfb: fb_info for /dev/fb1 has been freed
udlfb: freeing dlfb_data dbb93000
usb 1-1.3.2: new high-speed USB device number 9 using dwc_otg
usb 1-1.3.2: device descriptor read/64, error -32
usb 1-1.3.2: New USB device found, idVendor=17e9, idProduct=0198
usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3.2: Product: WS Tech USB-DVI
usb 1-1.3.2: Manufacturer: DisplayLink
usb 1-1.3.2: SerialNumber: 147587
udlfb: DisplayLink WS Tech USB-DVI - serial #147587
udlfb: vid_17e9&pid_0198&rev_0014 driver's dlfb_data struct at dbb93000
udlfb: console enable=1
udlfb: fb_defio enable=1
udlfb: shadow enable=1
udlfb: vendor descriptor length:22 data:22 5f 01 0020 05 00 01 03 04 02
udlfb: DL chip limited to 2080000 pixel modes
udlfb: allocated 4 65024 byte urbs
udlfb: 1920x1200 beyond chip capabilities
udlfb: 720x400 @ 70 Hz valid mode
udlfb: 640x480 @ 60 Hz valid mode
udlfb: 640x480 @ 75 Hz valid mode
udlfb: 800x600 @ 60 Hz valid mode
udlfb: 800x600 @ 75 Hz valid mode
udlfb: 1024x768 @ 60 Hz valid mode
udlfb: 1024x768 @ 75 Hz valid mode
udlfb: 1280x1024 @ 75 Hz valid mode
udlfb: 1280x1024 @ 60 Hz valid mode
udlfb: 1600x1200 @ 60 Hz valid mode
udlfb: 1152x864 @ 75 Hz valid mode
udlfb: 1680x1050 @ 60 Hz valid mode
udlfb: Reallocating framebuffer. Addresses will change!
udlfb: 1680x1050 @ 59 Hz valid mode
udlfb: set_par mode 1680x1050
udlfb: DisplayLink USB device /dev/fb1 attached. 1680x1050 resolution. Using 6896K framebuffer memory
usb 1-1.3.1: USB disconnect, device number 6
usb 1-1.3.1: new low-speed USB device number 10 using dwc_otg
usb 1-1.3.1: New USB device found, idVendor=0461, idProduct=4d15
usb 1-1.3.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
usb 1-1.3.1: Product: USB Optical Mouse
input: USB Optical Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input3
hid-generic 0003:0461:4D15.0004: input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-bcm2708_usb-1.3.1/input0
Log file

Code: Select all

[email protected] ~ $ cat /var/log/Xorg.0.log
[    26.357] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    26.358] X Protocol Version 11, Revision 0
[    26.358] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[    26.358] Current Operating System: Linux raspberrypi 3.10.21+ #1 Wed Dec 4 23:21:03 EST 2013 armv6l
[    26.359] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708.boardrev=0xe bcm2708.serial=0xd5a6358d smsc95xx.macaddr=B8:27:EB:A6:35:8D sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    26.363] Build Date: 20 April 2013  05:19:09AM
[    26.363] xorg-server 2:1.12.4-6 (Julien Cristau <[email protected]>) 
[    26.363] Current version of pixman: 0.29.3
[    26.364] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    26.364] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    26.365] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan  7 22:00:21 2014
[    26.391] (==) Using config file: "/etc/X11/xorg.conf"
[    26.392] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    26.402] (==) ServerLayout "default"
[    26.403] (**) |-->Screen "screen0" (0)
[    26.403] (**) |   |-->Monitor "monitor0"
[    26.412] (**) |   |-->Device "uga0"
[    26.412] (**) |-->Screen "screen1" (1)
[    26.412] (**) |   |-->Monitor "monitor1"
[    26.414] (**) |   |-->Device "uga1"
[    26.415] (**) Option "Xinerama" "1"
[    26.415] (==) Automatically adding devices
[    26.415] (==) Automatically enabling devices
[    26.415] (**) Xinerama: enabled
[    26.449] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    26.449] 	Entry deleted from font path.
[    26.449] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    26.450] 	Entry deleted from font path.
[    26.450] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    26.450] 	Entry deleted from font path.
[    26.462] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    26.462] 	Entry deleted from font path.
[    26.462] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    26.462] 	Entry deleted from font path.
[    26.462] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    26.462] 	Entry deleted from font path.
[    26.463] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    26.463] (==) ModulePath set to "/usr/lib/xorg/modules"
[    26.463] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    26.463] (II) Loader magic: 0xb6febcf0
[    26.463] (II) Module ABI versions:
[    26.463] 	X.Org ANSI C Emulation: 0.4
[    26.463] 	X.Org Video Driver: 12.1
[    26.464] 	X.Org XInput driver : 16.0
[    26.464] 	X.Org Server Extension : 6.0
[    26.464] (II) LoadModule: "extmod"
[    26.491] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    26.504] (II) Module extmod: vendor="X.Org Foundation"
[    26.505] 	compiled for 1.12.4, module version = 1.0.0
[    26.505] 	Module class: X.Org Server Extension
[    26.505] 	ABI class: X.Org Server Extension, version 6.0
[    26.505] (II) Loading extension SELinux
[    26.506] (II) Loading extension MIT-SCREEN-SAVER
[    26.506] (II) Loading extension XFree86-VidModeExtension
[    26.506] (II) Loading extension XFree86-DGA
[    26.506] (II) Loading extension DPMS
[    26.506] (II) Loading extension XVideo
[    26.506] (II) Loading extension XVideo-MotionCompensation
[    26.506] (II) Loading extension X-Resource
[    26.506] (II) LoadModule: "dbe"
[    26.508] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    26.522] (II) Module dbe: vendor="X.Org Foundation"
[    26.523] 	compiled for 1.12.4, module version = 1.0.0
[    26.523] 	Module class: X.Org Server Extension
[    26.523] 	ABI class: X.Org Server Extension, version 6.0
[    26.523] (II) Loading extension DOUBLE-BUFFER
[    26.523] (II) LoadModule: "glx"
[    26.525] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    26.545] (II) Module glx: vendor="X.Org Foundation"
[    26.545] 	compiled for 1.12.4, module version = 1.0.0
[    26.546] 	ABI class: X.Org Server Extension, version 6.0
[    26.546] (==) AIGLX enabled
[    26.546] (II) Loading extension GLX
[    26.546] (II) LoadModule: "record"
[    26.548] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    26.553] (II) Module record: vendor="X.Org Foundation"
[    26.553] 	compiled for 1.12.4, module version = 1.13.0
[    26.553] 	Module class: X.Org Server Extension
[    26.553] 	ABI class: X.Org Server Extension, version 6.0
[    26.553] (II) Loading extension RECORD
[    26.554] (II) LoadModule: "dri"
[    26.555] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    26.569] (II) Module dri: vendor="X.Org Foundation"
[    26.570] 	compiled for 1.12.4, module version = 1.0.0
[    26.570] 	ABI class: X.Org Server Extension, version 6.0
[    26.570] (II) Loading extension XFree86-DRI
[    26.570] (II) LoadModule: "dri2"
[    26.572] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    26.586] (II) Module dri2: vendor="X.Org Foundation"
[    26.586] 	compiled for 1.12.4, module version = 1.2.0
[    26.586] 	ABI class: X.Org Server Extension, version 6.0
[    26.586] (II) Loading extension DRI2
[    26.586] (II) LoadModule: "fbdev"
[    26.587] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    26.590] (II) Module fbdev: vendor="X.Org Foundation"
[    26.591] 	compiled for 1.12.1, module version = 0.4.2
[    26.591] 	ABI class: X.Org Video Driver, version 12.0
[    26.591] (II) FBDEV: driver for framebuffer: fbdev
[    26.591] (++) using VT number 7

[    26.600] (WW) Falling back to old probe method for fbdev
[    26.600] (II) Loading sub module "fbdevhw"
[    26.600] (II) LoadModule: "fbdevhw"
[    26.602] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    26.606] (II) Module fbdevhw: vendor="X.Org Foundation"
[    26.606] 	compiled for 1.12.4, module version = 0.0.2
[    26.606] 	ABI class: X.Org Video Driver, version 12.1
[    26.607] (II) FBDEV(0): using /dev/fb0
[    26.607] (II) FBDEV(1): using /dev/fb1
[    26.608] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    26.608] (EE) Screen 1 deleted because of no matching config section.
[    26.608] (II) UnloadModule: "fbdev"
[    26.608] (II) UnloadSubModule: "fbdevhw"
[    26.609] (II) FBDEV(0): Creating default Display subsection in Screen section
	"screen0" for depth/fbbpp 16/16
[    26.609] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[    26.609] (==) FBDEV(0): RGB weight 565
[    26.609] (==) FBDEV(0): Default visual is TrueColor
[    26.609] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    26.620] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 4050kB)
[    26.620] (**) FBDEV(0): Option "ShadowFB" "off"
[    26.620] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[    26.621] (II) FBDEV(0): checking modes against framebuffer device...
[    26.621] (II) FBDEV(0): checking modes against monitor...
[    26.623] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[    26.623] (**) FBDEV(0):  Built-in mode "current"
[    26.623] (==) FBDEV(0): DPI set to (96, 96)
[    26.624] (II) Loading sub module "fb"
[    26.624] (II) LoadModule: "fb"
[    26.625] (II) Loading /usr/lib/xorg/modules/libfb.so
[    26.637] (II) Module fb: vendor="X.Org Foundation"
[    26.637] 	compiled for 1.12.4, module version = 1.0.0
[    26.638] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.639] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[    26.657] (==) FBDEV(0): Backing store disabled
[    26.658] (==) FBDEV(0): DPMS enabled
[    26.659] (==) RandR enabled
[    26.659] (II) Initializing built-in extension Generic Event Extension
[    26.659] (II) Initializing built-in extension SHAPE
[    26.659] (II) Initializing built-in extension MIT-SHM
[    26.660] (II) Initializing built-in extension XInputExtension
[    26.660] (II) Initializing built-in extension XTEST
[    26.660] (II) Initializing built-in extension BIG-REQUESTS
[    26.660] (II) Initializing built-in extension SYNC
[    26.660] (II) Initializing built-in extension XKEYBOARD
[    26.660] (II) Initializing built-in extension XC-MISC
[    26.660] (II) Initializing built-in extension SECURITY
[    26.661] (II) Initializing built-in extension XINERAMA
[    26.661] (II) Initializing built-in extension XFIXES
[    26.661] (II) Initializing built-in extension RENDER
[    26.661] (II) Initializing built-in extension RANDR
[    26.661] (II) Initializing built-in extension COMPOSITE
[    26.661] (II) Initializing built-in extension DAMAGE
[    26.662] (II) SELinux: Disabled on system
[    26.845] (II) AIGLX: Screen 0 is not DRI2 capable
[    26.845] (II) AIGLX: Screen 0 is not DRI capable
[    26.846] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    26.846] (EE) GLX: could not load software renderer
[    26.847] (II) GLX: no usable GL providers found for screen 0
[    27.954] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event0)
[    27.955] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[    27.955] (II) LoadModule: "evdev"
[    27.956] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    27.967] (II) Module evdev: vendor="X.Org Foundation"
[    27.967] 	compiled for 1.12.1, module version = 2.7.0
[    27.968] 	Module class: X.Org XInput Driver
[    27.968] 	ABI class: X.Org XInput driver, version 16.0
[    27.968] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[    27.968] (**) USB Optical Mouse: always reports core events
[    27.969] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[    27.969] (--) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d15
[    27.969] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[    27.987] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[    27.987] (--) evdev: USB Optical Mouse: Found relative axes
[    27.987] (--) evdev: USB Optical Mouse: Found x and y relative axes
[    27.987] (II) evdev: USB Optical Mouse: Configuring as mouse
[    27.987] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[    27.988] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[    27.988] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    27.988] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input0/event0"
[    27.989] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 6)
[    27.989] (II) evdev: USB Optical Mouse: initialized for relative axes.
[    27.996] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[    27.997] (**) USB Optical Mouse: (accel) acceleration profile 0
[    27.997] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[    27.997] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[    28.011] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[    28.012] (II) No input driver specified, ignoring this device.
[    28.012] (II) This device may have been added with another device file.
[    28.016] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event1)
[    28.016] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    28.016] (II) Using input driver 'evdev' for 'Dell Dell USB Keyboard'
[    28.017] (**) Dell Dell USB Keyboard: always reports core events
[    28.017] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event1"
[    28.017] (--) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2010
[    28.018] (--) evdev: Dell Dell USB Keyboard: Found keys
[    28.018] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[    28.018] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3.1/1-1.3.3.1:1.0/input/input1/event1"
[    28.018] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD, id 7)
[    28.018] (**) Option "xkb_rules" "evdev"
[    28.019] (**) Option "xkb_model" "pc105"
[    28.019] (**) Option "xkb_layout" "gb"
[    28.486] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event2)
[    28.486] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    28.486] (II) Using input driver 'evdev' for 'Dell Dell USB Keyboard'
[    28.487] (**) Dell Dell USB Keyboard: always reports core events
[    28.487] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event2"
[    28.487] (--) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2010
[    28.487] (--) evdev: Dell Dell USB Keyboard: Found absolute axes
[    28.487] (II) evdev: Dell Dell USB Keyboard: Forcing absolute x/y axes to exist.
[    28.488] (--) evdev: Dell Dell USB Keyboard: Found keys
[    28.488] (II) evdev: Dell Dell USB Keyboard: Configuring as mouse
[    28.488] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[    28.488] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3.1/1-1.3.3.1:1.1/input/input2/event2"
[    28.489] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD, id 8)
[    28.489] (**) Option "xkb_rules" "evdev"
[    28.489] (**) Option "xkb_model" "pc105"
[    28.489] (**) Option "xkb_layout" "gb"
[    28.492] (II) evdev: Dell Dell USB Keyboard: initialized for absolute axes.
[    28.493] (**) Dell Dell USB Keyboard: (accel) keeping acceleration scheme 1
[    28.493] (**) Dell Dell USB Keyboard: (accel) acceleration profile 0
[    28.493] (**) Dell Dell USB Keyboard: (accel) acceleration factor: 2.000
[    28.494] (**) Dell Dell USB Keyboard: (accel) acceleration threshold: 4
[    28.542] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  1925.729] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  1925.730] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  1925.735] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  9013.723] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  9635.579] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  9635.580] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[  9635.585] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 22116.685] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 22730.169] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 22730.169] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 22730.174] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 23061.030] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 23661.136] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 23661.137] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 23661.142] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 24208.356] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 24880.775] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 24880.776] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 24880.781] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 91962.606] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 91973.901] (II) config/udev: removing device USB Optical Mouse
[ 91973.904] (II) evdev: USB Optical Mouse: Close
[ 91973.905] (II) UnloadModule: "evdev"
[ 91975.946] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event0)
[ 91975.947] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 91975.947] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[ 91975.947] (**) USB Optical Mouse: always reports core events
[ 91975.947] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[ 91975.948] (--) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d15
[ 91975.948] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[ 91975.948] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[ 91975.948] (--) evdev: USB Optical Mouse: Found relative axes
[ 91975.949] (--) evdev: USB Optical Mouse: Found x and y relative axes
[ 91975.949] (II) evdev: USB Optical Mouse: Configuring as mouse
[ 91975.949] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[ 91975.949] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 91975.949] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 91975.952] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/input/input3/event0"
[ 91975.952] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 6)
[ 91975.953] (II) evdev: USB Optical Mouse: initialized for relative axes.
[ 91975.955] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 91975.955] (**) USB Optical Mouse: (accel) acceleration profile 0
[ 91975.955] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 91975.956] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[ 91975.958] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[ 91975.959] (II) No input driver specified, ignoring this device.
[ 91975.959] (II) This device may have been added with another device file.

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Thu Jan 09, 2014 8:54 am

In your xorg.conf you have Screen options in the Device sections. In the Device context, Screen is used for graphics cards that can drive more than one monitor, typically multi-head PCI cards.

Code: Select all

Section "Device"
Identifier "uga0"
driver "fbdev"
Screen 0          <--- 
Option "fbdev" "/dev/fb0"
Option "ShadowFB" "off"
EndSection

Section "Device"
Identifier "uga1"
driver "fbdev"
Screen 1          <--- This one says "I have two monitors on the DisplayLink. Use the second."
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection
In the Xorg.0.log file we can see that the X server doesn't know what to do with "Screen 1"

Code: Select all

[    26.608] (EE) Screen 1 deleted because of no matching config section.
Delete "Screen 0" and "Screen 1" from the Device sections.

--
Ragnar

masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Thu Jan 09, 2014 11:24 pm

Many thanks Ragnar.!

That worked ! .

Now I just need to play around with resolutions as it seems that the USB adapter only goes up to 1680x1050.
Can you force the screens to a lower or higher resolution ? Just use an option in the conf file ?

Is there a way to have an "extended" desktop (like Windows), and not stretch it across the two screens ? i.e. have 2 separate screens ?

Many thanks again for your time and help.

Stephen.

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Fri Jan 10, 2014 11:11 pm

masonsa wrote:Many thanks Ragnar.!

That worked ! .
8-)
Now I just need to play around with resolutions as it seems that the USB adapter only goes up to 1680x1050.
Yep, these are the valid modes for the adapter, from dmesg

Code: Select all

udlfb: 1920x1200 beyond chip capabilities
udlfb: 720x400 @ 70 Hz valid mode
udlfb: 640x480 @ 60 Hz valid mode
udlfb: 640x480 @ 75 Hz valid mode
udlfb: 800x600 @ 60 Hz valid mode
udlfb: 800x600 @ 75 Hz valid mode
udlfb: 1024x768 @ 60 Hz valid mode
udlfb: 1024x768 @ 75 Hz valid mode
udlfb: 1280x1024 @ 75 Hz valid mode
udlfb: 1280x1024 @ 60 Hz valid mode
udlfb: 1600x1200 @ 60 Hz valid mode
udlfb: 1152x864 @ 75 Hz valid mode
udlfb: 1680x1050 @ 60 Hz valid mode
Can you force the screens to a lower or higher resolution ? Just use an option in the conf file ?
Yes, in the Screen sections you can add a SubSection "Display" that can take a plethora of options. The option we're interested in is "Modes".

Code: Select all

Section "Screen"
Identifier "screen1"
Device "uga1"
Monitor "monitor1"
 SubSection "Display"
        Modes "640x480"
    EndSubSection
EndSection
Is there a way to have an "extended" desktop (like Windows), and not stretch it across the two screens ? i.e. have 2 separate screens ?
There are several ways, one more fiddly than the other. Below is the least fiddly ;)
If you remove the "Xinerama" option (or set it to "0" or "false") the two screens will be separate. The mouse pointer can go between them but nothing else. From what I've read, the desktop environment (LXDE) should pick up the two separate displays, but I have not managed to get that to work. I get a blank secondary display where the mouse pointer is a big X (which is normal for a completely unmanaged X server).
Try this in a terminal window:

Code: Select all

DISPLAY=:0.1 lxterminal &
A terminal window should open on the secondary display, but note that it can't be moved or resized.
Then start a window manager:

Code: Select all

DISPLAY=:0.1 openbox &
The mouse pointer changes to an arrow and the terminal window gets a frame.
The "DISPLAY=:0.1" moniker is what tells a X application on which screen to put its window. The main display is ":0.0".

I haven't looked into how to get the LX panels and menus to display on the secondary screen. Again, from what I've read it should work automagically, but...

--
Ragnar

masonsa
Posts: 7
Joined: Sun Dec 22, 2013 10:42 pm

Re: USB Displaylink

Sun Jan 12, 2014 9:10 pm

Thanks again Ragnar.

I will will play around with your config suggestions and see how I go.
Really appreciate your help and time. :D

Cheers,
Stephen.

User avatar
ragnarjensen
Posts: 332
Joined: Wed May 15, 2013 6:13 pm
Location: Stockholm, Sweden
Contact: Website

Re: USB Displaylink

Sun Jan 12, 2014 10:24 pm

I have played around a little with two separate displays (no Xinerama) and now have desktops on both.
I have created a file ~/.config/autostart/10-desktopmgr-autostart.desktop (you can name it whatever you want as long as it ends with ".desktop"), which contains

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Desktop autostart for secondary display
Comment=Start the LXDE environment on secondary display
Exec=/home/pi/bin/desktopmgr.sh
OnlyShowIn=LXDE
Then, in my ~/bin directory i have the script desktopmgr.sh:

Code: Select all

#!/bin/bash

# Start a window manager on the secondary display.
DISPLAY=:0.1 openbox --config-file $HOME/.config/openbox/lxde-rc.xml &

# Start the desktop environment on the secondary display. It is actually the file manager pcmanfm that manages the desktop,
# when started with its --desktop option.
#
# But, there is a bug in pcmanfm.   :-(
# It won't start on DISPLAY :0.1 if there already is another pcmanfm running on the main DISPLAY :0.0
# It seems like it only checks if it already is running on the same X server,
# not taking the possible multiple displays on that server into consideration.
# Workaround by using the DISPLAY environment variable to point to a non-existing DISPLAY :9.0
# and using the --display argument to point out the real DISPLAY we want it running on.

DISPLAY=:9.0 pcmanfm --display=:0.1 --desktop  --profile LXDE &

# Start a terminal.
cd $HOME
DISPLAY=:0.1 lxterminal &
Resulting in two separate desktops 8-)
Image

The task bar - lxpanel - will not run on more than one display and that is by design.
--
Ragnar

claudy_focan
Posts: 10
Joined: Fri Dec 20, 2013 4:30 pm

Re: USB Displaylink

Thu Feb 06, 2014 7:02 pm

Hello,

small question !

I have a samsung u70 display link, seems ok in lsusb and dmesg.

But i don't have /dev/fb1 ...

You have rebuild your firmware for console/shell support ? ( currently 3.6.11+)

Or with the 3.10 kernel, raspbian has more supported device ?

Thank you :)

Return to “Raspbian”