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



Bug#452909: hal: there is big regressions about the pmu support

2007-11-25 Thread Matthieu Gallien
Package: hal
Version: 0.5.10-2
Severity: normal

Due to the last upload of hal, there is regression in the support of pmu.
None of them seems complicated to fix as I was able to find workarounds
without prior knowledge of hal and dbus stuff..

The symptom was that I was no longer able to suspend to ram using kpowersave.
I used qdbusviewer to interacts with hald and also executed hals in a console.
I found that /usr/lib/hal/hal-system-power-pm-is-supported reports to hal that
my computer cannot suspend to ram. This is wrong. Since the regression, I was
able to suspend my computer using:
/usr/lib/hal/hal-system-power-pmu sleep

I believe that /usr/lib/hal/hal-system-power-pm-is-supported should be fixed to
at least say yes when an hal helper is able to do the job.
So I have added:

dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer 
org.freedesktop.Hal.Device.SetPropertyBoolean \
string:'power_management.can_suspend' boolean:true

dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer 
org.freedesktop.Hal.Device.SetPropertyBoolean \
string:'power_management.can_suspend_to_ram' boolean:true

to my /etc/rc.local to enforce hal to believe that my computer can suspend to 
ram.
Now kpowersave offers the command. Yeah !!!

Second problem, /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux is not
able to suspend to ram my computer. There the problem is that hal apparently 
only
supports pm-utils. Again, adding those some lines solved the problem:

if [ $HAL_PROP_POWER_MANAGEMENT_TYPE == "pmu" ] ; then
if [ -x "/usr/lib/hal/hal-system-power-pmu" ] ; then
/usr/lib/hal/hal-system-power-pmu sleep
RET=$?
else
unsupported
fi
else
[...]
fi

My computer is an iBook G4 with those informations:
cat /proc/cpuinfo
processor   : 0
cpu : 7447A, altivec supported
clock   : 666.666000MHz
revision: 0.2 (pvr 8003 0102)
bogomips: 36.73
timebase: 18432000
platform: PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
pmac-generation : NewWorld

So I submit this report to debian as I know that other debian users have the
problem. I do not really have time to forward it to hal bug tracking system,
even if I think that the regression is theirs. Do not hesitate to ask for more
informations.

So, I do not know what you can do, but it had to be reported.
Thanks for your work on hal.
Thanks in advance for your attention.

Best regards

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (2, 'stable'), (1, 
'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-2-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser  3.105   add and remove users and groups
ii  dbus 1.1.1-3 simple interprocess messaging syst
ii  hal-info 20071030-1  Hardware Abstraction Layer - fdi f
ii  libc62.6.1-6 GNU C Library: Shared libraries
ii  libdbus-1-3  1.1.1-3 simple interprocess messaging syst
ii  libdbus-glib-1-2 0.74-1  simple interprocess messaging syst
ii  libexpat11.95.8-4XML parsing C library - runtime li
ii  libglib2.0-0 2.14.3-1The GLib library of C routines
ii  libhal-storage1  0.5.10-2Hardware Abstraction Layer - share
ii  libhal1  0.5.10-2Hardware Abstraction Layer - share
ii  libusb-0.1-4 2:0.1.12-7  userspace USB programming library
ii  libvolume-id00.114-2 libvolume_id shared library
ii  lsb-base 3.1-24  Linux Standard Base 3.1 init scrip
ii  mount2.13-10 Tools for mounting and manipulatin
ii  pciutils 1:2.2.4-1.1 Linux PCI Utilities
ii  pm-utils 0.99.2-3utilities and scripts for power ma
ii  udev 0.114-2 /dev/ and hotplug management daemo
ii  usbutils 0.73-4  Linux USB utilities

Versions of packages hal recommends:
ii  eject 2.1.5-6ejects CDs and operates CD-Changer

-- no debconf information



-- 
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
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]