You are not logged in.

#1 2019-04-28 17:28:32

phosit
Member
Registered: 2019-04-22
Posts: 11

[SOLVED]Detect false resolution of one monitor behind USB-C Dock

I have a Kensigton SD4600P Dock. The Monitor at the HDMI-Port works fine. The Monitor at the DisplayPort works only if the HDMI Monitor is connected and in a false resolution.
The Monitor at the DisplayPort is connected via a DisplayPort-HDMI "adapter cable".

dmesg say somthing about an invalid EDID:

$ dmesg -l warn

[    0.361362] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.361363] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    1.349095] [Firmware Bug]: No valid trip found
[    1.868186] usb: port power management may be unreliable
[    1.878990] sdhci-pci 0000:00:1e.6: failed to setup card detect gpio
[    3.762858] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    3.762994] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    3.763117] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    3.845651] i2c_hid i2c-ELAN2513:00: i2c-ELAN2513:00 supply vdd not found, using dummy regulator
[    3.845686] i2c_hid i2c-ELAN2513:00: i2c-ELAN2513:00 supply vddl not found, using dummy regulator
[    3.854782] r8169 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control
[    3.982066] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.990681] hp_wmi: query 0x4 returned error 0x5
[    3.996709] hp_wmi: query 0x4 returned error 0x5
[    4.006141] hp_wmi: query 0xd returned error 0x5
[    4.060753] i2c_hid i2c-SYNA307C:00: i2c-SYNA307C:00 supply vdd not found, using dummy regulator
[    4.060777] i2c_hid i2c-SYNA307C:00: i2c-SYNA307C:00 supply vddl not found, using dummy regulator
[    4.420782] thermal thermal_zone12: failed to read out thermal zone (-61)
[    5.711822] kauditd_printk_skb: 6 callbacks suppressed                                                                                                                                    
[   13.778052] kauditd_printk_skb: 62 callbacks suppressed                                                                                                                                   
[   31.682188] i915 0000:00:02.0: DP-2: EDID is invalid:                                                                                                                                     
[   31.682196]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682200]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682203]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682206]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682209]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682211]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682214]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                                                                                                                    
[   31.682216]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
$ lsusb -t

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 5, If 0, Class=, Driver=, 12M
        |__ Port 3: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 8, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 480M
            |__ Port 2: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 2: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 2: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 7: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 3, If 0, Class=Vendor Specific Class, Driver=usbfs, 12M

Last edited by phosit (2019-05-01 09:53:58)

Offline

#2 2019-05-01 09:53:27

phosit
Member
Registered: 2019-04-22
Posts: 11

Re: [SOLVED]Detect false resolution of one monitor behind USB-C Dock

I copied the hex part from https://github.com/linuxhw/EDID into a txt file. I compiled this file with wxEDID into a .bin file and moved it tho /lib/firmware/edid. After thad i set the kernel parameter

drm.edid_firmware=edid/<file>

I think i will hafe troubles if i connect another screen.

Offline

Board footer

Powered by FluxBB