Bug 219128 - Mini-DP to VGA adapter doesn't work on FreeBSD 11.0-R
Summary: Mini-DP to VGA adapter doesn't work on FreeBSD 11.0-R
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 02:49 UTC by Yuichiro NAITO
Modified: 2018-07-06 02:09 UTC (History)
0 users

See Also:


Attachments
dmesg.log (4.60 KB, text/x-log)
2017-05-08 02:49 UTC, Yuichiro NAITO
no flags Details
devinfo.log (14.21 KB, text/x-log)
2017-05-08 02:50 UTC, Yuichiro NAITO
no flags Details
pciconf.log (7.25 KB, text/x-log)
2017-05-08 02:50 UTC, Yuichiro NAITO
no flags Details
kldstat.log (1.18 KB, text/x-log)
2017-05-08 02:50 UTC, Yuichiro NAITO
no flags Details
pkginfo.log (302 bytes, text/x-log)
2017-05-08 02:51 UTC, Yuichiro NAITO
no flags Details
Xorg.0.log (16.25 KB, text/x-log)
2017-05-08 02:51 UTC, Yuichiro NAITO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuichiro NAITO 2017-05-08 02:49:45 UTC
Created attachment 182379 [details]
dmesg.log

I'm using Macbook Air 2012 for FreeBSD-11.0R.

I found my Mini-DisplayPort to VGA adapter doesn't work
to add second display for my presentation.

I don't think my adapter is broken,
because I rebooted my Macbook Air with OS X, it works.
And I remember my adapter worked on FreeBSD-10.3R.

On my FreeBSD-11.0R,
I've seen following dmesg, since I attached the adapter.

```
$ dmesg | tail -5
error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up
error: [drm:pid0:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up

$ uname -a
FreeBSD air 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40 UTC 2017     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

```

According to `https://wiki.freebsd.org/Intel_GPU`,
I got debug messages with `sysctl hw.dri.debug=2`.
See the attached `dmesg.log` file.

For my hardware information,
I attach `devinfo.log` and `pciconf.log`.

For software information,
I attach `kldstat.log`, `pkginfo.log` and `Xorg.0.log`.
Comment 1 Yuichiro NAITO 2017-05-08 02:50:16 UTC
Created attachment 182380 [details]
devinfo.log
Comment 2 Yuichiro NAITO 2017-05-08 02:50:37 UTC
Created attachment 182381 [details]
pciconf.log
Comment 3 Yuichiro NAITO 2017-05-08 02:50:55 UTC
Created attachment 182382 [details]
kldstat.log
Comment 4 Yuichiro NAITO 2017-05-08 02:51:18 UTC
Created attachment 182383 [details]
pkginfo.log
Comment 5 Yuichiro NAITO 2017-05-08 02:51:39 UTC
Created attachment 182384 [details]
Xorg.0.log
Comment 6 Yuichiro NAITO 2018-07-06 02:09:57 UTC
This problem has been fixed by FreeBSD 11.2 with drm-next-kmod.
I will close this PR.