Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sleep on PB 800 MHz under 2.6
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
cactus
n00b
n00b


Joined: 24 Oct 2003
Posts: 12

PostPosted: Wed Sep 22, 2004 10:27 am    Post subject: Sleep on PB 800 MHz under 2.6 Reply with quote

I have a PowerBook G4 800 MHz (with a Radeon Mobility video card M7, PowerBook4,3) which has been running gentoo without problems for a couple of years.

However upgrading from kernel benh-2.4.22-r2 to 2.6.X breaks the sleep functionality (which works flaulessly under 2.4.22). I have tried compiling several 2.6 kernels (including plain 2.6.7 and several 2.6.7-gentoo-rXX) to no avail. The symptoms are either a refuse to go to sleep (nothing happens as the lid is closed), or a hard lock.

Is this a known issue? Has anyone else got sleep working on a similar machine, under 2.6? Are there any particular issues with pbbbuttonsd or pmud? I can post config giles if this would help.

Please help

:cry: :cry: :cry:
Back to top
View user's profile Send private message
cactus
n00b
n00b


Joined: 24 Oct 2003
Posts: 12

PostPosted: Wed Sep 22, 2004 10:42 am    Post subject: More Information Reply with quote

I've just tried to sleep again under kernel 2.6.7, and I got what appears to be a printout of some of the M7 chip registers, along with some snow on the bottom of the screen. This is what I got on the screen (the machine was hard locked, nothing in the logs):

hstart=1296, hEnd=1408, hTotal=1536
vStart=855, vEnd=858, vTotal=866
h_Total_disp=0x9f00bf hsync_start_wid=0x8e0509
v_total_disp=0x3550361 vsync_start_wid=0x830356
pixclock=12529
freq=7981
post_div=0x1
fb_div=0x47
ppll_div_3=0x10047
lvds_gen_cntl: 000dd991

Thanks for any help!
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 Sep 22, 2004 3:46 pm    Post subject: Reply with quote

I found if I did not select Automatically mount at boot I could get my TiBook to sleep

Code:

File systems --->
  Pseudo Filesystems --->
    [*] /proc file system support
    [*] /dev file system support (OBSOLETE)
    [ ]   Automatically mount at boot

my powerbook would go to sleep when idle, but would not go to sleep (but sleep still work with lid close or power button) if I had it selected in the kernel.

2.6.7-r-11 kernel
Back to top
View user's profile Send private message
cactus
n00b
n00b


Joined: 24 Oct 2003
Posts: 12

PostPosted: Wed Sep 22, 2004 5:41 pm    Post subject: Reply with quote

Thanks for the reply; however I have already disabled Automatically Mount at Boot, since I had already read what I assume is your post in another thread (can't remember which one, though). Is your TiBook the same as mine?
Back to top
View user's profile Send private message
heavyt
Guru
Guru


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

PostPosted: Thu Sep 23, 2004 2:39 am    Post subject: Reply with quote

Ti-PowerBook 867MHZ
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Thu Sep 23, 2004 5:38 am    Post subject: Reply with quote

You are using pbbuttonsd for sleep etc?

Try my .config just for laughs. http://stimuli.ca/linux/files/.config-2.6
Back to top
View user's profile Send private message
cactus
n00b
n00b


Joined: 24 Oct 2003
Posts: 12

PostPosted: Thu Sep 23, 2004 10:33 am    Post subject: Fixed! Reply with quote

Thanks for your help. I have managed to fix it by upgrading to kernel 2.6.8.1. I changed nothing but that; and using the same config; so I guess it was the kernel...

:D :D :D
Back to top
View user's profile Send private message
Draeven
n00b
n00b


Joined: 04 Jul 2004
Posts: 12

PostPosted: Wed Sep 29, 2004 5:55 pm    Post subject: Reply with quote

Quote:
You are using pbbuttonsd for sleep etc?

Try my .config just for laughs. http://stimuli.ca/linux/files/.config-2.6


I'm having the same problems - are you using gentoo-dev-sources or ppc-sources?


Thanks,

Draeven
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