Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

Wolfgang Pfeiffer roto at gmx.net
Thu Dec 6 15:54:19 PST 2007


I CC this to xorg-driver-ati at lists.x.org: For those on that list
who are interested where this thread starts:
http://lists.debian.org/debian-powerpc/2007/11/msg00036.html

If those at xorg-driver-ati at lists.x.org don't like to be CC-ed please
let me know.

And I'm not subscribed to xorg-driver-ati at lists.x.org.



On Sat, Nov 24 2007, at 02:47 +0100, Wolfgang Pfeiffer wrote:
> Hi Bin, Everyone,
> 
> I'm starting a new thread: I do not want to hijack the one
> where this ati-driver topic started ... 
> 

FYI:

Black and white only, but it works:
http://img481.imageshack.us/img481/482/pb200321yy7.jpg

On the URL above a - admittedly lousy - picture of the telly with the
cloned LCD screen, done with fresh ati drivers. So far I only see a
black and white picture on the TV-set. And yes: it's actually a color
TV ... :)

The TV-Set is a very cheap one - small screen - not too many specs
available from the manual:

All this works here:
-------------------------------------
$ cat /proc/cpuinfo                             
processor       : 0
cpu             : 7447A, altivec supported
clock           : 833.333000MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 16.57
timebase        : 8320000
platform        : PowerMac
machine         : PowerBook5,8
motherboard     : PowerBook5,8 MacRISC3 Power Macintosh 
detected as     : 287 (PowerBook G4 15")
pmac flags      : 00000019
L2 cache        : 512K unified
pmac-generation : NewWorld
--------------------------------------

For those interested: Quick HOW-TO:
-------------------------------------------------
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
cd xf86-video-ati
./autogen.sh
MAKEFLAGS="CC=gcc-4.1" make

Then copy the ati_drv.so and radeon_drv.so to 
/usr/lib/xorg/modules/drivers/
-------------------------------------------------

[Anyone can tell me whether it is enough to just copy ati_drv.so and
radeon_drv.so to /usr/lib/xorg/modules/drivers/ to get the relevant
drivers to this computer installed?]

Don't do this last 'cp' step while you're in a running X: You might
get thrown own out of it immediately as soon as you do a - IIRC -

cp radeon_drv.so /usr/lib/xorg/modules/drivers/

Don't!! ... :)

Only ssh was my friend after screwing up X, *immediately*, IIRC, after
the mentioned 'cp': even the console became unusable after I tried to
switch to the (empty?) X xcreen via <ALT>-<F7>

To get the screen cloned to my telly:

$ xrandr --output S-video --set load_detection 1
$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2720 x 1024
LVDS connected (normal left inverted right x axis y axis)
   1440x960       59.9 +
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 300mm x
 225mm
   1280x1024      60.0* 
   1280x960       59.9  
   1280x800       60.0  
   1280x768       60.0  
   1024x768       85.0     84.9     75.1     70.1     60.0  
   800x600        84.9     85.1     75.0     60.3  
   640x480        85.0     84.6     75.0     60.0     59.9  
   720x400        70.1  
S-video connected (normal left inverted right x axis y axis)
   800x600        59.9 +   60.3  
$ xrandr --output S-video --auto

All this is done here with KDM/KDE on the alubook: Windows seem to get
automatically resized when I clone them to the telly. ...

The trick I use to get the complete LCD screen to the external screen
(VGA or TV-set) is always the same: I switch off my LCD:

xrandr --output LVDS --off

and after that the screen on the VGA/TV is complete. On the TV-set,
that is, nearly complete: its corners are rounded, contrary to the
LCD, where they're angular.

Enjoy

Good Night
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on


More information about the xorg-driver-ati mailing list