Debian Bug report logs - #262102
read-edid: looks like we can port this to powerpc?

version graph

Package: read-edid; Maintainer for read-edid is Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>; Source for read-edid is src:read-edid (PTS, buildd, popcon).

Reported by: Colin Watson <cjwatson@debian.org>

Date: Thu, 29 Jul 2004 19:18:02 UTC

Severity: important

Tags: patch

Found in version 1.4.1-2

Fixed in version read-edid/1.4.1-2.1

Done: Kurt Roeckx <kurt@roeckx.be>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
New Bug report received and forwarded. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: read-edid: looks like we can port this to powerpc?
Date: Thu, 29 Jul 2004 20:05:27 +0100
Package: read-edid
Version: 1.4.1-2
Severity: important
Justification: <Overfiend> Kamion: file me an important bug against read-edid at once, please

It looks like the OpenFirmware device tree supports giving out an EDID
block without any of the real-mode messing-around that's required on
i386:

[cjwatson@cairhien ~/src/packages/read-edid/read-edid-1.4.1]$ ./parse-edid < /pr
oc/device-tree/pci\@f0000000/ATY\,JasperParent\@10/ATY\,Jasper_A\@0/EDID
./parse-edid: parse-edid version 1.4.1
./parse-edid: EDID checksum passed.

        # EDID version 1 revision 3
Section "Monitor"
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fc
        Identifier "Color LCD"
        VendorName "APP"
        ModelName "Color LCD"
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fc
        # DPMS capabilities: Active off:no  Suspend:no  Standby:no

        Mode    "1280x854"      # vfreq 60.000Hz, hfreq 51.960kHz
                DotClock        79.810000
                HTimings        1280 1296 1408 1536
                VTimings        854 855 858 866
                Flags   "-HSync" "-VSync"
        EndMode
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fe
        # Block type: 2:0 3:fc
EndSection

Supporting this in read-edid would totally rock. We only need to figure
out a way to find the device-tree location reliably ...

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #10 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 262102@bugs.debian.org
Subject: sysfs alternative
Date: Fri, 30 Jul 2004 04:16:49 +0100
I also appear to have /sys/devices/pci0000:00/0000:00:10.0/edid1, which
is likewise parseable by parse-edid. Perhaps this would be a good
portable approach in 2.6-land?

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #15 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 262102@bugs.debian.org
Subject: Re: sysfs alternative
Date: Fri, 30 Jul 2004 04:18:48 +0100
On Fri, Jul 30, 2004 at 04:16:49AM +0100, Colin Watson wrote:
> I also appear to have /sys/devices/pci0000:00/0000:00:10.0/edid1, which
> is likewise parseable by parse-edid. Perhaps this would be a good
> portable approach in 2.6-land?

Hmm, forget about that; grepping kernel source suggests that that's only
implemented for Radeons. Shame.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #20 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 262102@bugs.debian.org
Subject: shell implementation
Date: Fri, 30 Jul 2004 04:47:55 +0100
[Message part 1 (text/plain, inline)]
So, given that get-edid probably (?) only deals with the first screen
anyway, and dealing with PCI bus locations is harder work (although
still possible - use the pci<n> devaliases and/or look for appropriate
vendor-id and device-id files, I think), I thought I'd go for the
simplest approach I could see.

Attached is a shell implementation of get-edid for powerpc that just
uses the screen devalias. I'm not sure how standard or widespread it is,
but I do see it mentioned in some documentation on developer.apple.com
so it should at least provide a solution for PowerMacs, and possibly
more.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]
[get-edid-powerpc (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #25 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 262102@bugs.debian.org
Subject: Re: shell implementation
Date: Fri, 30 Jul 2004 13:18:36 +0100
On Fri, Jul 30, 2004 at 04:47:55AM +0100, Colin Watson wrote:
> Attached is a shell implementation of get-edid for powerpc that just
> uses the screen devalias. I'm not sure how standard or widespread it is,
> but I do see it mentioned in some documentation on developer.apple.com
> so it should at least provide a solution for PowerMacs, and possibly
> more.

And here's a complete version, including packaging and a licence:

  http://www.no-name-yet.com/patches/read-edid.262102.diff

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Tags added: patch Request was from Branden Robinson <branden@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to Colin Watson <cjwatson@debian.org>:
Bug#262102. (full text, mbox, link).


Message #30 received at 262102-submitter@bugs.debian.org (full text, mbox, reply):

From: Branden Robinson <branden@debian.org>
To: 262102-submitter@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#262102: shell implementation
Date: Fri, 20 Aug 2004 00:15:43 -0500
[Message part 1 (text/plain, inline)]
tag 262102 + patch
thanks

On Fri, Jul 30, 2004 at 01:18:36PM +0100, Colin Watson wrote:
> On Fri, Jul 30, 2004 at 04:47:55AM +0100, Colin Watson wrote:
> > Attached is a shell implementation of get-edid for powerpc that just
> > uses the screen devalias. I'm not sure how standard or widespread it is,
> > but I do see it mentioned in some documentation on developer.apple.com
> > so it should at least provide a solution for PowerMacs, and possibly
> > more.
> 
> And here's a complete version, including packaging and a licence:
> 
>   http://www.no-name-yet.com/patches/read-edid.262102.diff

Thank you TONS!

I will try hard to get to this before the sarge freeze.

If it looks like I won't make it, I hereby authorize an NMU for this.

(I'm wanting to set up a SVN repo first, hence the delay.)

-- 
G. Branden Robinson                |     It just seems to me that you are
Debian GNU/Linux                   |     willfully entering an arse-kicking
branden@debian.org                 |     contest with a monstrous entity
http://people.debian.org/~branden/ |     that has sixteen legs and no arse.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to Martin-Éric Racine <q-funk@iki.fi>:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #35 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Martin-Éric Racine <q-funk@iki.fi>
To: Debian Bug Tracking System <262102@bugs.debian.org>
Subject: read-edid: powerpc patch in BTS for over 1 year
Date: Thu, 23 Feb 2006 00:46:09 +0200
Package: read-edid
Version: 1.4.1-2
Followup-For: Bug #262102

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Branden! 

I notice that this patch to add powerpc support to read-edid was submitted
in July 2004 already.  Could you please merge it?  Alternately, If you lack 
the time to do it, would you allow an NMU on this one?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/OmxeXr56x4Muc0RAqsGAJwI+IY8aeQg2bA2dWn4xZwIEevt3wCgkN+J
M32w4c5z0PLX80HsWBo5o3c=
=TnWc
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, Branden Robinson <branden@debian.org>:
Bug#262102; Package read-edid. (full text, mbox, link).


Acknowledgement sent to 262102@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Branden Robinson <branden@debian.org>. (full text, mbox, link).


Message #40 received at 262102@bugs.debian.org (full text, mbox, reply):

From: Branden Robinson <branden@debian.org>
To: Martin-Éric Racine <q-funk@iki.fi>, 262102@bugs.debian.org
Subject: Re: Bug#262102: read-edid: powerpc patch in BTS for over 1 year
Date: Tue, 7 Mar 2006 16:24:39 -0500
[Message part 1 (text/plain, inline)]
On Thu, Feb 23, 2006 at 12:46:09AM +0200, Martin-Éric Racine wrote:
> Package: read-edid
> Version: 1.4.1-2
> Followup-For: Bug #262102
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Branden! 
> 
> I notice that this patch to add powerpc support to read-edid was submitted
> in July 2004 already.  Could you please merge it?  Alternately, If you lack 
> the time to do it, would you allow an NMU on this one?

Yes, I would allow an NMU.

With great encouragement.  :)

read-edid is orphaned upstream, so I'm not really sure it's worth trying to
keep this package around long-term.

But until the X server hardware detection stuff is refactored, ripping it
out would be a bad idea.

Thanks for taking care of this!

-- 
G. Branden Robinson                |     You are not angry with people when
Debian GNU/Linux                   |     you laugh at them.  Humor teaches
branden@debian.org                 |     them tolerance.
http://people.debian.org/~branden/ |     -- W. Somerset Maugham
[signature.asc (application/pgp-signature, inline)]

Tags added: fixed Request was from Martin-Éric Racine <q-funk@iki.fi> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: fixed Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Sun, 21 Sep 2008 13:00:19 GMT) (full text, mbox, link).


Bug marked as fixed in version 1.4.1-2.1, send any further explanations to Colin Watson <cjwatson@debian.org> Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Sun, 21 Sep 2008 13:00:20 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 20 Oct 2008 07:25:40 GMT) (full text, mbox, link).


Bug unarchived. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Sun, 10 Apr 2011 08:43:31 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 May 2011 07:31:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 12:06:02 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.