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

Re: USB Displaylink

Wed Jun 13, 2018 6:07 pm

What does the X log file say? It's in /var/log/Xorg.0.log on my Raspbian systems.
Also the output from the dmesg command could be interesting.

Note! I don't run USB DisplayLink any longer myself. All my Pis are headless nowadays, so I can't test anything.

lordaker
Posts: 30
Joined: Wed Sep 20, 2017 8:31 am

Re: USB Displaylink

Thu Jun 14, 2018 8:14 am

ragnarjensen wrote:
Wed Jun 13, 2018 6:07 pm
What does the X log file say? It's in /var/log/Xorg.0.log on my Raspbian systems.
Also the output from the dmesg command could be interesting.

Note! I don't run USB DisplayLink any longer myself. All my Pis are headless nowadays, so I can't test anything.

Hello @ragnarjensen,

How 're you doing ? This is the content of my Xorg.0.log file

Code: Select all

[    19.465]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    19.465] X Protocol Version 11, Revision 0
[    19.465] Build Operating System: Linux 4.4.0-101-generic armv7l Ubuntu
[    19.465] Current Operating System: Linux raspi-desktop 4.14.48-v7+ #1 SMP Wed Jun 13 16:25:34 GMT 2018 armv7l
[    19.465] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    19.466] Build Date: 24 November 2017  09:45:24AM
[    19.466] xorg-server 2:1.19.5-0ubuntu2~16.04.1 (For technical support please see http://www.ubuntu.com/support)
[    19.466] Current version of pixman: 0.33.6
[    19.466]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    19.466] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    19.466] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 14 07:32:27 2018
[    19.469] (==) Using config file: "/etc/X11/xorg.conf"
[    19.469] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    19.486] (==) ServerLayout "default"
[    19.486] (**) |-->Screen "screen1" (0)
[    19.486] (**) |   |-->Monitor "PHILIPS 221E2"
[    19.487] (**) |   |-->Device "Raspberry Pi FBDEV"
[    19.487] (**) |-->Screen "screen" (1)
[    19.487] (**) |   |-->Monitor "PHILIPS Brilliance 220SW"
[    19.488] (**) |   |-->Device "displaylink"
[    19.488] (==) Automatically adding devices
[    19.488] (==) Automatically enabling devices
[    19.488] (==) Automatically adding GPU devices
[    19.489] (==) Automatically binding GPU devices
[    19.489] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    19.489] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    19.489]    Entry deleted from font path.
[    19.489] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    19.489]    Entry deleted from font path.
[    19.489] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    19.489]    Entry deleted from font path.
[    19.489] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    19.489]    Entry deleted from font path.
[    19.489] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    19.489]    Entry deleted from font path.
[    19.489] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
200 lignes copiées                                                                                                                            1,1          Haut
I hope this is can be help you for come to my help on this issue.

PS: What did you mean by all Pi's are headless nowodays ?

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

Re: USB Displaylink

Thu Jun 14, 2018 9:25 am

The X log file doesn't show anything being wrong...

The output from the dmesg command?
Also, what happens if you swap the physicals screens, 221E2 on DisplayLink and 220SW on HDMI?


PS: I'm saying that all my Pis are headless. Headless is when a computer doesn't have any screen at all, i.e. I'm unable to do any tests myself.

lordaker
Posts: 30
Joined: Wed Sep 20, 2017 8:31 am

Re: USB Displaylink

Mon Jun 18, 2018 8:20 am

Hi @ragnarjensen,

How're you? I hope you're passed a good father's day. So, this my dmesg command result on Ubuntu Mate 16.04 LTS :

Code: Select all

[email protected]:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.48-v7+ ([email protected]) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1 SMP Wed Jun 13 16:25:34 GMT 2018
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x3ac00000
[    0.000000] On node 0 totalpages: 242688
[    0.000000] free_area_init_node: node 0, pgdat 80c854c0, node_mem_map ba3a1000
[    0.000000]   Normal zone: 2133 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 242688 pages, LIFO batch:31
[    0.000000] percpu: Embedded 17 pages/cpu @ba34a000 s38604 r8192 d22836 u69632
[    0.000000] pcpu-alloc: s38604 r8192 d22836 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 940228K/970752K available (7168K kernel code, 577K rwdata, 2220K rodata, 1024K init, 710K bss, 22332K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
                   lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x80800000   (8160 kB)
                     .init : 0x80b00000 - 0x80c00000   (1024 kB)
                     .data : 0x80c00000 - 0x80c904f4   ( 578 kB)
                      .bss : 0x80c98138 - 0x80d499a4   ( 711 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 26280 entries in 78 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000019] Switching to timer-based delay loop, resolution 52ns
[    0.000266] Console: colour dummy device 80x30
[    0.000282] console [tty1] enabled
[    0.000304] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000319] pid_max: default: 32768 minimum: 301
[    0.000620] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000634] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001565] Disabling memory control group subsystem
[    0.001636] CPU: Testing write buffer coherency: ok
[    0.002029] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002402] Setting up static identity map for 0x100000 - 0x10003c
[    0.002517] Hierarchical SRCU implementation.
[    0.003141] smp: Bringing up secondary CPUs ...
[    0.003831] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004580] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.005313] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.005417] smp: Brought up 1 node, 4 CPUs
[    0.005428] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.005433] CPU: All CPU(s) started in HYP mode.
[    0.005437] CPU: Virtualization extensions available.
[    0.006258] devtmpfs: initialized
[    0.015935] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
[    0.016715] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.016931] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016949] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.017525] pinctrl core: initialized pinctrl subsystem
[    0.018254] NET: Registered protocol family 16
[    0.020978] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.025757] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.025764] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.025944] Serial: AMBA PL011 UART driver
[    0.027534] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.027983] uart-pl011 3f201000.serial: could not find pctldev for node /soc/[email protected]/uart0_pins, deferring probe
[    0.058989] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
[    0.060486] SCSI subsystem initialized
[    0.060706] usbcore: registered new interface driver usbfs
[    0.060763] usbcore: registered new interface driver hub
[    0.060846] usbcore: registered new device driver usb
[    0.070094] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-06-07 15:31
[    0.071525] clocksource: Switched to clocksource arch_sys_counter
[    0.149894] VFS: Disk quotas dquot_6.6.0
[    0.149995] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.150177] FS-Cache: Loaded
[    0.150371] CacheFiles: Loaded
[    0.159150] NET: Registered protocol family 2
[    0.159849] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.159958] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.160143] TCP: Hash tables configured (established 8192 bind 8192)
[    0.160270] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.160314] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.160540] NET: Registered protocol family 1
[    0.160974] RPC: Registered named UNIX socket transport module.
[    0.160979] RPC: Registered udp transport module.
[    0.160984] RPC: Registered tcp transport module.
[    0.160989] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.162592] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.165290] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.173029] FS-Cache: Netfs 'nfs' registered for caching
[    0.173603] NFS: Registering the id_resolver key type
[    0.173633] Key type id_resolver registered
[    0.173639] Key type id_legacy registered
[    0.173654] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.175523] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.175642] io scheduler noop registered
[    0.175648] io scheduler deadline registered (default)
[    0.175912] io scheduler cfq registered
[    0.175919] io scheduler mq-deadline registered
[    0.175925] io scheduler kyber registered
[    0.178574] BCM2708FB: allocated DMA memory fad10000
[    0.178599] BCM2708FB: allocated DMA channel 0 @ bb813000
[    0.204411] Console: switching to colour frame buffer device 210x65
[    0.220977] bcm2835-rng 3f104000.rng: hwrng registered
[    0.221105] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.221634] vc-sm: Videocore shared memory driver
[    0.221904] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.222080] usbcore: registered new interface driver udl
[    0.231337] brd: module loaded
[    0.239867] loop: module loaded
[    0.239880] Loading iSCSI transport class v2.0-870.
[    0.240522] libphy: Fixed MDIO Bus: probed
[    0.240608] usbcore: registered new interface driver lan78xx
[    0.240661] usbcore: registered new interface driver smsc95xx
[    0.240676] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.468770] Core Release: 2.80a
[    0.468779] Setting default values for core params
[    0.468807] Finished setting default values for core params
[    0.669045] Using Buffer DMA mode
[    0.669051] Periodic Transfer Interrupt Enhancement - disabled
[    0.669056] Multiprocessor Interrupt Enhancement - disabled
[    0.669063] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.669077] Dedicated Tx FIFOs mode
[    0.669477] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad04000 dma = 0xfad04000 len=9024
[    0.669501] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.669508] dwc_otg: Microframe scheduler enabled
[    0.669562] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80628c30
[    0.669573] WARN::hcd_init_fiq:460: FIQ ASM at 0x80628f8c length 36
[    0.669585] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87e000
[    0.669640] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.669672] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.669702] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.669750] Init: Port Power? op_state=1
[    0.669755] Init: Power Port (0)
[    0.669959] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.669969] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.669978] usb usb1: Product: DWC OTG Controller
[    0.669987] usb usb1: Manufacturer: Linux 4.14.48-v7+ dwc_otg_hcd
[    0.669995] usb usb1: SerialNumber: 3f980000.usb
[    0.670584] hub 1-0:1.0: USB hub found
[    0.670630] hub 1-0:1.0: 1 port detected
[    0.671121] dwc_otg: FIQ enabled
[    0.671127] dwc_otg: NAK holdoff enabled
[    0.671131] dwc_otg: FIQ split-transaction FSM enabled
[    0.671141] Module dwc_common_port init
[    0.671350] usbcore: registered new interface driver usb-storage
[    0.671546] mousedev: PS/2 mouse device common for all mice
[    0.671617] IR NEC protocol handler initialized
[    0.671622] IR RC5(x/sz) protocol handler initialized
[    0.671628] IR RC6 protocol handler initialized
[    0.671633] IR JVC protocol handler initialized
[    0.671638] IR Sony protocol handler initialized
[    0.671643] IR SANYO protocol handler initialized
[    0.671648] IR Sharp protocol handler initialized
[    0.671653] IR MCE Keyboard/mouse protocol handler initialized
[    0.671659] IR XMP protocol handler initialized
[    0.672332] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.672594] bcm2835-cpufreq: min=600000 max=1200000
[    0.672943] sdhci: Secure Digital Host Controller Interface driver
[    0.672948] sdhci: Copyright(c) Pierre Ossman
[    0.673290] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.673609] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.673698] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.675104] ledtrig-cpu: registered to indicate activity on CPUs
[    0.675272] hidraw: raw HID events driver (C) Jiri Kosina
[    0.675425] usbcore: registered new interface driver usbhid
[    0.675430] usbhid: USB HID core driver
[    0.676146] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
[    0.677554] [vc_sm_connected_init]: start
[    0.686584] [vc_sm_connected_init]: end - returning 0
[    0.687158] Initializing XFRM netlink socket
[    0.687181] NET: Registered protocol family 17
[    0.687280] Key type dns_resolver registered
[    0.687846] Registering SWP/SWPB emulation handler
[    0.688407] registered taskstats version 1
[    0.694100] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.694171] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    0.695875] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    0.695884] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    0.762165] sdhost: log_buf @ bad07000 (fad07000)
[    0.799723] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.801295] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.802858] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.805643] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.841548] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.842550] of_cfs_init
[    0.842683] of_cfs_init: OK
[    0.843198] Waiting for root device /dev/mmcblk0p2...
[    0.882103] random: fast init done
[    0.891623] Indeed it is in host mode hprt0 = 00021501
[    0.958989] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.961758] mmc0: new high speed SDHC card at address 0007
[    0.962210] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[    0.963807]  mmcblk0: p1 p2
[    0.984955] mmc1: new high speed SDIO card at address 0001
[    1.005833] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.005879] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.006959] devtmpfs: mounted
[    1.010357] Freeing unused kernel memory: 1024K
[    1.101573] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.101709] Indeed it is in host mode hprt0 = 00001101
[    1.341867] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.341881] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.342510] hub 1-1:1.0: USB hub found
[    1.342597] hub 1-1:1.0: 5 ports detected
[    1.419716] systemd[1]: System time before build time, advancing clock.
[    1.560098] NET: Registered protocol family 10
[    1.561350] Segment Routing with IPv6
[    1.576887] random: systemd: uninitialized urandom read (16 bytes read)
[    1.589092] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    1.589693] systemd[1]: Detected architecture arm.
[    1.590824] systemd[1]: Set hostname to <raspi-desktop>.
[    1.629314] random: systemd: uninitialized urandom read (16 bytes read)
[    1.657869] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read)
[    1.661636] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.791911] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.791926] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.794589] smsc95xx v1.0.6
[    1.884913] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:c3:d5:36
[    2.201595] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    2.284158] systemd[1]: Created slice User and Session Slice.
[    2.284573] systemd[1]: Listening on udev Kernel Socket.
[    2.284665] systemd[1]: Reached target Encrypted Volumes.
[    2.284748] systemd[1]: Reached target Remote File Systems (Pre).
[    2.285030] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.285229] systemd[1]: Listening on Syslog Socket.
[    2.285438] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    2.344463] usb 1-1.2: New USB device found, idVendor=062a, idProduct=0001
[    2.344480] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.351400] input: HID 062a:0001 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:062A:0001.0001/input/input0
[    2.351938] hid-generic 0003:062A:0001.0001: input,hidraw0: USB HID v1.10 Mouse [HID 062a:0001] on usb-3f980000.usb-1.2/input0
[    2.451628] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[    2.536652] media: Linux media interface: v0.10
[    2.566935] Linux video capture interface: v2.00
[    2.651633] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    2.669491] usb 1-1.3: New USB device found, idVendor=05ac, idProduct=024f
[    2.669511] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.669519] usb 1-1.3: Product: USB Keyboard
[    2.682636] i2c /dev entries driver
[    2.916792] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    2.920687] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[    3.071623] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[    3.205231] usb 1-1.5: New USB device found, idVendor=17e9, idProduct=03c1
[    3.205246] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.205255] usb 1-1.5: Product: USB_dvi_adapter
[    3.205263] usb 1-1.5: Manufacturer: DisplayLink
[    3.205271] usb 1-1.5: SerialNumber: 100945
[    3.207051] [drm] vendor descriptor length:1b data:1b 5f 01 00 19 05 00 01 03 00 04
[    5.008956] input: USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:05AC:024F.0002/input/input1
[    5.051812] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.078875] apple 0003:05AC:024F.0002: input,hidraw1: USB HID v1.10 Keyboard [USB Keyboard] on usb-3f980000.usb-1.3/input0
[    5.079678] input: USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:05AC:024F.0003/input/input2
[    5.134490] systemd-journald[88]: Received request to flush runtime journal from PID 1
[    5.141980] apple 0003:05AC:024F.0003: input,hidraw2: USB HID v1.10 Mouse [USB Keyboard] on usb-3f980000.usb-1.3/input1
[    6.177217] EDID block is all zeroes
[    6.177235] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[    6.179712] udl 1-1.5:1.0: fb1: udldrmfb frame buffer device
[    6.251539] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.251547] [drm] No driver support for vblank timestamp query.
[    6.251588] [drm] Initialized udl 0.0.1 20120220 for 1-1.5:1.0 on minor 0
[    6.251591] [drm] Initialized udl on minor 0
[    7.798046] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    7.802337] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[    7.802498] usbcore: registered new interface driver brcmfmac
[    8.010670] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[    8.011357] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.6.3 Inc Compiler: 1.29.4 Inc ClmImport: 1.31.4 Creation: 2016-08-29 20:46:38 
[    8.802994] smsc95xx 1-1.1:1.0 enxb827ebc3d536: renamed from eth0
[    9.099050] random: crng init done
[    9.099056] random: 7 urandom warning(s) missed due to ratelimiting
[   10.597389] EDID block is all zeroes
[   10.597403] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   13.646612] EDID block is all zeroes
[   13.646630] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   19.556395] open /dev/fb1 user=1 fb_info=b9daf800 count=1
[   23.384120] mmap() framebuffer addr:3163803648 size:1572864
[   23.741509] open /dev/fb1 user=1 fb_info=b9daf800 count=2
[   23.953159] mmap() framebuffer addr:3163803648 size:1572864
[   27.077747] EDID block is all zeroes
[   27.077767] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   28.122694] uart-pl011 3f201000.serial: no DMA platform data
[   29.274133] released /dev/fb1 user=1 count=1
[   29.274148] released /dev/fb1 user=1 count=0
[   30.281336] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   30.327933] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   30.327999] brcmfmac: power management disabled
[   30.386135] IPv6: ADDRCONF(NETDEV_UP): enxb827ebc3d536: link is not ready
[   30.482675] smsc95xx 1-1.1:1.0 enxb827ebc3d536: hardware isn't capable of remote wakeup
[   31.136100] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   31.949437] smsc95xx 1-1.1:1.0 enxb827ebc3d536: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   35.875429] EDID block is all zeroes
[   35.875450] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   38.912529] EDID block is all zeroes
[   38.912542] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   39.374573] [drm] write mode info 153
[   40.878917] fuse init (API version 7.26)
[   53.715563] Bluetooth: Core ver 2.22
[   53.715623] NET: Registered protocol family 31
[   53.715626] Bluetooth: HCI device and connection manager initialized
[   53.715638] Bluetooth: HCI socket layer initialized
[   53.715647] Bluetooth: L2CAP socket layer initialized
[   53.715666] Bluetooth: SCO socket layer initialized
[   53.726847] Bluetooth: HCI UART driver ver 2.3
[   53.726857] Bluetooth: HCI UART protocol H4 registered
[   53.726860] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   53.726988] Bluetooth: HCI UART protocol Broadcom registered
[   53.924034] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   53.924042] Bluetooth: BNEP filters: protocol multicast
[   53.924055] Bluetooth: BNEP socket layer initialized
[   66.289382] EDID block is all zeroes
[   66.289395] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   66.916729] EDID block is all zeroes
[   66.916748] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   67.573191] EDID block is all zeroes
[   67.573211] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   68.221006] EDID block is all zeroes
[   68.221029] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   76.750794] EDID block is all zeroes
[   76.750812] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[   77.213748] Bluetooth: RFCOMM TTY layer initialized
[   77.213775] Bluetooth: RFCOMM socket layer initialized
[   77.213794] Bluetooth: RFCOMM ver 1.11
[ 2094.217121] EDID block is all zeroes
[ 2094.217143] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
[322710.598668] [drm] write mode info 153
[email protected]:~#

And this is my " uname -a " command result :

Code: Select all

[email protected]:~# uname -a
Linux raspi-desktop 4.14.48-v7+ #1 SMP Wed Jun 13 16:25:34 GMT 2018 armv7l armv7l armv7l GNU/Linux
[email protected]:~# 

Image


NB : Actually I run two backup of my operating system running on my raspberry pi 3.
One of them is Ubuntu Mate 16.04 LTS and the other is Raspbian Stretch. With the os Raspbian Stretch
my two monitor display the content well only the second monitor have a bad resultion.
With the os Ubuntu Mate 16.04 LTS, I have the second monitor (connected with the adapter usb displaylink) who display the content and the first monitor (connected with the hdmi of the raspberry pi) is display a black screen.

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

Re: USB Displaylink

Mon Jun 18, 2018 10:56 am

Hi! All is well, thank you.

In the messages from dmesg I see a lot of

Code: Select all

[    6.177217] EDID block is all zeroes
[    6.177235] udl 1-1.5:1.0: DVI-I-1: EDID invalid.
It looks like the DisplayLink adapter doesn't communicate properly with the monitor.
I see in you pictures that you are using a VGA cable. Have you tried connecting the monitor with a DVI-D cable?


I have no experience of Ubuntu on the RPi.

lordaker
Posts: 30
Joined: Wed Sep 20, 2017 8:31 am

Re: USB Displaylink

Mon Jun 18, 2018 12:43 pm

I see in you pictures that you are using a VGA cable. Have you tried connecting the monitor with a DVI-D cable?
No, as you can see my adapter displaylink is a USB 2.0 to VGA (U2-165-VGA). But I have a second adapter who is a usb 2.0 to DVI with that. It's just I don't have any DVI-D cable.
I have no experience of Ubuntu on the RPi.
No, I have not really big experience with Ubuntu on the RPi's.

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

Re: USB Displaylink

Tue Jun 19, 2018 7:58 am

EDID is a mechanism that is used by the display adapter and the monitor, where the monitor can tell the display adapter which capabilities it has, e.g. resolutions. For some reason your display adapter is not getting the information it wants from the monitor.

Does your VGA cable have all 15 pins? The EDID communications is done on pins 9, 12, and 15. I have seen VGA cables with those pins missing.

lordaker
Posts: 30
Joined: Wed Sep 20, 2017 8:31 am

Re: USB Displaylink

Tue Jun 19, 2018 10:01 am

ragnarjensen wrote:
Tue Jun 19, 2018 7:58 am
EDID is a mechanism that is used by the display adapter and the monitor, where the monitor can tell the display adapter which capabilities it has, e.g. resolutions. For some reason your display adapter is not getting the information it wants from the monitor.

Does your VGA cable have all 15 pins? The EDID communications is done on pins 9, 12, and 15. I have seen VGA cables with those pins missing.
Hello @ragnarjensen,

Yes, the VGA cable have all 15 pins.

This is the code of my Xorg.0.log file on Raspbian Stretch installation:

Code: Select all

Section "Device"
[    10.310]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[    10.310] X Protocol Version 11, Revision 0
[    10.310] Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
[    10.310] Current Operating System: Linux raspberry-usersen07 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l
[    10.311] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=0a147ee6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    10.311] Build Date: 18 October 2017  04:55:30PM
[    10.311] xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
[    10.311] Current version of pixman: 0.34.0
[    10.311]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    10.311] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.312] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 19 13:38:48 2018
[    10.312] (==) Using config file: "/etc/X11/xorg.conf"
[    10.312] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.317] (==) ServerLayout "default"
[    10.317] (**) |-->Screen "screen1" (0)
[    10.317] (**) |   |-->Monitor "PHILIPS 221E"
[    10.325] (**) |   |-->Device "Raspberry Pi HDMI"
[    10.325] (**) |-->Screen "screen" (1)
[    10.325] (**) |   |-->Monitor "PHILIPS Brilliance 220SW"
[    10.326] (**) |   |-->Device "displaylink"
[    10.326] (**) Option "Xinerama" "true"
[    10.326] (==) Automatically adding devices
[    10.326] (==) Automatically enabling devices
[    10.326] (==) Automatically adding GPU devices
[    10.326] (**) Xinerama: enabled
[    10.326] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.331] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    10.331]    Entry deleted from font path.
[    10.336] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[    10.336] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.336] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.339] (II) Loader magic: 0x1fbf40
[    10.339] (II) Module ABI versions:
[    10.339]    X.Org ANSI C Emulation: 0.4
[    10.339]    X.Org Video Driver: 23.0
[    10.339]    X.Org XInput driver : 24.1
[    10.339]    X.Org Server Extension : 10.0
[    10.343] (++) using VT number 7

                                                                                                                                                                                             1,1          Haut
And This is the xorg.conf

Code: Select all

Section "Device"
        Identifier      "displaylink"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb1"
        Option          "ShadowFB" "off"
EndSection

Section "Device"
        Identifier      "Raspberry Pi HDMI"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"
        Option          "ShadowFB" "off"
EndSection

Section "Monitor"
        Identifier      "PHILIPS 221E"
EndSection

Section "Monitor"
        Identifier      "PHILIPS Brilliance 220SW"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "displaylink"
        Monitor         "PHILIPS Brilliance 220SW"
        DefaultDepth    16
        SubSection      "Display"
                Depth   16
                Virtual 1680 1050
                Modes   "1680x1050"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "screen1"
        Device          "Raspberry Pi HDMI"
        Monitor         "PHILIPS 221E"
EndSection

Section "ServerLayout"
        Identifier      "default"
        Screen          0 "screen1" 0 0
        Screen          1 "screen" RightOf "screen1"
        Option          "Xinerama" "true"
EndSection
And this the code in my /boot/config.txt file

Code: Select all

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README
"/boot/config.txt" 62L, 1646C                                                                                                                                                                1,1          Haut

billluu619
Posts: 1
Joined: Sun Jun 17, 2018 12:10 am

Re: USB Displaylink

Fri Jun 22, 2018 2:57 am

Hi all,

First post here! I've been following the advice on this guide for the past few months, and it's worked out really well so far!
I've been using the sabrent displaylink usb to hdmi adapter for use on my pi, however now it is no longer working due to hardware issues and the vendor no longer has them in stock. I wanted to know, what is another recommended usb to hdmi displaylink adapter that will work on my pi?

Link to the Sabrent Adapter: https://www.sabrent.com/product/USB-HRH ... 5-chipset/

Alternatively, I attempted to use the CableCreation CD0030, however it doesn't even show up as an fb device on my pi :( Why is this the case?

Link to the CD0030: https://www.amazon.ca/dp/B013G4CJM8?aax ... 3799350001

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

Re: USB Displaylink

Fri Jun 22, 2018 9:04 am

@lordaker It looks like you didn't get all of the Xorg.0.log file, the last part seems to be missing.

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

Re: USB Displaylink

Fri Jun 22, 2018 9:18 am

billluu619 wrote:
Fri Jun 22, 2018 2:57 am
Hi all,
First post here!
Welcome! 8-)
I wanted to know, what is another recommended usb to hdmi displaylink adapter that will work on my pi?
I've used a couple of these;
https://www.amazon.com/Display-Monitor- ... B008H4JGII
They're sold under a lot of different brand names. Here's the same one, but $10 cheaper;
https://www.amazon.com/Plugable-Graphic ... B004AIJE9G
And cheaper still;
https://www.amazon.com/dp/B01AL6IBF8/re ... B004AIJE9G

Note that they are limited to a max resolution of 1920x 1080.
Alternatively, I attempted to use the CableCreation CD0030, however it doesn't even show up as an fb device on my pi :( Why is this the case?
It's USB 3. As far as I know, there are no open source drivers for USB 3 DisplayLink adapters. There is a closed source driver, but only for Intel/AMD x86.
--
Ragnar

eliseogonzalez
Posts: 1
Joined: Tue Aug 07, 2018 5:51 pm

Re: USB Displaylink

Tue Aug 07, 2018 5:54 pm

I followed the instructions on a raspberry pi 3b however this is the issue I get.

The USB display link adapter shows my screen correctly now, so that works perfectly but my HDMI shows nothing but an underscore (black screen with one character in top left which is an underscore). When I reboot the machine I see the ubuntu logo on the hdmi monitor correctly and when its rebooting I see the startup process on the HDMI logo, however once it goes into the desktop I lose the hdmi monitor and only see the usb monitor.

Tried changing xorg.conf many times, even copy pasted it directly off this forum but no luck or changes.

Return to “Raspbian”