AnsweredAssumed Answered

X modes and monitor hotplug

Question asked by Eddie McCreary on Aug 16, 2014
Latest reply on Oct 23, 2014 by jamesbone

Does X regenerate it's list of modes when a monitor is hot plugged?  We're using the 3.0.35 kernel, xorg 1.14.4, and the vivante X driver.  Currently it seems to obtain the list of valid modes from the framebuffer at X start, but if I swap out a new monitor it does not create a new mode list.  Should it?

 

One catch, the EDID is being provided by a aux channel, not over the standard i2c bus.  I've already written a new framebuffer driver similar to mxc_dvi.c but reading the EDID using our custom channel.  I can see the proper modes display in /sys/class/graphics/fb0/modes.  Is the vivante X driver expecting to read the EDID itself and generate its own mode list?

 

One thought I had was to use a udev rule to execute a script that would use xrandr to clear the modes and add the correct ones back.  But I'd rather do it the "correct" way if there is one.

 

Thanks.

Outcomes