Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sleep now work on pbg4 with 2.6.8-rc4 kernel :)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
benoitc
n00b
n00b


Joined: 02 Aug 2003
Posts: 43
Location: Paris (France)

PostPosted: Sat Aug 14, 2004 2:23 pm    Post subject: Sleep now work on pbg4 with 2.6.8-rc4 kernel :) Reply with quote

Good news, now sleep function works with my the kernelversion 2.6.8-rc4 in development-sources.
You have just to emerge this kernel, pbbuttonsd and pmud

Code:
ACCEPT_KEYWORDS="~ppc"  emerge -v development-sources pmud pbbuttonds


Go in /usr/src/linux-2.6.8-rc4 and compile your kernel. Make sure that you these seetings are checked in Devices/Macindtosh :

Code:

  [*] Apple Desktop Bus (ADB) support                                 
         [*] Support for CUDA based Macs and PowerMacs           
         [*] Support for PMU  based PowerMacs                           
         [*]   Power management support for PowerBooks             
         <*>     APM emulation                         


Add pbbuttonsd and pmud to rc :

Code:

rc-update add pmud default
rc-update add pbbuttonds default


make sure to add the line "replace_pmud=yes" at the end of /etc/pbbuttonds.conf, reboot and
voilà :)


Update: This config seems to work with ibook g4 too :
https://forums.gentoo.org/viewtopic.php?t=209823


Last edited by benoitc on Sat Aug 14, 2004 6:23 pm; edited 2 times in total
Back to top
View user's profile Send private message
antrix
n00b
n00b


Joined: 31 Oct 2003
Posts: 62

PostPosted: Sat Aug 14, 2004 3:54 pm    Post subject: Reply with quote

Great news :D

Will this also work on iBook g4s ?
_________________
Antrix
| 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux | (My desktop PC, which needs an update world)

| 2.6.11-gentoo-r6 PPC 7447A, altivec supported PowerBook6,5 GNU/Linux | (My iBook G4)
Back to top
View user's profile Send private message
Jean Vertigo
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2003
Posts: 100
Location: Italy

PostPosted: Sat Aug 14, 2004 5:21 pm    Post subject: Reply with quote

good! anyone tried on the g4 ibook?
Back to top
View user's profile Send private message
benoitc
n00b
n00b


Joined: 02 Aug 2003
Posts: 43
Location: Paris (France)

PostPosted: Sat Aug 14, 2004 6:19 pm    Post subject: 2.6.8.1 is out Reply with quote

2.6.8.1 is out. Maybe this is better than rc4 ?
Back to top
View user's profile Send private message
amitofu
n00b
n00b


Joined: 16 Feb 2004
Posts: 30

PostPosted: Sun Aug 15, 2004 12:21 am    Post subject: Re: Sleep now work on pbg4 with 2.6.8-rc4 kernel :) Reply with quote

benoitc wrote:
Add pbbuttonsd and pmud to rc :

Code:

rc-update add pmud default
rc-update add pbbuttonds default


make sure to add the line "replace_pmud=yes" at the end of /etc/pbbuttonds.conf, reboot and
voilà :)


If you are having pbbuttonsd replace pmud, don't you not need pmud? And by PowerBook G4, do you mean my Aluminium PowerBook G4 will finally sleep?!?!? Kick ass!
Back to top
View user's profile Send private message
benoitc
n00b
n00b


Joined: 02 Aug 2003
Posts: 43
Location: Paris (France)

PostPosted: Sun Aug 15, 2004 2:39 am    Post subject: work with 2.6.8.1 Reply with quote

work with 2.6.8.1 too. I launch pmud with pbbuttonsd because without pmud, sleep seems to not work last time I try ;)
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Sun Aug 15, 2004 10:07 am    Post subject: Reply with quote

I have a 15" Alu PB and it does not work so far... :-( When closing the lid (pbbuttonsd option is set!) dmesg says:
Code:
Sleep is not supported on this machine.


Anyone has a hint? I am using development-sources-2.6.8

And I am not sure but I have read that in 'the newer versions' of pbbuttonsd the "replace_pmud" option is a compile-time option (no USE flag so far). The pbbuttonsd homepage is not reachable to find out what is true... :-(


Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
rickb
n00b
n00b


Joined: 04 Dec 2002
Posts: 31
Location: The Hague, Netherlands

PostPosted: Tue Aug 17, 2004 8:07 am    Post subject: Reply with quote

HighOnBonsai wrote:
I have a 15" Alu PB and it does not work so far... :-( When closing the lid (pbbuttonsd option is set!) dmesg says:
Code:
Sleep is not supported on this machine.


Anyone has a hint? I am using development-sources-2.6.8


Nope, exactly the same here with development-sources-2.6.8.1

(And as a bonus, this kernel won't mount my FAT32 partition. And no, i did not forget vfat filesystem support.)
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Tue Aug 17, 2004 7:08 pm    Post subject: Reply with quote

:-( Sometimes I dislike Linux... I have never ever got sleep working on ANY of my systems (two notebookds, two desktop stations...)

But hey, maybe the next version works! :-)


Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
Jean Vertigo
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2003
Posts: 100
Location: Italy

PostPosted: Wed Aug 18, 2004 6:47 am    Post subject: Reply with quote

on the new ibook g4 it does not work :twisted:

pbbuttons says that "sleep is not supported on this machine" :cry:
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Wed Aug 18, 2004 5:26 pm    Post subject: Reply with quote

This may help your sleep problem https://forums.gentoo.org/viewtopic.php?p=1358592&highlight=#1358592
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Thu Aug 19, 2004 12:37 pm    Post subject: Reply with quote

Deactivating the "Mount at boot" for devfs option did not work for me... :-(

Code:
 [*] /dev file system support (OBSOLETE)
    [ ]   Automatically mount at boot


Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Aug 21, 2004 6:40 pm    Post subject: Reply with quote

To fix your FAT32 mounting, make sure that you compile the correct codepages into your kernel.

In File Systems-> Native Language Support, there are code pages listed. To get Fat32 working, I had to enable:
Codepage 437 (United States, Canada)
NLS ISO 8859-1 (Latin 1; Western European Languages)

Hope that works for you,
-Joe

rickb wrote:
HighOnBonsai wrote:
I have a 15" Alu PB and it does not work so far... :-( When closing the lid (pbbuttonsd option is set!) dmesg says:
Code:
Sleep is not supported on this machine.


Anyone has a hint? I am using development-sources-2.6.8


Nope, exactly the same here with development-sources-2.6.8.1

(And as a bonus, this kernel won't mount my FAT32 partition. And no, i did not forget vfat filesystem support.)
Back to top
View user's profile Send private message
tomasino
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 154
Location: Italy, Bologna

PostPosted: Sat Aug 21, 2004 11:19 pm    Post subject: Reply with quote

Sleep is far from working on alu pb, benh said that: the radeonfb is the problem.
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Sun Aug 22, 2004 8:10 am    Post subject: Reply with quote

Thanks tomasino for this information!

Problems over problems with this ATI cards and chips... next time I'll buy nVidia only :-(

Sleep does not work, because problems wie Radeon-FB
No 3D-Accel./DRI, because no drivers for the Radeon chip
No DVI-Out/TV-Out, because see above

:-(

I have a desktop system with a nVidida card and I've never had any problem (good performance, stable drivers).


Christopher
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Sun Aug 22, 2004 9:07 am    Post subject: Reply with quote

works also on the mm-series kernel. I'm using 2.6.8.1-mm3
Back to top
View user's profile Send private message
spyro1st
n00b
n00b


Joined: 28 Mar 2003
Posts: 11

PostPosted: Sun Aug 22, 2004 9:36 pm    Post subject: Sleep on PowerBook G4 12" 867 Reply with quote

Can somebody please tell me if sleep does work on the PowerBook G4 12" 867. And if it does work please tell me wich versions of the kernel and pmud/pbbuttonsd i need.

Greets Kevin Moschallski
Back to top
View user's profile Send private message
nicoske
n00b
n00b


Joined: 05 May 2004
Posts: 14
Location: Brussels

PostPosted: Mon Aug 23, 2004 11:13 pm    Post subject: Reply with quote

It's not working on my ibook G4

Code:

Aug 24 00:44:58 satellite pmud[9844]: cannot put system to sleep! (Function not implemented)


I don't know if this is a Tibook or not, if someone knows..!
This is an ibook G4 12" 1ghz 256Mb
Back to top
View user's profile Send private message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Tue Aug 24, 2004 6:09 pm    Post subject: Reply with quote

Quote:

Sleep is far from working on alu pb, benh said that: the radeonfb is the problem.


What about the alu pb's with nvidia cards. I have the 1 GHz 12" running x with the nv driver.
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Wed Aug 25, 2004 8:15 am    Post subject: Reply with quote

So the question is: Does sleep work or no on powerooks aluminium? Does it work on 12, 15, or 17?
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Wed Aug 25, 2004 11:30 am    Post subject: Reply with quote

in 2.6.8.1 take a look to /proc/cpuinfo...

Code:
clock           : 999MHz
bogomips        : 664.26


:cry: I hope it is only a new algoritm, but I think no...
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Wed Aug 25, 2004 3:13 pm    Post subject: Reply with quote

Ok, it don't work. The led lamp, but it is because of a sync every 0,5sec. The system isn't in real sleep.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
HighOnBonsai
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 260

PostPosted: Wed Aug 25, 2004 6:19 pm    Post subject: Reply with quote

It does not work on my PB 15" Alu!
_________________
Are YOU high - on bonsai?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum