Bug#608187: xresprobe: FTBFS on i386: error: 'IF_MASK' undeclared

2011-01-02 Thread Petter Reinholdtsen

[Holger Levsen]
> Petter has replaced it with a recommends on ddccontrol|xresprobe already.

Yes, in our svn.  But initial testing of ddccontrol seem to indicate
that it do not report the DDC info I want from the monitor.  Frequency
info is missing.  So ddccontrol do not seem to be a sensible
alternative to xresprobe, and I might have to revert it in svn.

In the mean time, I have uploaded a fixed version of xresprobe to
unstable, fixing the RC issue and hopefully making the package fit for
squeeze again.

I am aware that at least on of the maintainers in the X team want to
remove the package instead, as it is no longer used when setting up
X.org.  It might be relevant for the release teams judgement. :)

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2flzkri31mv@login1.uio.no



xserver-xorg-video-ivtvdev: Changes to 'debian-experimental'

2011-01-02 Thread Ian Campbell
 debian/changelog |6 ++
 src/ivtv.c   |   18 +-
 src/ivtv_xv.c|8 
 3 files changed, 19 insertions(+), 13 deletions(-)

New commits:
commit 798e69e3ee9d17153c5d70cca0fa7993151e4470
Author: Ian Campbell 
Date:   Fri Dec 31 13:30:59 2010 +

Add changelog entry for 1.1.2-1

diff --git a/debian/changelog b/debian/changelog
index fc43148..16b493b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-video-ivtvdev (1.1.2-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Ian Campbell   Fri, 31 Dec 2010 13:30:47 +
+
 xserver-xorg-video-ivtvdev (1.1.1-3) experimental; urgency=low
 
   * Build against Xserver 1.9.1 rc1.

commit ed488f869fb3220fa4e1241e696d355263cb4ff5
Author: awalls 
Date:   Sun Dec 26 15:16:29 2010 +

Author: Ian Armstrong 

A small update to remove some now deprecated calls (xfree, xcalloc, xalloc).
Version number bumped to 1.1.2



git-svn-id: http://ivtvdriver.org/svn/xf86-video-ivtv/tr...@4155 
f93e8361-94ff-0310-af1b-c9b61a63ab7d

diff --git a/src/ivtv.c b/src/ivtv.c
index 0888204..ede9c87 100644
--- a/src/ivtv.c
+++ b/src/ivtv.c
@@ -114,7 +114,7 @@ static int pix24bpp = 0;
 #define IVTVDEV_DRIVER_NAME"ivtv"
 #define IVTVDEV_VERSION_MAJOR  1
 #define IVTVDEV_VERSION_MINOR  1
-#define IVTVDEV_VERSION_PATCH  1
+#define IVTVDEV_VERSION_PATCH  2
 #define IVTVDEV_VERSION((IVTVDEV_VERSION_MAJOR << 16) | \
(IVTVDEV_VERSION_MINOR << 8) | \
(IVTVDEV_VERSION_PATCH))
@@ -293,7 +293,7 @@ IVTVDevFreeRec(ScrnInfoPtr pScrn)
 {
 if (pScrn->driverPrivate == NULL)
return;
-xfree(pScrn->driverPrivate);
+free(pScrn->driverPrivate);
 pScrn->driverPrivate = NULL;
 }
 
@@ -341,7 +341,7 @@ IVTVDevProbe(DriverPtr drv, int flags)
return FALSE;
 
 if (flags & PROBE_DETECT) {
-   xfree(devSections);
+   free(devSections);
TRACE("probe done");
return TRUE;
 }
@@ -378,7 +378,7 @@ IVTVDevProbe(DriverPtr drv, int flags)
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"using %s\n", dev ? dev : "default device");
 }
-xfree(devSections);
+free(devSections);
 TRACE("probe done");
 return foundScreen;
 }
@@ -468,7 +468,7 @@ IVTVDevPreInit(ScrnInfoPtr pScrn, int flags)
 
 /* handle options */
 xf86CollectOptions(pScrn, NULL);
-if (!(devPtr->Options = xalloc(sizeof(IVTVDevOptions
+if (!(devPtr->Options = malloc(sizeof(IVTVDevOptions
return FALSE;
 memcpy(devPtr->Options, IVTVDevOptions, sizeof(IVTVDevOptions));
 xf86ProcessOptions(pScrn->scrnIndex, devPtr->pEnt->device->options,
@@ -645,7 +645,7 @@ IVTVDevScreenInit(int scrnIndex, ScreenPtr pScreen, int 
argc, char **argv)
 width = pScrn->virtualX;
 
 /* shadowfb */
-if ((devPtr->shadowmem = xcalloc(1, pScrn->virtualX * pScrn->virtualY *
+if ((devPtr->shadowmem = calloc(1, pScrn->virtualX * pScrn->virtualY *
pScrn->bitsPerPixel)) == NULL) {
xf86DrvMsg(scrnIndex, X_ERROR,
"DevScreenInit: Allocation of shadow memory failed\n");
@@ -718,7 +718,7 @@ IVTVDevScreenInit(int scrnIndex, ScreenPtr pScreen, int 
argc, char **argv)
 IvtvInitVideo(pScreen);
 
 /* Allocate buffer for yv12 to hm12 conversion */
-devPtr->xv_buffer = xalloc(622080);
+devPtr->xv_buffer = malloc(622080);
 if (!devPtr->xv_buffer) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"DevScreenInit: Failed to allocate xv conversion buffer\n");
@@ -747,11 +747,11 @@ IVTVDevCloseScreen(int scrnIndex, ScreenPtr pScreen)
 ivtvHWUnmapVidmem(pScrn);
 #endif
 ivtvHWRestore(pScrn);
-xfree(devPtr->shadowmem);
+free(devPtr->shadowmem);
 pScrn->vtSema = FALSE;
 
 if (devPtr->xv_buffer) {
-   xfree(devPtr->xv_buffer);
+   free(devPtr->xv_buffer);
devPtr->xv_buffer = 0;
 }
 
diff --git a/src/ivtv_xv.c b/src/ivtv_xv.c
index bc8515c..7e61677 100644
--- a/src/ivtv_xv.c
+++ b/src/ivtv_xv.c
@@ -143,7 +143,7 @@ IvtvInitVideo(ScreenPtr pScreen)
adaptors = &newAdaptor;
} else {
newAdaptors =  /* need to free this someplace */
-   xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr *));
+   malloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr *));
if (newAdaptors) {
memcpy(newAdaptors, adaptors, num_adaptors *
sizeof(XF86VideoAdaptorPtr));
@@ -158,7 +158,7 @@ IvtvInitVideo(ScreenPtr pScreen)
xf86XVScreenInit(pScreen, adaptors, num_adaptors);
 
 if (newAdaptors)
-   xfree(newAdaptors);
+   free(newAdaptors);
 }
 
 static int
@@ -413,8 +413,8 @@ IVTVAllocAdaptor(ScreenPtr pScreen)
 if (!(adapt = xf86XVAllocateVideoAdaptorRec(pScrn)))
return NULL;
 
-if (!(pPriv = xcalloc(1, sizeof(DevUnion {
-   xfree(adapt);
+if (!(pPriv = calloc(1,

xserver-xorg-video-ivtvdev: Changes to 'upstream/tags/1.1.2'

2011-01-02 Thread Ian Campbell
New branch 'upstream/tags/1.1.2' available with the following commits:
commit 42a0afe6a81ce899ba2d2b11a5d395c83e1c2034
Author: awalls 
Date:   Sun Dec 26 15:20:12 2010 +

Added release tag 1.1.2


git-svn-id: http://ivtvdriver.org/svn/xf86-video-ivtv/tags/1@4156 
f93e8361-94ff-0310-af1b-c9b61a63ab7d

commit ed488f869fb3220fa4e1241e696d355263cb4ff5
Author: awalls 
Date:   Sun Dec 26 15:16:29 2010 +

Author: Ian Armstrong 

A small update to remove some now deprecated calls (xfree, xcalloc, xalloc).
Version number bumped to 1.1.2



git-svn-id: http://ivtvdriver.org/svn/xf86-video-ivtv/tr...@4155 
f93e8361-94ff-0310-af1b-c9b61a63ab7d


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pztnv-0002gh...@alioth.debian.org



Bug#546836: xserver-xorg-video-mga: Hit by this bug too: Failed to initialize DMA! (-2)

2011-01-02 Thread M.-A. DARCHE
Package: xserver-xorg-video-mga
Version: 1:1.4.11.dfsg-4
Severity: normal

Hello,

I am, too, hit by the same bug. And for me too, the only solution has been to 
switch to the "vesa" Driver instead of the "mga" Driver :-(

Everything worked fine with Matrox cards on Debian while XFree was used. Since
the switch to Xorg in Lenny, it started to do X freezes and now in Squeeze it
does black screens.

I'm providing this Xorg.*.log file that features the message
"Failed to initialize DMA" so that this bug report is more easily found by users
having the same problem and hopefully to developers that can help.

Cheers



-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Dec 23 16:25 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Dec  2 02:16 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
03:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)

/var/lib/x11/xorg.conf.md5sum does not exist.

Kernel version (/proc/version):
Linux version 2.6.32-5-amd64 (Debian 2.6.32-29) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Dec 10 15:35:08 UTC 2010

Xorg X server log files on system:
-rw-r--r-- 1 root root 34080 Jan  2 18:40 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.26-dsa-amd64 x86_64 Debian
Current Operating System: Linux systema 2.6.32-5-amd64 #1 SMP Fri Dec 10 
15:35:08 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 
root=/dev/mapper/systema-root ro quiet
Build Date: 02 December 2010  01:10:32AM
xorg-server 2:1.7.7-10 (Julien Cristau ) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 30 17:49:35 2010
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in 
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x7c7500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:3:0:0) 102b:2527:102b:22c0 Matrox Graphics, Inc. MGA G550 AGP rev 
1, Mem @ 0xf000/33554432, 0xf200/16384, 0xf300/8388608, BIOS @ 
0x/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
  

Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2

2011-01-02 Thread Julien Cristau
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


Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2

2011-01-02 Thread Petter Reinholdtsen
[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-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110102154910.gu23...@login1.uio.no



Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation

2011-01-02 Thread Margarita Manterola
Hola Sven Joachim!

> The difference is that the preinst of the Ubuntu package removes the
> file /etc/modprobe.d/radeon-kms.conf (it is not needed on Ubuntu,
> because Ubuntu kernels are built with KMS enabled), leaving you with UMS
> even after you reinstall the Debian package.

As I already stated in the bug report, the kms file is NOT missing.  I'm
not exactly sure why, but it didn't get removed.

Contents of /etc/modprobe.d/radeon-kms.conf:

options radeon modeset=1

> The first thing I would do is to test a newer kernel, e.g. 2.6.37-c7
> from experimental, and restore the missing file.

I forgot to include this in the report, sorry. I have already tried with
the kernel and X from experimental, no different outcome.

Only after trying both from experimental did I switch to trying Ubuntu's.

Also, once I installed the X driver from Ubuntu, all 3 kernels (Maverick's,
Squeeze's and Experimental's suspended and hibernated correctly), so it
looks like it's not a kernel problem, it's an X problem.

So, newer kernel doesn't help, the kms file is not missing.  Why could
Ubuntu's driver be making suspend work?

-- 
Love,
Marga



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110102144232.ga7...@localhost



Processed: reassign 604730 to compiz-fusion-plugins-main

2011-01-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 604730 compiz-fusion-plugins-main
Bug #604730 [virtualbox-ose] virtualbox-ose: Mini toolbar not working when host 
is running compiz
Bug reassigned from package 'virtualbox-ose' to 'compiz-fusion-plugins-main'.
Bug No longer marked as found in versions virtualbox-ose/3.2.10-dfsg-1.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
604730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604730
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129397711223799.transcr...@bugs.debian.org



Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2

2011-01-02 Thread Julien Cristau
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

2011-01-02 Thread Petter Reinholdtsen
[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-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110102122751.gs23...@login1.uio.no



Processed: Re: Bug#608625: xserver-xorg-core upgrade failed, searching for wrong file

2011-01-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 608625 nvidia-glx
Bug #608625 [xserver-xorg-core] xserver-xorg-core upgrade failed, searching for 
wrong file
Bug reassigned from package 'xserver-xorg-core' to 'nvidia-glx'.
Bug No longer marked as found in versions xorg-server/2:1.7.7-9.
> kthxbye
Stopping processing here.

Please contact me if you need assistance.
-- 
608625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608625
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.12939708683149.transcr...@bugs.debian.org



Bug#608625: xserver-xorg-core upgrade failed, searching for wrong file

2011-01-02 Thread Julien Cristau
reassign 608625 nvidia-glx
kthxbye

On Sun, Jan  2, 2011 at 15:37:45 +0800, ltn wrote:

> Package: xserver-xorg-core
> Version: 2:1.7.7-9
> Severity: important
> 
> I was going to upgrade my xserver-xorg-core to 1.7.7-10-i386 and received 
> following error message:
> 
> 
> Unpacking replacement xserver-xorg-core ...   
>  
> dpkg: error processing 
> /var/cache/apt/archives/xserver-xorg-core_2%3a1.7.7-10_i386.deb (--unpack):   
>  
>  unable to create `/usr/lib/nvidia/diversions/libglx.so.dpkg-new' (while 
> processing `./usr/lib/xorg/modules/extensions/libglx.so'): No such file or 
> directory 
> configured to not write apport reports
>  
>   dpkg-deb: subprocess paste killed by 
> signal (Broken pipe)
> 
> The system is checking for a file called "./usr/lib/xxx" but there IS 
> a file in "/usr/lib/xx". There is an additional "." before "/usr" so the 
> file could no be found.
> 
Not our bug.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2

2011-01-02 Thread Julien Cristau
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#608187: xresprobe: FTBFS on i386: error: 'IF_MASK' undeclared

2011-01-02 Thread Holger Levsen
Hi,

On Freitag, 31. Dezember 2010, Mehdi Dogguy wrote:
> @h01ger: Could you please get rid of the Recommends on xresprobe?

Petter has replaced it with a recommends on ddccontrol|xresprobe already.


cheers,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#607767: Blank screen on starting X with Dual 2 GHz G5 and X800XT; DRM module not loading for radeon driver

2011-01-02 Thread Julien Cristau
On Sun, Jan  2, 2011 at 00:56:52 -0500, dpickett wrote:

> image=/boot/vmlinux
>   label=Linux
>   read-only
>   initrd=/boot/initrd.img
>   append="video=ofonly"
> 
It needs to be added to the 'append' line.

Cheers,
Julien


signature.asc
Description: Digital signature


xresprobe_0.4.23debian1-0.3_i386.changes ACCEPTED into experimental

2011-01-02 Thread Debian FTP Masters



Accepted:
xresprobe_0.4.23debian1-0.3.diff.gz
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.3.diff.gz
xresprobe_0.4.23debian1-0.3.dsc
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.3.dsc
xresprobe_0.4.23debian1-0.3_i386.deb
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.3_i386.deb


Override entries for your package:
xresprobe_0.4.23debian1-0.3.dsc - source x11
xresprobe_0.4.23debian1-0.3_i386.deb - optional x11

Announcing to debian-devel-chan...@lists.debian.org


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pzjmk-0008vq...@franck.debian.org



xresprobe_0.4.23debian1-0.2_i386.changes ACCEPTED into unstable

2011-01-02 Thread Debian FTP Masters



Accepted:
xresprobe_0.4.23debian1-0.2.diff.gz
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2.diff.gz
xresprobe_0.4.23debian1-0.2.dsc
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2.dsc
xresprobe_0.4.23debian1-0.2_i386.deb
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2_i386.deb


Override entries for your package:
xresprobe_0.4.23debian1-0.2.dsc - source x11
xresprobe_0.4.23debian1-0.2_i386.deb - optional x11

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 608187 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pzjme-0008tv...@franck.debian.org



Bug#608187: marked as done (xresprobe: FTBFS on i386: error: 'IF_MASK' undeclared)

2011-01-02 Thread Debian Bug Tracking System
Your message dated Sun, 02 Jan 2011 08:32:06 +
with message-id 
and subject line Bug#608187: fixed in xresprobe 0.4.23debian1-0.2
has caused the Debian Bug report #608187,
regarding xresprobe: FTBFS on i386: error: 'IF_MASK' undeclared
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
608187: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608187
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Source: xresprobe
Version: 0.4.23debian1-0.1
Severity: serious
Justification: fails to build from source

xresprobe FTBFS in a clean sid i386 chroot. Tail of the build log:

| gcc -g -O2 -g -Wall -O2   -c -o lrmi.o lrmi.c
| lrmi.c: In function 'set_regs':
| lrmi.c:191: error: 'IF_MASK' undeclared (first use in this function)
| lrmi.c:191: error: (Each undeclared identifier is reported only once
| lrmi.c:191: error: for each function it appears in.)
| lrmi.c:191: error: 'IOPL_MASK' undeclared (first use in this function)
| lrmi.c: In function 'run_vm86':
| lrmi.c:613: error: 'VIF_MASK' undeclared (first use in this function)
| lrmi.c:613: error: 'TF_MASK' undeclared (first use in this function)
| lrmi.c: In function 'LRMI_int':
| lrmi.c:840: error: 'IF_MASK' undeclared (first use in this function)
| lrmi.c:840: error: 'IOPL_MASK' undeclared (first use in this function)
| make[2]: *** [lrmi.o] Error 1

Other packages have been suffering from similar problems, see bugs 
#518725, #608175.


--
Jakub Wilk


--- End Message ---
--- Begin Message ---
Source: xresprobe
Source-Version: 0.4.23debian1-0.2

We believe that the bug you reported is fixed in the latest version of
xresprobe, which is due to be installed in the Debian FTP archive:

xresprobe_0.4.23debian1-0.2.diff.gz
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2.diff.gz
xresprobe_0.4.23debian1-0.2.dsc
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2.dsc
xresprobe_0.4.23debian1-0.2_i386.deb
  to main/x/xresprobe/xresprobe_0.4.23debian1-0.2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 608...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen  (supplier of updated xresprobe package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sun, 02 Jan 2011 08:56:48 +0100
Source: xresprobe
Binary: xresprobe
Architecture: source i386
Version: 0.4.23debian1-0.2
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force 
Changed-By: Petter Reinholdtsen 
Description: 
 xresprobe  - X Resolution Probe
Closes: 608187
Changes: 
 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.
Checksums-Sha1: 
 f60d6c58defd10a75b1ace61aebf851461784027 1123 xresprobe_0.4.23debian1-0.2.dsc
 88e1ff4f663fe1eec0817336b39ff78b0071b587 2237 
xresprobe_0.4.23debian1-0.2.diff.gz
 dca5b32135ebad137d8211b191ea434600846be5 19010 
xresprobe_0.4.23debian1-0.2_i386.deb
Checksums-Sha256: 
 87ade1e6457eed12af58bf0bf2e99e29cbbfab69b7d00dca73e423948815e959 1123 
xresprobe_0.4.23debian1-0.2.dsc
 c45a4394c771d4fe3e9337b7302d5e9a5aea93328199dd3ab8424c84b1923189 2237 
xresprobe_0.4.23debian1-0.2.diff.gz
 69d7031a21f04c856a4896f5e6f6d12c74b353e4a0e3e995cb05f95a922aa893 19010 
xresprobe_0.4.23debian1-0.2_i386.deb
Files: 
 98b907a7a1e9c349e18900a019d98efd 1123 x11 optional 
xresprobe_0.4.23debian1-0.2.dsc
 28d33606f009c53fed54878150c79469 2237 x11 optional 
xresprobe_0.4.23debian1-0.2.diff.gz
 4132628a804dac5346b684280b2670ec 19010 x11 optional 
xresprobe_0.4.23debian1-0.2_i386.deb

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

iD8DBQFNIDNd20zMSyow1ykRApxqAKCCqO0gi2D6qPqhYaPFPQPb/oIQ8QCg4EA4
T9LjF0W+Q9AIyfPM8P44Z0M=
=Pma+
-END PGP SIGNATURE-


--- End Message ---


Processing of xresprobe_0.4.23debian1-0.3_i386.changes

2011-01-02 Thread Debian FTP Masters
xresprobe_0.4.23debian1-0.3_i386.changes uploaded successfully to localhost
along with the files:
  xresprobe_0.4.23debian1-0.3.dsc
  xresprobe_0.4.23debian1-0.3.diff.gz
  xresprobe_0.4.23debian1-0.3_i386.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pzj4c-0007wr...@franck.debian.org



Processing of xresprobe_0.4.23debian1-0.2_i386.changes

2011-01-02 Thread Debian FTP Masters
xresprobe_0.4.23debian1-0.2_i386.changes uploaded successfully to localhost
along with the files:
  xresprobe_0.4.23debian1-0.2.dsc
  xresprobe_0.4.23debian1-0.2.diff.gz
  xresprobe_0.4.23debian1-0.2_i386.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pzj4c-0007wa...@franck.debian.org



Bug#608628: NMU patch for xresprobe 0.4.23debian1-0.3

2011-01-02 Thread Petter Reinholdtsen

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,37 @@
+xresprobe (0.4.23debian1-0.3) experimental; urgency=low
+
+  * Non-maintainer upload to clean up the package.
+  * Update debhelper compat level from 4 to 7.
+  * Update standards-version from 3.7.2 to 3.9.1.  No changes needed.
+  * Apply patches from Ubuntu:
+- Adust lcdsize.sh to add support for vesa.  Add missing getres
+  call.  Patch by Timo Aaltonen.
+- Adjust xprobe.sh to not use the bare-bones config, instead rely
+  on the new xserver to be clever.  Make sure to only autoprobe
+  if the driver is vesa.  Patch by Timo Aaltonen.
+- Add support for the Intel driver.  Patch by Matthew Garrett.
+- Fix xprobe.sh failure when generating xorg.conf caused by
+  missing type1 module; this was dropped by Debian for xserver 1.3
+  since it's obsolete and has some security issues.  (Addresses
+  portion of fix for LP 127008).  Patch from Bryce Harrington.
+- Fix issue with xresprobe in alternate installation for Intel gfx
+  laptops resulting in screen to be replaced by flashing colored
+  blocks, by making xresprobe use ddcprobe instead of xprobe for
+  laptops using the -intel driver.  (Closes LP: #127008 and many,
+  many duplicates).  Patch from Bryce Harrington.
+- Fix resolution detection error in ddcprobe.sh where LCD's would
+  get configured to use one resolution less than their maximum
+  because ddcprobe cannot tell the difference between an analog
+  attached LCD and a CRT.  (Closes LP: #27667).  Patch from Bryce
+  Harrington.
+- Adjust xprobe.sh handling of intel drivers (LP: #127008).  Patch
+  from Bryce Harrington.
+- Adjust lcdsize.sh to fix vesa sed regex so that resolutions are
+  returned correctly without trailing text.  Patch from Timo
+  Aaltonen.
+
+ -- Petter Reinholdtsen   Sun, 02 Jan 2011 08:17:43 +0100
+
 xresprobe (0.4.23debian1-0.2) unstable; urgency=low
 
   * Non-maintainer upload to fix RC bug.
diff -u xresprobe-0.4.23debian1/ddcprobe.sh xresprobe-0.4.23debian1/ddcprobe.sh
--- xresprobe-0.4.23debian1/ddcprobe.sh
+++ xresprobe-0.4.23debian1/ddcprobe.sh
@@ -37,37 +37,18 @@
   SCREENTYPE="lcd"
 else
+  # Not necessarily true, as lcds can be connected as analog too
   SCREENTYPE="crt"
 fi
 
 TIMINGS="$(echo "$DDCPROBE" | egrep '^[cd]*timing:' | \
 sed -e 's/^[cd]*timing: \([^x]*\)x\([^ @$]*\).*$/\1x\2/;' | \
 sort -nr | egrep -v "$BLACKLISTMODES")"
+TIMINGS="$(echo "$TIMINGS" | sort -rnu -tx -k1,1nr -k2,2nr)"
 
-# highest in this case means 'highest resolution', and we want to demote it
-# to the least-preferred resolution; it will usually be completely unviewable
-
-if [ -n "$XRESPROBE_DEBUG" ]; then
-   echo "raw timings - $(echo "$TIMINGS" | xargs echo)" >&2
-fi
-
-NTIMINGS="$(echo "$TIMINGS" | wc -l)"
-HIGHEST="$(echo "$TIMINGS" | head -n 1)"
-OUTTIMINGS="$(echo "$TIMINGS" | tail -n "$(($NTIMINGS-1))")"
 MONITORNAME="$(echo "$DDCPROBE" | egrep '^monitorname:' | sed -e 
's/^monitorname: //;')"
 MONITORRANGE="$(echo "$DDCPROBE" | egrep '^monitorrange:' | sed -e 
's/^monitorrange: //;' -e 's/\,//;')"
-TIMINGS="$(echo "$TIMINGS" | sort -rnu -tx -k1,1nr -k2,2nr)"
-OUTTIMINGS="$(echo "$OUTTIMINGS" | sort -rnu -tx -k1,1nr -k2,2nr)"
 
-if [ "$SCREENTYPE" = "lcd" ]; then
-  echo "res: $(echo $TIMINGS | xargs echo)"
-  echo "disptype: lcd"
-else
-  if [ "$NTIMINGS" -gt "1" ]; then
-echo "res: $(echo $OUTTIMINGS | xargs echo)"
-  else
-echo "res: $(echo $HIGHEST | xargs echo)"
-  fi
-  echo "disptype: crt"
-fi
+echo "res: $(echo $TIMINGS | xargs echo)"
+echo "displaytype: $SCREENTYPE"
 echo "name: $MONITORNAME"
 echo "freq: $MONITORRANGE"
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
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian X Strike Force 
 Uploaders: Otavio Salvador , David Nusinow 

-Build-Depends: debhelper (>= 4.0.0), cdbs
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7), cdbs
+Standards-Version: 3.9.1
 
 Package: xresprobe
 Architecture: any
only in patch2:
unchanged:
--- xresprobe-0.4.23debian1.orig/xresprobe
+++ xresprobe-0.4.23debian1/xresprobe
@@ -137,10 +137,11 @@
 fi
 
 if [ "x$LAPTOP" = "xyes" ]; then
-  if [ "$(uname -m)" = "ppc" ] || [ "$(uname -m)" = "ppc64" ]; then
+  # Allow use of ddc on intel; doprobe can result in screen corruption (LP: 
#127008)
+  if [ "$(uname -m)" = "ppc" ] || [ "$(uname -m)" = "ppc64" ] || [ "x$DRIVER" 
= "xintel" ]; then
 doddc
   fi
-  if [ -z "$RES" ]; then
+  if [ -z "$RES" ] && [ ! "x$DRIVER" = "xintel" ]; then
 doprobe
   fi
   DISPTYPE="lcd/lvds"
only in patch2:
unchanged:
--- x

Bug#608627: NMU patch for xresprobe 0.4.23debian1-0.2

2011-01-02 Thread Petter Reinholdtsen

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   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-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2flei8v4t4c@login1.uio.no



Bug#608616: Mobility Radeon HD 4200: Black screen after resuming from suspend / no-hibernation

2011-01-02 Thread Sven Joachim
On 2011-01-02 02:09 +0100, Margarita Manterola wrote:

> I'm working with an Asus EeePC 1215T, that comes with a Mobility Radeon HD
> 4200, after installing a fresh squeeze into it, suspend and hibernate
> didn't work properly: suspend worked, but when returning, no video
> returned, hibernation didn't work (black screen but no power off).
>
> After installing the xserver driver from maverick (1:6.13.1-1ubuntu5), both
> started working properly.  So it seems that there's a difference in the
> patches applied in one and the other that makes suspension/hibernation work
> with one and not the other.

The difference is that the preinst of the Ubuntu package removes the
file /etc/modprobe.d/radeon-kms.conf (it is not needed on Ubuntu,
because Ubuntu kernels are built with KMS enabled), leaving you with UMS
even after you reinstall the Debian package.

The first thing I would do is to test a newer kernel, e.g. 2.6.37-c7
from experimental, and restore the missing file.

> In the logs below, I have removed the messages that were redundant (lines
> and lines of the same FBDEV error).
> The weird "atom" errors that show in the dmesg logs appear when
> hibernating/dehibernating, and are very surprising, taking into account
> this is NOT an Atom netbook. 

They refer to the AtomBIOS found in Radeon GPUs.

Cheers,
   Sven



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87pqsfn2xi@turtle.gmx.de