Re: A few questions from an iMac G5 user...

2006-12-02 Thread Charles Plessy
Le Sat, Dec 02, 2006 at 04:39:06PM +1300, Torrance a écrit :
3) How do I install java for running, eg. internet java applets? In Ubuntu
we had to download from an IBM site. Currently, that site requires
registration and even then told me that export laws (or something) would
mean the download would be reviewed and I'd be notified when it was
available. Of course, this never happened. So how else do ppc users get 
 java
installed? Alternatively, how long will it be before we see Adobe's 
 recently
released source code making its way into sid?

Hi,

sorry for not having answers to your other questions. For Java, I
also downloaded the one from IBM. I filled the form with random things
and used an email from jetable.org; it works well. The downloaded jre
can then be processed by make-jpkg, from the package java-package.
Note that you need the 32 bits one, as your G5 runs in 32-bit mode
(which is usually slightly faster than 64 bit mode).

By the way, Java comes from Sun, not Adobe.

Have a nice weekend,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan


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



Re: A few questions from an iMac G5 user...

2006-12-02 Thread Benjamin Herrenschmidt

 1) Is it possible to enable either sleep or suspend functions for the
 iMac G5? I am currently running the 2.6.19 kernel, but I don't have
 the slightest clue how to enable suspend or sleep. These functions
 never worked in Ubuntu. Is this possible? 

There is currently no sleep support for G5s Suspend To Disk should
be doable without too much pain though I didn't have time to do anything
about it, I remember some patches were posted at one point doing at
least part of the job.

As for Suspend To RAM... well... the iMac G5 is an SMU based machines. I
_think_ I know what command can be sent to the SMU to instruct it to put
the machine to sleep, though I haven't really tried doing it. The main
problem is that sleep will shut down the video chip and we currently
can't bring an nVIdia chip back.

It might be possiblea after a good deal of reverse engineering, or help
from nVidia (don't hold your breath on that), but not at the moment.

 2) Is it a good idea to enable ESD? I was having a few system freezes
 when using multiple multimedia players (Totem Xine, Rhythmbox and
 VLC), and have since enabled esd (and installed gstreamer-esd and
 vlc-esd). Things seem to be fine, but I'm not really sure what is an
 ideal sound setup. 

System freeze ? Or just application blocking because another one is
using the driver ?

 3) How do I install java for running, eg. internet java applets? In
 Ubuntu we had to download from an IBM site. Currently, that site
 requires registration and even then told me that export laws (or
 something) would mean the download would be reviewed and I'd be
 notified when it was available. Of course, this never happened. So how
 else do ppc users get java installed? Alternatively, how long will it
 be before we see Adobe's recently released source code making its way
 into sid? 

Weird, they might have changes something... I had no problem last time I
d/l the IBM Java. That's the best option at the moment. Now that Sun
Java is GPL, there is hope to have more options available though.

You can also use gij/gcj but they can't run quite as much things as the
IBM JVM can (at least IBM own internal expense report system :-) Though
I've been told they can run Eclipse.

There's also Kaffe but that's pretty outdated... 

 4) Is it possible to brighten the screen on an iMac G5. It looks
 darker and duller than OS X, but besides altering the gamma settings,
 there seems no way to brighten the screen.

Yes, there is a magic register and indeed, it looks like the value set
in there by nvidiafb might be slightly lower than what OS X does on this
machine

The problem is that there are several machine models with similar nVidia
chips and they seem to require differnent max values there, though we
haven't quite figured how to properly identify which model needs what,
so we are stuck right now with what we think is a safe value (ie.
won't damage the display).

I have some contacts at nVidia that were supposed to enquire about that
but I had no reply over the past few monthes, I'll try to ask again.

Ben.



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



Re: A few questions from an iMac G5 user...

2006-12-02 Thread Torrance

Hi Ben (and Charles),

Thanks for your replies!


There is currently no sleep support for G5s Suspend To Disk should
be doable without too much pain though I didn't have time to do  
anything

about it, I remember some patches were posted at one point doing at
least part of the job.


These are patches to the kernel? Do you know where I could find those?


2) Is it a good idea to enable ESD? I was having a few system freezes
when using multiple multimedia players (Totem Xine, Rhythmbox and
VLC), and have since enabled esd (and installed gstreamer-esd and
vlc-esd). Things seem to be fine, but I'm not really sure what is an
ideal sound setup.


System freeze ? Or just application blocking because another one is
using the driver ?


Well, not quite a system freeze. The music would continue playing,  
and the mouse would move, but no windows would be selectable, and no  
keyboard commands would do anything. Forcing-quitting x-windows was  
non-responsive, and I couldn't shift into another terminal space  
either. This problem was repeatable, but not consistently so. In any  
case, ESD hasn't done this to me yet (but I haven't pushed it too far  
either), but I still am unsure what the best sound setup is, and  
whether I should be letting sound go straight through to ALSA and  
(presumably) hardware mixing.



Yes, there is a magic register and indeed, it looks like the value set
in there by nvidiafb might be slightly lower than what OS X does on  
this

machine


Great! So I'm not crazy! ;) Is this user-configurable? Which conf  
file should I be editing?


Weird, they might have changes something... I had no problem last  
time I

d/l the IBM Java. That's the best option at the moment. Now that Sun
Java is GPL, there is hope to have more options available though.


I know, it is weird. Last time I checked the US hadn't put any trade  
sanctions on New Zealand!!


Thanks,
Torrance






On 3/12/2006, at 12:26 AM, Benjamin Herrenschmidt wrote:




1) Is it possible to enable either sleep or suspend functions for the
iMac G5? I am currently running the 2.6.19 kernel, but I don't have
the slightest clue how to enable suspend or sleep. These functions
never worked in Ubuntu. Is this possible?


There is currently no sleep support for G5s Suspend To Disk should
be doable without too much pain though I didn't have time to do  
anything

about it, I remember some patches were posted at one point doing at
least part of the job.

As for Suspend To RAM... well... the iMac G5 is an SMU based  
machines. I
_think_ I know what command can be sent to the SMU to instruct it  
to put

the machine to sleep, though I haven't really tried doing it. The main
problem is that sleep will shut down the video chip and we currently
can't bring an nVIdia chip back.

It might be possiblea after a good deal of reverse engineering, or  
help

from nVidia (don't hold your breath on that), but not at the moment.


2) Is it a good idea to enable ESD? I was having a few system freezes
when using multiple multimedia players (Totem Xine, Rhythmbox and
VLC), and have since enabled esd (and installed gstreamer-esd and
vlc-esd). Things seem to be fine, but I'm not really sure what is an
ideal sound setup.


System freeze ? Or just application blocking because another one is
using the driver ?


3) How do I install java for running, eg. internet java applets? In
Ubuntu we had to download from an IBM site. Currently, that site
requires registration and even then told me that export laws (or
something) would mean the download would be reviewed and I'd be
notified when it was available. Of course, this never happened. So  
how

else do ppc users get java installed? Alternatively, how long will it
be before we see Adobe's recently released source code making its way
into sid?




You can also use gij/gcj but they can't run quite as much things as  
the
IBM JVM can (at least IBM own internal expense report system :-)  
Though

I've been told they can run Eclipse.

There's also Kaffe but that's pretty outdated...


4) Is it possible to brighten the screen on an iMac G5. It looks
darker and duller than OS X, but besides altering the gamma settings,
there seems no way to brighten the screen.


Yes, there is a magic register and indeed, it looks like the value set
in there by nvidiafb might be slightly lower than what OS X does on  
this

machine

The problem is that there are several machine models with similar  
nVidia
chips and they seem to require differnent max values there,  
though we

haven't quite figured how to properly identify which model needs what,
so we are stuck right now with what we think is a safe value (ie.
won't damage the display).

I have some contacts at nVidia that were supposed to enquire about  
that

but I had no reply over the past few monthes, I'll try to ask again.

Ben.





GnuPG / PGP Encrypted mail welcome.
Public key ID: F708102A





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of 

A few questions from an iMac G5 user...

2006-12-01 Thread Torrance

Hi all,

I have a few questions about running Debian PPC on my iMac G5 (rev A). I
have recently switched from Ubuntu after learning that their ppc distro was
in question and I'm settling in fine, but have a few queries:

1) Is it possible to enable either sleep or suspend functions for the iMac
G5? I am currently running the 2.6.19 kernel, but I don't have the slightest
clue how to enable suspend or sleep. These functions never worked in Ubuntu.
Is this possible?

2) Is it a good idea to enable ESD? I was having a few system freezes when
using multiple multimedia players (Totem Xine, Rhythmbox and VLC), and have
since enabled esd (and installed gstreamer-esd and vlc-esd). Things seem to
be fine, but I'm not really sure what is an ideal sound setup.

3) How do I install java for running, eg. internet java applets? In Ubuntu
we had to download from an IBM site. Currently, that site requires
registration and even then told me that export laws (or something) would
mean the download would be reviewed and I'd be notified when it was
available. Of course, this never happened. So how else do ppc users get java
installed? Alternatively, how long will it be before we see Adobe's recently
released source code making its way into sid?

4) Is it possible to brighten the screen on an iMac G5. It looks darker and
duller than OS X, but besides altering the gamma settings, there seems no
way to brighten the screen.

Cheers,
Torrance