Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
Package: xresprobe Version: 0.4.23debian1 Here is the patch for my NMU of xresprobe. diff -u xresprobe-0.4.23debian1/debian/changelog xresprobe-0.4.23debian1/debian/changelog --- xresprobe-0.4.23debian1/debian/changelog +++ xresprobe-0.4.23debian1/debian/changelog @@ -1,3 +1,13 @@ +xresprobe (0.4.23debian1-0.2) unstable; urgency=low + + * Non-maintainer upload to fix RC bug. + * Fix typo 'to to' in package description. + * Apply patch from Ubuntu: +- Fix build problem with recent kernels by defining *_MASK in + ddcprobe/lrmi.c (Closes: #608187). Patch from Chris Coulson. + + -- Petter Reinholdtsen p...@hungry.com Sun, 02 Jan 2011 08:56:48 +0100 + xresprobe (0.4.23debian1-0.1) unstable; urgency=low * Non-maintainer upload with maintainer approval. diff -u xresprobe-0.4.23debian1/debian/control xresprobe-0.4.23debian1/debian/control --- xresprobe-0.4.23debian1/debian/control +++ xresprobe-0.4.23debian1/debian/control @@ -23 +23 @@ - are, however, sufficiently generic to to be useful to other architectures. + are, however, sufficiently generic to be useful to other architectures. only in patch2: unchanged: --- xresprobe-0.4.23debian1.orig/ddcprobe/lrmi.c +++ xresprobe-0.4.23debian1/ddcprobe/lrmi.c @@ -54,6 +54,13 @@ #include include/lrmi.h #include x86-common.h +#if defined(__linux__) !defined(TF_MASK) + #define TF_MASK X86_EFLAGS_TF + #define IF_MASK X86_EFLAGS_IF + #define VIF_MASK X86_EFLAGS_VIF + #define IOPL_MASK X86_EFLAGS_IOPL +#endif + #if defined(__linux__) #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) #elif defined(__NetBSD__) || defined(__FreeBSD__) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
On Sun, Jan 2, 2011 at 09:17:23 +0100, Petter Reinholdtsen wrote: Package: xresprobe Version: 0.4.23debian1 Here is the patch for my NMU of xresprobe. I think this package should rather be removed from the archive. Its whole point was to provide a way for the xserver maintainer scripts to configure X on installation, but that was already not necessary in lenny, so it seems like it's time to move on. Cheers, Julien signature.asc Description: Digital signature
Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
[Julien Cristau] I think this package should rather be removed from the archive. Its whole point was to provide a way for the xserver maintainer scripts to configure X on installation, but that was already not necessary in lenny, so it seems like it's time to move on. I've been unable to find a useful replacement for probing the moditors for DDC information (frequency range and proposed resolution). ddccontrol and read-edid/get-edit are not good enough or providing the same information. Any proposals for working replacements for this use case? Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
On Sun, Jan 2, 2011 at 13:27:51 +0100, Petter Reinholdtsen wrote: Any proposals for working replacements for this use case? KMS. Cheers, Julien signature.asc Description: Digital signature
Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
[Julien Cristau] KMS. How do I use Kernel ModeSetting to print the DDC information from the monitor in userspace? Google was not very helpfull. :) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2
On Sun, Jan 2, 2011 at 16:49:10 +0100, Petter Reinholdtsen wrote: [Julien Cristau] KMS. How do I use Kernel ModeSetting to print the DDC information from the monitor in userspace? Google was not very helpfull. :) $ ls /sys/class/drm/card*/*/edid /sys/class/drm/card0/card0-DisplayPort-1/edid /sys/class/drm/card0/card0-DisplayPort-2/edid /sys/class/drm/card0/card0-DisplayPort-3/edid /sys/class/drm/card0/card0-HDMI Type A-1/edid /sys/class/drm/card0/card0-HDMI Type A-2/edid /sys/class/drm/card0/card0-LVDS-1/edid /sys/class/drm/card0/card0-SVIDEO-1/edid /sys/class/drm/card0/card0-VGA-1/edid $ edid-decode /sys/class/drm/card*/*LVDS*/edid Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: 30 64 07 23 33 38 33 39 2b 12 version: 01 03 basic params:90 1a 10 78 0a chroma info: 87 f5 94 57 4f 8c 27 27 50 54 established: 00 00 00 standard:01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 descriptor 1:4e 20 00 7c 51 20 1f 30 48 80 36 00 05 a3 10 00 00 1a descriptor 2:fe 15 00 9e 51 20 1f 30 48 80 36 00 05 a3 10 00 00 1a descriptor 3:00 00 00 fe 00 4e 55 34 31 32 80 31 32 31 45 57 55 0a descriptor 4:00 00 00 fe 00 00 00 00 00 00 00 00 00 01 01 0a 20 20 extensions: 00 checksum:64 Manufacturer: LCD Model 2307 Serial Number 959658035 Made week 43 of 2008 EDID version: 1.3 Digital display Maximum image size: 26 cm x 16 cm Gamma: 2.20 Supported color formats: RGB 4:4:4, YCrCb 4:2:2 First detailed timing is preferred timing Established timings supported: Standard timings supported: Detailed mode: Clock 82.700 MHz, 261 mm x 163 mm 1280 1352 1480 1660 hborder 0 800 803 809 831 vborder 0 +hsync -vsync Detailed mode: Clock 56.300 MHz, 261 mm x 163 mm 1280 1352 1480 1694 hborder 0 800 803 809 831 vborder 0 +hsync -vsync ASCII string: NU412�121EWU ASCII string: Checksum: 0x64 EDID block does NOT conform to EDID 1.3! Digital display field contains garbage: 10 Missing name descriptor Missing monitor ranges Cheers, Julien signature.asc Description: Digital signature