From owner-freebsd-acpi@FreeBSD.ORG Mon May 24 16:06:19 2010 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F201D106564A; Mon, 24 May 2010 16:06:19 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mail2.timeinc.net (mail2.timeinc.net [64.236.74.30]) by mx1.freebsd.org (Postfix) with ESMTP id 91B838FC1C; Mon, 24 May 2010 16:06:19 +0000 (UTC) Received: from mail.timeinc.net (mail.timeinc.net [64.12.55.166]) by mail2.timeinc.net (8.13.8/8.13.8) with ESMTP id o4OG6IDG011353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 May 2010 12:06:18 -0400 Received: from ws-mteterin.dev.pathfinder.com (ws-mteterin.dev.pathfinder.com [209.251.223.173]) by mail.timeinc.net (8.13.8/8.13.8) with SMTP id o4OG6IUV010153; Mon, 24 May 2010 12:06:18 -0400 Message-ID: <4BFAA3FA.6080906@aldan.algebra.com> Date: Mon, 24 May 2010 12:06:18 -0400 From: "Mikhail T." Organization: Virtual Estates, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; uk; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kostik Belousov References: <4BF55F80.2060409@aldan.algebra.com> <20100522165938.GV83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100522165938.GV83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: acpi@freebsd.org, danfe@freebsd.org, linux@freebsd.org Subject: Re: Extracting screen's EDID-information from ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 16:06:20 -0000 22.05.2010 12:59, Kostik Belousov ΞΑΠΙΣΑΧ(ΜΑ): > My hybrid (Z820) only provides EDID information when switched to > use intel graphics. Nvidia driver reports that no screens are attached. > Exactly... For some reason NVidia driver fails to detect the screen and is not smart enough obtain the information via ACPI itself. The work-around is to extract the EDID from ACPI manually and make it available to the driver as file (128-bytes long). I managed to extract that information from the result of `acpidump -o dump' -- by writing a little program to look for the proper byte-sequence (gleaned from the sources of http://www.polypux.org/projects/read-edid/)... I may polish my utility and publish it, but things should be easier than that -- as, dare I say it, they already is under Linux, for example (with their /proc/acpi/... ) -mi