Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying for Linux 4.5 compatibility #10

Merged
merged 2 commits into from
Mar 7, 2016

Conversation

ajbogh
Copy link
Contributor

@ajbogh ajbogh commented Feb 25, 2016

This is an initial fix for the Linux 4.5 incompatibility. I am still in the process of testing if it fixed the problem with DisplayLink not showing the display, but this will fix the installation errors at least.

Feel free to offer suggestions or comments, this is my first kernel driver PR.

Linux kernel 4.5 removes the format parameter from drm_dev_set_unique. The change adds an elif for any kernel > 4.5.0.
Added a kernel version check to handle the new name parameter for drm_encoder_init in kernel 4.5.
@dansiemon
Copy link

Thanks for doing this work.

Have you had success using this? I'm not having much luck, output below if that helps someone.

[ 27.255467] [D] add_store
[ 27.255472] increasing device count to 1
[ 27.256656] [D] evdi_crtc_init
[ 27.256663] drm_crtc_init: 0
[ 27.256670] [D] evdi_encoder_init
[ 27.256672] drm_encoder_init: 0
[ 27.256829] [W] evdi_painter_crtc_state_notify
[ 27.256832] Painter does not exist!
[ 27.256837] [D] evdi_detect
[ 27.256838] Painter is disconnected
[ 27.256846] evdi evdi.0: No connectors reported connected with modes
[ 27.256852] [drm] Cannot find any crtc or sizes - going 1024x768
[ 27.258913] evdi evdi.0: fb1: evdidrmfb frame buffer device
[ 27.258919] [drm] evdi: evdi_stats_init
[ 27.258928] [drm] Initialized evdi 1.0.68 19700101 on minor 1
[ 27.267296] ------------[ cut here ]------------
[ 27.267316] WARNING: CPU: 1 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.267319] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.267402] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.267475] CPU: 1 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.267479] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.267482] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.267489] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.267494] 0000000000000000 ffff880489a5fdd0 ffff8804320c0d00 0000000000000072
[ 27.267499] Call Trace:
[ 27.267510] [] dump_stack+0x63/0x84
[ 27.267518] [] warn_slowpath_common+0x82/0xc0
[ 27.267524] [] warn_slowpath_null+0x1a/0x20
[ 27.267531] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.267566] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.267600] [] drm_ioctl+0x152/0x540 [drm]
[ 27.267632] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.267640] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.267646] [] SyS_ioctl+0x79/0x90
[ 27.267653] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.267658] ---[ end trace 22615914bbac0c01 ]---
[ 27.267672] ------------[ cut here ]------------
[ 27.267683] WARNING: CPU: 1 PID: 1757 at include/drm/drm_gem.h:217 evdi_fb_user_fb_create+0x18d/0x190 evdi
[ 27.267686] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.267766] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.267842] CPU: 1 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.267846] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.267848] 0000000000000286 00000000b6aae139 ffff880489a5fbe8 ffffffff813d7fdf
[ 27.267855] 0000000000000000 ffffffffa08c3aee ffff880489a5fc20 ffffffff810a61b2
[ 27.267861] ffff8804320c0d00 ffff880482dbd800 ffff880489a5fd00 ffff880432141300
[ 27.267867] Call Trace:
[ 27.267873] [] dump_stack+0x63/0x84
[ 27.267880] [] warn_slowpath_common+0x82/0xc0
[ 27.267886] [] warn_slowpath_null+0x1a/0x20
[ 27.267895] [] evdi_fb_user_fb_create+0x18d/0x190 [evdi]
[ 27.267928] [] internal_framebuffer_create+0x83d/0x970 [drm]
[ 27.267960] [] drm_mode_addfb2+0x2d/0xa0 [drm]
[ 27.267986] [] drm_mode_addfb+0x7c/0xb0 [drm]
[ 27.268009] [] drm_ioctl+0x152/0x540 [drm]
[ 27.268034] [] ? drm_mode_addfb2+0xa0/0xa0 [drm]
[ 27.268042] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.268048] [] SyS_ioctl+0x79/0x90
[ 27.268055] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.268069] ---[ end trace 22615914bbac0c02 ]---
[ 27.296185] [D] evdi_detect
[ 27.296188] Painter is disconnected
[ 27.296249] [D] evdi_detect
[ 27.296250] Painter is disconnected
[ 27.297464] ------------[ cut here ]------------
[ 27.297473] WARNING: CPU: 5 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.297474] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.297514] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.297553] CPU: 5 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.297554] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.297556] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.297559] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.297562] 0000000000000000 ffff880489a5fdd0 ffff88048351e000 0000000000000072
[ 27.297565] Call Trace:
[ 27.297570] [] dump_stack+0x63/0x84
[ 27.297574] [] warn_slowpath_common+0x82/0xc0
[ 27.297577] [] warn_slowpath_null+0x1a/0x20
[ 27.297581] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.297599] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.297609] [] drm_ioctl+0x152/0x540 [drm]
[ 27.297622] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.297626] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.297629] [] SyS_ioctl+0x79/0x90
[ 27.297632] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.297634] ---[ end trace 22615914bbac0c03 ]---
[ 27.297649] ------------[ cut here ]------------
[ 27.297653] WARNING: CPU: 5 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.297654] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.297687] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.297719] CPU: 5 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.297721] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.297722] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.297725] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.297727] 0000000000000000 ffff880489a5fdd0 ffff88048351e200 0000000000000072
[ 27.297730] Call Trace:
[ 27.297733] [] dump_stack+0x63/0x84
[ 27.297736] [] warn_slowpath_common+0x82/0xc0
[ 27.297739] [] warn_slowpath_null+0x1a/0x20
[ 27.297742] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.297755] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.297764] [] drm_ioctl+0x152/0x540 [drm]
[ 27.297776] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.297779] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.297784] [] SyS_ioctl+0x79/0x90
[ 27.297787] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.297789] ---[ end trace 22615914bbac0c04 ]---
[ 27.297999] [D] evdi_painter_crtc_state_notify
27.298001 Notifying crtc state: 3
[ 27.298003] [W] evdi_painter_send_crtc_state
[ 27.298004] Painter is not connected!
[ 27.298012] [D] evdi_painter_crtc_state_notify
27.298013 Notifying crtc state: 3
[ 27.298014] [W] evdi_painter_send_crtc_state
[ 27.298015] Painter is not connected!
[ 27.316298] [W] evdi_painter_disconnect
27.316300 An unknown connection to ffff8804790d4400 tries to close us
[ 27.316302] [W] evdi_painter_disconnect
[ 27.316302] - ignoring
[ 27.335880] [D] evdi_painter_connect
27.335887 Connected with ffff8804790d4400
[ 27.335891] ------------[ cut here ]------------
[ 27.335896] WARNING: CPU: 6 PID: 2513 at mm/page_alloc.c:2999 __alloc_pages_nodemask+0x9e7/0xca0()
[ 27.335896] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.335922] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.335947] CPU: 6 PID: 2513 Comm: DisplayLinkMana Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.335948] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.335949] 0000000000000286 000000004f087a8f ffff88043224ba78 ffffffff813d7fdf
[ 27.335950] 0000000000000000 ffffffff81a8027c ffff88043224bab0 ffffffff810a61b2
[ 27.335952] 0000000000400000 0000000000000010 0000000000000000 00000000024040c0
[ 27.335954] Call Trace:
[ 27.335957] [] dump_stack+0x63/0x84
[ 27.335959] [] warn_slowpath_common+0x82/0xc0
[ 27.335961] [] warn_slowpath_null+0x1a/0x20
[ 27.335963] [] __alloc_pages_nodemask+0x9e7/0xca0
[ 27.335965] [] ? sprintf+0x56/0x70
[ 27.335967] [] alloc_pages_current+0x8c/0x110
[ 27.335969] [] alloc_kmem_pages+0x19/0x90
[ 27.335971] [] kmalloc_order_trace+0x2e/0xe0
[ 27.335973] [] __kmalloc_track_caller+0x221/0x240
[ 27.335974] [] krealloc+0xb8/0xd0
[ 27.335978] [] evdi_painter_connect+0x81/0x210 [evdi]
[ 27.335980] [] evdi_painter_connect_ioctl+0x67/0x100 [evdi]
[ 27.335987] [] drm_ioctl+0x152/0x540 [drm]
[ 27.335990] [] ? evdi_painter_close+0x90/0x90 [evdi]
[ 27.335992] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.335993] [] SyS_ioctl+0x79/0x90
[ 27.335996] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.335997] ---[ end trace 22615914bbac0c05 ]---
[ 27.335998] [F] evdi_painter_connect
[ 27.335998] Failed to read edid
[ 27.336000] [D] evdi_detect
[ 27.336000] Painter is disconnected
[ 27.383047] usb 1-1.2.3: new high-speed USB device number 10 using xhci_hcd
[ 27.471612] usb 1-1.2.3: New USB device found, idVendor=0451, idProduct=8142
[ 27.471620] usb 1-1.2.3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 27.471625] usb 1-1.2.3: SerialNumber: B5000869E1A5
[ 27.473025] hub 1-1.2.3:1.0: USB hub found
[ 27.473105] hub 1-1.2.3:1.0: 4 ports detected
[ 27.630965] [D] add_store
[ 27.630971] increasing device count to 2
[ 27.631875] [D] evdi_crtc_init
[ 27.631880] drm_crtc_init: 0
[ 27.631888] [D] evdi_encoder_init
[ 27.631890] drm_encoder_init: 0
[ 27.632076] [W] evdi_painter_crtc_state_notify
[ 27.632079] Painter does not exist!
[ 27.632085] [D] evdi_detect
[ 27.632087] Painter is disconnected
[ 27.632096] evdi evdi.1: No connectors reported connected with modes
[ 27.632103] [drm] Cannot find any crtc or sizes - going 1024x768
[ 27.634527] evdi evdi.1: fb2: evdidrmfb frame buffer device
[ 27.634536] [drm] evdi: evdi_stats_init
[ 27.634548] [drm] Initialized evdi 1.0.68 19700101 on minor 2
[ 27.636210] [D] evdi_detect
[ 27.636215] Painter is disconnected
[ 27.639770] ------------[ cut here ]------------
[ 27.639790] WARNING: CPU: 2 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.639793] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.639877] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.639951] CPU: 2 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.639954] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.639958] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.639964] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.639970] 0000000000000000 ffff880489a5fdd0 ffff8804825ac900 0000000000000072
[ 27.639976] Call Trace:
[ 27.639986] [] dump_stack+0x63/0x84
[ 27.639994] [] warn_slowpath_common+0x82/0xc0
[ 27.640000] [] warn_slowpath_null+0x1a/0x20
[ 27.640007] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.640042] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.640062] [] drm_ioctl+0x152/0x540 [drm]
[ 27.640089] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.640099] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.640104] [] SyS_ioctl+0x79/0x90
[ 27.640112] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.640130] ---[ end trace 22615914bbac0c06 ]---
[ 27.640141] ------------[ cut here ]------------
[ 27.640151] WARNING: CPU: 2 PID: 1757 at include/drm/drm_gem.h:217 evdi_fb_user_fb_create+0x18d/0x190 evdi
[ 27.640153] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.640217] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.640281] CPU: 2 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.640284] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.640287] 0000000000000286 00000000b6aae139 ffff880489a5fbe8 ffffffff813d7fdf
[ 27.640292] 0000000000000000 ffffffffa08c3aee ffff880489a5fc20 ffffffff810a61b2
[ 27.640297] ffff8804825ac900 ffff880482dba000 ffff880489a5fd00 ffff8804ab6d5600
[ 27.640302] Call Trace:
[ 27.640308] [] dump_stack+0x63/0x84
[ 27.640315] [] warn_slowpath_common+0x82/0xc0
[ 27.640320] [] warn_slowpath_null+0x1a/0x20
[ 27.640328] [] evdi_fb_user_fb_create+0x18d/0x190 [evdi]
[ 27.640359] [] internal_framebuffer_create+0x83d/0x970 [drm]
[ 27.640392] [] drm_mode_addfb2+0x2d/0xa0 [drm]
[ 27.640424] [] drm_mode_addfb+0x7c/0xb0 [drm]
[ 27.640445] [] drm_ioctl+0x152/0x540 [drm]
[ 27.640476] [] ? drm_mode_addfb2+0xa0/0xa0 [drm]
[ 27.640484] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.640490] [] SyS_ioctl+0x79/0x90
[ 27.640497] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.640506] ---[ end trace 22615914bbac0c07 ]---
[ 27.648216] [D] evdi_detect
[ 27.648220] Painter is disconnected
[ 27.648319] [D] evdi_detect
[ 27.648322] Painter is disconnected
[ 27.648743] ------------[ cut here ]------------
[ 27.648758] WARNING: CPU: 2 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.648761] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.648851] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.648927] CPU: 2 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.648930] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.648933] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.648940] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.648945] 0000000000000000 ffff880489a5fdd0 ffff8804aab5d700 0000000000000072
[ 27.648951] Call Trace:
[ 27.648961] [] dump_stack+0x63/0x84
[ 27.648968] [] warn_slowpath_common+0x82/0xc0
[ 27.648974] [] warn_slowpath_null+0x1a/0x20
[ 27.648982] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.649016] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.649036] [] drm_ioctl+0x152/0x540 [drm]
[ 27.649062] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.649069] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.649075] [] SyS_ioctl+0x79/0x90
[ 27.649088] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.649104] ---[ end trace 22615914bbac0c08 ]---
[ 27.649125] ------------[ cut here ]------------
[ 27.649135] WARNING: CPU: 2 PID: 1757 at include/drm/drm_gem.h:217 evdi_dumb_create+0xdd/0xf0 evdi
[ 27.649137] Modules linked in: snd_usb_audio cdc_mbim cdc_wdm cdc_ncm snd_usbmidi_lib usbnet snd_rawmidi mii evdi(OE) hid_logitech_hidpp hid_logitech_dj rfcomm fuse cmac xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cpufreq_stats bnep snd_hda_codec_hdmi vfat fat dell_led snd_hda_codec_realtek nouveau snd_hda_codec_generic brcmfmac intel_rapl i2c_designware_platform x86_pkg_temp_thermal snd_hda_intel i2c_designware_core coretemp kvm_intel brcmutil snd_hda_codec dell_wmi cfg80211 dell_laptop dcdbas kvm snd_hda_core snd_hwdep irqbypass ttm snd_seq crct10dif_pclmul rtsx_pci_ms crc32_pclmul memstick snd_seq_device crc32c_intel
[ 27.649211] ghash_clmulni_intel snd_pcm snd_timer uvcvideo i2c_i801 snd videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core videodev btusb btrtl joydev media idma64 hci_uart mei_me mei btbcm shpchp processor_thermal_device btqca btintel intel_soc_dts_iosf intel_lpss_pci bluetooth int3403_thermal acpi_als intel_lpss_acpi kfifo_buf rfkill intel_lpss int3402_thermal tpm_tis pinctrl_sunrisepoint industrialio intel_hid dell_smo8800 int3400_thermal tpm int340x_thermal_zone pinctrl_intel acpi_pad sparse_keymap acpi_thermal_rel nfsd auth_rpcgss nfs_acl lockd grace sunrpc hid_multitouch i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper drm serio_raw nvme rtsx_pci i2c_hid wmi video fjes
[ 27.649279] CPU: 2 PID: 1757 Comm: Xorg Tainted: G W OE 4.5.0-0.rc6.git0.1.fc24.x86_64 #1
[ 27.649282] Hardware name: Dell Inc. XPS 15 9550/0N7TVV, BIOS 01.01.19 01/25/2016
[ 27.649285] 0000000000000286 00000000b6aae139 ffff880489a5fcf8 ffffffff813d7fdf
[ 27.649290] 0000000000000000 ffffffffa08c3b18 ffff880489a5fd30 ffffffff810a61b2
[ 27.649295] 0000000000000000 ffff880489a5fdd0 ffff8804aab5de00 0000000000000072
[ 27.649300] Call Trace:
[ 27.649309] [] dump_stack+0x63/0x84
[ 27.649316] [] warn_slowpath_common+0x82/0xc0
[ 27.649321] [] warn_slowpath_null+0x1a/0x20
[ 27.649328] [] evdi_dumb_create+0xdd/0xf0 [evdi]
[ 27.649355] [] drm_mode_create_dumb_ioctl+0xa9/0xc0 [drm]
[ 27.649375] [] drm_ioctl+0x152/0x540 [drm]
[ 27.649399] [] ? drm_mode_page_flip_ioctl+0x380/0x380 [drm]
[ 27.649405] [] do_vfs_ioctl+0xa3/0x5d0
[ 27.649410] [] SyS_ioctl+0x79/0x90
[ 27.649417] [] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 27.649420] ---[ end trace 22615914bbac0c09 ]---
[ 27.649695] [D] evdi_painter_crtc_state_notify
27.649698 Notifying crtc state: 3
[ 27.649701] [W] evdi_painter_send_crtc_state
[ 27.649703] Painter is not connected!
[ 27.649712] [D] evdi_painter_crtc_state_notify
27.649714 Notifying crtc state: 3
[ 27.649717] [W] evdi_painter_send_crtc_state
[ 27.649718] Painter is not connected!
[ 27.652023] [D] evdi_detect
[ 27.652025] Painter is disconnected
[ 27.652396] [D] evdi_detect
[ 27.652399] Painter is disconnected
[ 27.679551] [W] evdi_painter_disconnect
27.679556 An unknown connection to ffff8804a805e400 tries to close us
[ 27.679559] [W] evdi_painter_disconnect
[ 27.679559] - ignoring
[ 27.696949] [W] evdi_painter_disconnect
27.696951 An unknown connection to ffff8804a805e400 tries to close us
[ 27.696953] [W] evdi_painter_disconnect
[ 27.696953] - ignoring
[ 27.711137] [D] evdi_painter_connect
27.711139 Connected with ffff8804a805e400
[ 27.711141] [F] evdi_painter_connect
[ 27.711142] Failed to read edid
[ 27.711143] [D] evdi_detect
[ 27.711143] Painter is disconnected
[ 27.748062] usb 1-1.2.3.4: new high-speed USB device number 11 using xhci_hcd
[ 27.844382] usb 1-1.2.3.4: New USB device found, idVendor=0451, idProduct=8142
[ 27.844393] usb 1-1.2.3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 27.844398] usb 1-1.2.3.4: SerialNumber: 95000869E1A5
[ 27.846695] hub 1-1.2.3.4:1.0: USB hub found
[ 27.846752] hub 1-1.2.3.4:1.0: 2 ports detected
[ 27.918112] usb 1-1.4: new full-speed USB device number 12 using xhci_hcd
[ 27.987877] cdc_ncm 2-1.3:1.5 enp0s20f0u1u3i5: 1000 mbit/s downlink 1000 mbit/s uplink
[ 28.003931] cdc_ncm 2-1.3:1.5 enp0s20f0u1u3i5: network connection: connected
[ 28.004015] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20f0u1u3i5: link becomes ready
[ 28.275227] usb 1-1.4: New USB device found, idVendor=046d, idProduct=0a29
[ 28.275235] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 28.275239] usb 1-1.4: Product: Logitech Wireless Headset
[ 28.275243] usb 1-1.4: Manufacturer: Logitech
[ 28.275246] usb 1-1.4: SerialNumber: 000D44D3D5D6
[ 28.357057] input: Logitech Logitech Wireless Headset as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.3/0003:046D:0A29.0007/input/input21
[ 28.408544] hid-generic 0003:046D:0A29.0007: input,hiddev0,hidraw4: USB HID v1.11 Device [Logitech Logitech Wireless Headset] on usb-0000:00:14.0-1.4/input3
[ 30.749524] [D] evdi_detect
[ 30.749531] Painter is disconnected
[ 30.749568] [D] evdi_detect
[ 30.749571] Painter is disconnected]

@ajbogh
Copy link
Contributor Author

ajbogh commented Mar 4, 2016

I didn't get it to show the display on the secondary monitor. Sadly I haven't had much time to devote to fixing the drivers because I have the device at work.

Your issue seems similar to this one: #5

If someone has any ideas on that issue it would be great to get it fixed. Especially since the main reason to get this device is to connect more monitors.

displaylink-mlukaszek added a commit that referenced this pull request Mar 7, 2016
Modifying for Linux 4.5 compatibility
@displaylink-mlukaszek displaylink-mlukaszek merged commit 504e47f into DisplayLink:devel Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants