Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-29 Thread Gaudenz Steinlin / Hamster
Hi

On Thu, Nov 29, 2007 at 12:55:32AM +0100, Wolfgang Pfeiffer wrote:
> On Wed, Nov 28 2007, at 10:59 -0500, P Kapat wrote:
> > Hi Elimar,
> > 
> > On 11/27/07, Elimar Riesebieter <[EMAIL PROTECTED]> wrote:
> > > On Wed, 21 Nov 2007 the mental interface of
> > > P Kapat told:
> > >
> > > [...]
> > > > Similarly, I have tried different configurations for xorg.conf (from
> > > > other distros and general googling) to mirror the LCD screen to a
> > > > projector in clone mode - no results, hence I am here.
> > >
> > > I was adviced to have a look at
> > >
> > > http://wiki.debian.org/XStrikeForce/HowToRandR12
> > 
> > Thanks for the link, it is indeed very helpful. Wish I had seen this
> > link before going through all the trouble... I have bookmarked it now
> > :)
> 
> Or simply searching the archives of the xorg-driver-ati mailing list,
> with a Google search like:
> site:lists.x.org/archives/xorg-driver-ati/ 
> 
> And just in case someone could use it:
> 
> I didn't find the following via Google, but in the ati driver sources:
> It seems it's impossible to have the complete content of the LCD
> screen mirrored on an external monitor, as long as the LCD is switched
> on.
> 
> So I do something like this to get the complete LCD content mirrored
> to an old VGA: 
> 
> xrandr --output DVI-0 --mode 1280x1024 --rate 60.0
> xrandr --output LVDS --off
> 
> After executing the first line, the LCD content is cloned partially to
> the VGA, i.e. about 10% of the LCD content is missing on the VGA
> screen. This is fixed as soon as I switch off the LCD with the 2nd
> line.

AFAIK it's not necessary to switch off the LVDS. You just have to change
it to the same resolution as the DVI-0 output. X automatically uses the
smallest possible resolution which fits all displays.

Gaudenz
-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-28 Thread Wolfgang Pfeiffer
On Wed, Nov 28 2007, at 10:59 -0500, P Kapat wrote:
> Hi Elimar,
> 
> On 11/27/07, Elimar Riesebieter <[EMAIL PROTECTED]> wrote:
> > On Wed, 21 Nov 2007 the mental interface of
> > P Kapat told:
> >
> > [...]
> > > Similarly, I have tried different configurations for xorg.conf (from
> > > other distros and general googling) to mirror the LCD screen to a
> > > projector in clone mode - no results, hence I am here.
> >
> > I was adviced to have a look at
> >
> > http://wiki.debian.org/XStrikeForce/HowToRandR12
> 
> Thanks for the link, it is indeed very helpful. Wish I had seen this
> link before going through all the trouble... I have bookmarked it now
> :)

Or simply searching the archives of the xorg-driver-ati mailing list,
with a Google search like:
site:lists.x.org/archives/xorg-driver-ati/ 

And just in case someone could use it:

I didn't find the following via Google, but in the ati driver sources:
It seems it's impossible to have the complete content of the LCD
screen mirrored on an external monitor, as long as the LCD is switched
on.

So I do something like this to get the complete LCD content mirrored
to an old VGA: 

xrandr --output DVI-0 --mode 1280x1024 --rate 60.0
xrandr --output LVDS --off

After executing the first line, the LCD content is cloned partially to
the VGA, i.e. about 10% of the LCD content is missing on the VGA
screen. This is fixed as soon as I switch off the LCD with the 2nd
line.

_
$ 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  
   800x60060.3  
   640x48059.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  
   800x60084.9 85.1 75.0 60.3  
   640x48085.0 84.6 75.0 60.0 59.9  
   720x40070.1  
S-video disconnected (normal left inverted right x axis y axis)
_

I'm not sure I understand correctly what the author meant to indicate
with the following. At any rate, IIRC, the two-liner above dawned to
me after reading this:

README.ati, excerpt: 
- 
In situations where the driver is to simultaneously display on both
a panel and a CRT, the same image will be seen on both.  In
particular, this means the CRT must be able to synchronise with the
timings of the panel's native resolution.  This is quite evident
when the panel has ``odd-ball'' dimensions, such as 1400x1050, a
resolution not commonly possible on CRTs or projection equipment.

Also, the display of independent images on the panel and CRT is not
currently implemented, and might never be, pending resolution of
the previous item.


Caveat:
If screen dimming is enabled here, via
pbbcmd config onac_timedim 1800
then the screen on the switched off LCD is coming back
partially/garbled, as soon as the LCD screen is getting dimmed (after
~ 3 mins. of inactivity ..)

HTH

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

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


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-28 Thread P Kapat
Hi Elimar,

On 11/27/07, Elimar Riesebieter <[EMAIL PROTECTED]> wrote:
> On Wed, 21 Nov 2007 the mental interface of
> P Kapat told:
>
> [...]
> > Similarly, I have tried different configurations for xorg.conf (from
> > other distros and general googling) to mirror the LCD screen to a
> > projector in clone mode - no results, hence I am here.
>
> I was adviced to have a look at
>
> http://wiki.debian.org/XStrikeForce/HowToRandR12

Thanks for the link, it is indeed very helpful. Wish I had seen this
link before going through all the trouble... I have bookmarked it now
:)

-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-27 Thread Elimar Riesebieter
On Wed, 21 Nov 2007 the mental interface of
P Kapat told:

[...]
> Similarly, I have tried different configurations for xorg.conf (from
> other distros and general googling) to mirror the LCD screen to a
> projector in clone mode - no results, hence I am here.

I was adviced to have a look at

http://wiki.debian.org/XStrikeForce/HowToRandR12

Very helpful!

Elimar

-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-25 Thread P Kapat
Hi Michel,

On 11/25/07, Michel Dänzer <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-11-24 at 13:17 -0500, P Kapat wrote:
> >
> > I became a bit more adventurous and tried out the experimental ati
> > driver... Hotplugging a VGA monitor seems to work (on my iBook G4 -
> > powerbook 6,5) exactly as hotplugging should, that is without any
> > "xrandr --output --DVI-0 --auto" command - wow that is just insanely
> > cool
>
> This is by accident though, not by intention - there's currently no
> mechanism implemented to automatically enable/disable outputs on
> hotplugging.

Well, a rare and pleasant accident then

> > The low contrast issue that I had mentioned in my earlier
> > mail, is almost solved now, I can see the light colors fine - but it
> > is still not "pleasing"...
>
> If you can't solve this, please bring it up on the
> [EMAIL PROTECTED] list.

hmm, i'll try this out for a while and see...

> > For the iBook, I am using Option "MacModel"  "ibook" ...
>
> You shouldn't need it at all, iBooks should be autodetected now.
> Autodetection isn't perfect for PowerBooks with DVI connectors yet
> though, hence the above advice.

You are right, everything works fine even after removing the options
line. I am not aware for these details, and I just found out about
this option after some googling... Anyway this is even better...

> > A load of warm greetings to all the coders on this.good work guys.
>
> RandR 1.2 support in the radeon driver was mostly implemented by Dave
> Airlie and Alex Deucher.

Thanks to Dave and Alex on this.

-- 
Regards
PK
--
http://counter.li.org  #402424



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-25 Thread P Kapat
Thanks Jörg,

On 11/25/07, Jörg Sommer <[EMAIL PROTECTED]> wrote:

  [snip]

> > bottoom edge of the external monitor. How do I get back to 1024x768
> > resolution on the external display?
>
> xrandr --output VGA-0 --mode 1024x786

Hey that works.. thanks..



-- 
Regards
PK
--
http://counter.li.org  #402424



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-25 Thread Wolfgang Pfeiffer
Hi Jörg

On Sun, Nov 25 2007, at 10:14 +, Jörg Sommer wrote:
> Hello P,
> 
> P Kapat <[EMAIL PROTECTED]> wrote:

> > How do I get back to 1024x768 resolution on the external display?
> 
> xrandr --output VGA-0 --mode 1024x786

Ahhh, that 'mode' option - what it does, that is - was what I was
missing when I was looking for it last night .. :)

Thanks ..

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

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


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-25 Thread Michel Dänzer

On Sat, 2007-11-24 at 13:17 -0500, P Kapat wrote:
> 
> On Nov 23, 2007 8:49 AM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> >
> > Hotplugging a VGA monitor to an alubook 5,8 with a fresh ati driver
> > works ... minor mouse isues, as of yet, but working :) ... details
> > below ..
> 
> I became a bit more adventurous and tried out the experimental ati
> driver... Hotplugging a VGA monitor seems to work (on my iBook G4 -
> powerbook 6,5) exactly as hotplugging should, that is without any
> "xrandr --output --DVI-0 --auto" command - wow that is just insanely
> cool 

This is by accident though, not by intention - there's currently no
mechanism implemented to automatically enable/disable outputs on
hotplugging.

> The low contrast issue that I had mentioned in my earlier
> mail, is almost solved now, I can see the light colors fine - but it
> is still not "pleasing"...

If you can't solve this, please bring it up on the
[EMAIL PROTECTED] list.


> > On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote:
> > >
> > > The kernel doesn't matter for this. With xserver-xorg-video-ati 6.7.19x
> > > (so far only available in experimental), external displays with a VGA
> > > connector should work with all Radeon {Power,i}Books. Displays with a
> > > DVI connector can be trickier; depending on the PowerBook model and
> > > driver version, Option "MacModel" "powerbook" or "powerbook-duallink"
> > > may help for those.
> 
> For the iBook, I am using Option "MacModel"  "ibook" ...

You shouldn't need it at all, iBooks should be autodetected now.
Autodetection isn't perfect for PowerBooks with DVI connectors yet
though, hence the above advice.


> A load of warm greetings to all the coders on this.good work guys.

RandR 1.2 support in the radeon driver was mostly implemented by Dave
Airlie and Alex Deucher.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-25 Thread Jörg Sommer
Hello P,

P Kapat <[EMAIL PROTECTED]> wrote:
>> On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote:
>> > Note that hotplugging a monitor per se isn't expected to have any direct
>> > effect; something like
>> >
>> > xrandr --output DVI-0 --auto
>
> I don't actually need to do this, but if I do (note for my case: the
> output is VGA-0 instead of DVI-0: "xrandr --output VGA-0 --auto"), I
> get a higer resolution (1280x1024) external monitor display; where my
> iBook's LCD is 1024x768 max. This projects the iBook's LCD screen to
> the 1024x768 block on the upper-left corner of the 1280x1024 external
> monitor - resulting in empty-but-accessable strips on the right and
> bottoom edge of the external monitor. How do I get back to 1024x768
> resolution on the external display?

xrandr --output VGA-0 --mode 1024x786

Have a nice day, Jörg.
-- 
Erfahrung heißt gar nichts. Man kann seine Sache auch 35 Jahre schlecht
machen.
(Kurt Tucholsky)


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-24 Thread P Kapat
On 11/24/07, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
>
> My bad: You clearly wrote of an xorg.conf for clone mode. Attached is
> an xorg.conf I probably was using for display cloning for a few tests
> last year. I hope it helps ... but no guarantees ... :)

Thanks for the file - I'll keep this in my collection (hopefully I'll
not need it !!). As you might have seen from my last mail, I took my
chance with the new ati driver from experimental - and that seems to
perform much better and is more user friendly. So, I am sticking with
the experimental driver for now.

> Such crashes do not happen too often on my system. But if it does I'm
> always glad to have a second Linux machine for a little ssh walk on
> the crashed computer .. :)

Good advice. I do have another machine running Linux so that surely
helps out a lot.

-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-24 Thread Wolfgang Pfeiffer
On Sat, Nov 24 2007, at 03:20 -0500, P Kapat wrote:

> @Wolfgang: thanks for the file,
> but I couldn't see anything specific to a dual monitor setup (at least
> in clone mode) in there. I think I did not make my self clear - 

My bad: You clearly wrote of an xorg.conf for clone mode. Attached is
an xorg.conf I probably was using for display cloning for a few tests
last year. I hope it helps ... but no guarantees ... :)

As indicated earlier here: Please note that this cumbersome method
isn't needed anymore. With the fresh ati driver from experimental that
I mentioned in this thread display cloning should be much easier. And
if my lousy memory doesn't serve me too badly even the technical
advantages of the new driver supersede the old method via the attached
xorg.conf by far.

> I was (and still am) looking for a xorg.conf with
> "working-dual-display" settings in it. But none-the-less your file
> was a good starting point.  I added the "mergedFB" recomendations
> from Javier's (Orlando?) link http://ozlabs.org/~jk/docs/mergefb/ to
> have two sections each for Device, Monitor and Screen.
> 
> The DVI -> VGA out display is not entirely satsifactory. The image
> that I see on the external moonitor is extremely low on contrast and
> the colors are completely screwed. Anyting bold is nicely visible but
> the rest are all hazy, black is gray, none of the background colors
> (desktop/webpages) are displayed, anything in light colors is
> invisible. 

See? Does this seem to confirm what I said above on the new driver
superseding etc. etc. ... ?

As a sidenote - and please forgive me if you already know that - if
you run Debian testing/unstable/experimental and if you have some
second computer with Linux on it, I'd set up ssh for both machines: If
your unstable system crashes - which can happen, especially on X - in
many cases you might still be able to login to a it via ssh from a
second computer and shut it down cleanly ...
Such crashes do not happen too often on my system. But if it does I'm
always glad to have a second Linux machine for a little ssh walk on
the crashed computer .. :)


Good luck!
Best Regards

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

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# 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/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
#   md5sum /etc/X11/xorg.conf.dpkg-new 
>/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"

# see http://wiki.debian.org/Xorg69To7:
# FontPath  "unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/share/fonts/X11/misc"
#   FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/share/fonts/X11/Type1"
#   FontPath"/usr/share/fonts/X11/CID"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/share/fonts/X11/100dpi:unscaled"
FontPath"/usr/share/fonts/X11/75dpi:unscaled"
#   FontPath"/usr/share/fonts/truetype"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"GLcore"
Load"i2c"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"type1"
Load"v4l"
Load"vbe"
Load"evdev"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "de"
Option  "XkbVariant""nodeadkeys"
Option  "XkbOptions""lv3:lwin_switch"
EndSection

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

Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-24 Thread P Kapat
Hi,

On Nov 23, 2007 8:49 AM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
>
> Hotplugging a VGA monitor to an alubook 5,8 with a fresh ati driver
> works ... minor mouse isues, as of yet, but working :) ... details
> below ..

I became a bit more adventurous and tried out the experimental ati
driver... Hotplugging a VGA monitor seems to work (on my iBook G4 -
powerbook 6,5) exactly as hotplugging should, that is without any
"xrandr --output --DVI-0 --auto" command - wow that is just insanely
cool The low contrast issue that I had mentioned in my earlier
mail, is almost solved now, I can see the light colors fine - but it
is still not "pleasing"...

> On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote:
> >
> > On Fri, 2007-11-23 at 03:04 +0100, Wolfgang Pfeiffer wrote:
> > >
> > > What I know is, that with xrandr 1.2 hotplugging a 2nd monitor to a
> > > 5.8 alubook doesn't do anything at all. Not out of the box, and not
> > > here on unstable Debian with packages from a few days ago and kernel
> > > 2.6.18 ...

seems to do hotplugging on 2.6.22-3 that i got from unstable and
xserver-xorg-video-ati 1:6.7.196-1 from experimental. I am not sure if
the kernel plays any role at all...

> > The kernel doesn't matter for this. With xserver-xorg-video-ati 6.7.19x
> > (so far only available in experimental), external displays with a VGA
> > connector should work with all Radeon {Power,i}Books. Displays with a
> > DVI connector can be trickier; depending on the PowerBook model and
> > driver version, Option "MacModel" "powerbook" or "powerbook-duallink"
> > may help for those.

For the iBook, I am using Option "MacModel"  "ibook" ...

> > Note that hotplugging a monitor per se isn't expected to have any direct
> > effect; something like
> >
> > xrandr --output DVI-0 --auto

I don't actually need to do this, but if I do (note for my case: the
output is VGA-0 instead of DVI-0: "xrandr --output VGA-0 --auto"), I
get a higer resolution (1280x1024) external monitor display; where my
iBook's LCD is 1024x768 max. This projects the iBook's LCD screen to
the 1024x768 block on the upper-left corner of the 1280x1024 external
monitor - resulting in empty-but-accessable strips on the right and
bottoom edge of the external monitor. How do I get back to 1024x768
resolution on the external display?

> This is what it obviously does:
> --
> $ xrandr -q  ## MY OUTPUT:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1200
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis)
245mm x 184mm
   1024x768   60.0*+
   800x60060.3
   640x48059.9
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y
axis) 376mm x 301mm
   1280x1024  60.0 +   75.0 59.9
   1280x960   59.9
   1152x864   75.0 74.8
   1024x768   75.1 70.1 60.0*
   832x62474.6
   800x60072.2 75.0 60.3 56.2
   640x48075.0 72.8 66.7 60.0
   720x40070.1
S-video disconnected (normal left inverted right x axis y axis)

> --
>
> All I did - after installing xserver-xorg-video-ati_6.7.196-1 - was
> adding a single extra line to the xorg.conf that I attached to a
> message earlier in this thread:

thanks Wolfgang, I did the same, and your original xorg.conf file
worked nicely here.

>
>  diff -u xorg.conf xorg.conf.07.11.23
> --- xorg.conf   2007-11-23 11:50:29.0 +0100
> +++ xorg.conf.07.11.23  2007-11-23 11:48:08.0 +0100
> @@ -96,7 +96,6 @@
> Identifier  "ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
> Driver  "ati"
> BusID   "PCI:0:16:0"
> -   Option  "MacModel"  "powerbook"
> Option  "UseFBDev"  "true"
>  Option "AGPSize" "16"
>  Option "AGPMode" "4"
>
> and restarting X.

As I mentioned -   Option  "MacModel"  "iBook"   -
instead of "powerbook" here.

> Oh yes: and
> xrandr --output DVI-0 --off
> switches the attached VGA off ... the alubook screen is shaking a bit
> for ~ half a sec, but it works.

i don't get any 'shakes' as such but it seems to 'refresh'. BTW, i do
get my bit of 'shake' for ~ 1 sec when ibook actually boots - artifact
of all debian installations on my machine, did not happen with
kubuntu/opensuse.

> Sidenotes:
>
> Since installing the new driver some artifacts are visible around the
> mouse-pointer in its default "arrow" image ...  Please let me know if
> a photo from that might help ...

for once, thankfully, i didn't see this issue on my end.

A load of warm greetings to all the coders on this.good work guys.

-- 
Regards
PK
--
http://counter.li.org  #402424



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-24 Thread P Kapat
Hi,

I have been playing around with my iBook G4, and here is the report:

On 21 Nov 2007 20:39:43 GMT, Jack Malmostoso <[EMAIL PROTECTED]> wrote:
> Honestly, I'd go for Unstable:
>
> 1) You get Xorg 1.4 with Xrandr 1.2 support and the latest and greatest ati 
> driver
> 2) You get the latest kernel and possibly the latest bcm43xx driver
> 3) Regressions have been reported about sleep, but 2.6.22 should be ok

Following Jack's advise I upgraded (dist-upgrade) to unstable - which
was not as smooth as I had expected, but that is beside the point now.
(may be i'll take it up in a new thread). As a consequence I have Xorg
7.3, Xrandr 1.2, bcm43xx-fwcutter 006.3, pbbuttonsd 0.7.9-2 - AND
finally some success.

I can access WEP and WPA PSK encrypted networks, I am yet to try WPA2
Enterprise. I can set the machine go to sleep using the power button
(due to pbbuttonsd?).

On Nov 22, 2007 6:52 AM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> Attaching xorg.conf, working here on an alubook, and on a relatively fresh
> Debian unstable. The only problem I remember over the last time was a
> crash/machine-power-off, when I tried to put the machine to sleep via
> the powerbutton: In the meantime I believe that the reason for that
> that might be that pbbuttonsd perhaps wasn't up ... or something like
> that ...

@Wolfgang: thanks for the file,
but I couldn't see anything specific to a dual monitor setup (at least
in clone mode) in there. I think I did not make my self clear - I was
(and still am) looking for a xorg.conf with "working-dual-display"
settings in it. But none-the-less your file was a good starting point.
I added the "mergedFB" recomendations from Javier's (Orlando?) link
http://ozlabs.org/~jk/docs/mergefb/ to have two sections each for
Device, Monitor and Screen.

The DVI -> VGA out display is not entirely satsifactory. The image
that I see on the external moonitor is extremely low on contrast and
the colors are completely screwed. Anyting bold is nicely visible but
the rest are all hazy, black is gray, none of the background colors
(desktop/webpages) are displayed, anything in light colors is
invisible. Even opensuse 10.3 had this problem too - which leads me to
think that, this is specific to my hardware. Can any provide any tips
on improvment? Let me know which kind of information will be helpful
(xorg.conf / Xorg.log /...).

-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-23 Thread Bin Zhang
On Nov 23, 2007 2:54 PM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:
>
> > Sidenotes:
> >
> > Since installing the new driver some artifacts are visible around the
> > mouse-pointer in its default "arrow" image ...  Please let me know if
>
> This last line should have been saying:
> "mouse-pointer on X in its default "arrow" image [ ... ]"
>
>
> > a photo from that might help ...
> >
> > And the mouse is completely gone on the console .. haven't had time,
> > yet, to google/explore that ...

Try adding a line
Option  "SWcursor" "on"
in Section "Device" of your xorg.conf.

Bin

> >
>
> Sorry
>
>
> Wolfgang
> --
> Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
> http://profiles.yahoo.com/wolfgangpfeiffer
>
> Key: 0xE3037113
> http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-23 Thread Wolfgang Pfeiffer
On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:
> 
> No sidenote:
> All that is real fine progress, Michel.
> So last, but most certainly not least thanks to everyone who made all
> this possible, among them
> 
>  Rickard E. (Rik) Faith
>  Kevin E. Martin   
>  Alan Hourihane
>  Marc Aurele La France 
>  Benjamin Herrenschmidt
>  Michel Dänzer 
>  Alex Deucher  
>  Bogdan D. 
>  Eric Anholt   

The persons above obviously are those being responsible for 'man radeon' 

Please see the coders' names in
/usr/share/doc/xserver-xorg-video-ati/changelog.gz

They definitely deserve your look into it ... 

Wolfgang

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

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


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-23 Thread Wolfgang Pfeiffer
On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:

> Sidenotes: 
> 
> Since installing the new driver some artifacts are visible around the
> mouse-pointer in its default "arrow" image ...  Please let me know if

This last line should have been saying:
"mouse-pointer on X in its default "arrow" image [ ... ]"
   

> a photo from that might help ... 
> 
> And the mouse is completely gone on the console .. haven't had time,
> yet, to google/explore that ...
> 

Sorry

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

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


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-23 Thread Wolfgang Pfeiffer

Hotplugging a VGA monitor to an alubook 5,8 with a fresh ati driver
works ... minor mouse isues, as of yet, but working :) ... details
below ..

On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote:
> 
> On Fri, 2007-11-23 at 03:04 +0100, Wolfgang Pfeiffer wrote:
> > 
> > What I know is, that with xrandr 1.2 hotplugging a 2nd monitor to a
> > 5.8 alubook doesn't do anything at all. Not out of the box, and not
> > here on unstable Debian with packages from a few days ago and kernel
> > 2.6.18 ...
> 
> The kernel doesn't matter for this. With xserver-xorg-video-ati 6.7.19x
> (so far only available in experimental), external displays with a VGA
> connector should work with all Radeon {Power,i}Books. Displays with a
> DVI connector can be trickier; depending on the PowerBook model and
> driver version, Option "MacModel" "powerbook" or "powerbook-duallink"
> may help for those.
> 
> Note that hotplugging a monitor per se isn't expected to have any direct
> effect; something like
> 
> xrandr --output DVI-0 --auto


Thanks for the one-liner above: works like a charm here, and out of
the box, with an about 9 years old VGA monitor, connected to an
alubook 5,8, and with an ATI driver from experimental that you
mentioned.


This is what it obviously does:
--
$ xrandr -q
Screen 0: minimum 320 x 200, current 1440 x 1024, maximum 1440 x 1200
LVDS connected 1440x960+0+0 (normal left inverted right x axis y axis) 321mm x 
214mm
   1440x960   59.9*+
   1280x800   60.0  
   1280x768   60.0  
   1024x768   60.0  
   800x60060.3  
   640x48059.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  
   800x60084.9 85.1 75.0 60.3  
   640x48085.0 84.6 75.0 60.0 59.9  
   720x40070.1  
S-video disconnected (normal left inverted right x axis y axis)
--


All I did - after installing xserver-xorg-video-ati_6.7.196-1 - was
adding a single extra line to the xorg.conf that I attached to a
message earlier in this thread:

 diff -u xorg.conf xorg.conf.07.11.23
--- xorg.conf   2007-11-23 11:50:29.0 +0100
+++ xorg.conf.07.11.23  2007-11-23 11:48:08.0 +0100
@@ -96,7 +96,6 @@
Identifier  "ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
Driver  "ati"
BusID   "PCI:0:16:0"
-   Option  "MacModel"  "powerbook"
Option  "UseFBDev"  "true"
 Option "AGPSize" "16"
 Option "AGPMode" "4"

and restarting X.

As to 'xrandr -q' from above:
Ladies and Gentlemen, please note that the correct values of the
connected VGA (1280x1024, at 60 Hz, IINM) are correctly and automagically
detected, without xorg.conf knowing anything of them ...

It's a DDC 1/2B VGA, meaning, IINM, that this beast automatically
communicates its technical capabilities to its host system. And
outside it reads Compaq, but IIRC a Hyundai is actually inside ...

Oh yes: and
xrandr --output DVI-0 --off
switches the attached VGA off ... the alubook screen is shaking a bit
for ~ half a sec, but it works.

> 
> is required explicitly in order to enable the external display.

I call it hotplugging anyway  ... :)

Sidenotes: 

Since installing the new driver some artifacts are visible around the
mouse-pointer in its default "arrow" image ...  Please let me know if
a photo from that might help ... 

And the mouse is completely gone on the console .. haven't had time,
yet, to google/explore that ...

Oh yes, and this: about 3 from 10 Xserver restarts from the KDE/KDM
login screen fail here, with e.g. the login desktop image melting into
some unformed psychedelic colors - I remember having had this previous
times when booting the machine .. like then it can be "fixed" now by
simply putting the machine to sleep, and waking it again, as it seems
...

Now let's see now how I can connect my telly via the S-composite
connector to this computer ... :)

No sidenote:
All that is real fine progress, Michel.
So last, but most certainly not least thanks to everyone who made all
this possible, among them

 Rickard E. (Rik) Faith
 Kevin E. Martin   
 Alan Hourihane
 Marc Aurele La France 
 Benjamin Herrenschmidt
 Michel Dänzer 
 Alex Deucher  
 Bogdan D. 
 Eric Anholt   

Please let me know if you need some testing for this driver, be it on
an older TiBook IV, or the alubook 5,8.

Now I need breakfast, at last ... :)

'later

Best Regards
Wolfgang

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

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


-- 
To UNSUBSCRIBE,

Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-23 Thread Michel Dänzer

On Fri, 2007-11-23 at 03:04 +0100, Wolfgang Pfeiffer wrote:
> 
> What I know is, that with xrandr 1.2 hotplugging a 2nd monitor to a
> 5.8 alubook doesn't do anything at all. Not out of the box, and not
> here on unstable Debian with packages from a few days ago and kernel
> 2.6.18 ...

The kernel doesn't matter for this. With xserver-xorg-video-ati 6.7.19x
(so far only available in experimental), external displays with a VGA
connector should work with all Radeon {Power,i}Books. Displays with a
DVI connector can be trickier; depending on the PowerBook model and
driver version, Option "MacModel" "powerbook" or "powerbook-duallink"
may help for those.

Note that hotplugging a monitor per se isn't expected to have any direct
effect; something like

xrandr --output DVI-0 --auto

is required explicitly in order to enable the external display.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-22 Thread Wolfgang Pfeiffer
On Thu, Nov 22 2007, at 09:24 -0600, Javier Ramirez wrote:
> You can check this site.
> 
> It helped me a lot.
> 
> http://ozlabs.org/~jk/docs/mergefb/

Thanks for this - but IINM this should be dated now: I just realized
that hotplugging monitors is possible now with xorg 7.3:

http://budlite.blogspot.com/2007/09/hotplugging-secondary-display-on-linux.html

Perhaps on Debian we need packages from experimental for this to work
- I don't know.

What I know is, that with xrandr 1.2 hotplugging a 2nd monitor to a
5.8 alubook doesn't do anything at all. Not out of the box, and not
here on unstable Debian with packages from a few days ago and kernel
2.6.18 ...

Whatever.

I'll have a look into this tomorrow ..

Thanks again

Best Regards
Wolfgang

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

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


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-22 Thread Javier Ramirez
You can check this site.

It helped me a lot.

http://ozlabs.org/~jk/docs/mergefb/

I hope it helps.

Orlando.


On Nov 22, 2007 5:52 AM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:

> On Wed, Nov 21 2007, at 23:22 -0500, P Kapat wrote:
>
>   [ ... ]
>
> > I have been playing around with xorg.conf in the past. Could you be
> > kind enough to provide a "working" xorg.conf - so that I can start
> > >from there...
> >
> > Thanks,
>
>
> Attaching xorg.conf, working here on an alubook, and on a relatively fresh
> Debian unstable. The only problem I remember over the last time was a
> crash/machine-power-off, when I tried to put the machine to sleep via
> the powerbutton: In the meantime I believe that the reason for that
> that might be that pbbuttonsd perhaps wasn't up ... or something like
> that ...
>
> cat /proc/cpuinfo
> processor   : 0
> cpu : 7447A, altivec supported
> clock   : 1666.666000MHz
> revision: 0.5 (pvr 8003 0105)
> bogomips: 33.15
> timebase: 832
> platform: PowerMac
> machine : PowerBook5,8
> motherboard : PowerBook5,8 MacRISC3 Power Macintosh
> detected as : 287 (PowerBook G4 15")
> pmac flags  : 0019
> L2 cache: 512K unified
> pmac-generation : NewWorld
>
>
> Good luck!
> Wolfgang
>
> --
> Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
> http://profiles.yahoo.com/wolfgangpfeiffer
>
> Key: 0xE3037113
> http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
>



-- 
---
Javier O. Ramírez Martínez
Key fingerprint = CBFD AEC9 E7F9 C726 03BF  3D85 7B9E 47A7 EB84 70D4
linux.mty.itesm.mx/~oramirez


Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-22 Thread Wolfgang Pfeiffer
On Wed, Nov 21 2007, at 23:22 -0500, P Kapat wrote:

   [ ... ]

> I have been playing around with xorg.conf in the past. Could you be
> kind enough to provide a "working" xorg.conf - so that I can start
> >from there...
> 
> Thanks,


Attaching xorg.conf, working here on an alubook, and on a relatively fresh
Debian unstable. The only problem I remember over the last time was a
crash/machine-power-off, when I tried to put the machine to sleep via
the powerbutton: In the meantime I believe that the reason for that
that might be that pbbuttonsd perhaps wasn't up ... or something like
that ...

cat /proc/cpuinfo 
processor   : 0
cpu : 7447A, altivec supported
clock   : 1666.666000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 33.15
timebase: 832
platform: PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15")
pmac flags  : 0019
L2 cache: 512K unified
pmac-generation : NewWorld


Good luck!
Wolfgang

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

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# 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/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
#   md5sum /etc/X11/xorg.conf.dpkg-new 
>/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"

# see http://wiki.debian.org/Xorg69To7:
# FontPath  "unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/share/fonts/X11/misc"
#   FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/share/fonts/X11/Type1"
#   FontPath"/usr/share/fonts/X11/CID"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/share/fonts/X11/100dpi:unscaled"
FontPath"/usr/share/fonts/X11/75dpi:unscaled"
#   FontPath"/usr/share/fonts/truetype"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"type1"
Load"v4l"
Load"vbe"
Load"evdev"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "de"
Option  "XkbVariant""nodeadkeys"
Option  "XkbOptions""lv3:lwin_switch"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "ZAxisMapping"  "4 5"
EndSection
Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "auto-dev"
Option  "LeftEdge"  "0"
Option  "RightEdge" "850"
Option  "TopEdge"   "0"
Option  "BottomEdge""645"
Option  "MinSpeed"  "0.4"
Option  "MaxSpeed"  "1"
Option  "AccelFactor"   "0.02"
Option  "FingerLow" "55"
Option  "FingerHigh""60"
Option  "MaxTapMove""20"
Option  "MaxTapTime""100"
Option  "HorizScrollDelta"  "0"
Option  "VertScrollDelta"   "30"
Option  "SHMConfig"  

Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-21 Thread P Kapat
Thanks for the reply Jack., appreciate it.

On 21 Nov 2007 20:39:43 GMT, Jack Malmostoso <[EMAIL PROTECTED]> wrote:
> On Wed, 21 Nov 2007 18:50:08 +0100, P Kapat wrote:
>
> > 1. Is it possible to achieve [1] and [2] (for WPA enc) on Etch (may be
> > using backports too) or do I have to break my system to a hochpoch of
> > testing-unstable-experimental?
>
> Honestly, I'd go for Unstable:
>
> 1) You get Xorg 1.4 with Xrandr 1.2 support and the latest and greatest
> ati driver

snip

> If you want to stay with Etch, for 1) I remember I got the external video
> using MergedFB.

I have been playing around with xorg.conf in the past. Could you be
kind enough to provide a "working" xorg.conf - so that I can start
from there...

Thanks,
-- 
Regards
PK
--
http://counter.li.org  #402424


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



Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz

2007-11-21 Thread Jack Malmostoso
On Wed, 21 Nov 2007 18:50:08 +0100, P Kapat wrote:

> 1. Is it possible to achieve [1] and [2] (for WPA enc) on Etch (may be
> using backports too) or do I have to break my system to a hochpoch of
> testing-unstable-experimental?

Honestly, I'd go for Unstable:

1) You get Xorg 1.4 with Xrandr 1.2 support and the latest and greatest 
ati driver
2) You get the latest kernel and possibly the latest bcm43xx driver
3) Regressions have been reported about sleep, but 2.6.22 should be ok
4) For that you need to visit linuxant.com and purchase their driver. 
They have a limited speed trial version.

If you want to stay with Etch, for 1) I remember I got the external video 
using MergedFB.

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


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