Re: Hwo to get the display on external monitor or videoprojector

2005-10-12 Thread Vincent Lefevre
On 2005-10-07 12:25:54 +0200, Philippe Hupé wrote:
 I made the modifications suggested by Peter. But nothing happens. At
 boot, my external monitor keeps white.
 
 Does anybody have an idea?

On my PowerBook G4 (PowerBook3,2) with ATI Technologies Inc Rage
Mobility M3 AGP 2x (rev 02), I use m3mirror and the attached
kernel patch (by Julien BLACHE).

This has the advantage to work with the console too.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/
100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
--- arch/ppc/syslib/prom_init.c.old 2005-03-02 08:38:33.0 +0100
+++ arch/ppc/syslib/prom_init.c 2005-04-16 22:51:20.0 +0200
@@ -401,7 +401,7 @@
break;
}
 
-   for (j=0; jprom_num_displays; j++) {
+   for (j=0; j1; j++) {
path = prom_display_paths[j];
node = prom_display_nodes[j];
prom_print(opening display );


Re: Hwo to get the display on external monitor or videoprojector

2005-10-09 Thread Philippe Hupé




Peter Henseler a crit:

  It seems this mail didn't make it out of my gateway.

- Forwarded message from Peter Henseler [EMAIL PROTECTED] -

From: Peter Henseler [EMAIL PROTECTED]
To: Philippe Hup [EMAIL PROTECTED]
Cc: debian-powerpc@lists.debian.org
Date: Wed, 5 Oct 2005 14:12:47 +0200
Subject: Re: Hwo to get the display on external monitor or videoprojector

Dear Phil,

On Wed, Oct 05, 2005 at 09:46:06AM +0200, Philippe Hup wrote:
[..snip..]
  
  
Thanks a lot for your mail. I have installed the xorg server and made 
the modification you mentionned. The xserver works fine on my laptop but 
I am still not abble to get the output on an external screen: when I 
start my computer which is plugged to the external screen I only get a 
grey screen the the external monitor. Do have I something to do after 
booting so that it works? Thank you for any suggestion.

  
  I forgot to mention, that I disabled the option dri in the xorg.conf.
What does /var/log/Xorg.0.log tell? For comparison you find my xorg.conf
attached. The external display just works for the x-console. It does
not work for the text console.

Otherwise it might be that there is something broken in your kernel
version. I never tried it with kernel-2.6.12. But it works fine for me
with kernel-2.6.12-rc4 and kernel-2.6.13.2.

Good luck!

Peter

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Radeon 9600"
	Driver		"radeon"
	Screen		0
	Option		"AGPFastWrite"	"True"
EndSection

Section "Device"
	Identifier	"ATI Radeon 9600 Card1"
	Driver		"radeon"
	Screen		1
	Option		"AGPFastWrite"	"True"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Radeon 9600"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x854" "1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"External Screen"
	Device		"ATI Radeon 9600 Card1"
	Monitor		"External Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "1280x854" 
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
#	Screen		"External Screen" RightOf "Default Screen"
	Screen		"External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	Option		"Xinerama"	"True"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection




- End forwarded message -

  

Thanks Peter,

it works with your xorg.conf file.




Re: Hwo to get the display on external monitor or videoprojector

2005-10-07 Thread Philippe Hupé




Peter Henseler a crit:

  Hi Phil,

On Mon, Oct 03, 2005 at 09:57:38PM +0200, Philippe Hup wrote:
  
  
I have a powerbook G4 and I would like to know how to get the display on 
an external monitor or with a videoprojector.
Do you have any idea?

I am using a kernel 2.6.12 with xfree server.

My computer is the following:
processor   : 0
cpu : 7447A, altivec supported
clock   : 1666MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 1658.88
machine : PowerBook5,6
motherboard : PowerBook5,6 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags  : 001b
L2 cache: 512K unified
memory  : 2048MB
pmac-generation : NewWorld

  
  On my Powerbook G4 15" (PowerBook5,2) I was able to mirror my internal
display on an external screen. Therefore I had to install the Debian
Package xserver-xorg instead of using the xfree86 server. Afterwards I
had to make the following modifications of the file /etx/X11/xorg.conf:

Section "Device"
	Identifier	"ATI Radeon 9600"
	Driver		"radeon"
	Screen		0
EndSection

Section "Device"
	Identifier	"ATI Radeon 9600 Card1"
	Driver		"radeon"
	Screen		1
	Option		"AGPFastWrite"	"True"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"External Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Radeon 9600"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x854" "1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"External Screen"
	Device		"ATI Radeon 9600 Card1"
	Monitor		"External Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "1280x854" 
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	Screen		"External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

So far I have not been able to get the option xinerama to work, but the
clone mode works perfectly. You just have to restart the x-server.

HTH,

Peter
  

I made the modifications suggested by Peter. But nothing happens. At
boot, my external monitor keeps white.

Does anybody have an idea?
thanks for your help

Phil

Here is more information about my powerbook G4:


kernel 2.6.12
x server: xorg 6.8.2

processor : 0
cpu : 7447A, altivec supported
clock : 1666MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 1658.88
machine : PowerBook5,6
motherboard : PowerBook5,6 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 001b
L2 cache : 512K unified
memory : 2048MB
pmac-generation : NewWorld

:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
:00:10.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10]
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 03)
0001:10:13.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus
Controller
0001:10:17.0 ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:24:0d.0 ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:24:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2
FireWire (rev 81)
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC
(Sun GEM) (rev 80)






Re: Hwo to get the display on external monitor or videoprojector

2005-10-07 Thread Peter Henseler
It seems this mail didn't make it out of my gateway.

- Forwarded message from Peter Henseler [EMAIL PROTECTED] -

From: Peter Henseler [EMAIL PROTECTED]
To: Philippe Hupé [EMAIL PROTECTED]
Cc: debian-powerpc@lists.debian.org
Date: Wed, 5 Oct 2005 14:12:47 +0200
Subject: Re: Hwo to get the display on external monitor or videoprojector

Dear Phil,

On Wed, Oct 05, 2005 at 09:46:06AM +0200, Philippe Hupé wrote:
[..snip..]
 Thanks a lot for your mail. I have installed the xorg server and made 
 the modification you mentionned. The xserver works fine on my laptop but 
 I am still not abble to get the output on an external screen: when I 
 start my computer which is plugged to the external screen I only get a 
 grey screen the the external monitor. Do have I something to do after 
 booting so that it works? Thank you for any suggestion.
I forgot to mention, that I disabled the option dri in the xorg.conf.
What does /var/log/Xorg.0.log tell? For comparison you find my xorg.conf
attached. The external display just works for the x-console. It does
not work for the text console.

Otherwise it might be that there is something broken in your kernel
version. I never tried it with kernel-2.6.12. But it works fine for me
with kernel-2.6.12-rc4 and kernel-2.6.13.2.

Good luck!

Peter

# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
EndSection

Section Module
LoadGLcore
Loadbitmap
Loaddbe
Loadddc
#   Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadspeedo
Loadtype1
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  macintosh
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  ZAxisMapping  4 5
EndSection

Section Device
Identifier  ATI Radeon 9600
Driver  radeon
Screen  0
Option  AGPFastWrite  True
EndSection

Section Device
Identifier  ATI Radeon 9600 Card1
Driver  radeon
Screen  1
Option  AGPFastWrite  True
EndSection

Section Monitor
Identifier  Generic Monitor
Option  DPMS
EndSection

Section Monitor
Identifier  External Monitor
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  ATI Radeon 9600
Monitor Generic Monitor
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x854 1280x1024 1024x768 800x600
EndSubSection
EndSection

Section Screen
Identifier  External Screen
Device  ATI Radeon 9600 Card1
Monitor External Monitor
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x1024 1024x768 800x600 1280x854 
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
#   Screen  External Screen RightOf Default Screen
Screen  External Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
#   Option  Xinerama  

Re: Hwo to get the display on external monitor or videoprojector

2005-10-04 Thread Peter Henseler
Hi Phil,

On Mon, Oct 03, 2005 at 09:57:38PM +0200, Philippe Hupé wrote:
 I have a powerbook G4 and I would like to know how to get the display on 
 an external monitor or with a videoprojector.
 Do you have any idea?
 
 I am using a kernel 2.6.12 with xfree server.
 
 My computer is the following:
 processor   : 0
 cpu : 7447A, altivec supported
 clock   : 1666MHz
 revision: 0.5 (pvr 8003 0105)
 bogomips: 1658.88
 machine : PowerBook5,6
 motherboard : PowerBook5,6 MacRISC3 Power Macintosh
 detected as : 287 (PowerBook G4 15)
 pmac flags  : 001b
 L2 cache: 512K unified
 memory  : 2048MB
 pmac-generation : NewWorld
On my Powerbook G4 15 (PowerBook5,2) I was able to mirror my internal
display on an external screen. Therefore I had to install the Debian
Package xserver-xorg instead of using the xfree86 server. Afterwards I
had to make the following modifications of the file /etx/X11/xorg.conf:

Section Device
Identifier  ATI Radeon 9600
Driver  radeon
Screen  0
EndSection

Section Device
Identifier  ATI Radeon 9600 Card1
Driver  radeon
Screen  1
Option  AGPFastWrite  True
EndSection

Section Monitor
Identifier  Generic Monitor
Option  DPMS
EndSection

Section Monitor
Identifier  External Monitor
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  ATI Radeon 9600
Monitor Generic Monitor
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x854 1280x1024 1024x768 800x600
EndSubSection
EndSection

Section Screen
Identifier  External Screen
Device  ATI Radeon 9600 Card1
Monitor External Monitor
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x1024 1024x768 800x600 1280x854 
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
Screen  External Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
EndSection

So far I have not been able to get the option xinerama to work, but the
clone mode works perfectly. You just have to restart the x-server.

HTH,

Peter


pgp0sNXS8EHRr.pgp
Description: PGP signature


Hwo to get the display on external monitor or videoprojector

2005-10-03 Thread Philippe Hupé

Hi,

I have a powerbook G4 and I would like to know how to get the display on 
an external monitor or with a videoprojector.

Do you have any idea?

Thanks in advance.

Phil.


I am using a kernel 2.6.12 with xfree server.

My computer is the following:
processor   : 0
cpu : 7447A, altivec supported
clock   : 1666MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 1658.88
machine : PowerBook5,6
motherboard : PowerBook5,6 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15)
pmac flags  : 001b
L2 cache: 512K unified
memory  : 2048MB
pmac-generation : NewWorld


:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
:00:10.0 VGA compatible controller: ATI Technologies Inc RV350 
[Mobility Radeon 9600 M10]

0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 PCI
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g 
Wireless LAN Controller (rev 03)
0001:10:13.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus 
Controller

0001:10:17.0 ff00: Apple Computer Inc. KeyLargo/Intrepid Mac I/O
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1a.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
0001:10:1b.0 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.1 USB Controller: NEC Corporation USB (rev 43)
0001:10:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 Internal PCI
0002:24:0d.0 ff00: Apple Computer Inc. UniNorth/Intrepid ATA/100
0002:24:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 
FireWire (rev 81)
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC 
(Sun GEM) (rev 80)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Hwo to get the display on external monitor or videoprojector

2005-10-03 Thread Djoume SALVETTI
Le lun 03 oct 2005 21:57:38 GMT Philippe Hupé [EMAIL PROTECTED] a écrit :
 I have a powerbook G4 and I would like to know how to get the display on 
 an external monitor or with a videoprojector.
 Do you have any idea?

http://lists.debian.org/debian-powerpc/2004/11/msg00671.html

-- 
Djoume SALVETTI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]