From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Hounschell Subject: Re: Intel graphics drm issue? Date: Sun, 14 Oct 2012 14:03:21 -0400 Message-ID: <507AFE69.70405@cfl.rr.com> References: <507812E8.3060607@compro.net> <20121012231459.166e29fd@neptune.home> <5079B97C.7020401@cfl.rr.com> <5079BE5C.8020401@cfl.rr.com> <20121014104138.7e8a9c59@neptune.home> <507A997D.7070508@cfl.rr.com> <20121014130323.06f0225d@neptune.home> <507AEE4A.1000907@cfl.rr.com> <20121014192253.5a7517ef@neptune.home> Reply-To: dmarkh@cfl.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20121014192253.5a7517ef@neptune.home> Sender: linux-kernel-owner@vger.kernel.org To: =?ISO-8859-1?Q?Bruno_Pr=E9mont?= Cc: markh@compro.net, linux-kernel@vger.kernel.org, Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On 10/14/2012 01:22 PM, Bruno Pr=E9mont wrote: > Hi Mark, > > On Sun, 14 October 2012 Mark Hounschell wrote: >> I've taken the EDID data from that service manual. I've looked at th= e >> EDID-Howto for how to specify the connector but all I see is: >> >> "An EDID data set will only be used for a particular connector, >> if its name and a colon are prepended to the EDID name." >> >> Where can I find the connector names? > > Those are the ones you see under /sys/class/drm/, without the card0- > prefix. > > E.g. on my system I have: > > # ls /sys/class/drm/ > card0 card0-DVI-I-1 card0-LVDS-1 card0-VGA-1 controlD64 version > > Thus I have connectors "DVI-I-1", "LVDS-1" and "VGA-1" (note that you= r > HDMI connector might not be named HDMI-1, if you are not sure which o= ne > it is, you can look at the files below (edid, enabled, status) which > should help your find the right connector). > Perfect. > > In addition, if you rmmod i915 and modprobe it again connectors will = get > increased suffix numbers. So don't expect them to remain the same if = you > have multiple GPUs detected in random order or if you rebind them to > their driver. (though except during testing or for special systems yo= u > don't have to worry about this) > >> And could I ask if this simple pgm might work to build the file I ne= ed? > > It looks fine. You can also check the output with hexdump just to > make sure it looks sane. Did that and the data looks swapped compared to the array written, but = I=20 guess that's normal? > If it's broken kernel will tell you that checksum does not match. > So the check sum is actually already in the data provided by the servi= ce=20 manual then. > In any case the (successful) loading of edid should be visible in ker= nel > log. > I'll be trying this a little later in the day. Thanks again Mark