Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Powerbook G4 1.67GHz - POST-February 2005 Insomnia
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
carpathian_wolf
n00b
n00b


Joined: 28 Apr 2005
Posts: 6

PostPosted: Sat Jun 04, 2005 2:14 am    Post subject: Powerbook G4 1.67GHz - POST-February 2005 Insomnia Reply with quote

Hi all,

I've been installing gentoo on one of the ultra new g4 powerbooks, so I'm encountering all of the 'usual' problems with linux support for this relatively new machine. I seem to have managed to iron out many of the problems (well, those that have some sort of solution anyhow), but I can't get sleep mode (suspend to ram/disk) to work -- and this is something that would come in very handy for me. I don't have much experience with laptops, ppc or otherwise, so I would appreciate help from anyone who has a POST-FEBRUARY 2005 Powerbook G4 (since they will understand my problem). I'm not even sure if there exists a solution for this but any feedback would be great.

I'm using kernel version 2.6.11r9 -- and so far as I know, I have all of the correct options set (mac power control etc) & patches applied.
I have pbbuttonsd installed and working fine, however when I press my sleep button the screen switches off but nothing else happens. I presume that pbbutons is doing its stuff, then calling the kernel method to sleep, except nothing is happening. Pbbuttonsd is configured to suspend to ram in this case.

Thanks to anybody who can help ;-)
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


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

PostPosted: Sat Jun 04, 2005 10:39 am    Post subject: Reply with quote

Try to install powerprefs and confiugure the sleep action when you press the halt button (or close the screen).
_________________
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
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 04, 2005 2:29 pm    Post subject: Reply with quote

You didn't mention whether you have an ATi based Powerbook or a nVidia one. Either way, please try the latest vanilla kernel (2.6.12-rc5 right now) and see if that helps. Also, which version of pbbuttonsd are you using?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
carpathian_wolf
n00b
n00b


Joined: 28 Apr 2005
Posts: 6

PostPosted: Sat Jun 04, 2005 3:06 pm    Post subject: Graphics Card Reply with quote

Hi and thanks for the replies.

I will try downloading the latest kernel in a moment and have a play with that. I have the latest 15inch powerbook which comes with an ATI Mobility Radeon 9700 (128MB DDR). I'm guessing support for this is poor ;-) The laptop is actually very impressive, but I really don't want to use macos -- I would only be doing so for the hardware support. I'm using the very latest version of pbbuttonsd -- 0.6.10. Although the lack of support for 3D acceleration and Airport extreme are a bit of a kick in the tits, if I could just get sleep working the laptop would be useable on the road.

Cheers all.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jun 04, 2005 3:10 pm    Post subject: Reply with quote

Yeah, that should be supported with the latest pbbuttonsd and the latest vanilla kernel, give it a whirl. Also, if you experience any lockups with pbbuttonsd, please try turning off the NoTapTyping option. If you're not getting lockups with it on, also please let me know. :)

Progress is being made in supporting both the r300 chipsets and the AE.
The place to watch for AE support is: http://linux-bcom4301.sf.net and for r300 support: http://r300.sf.net

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
carpathian_wolf
n00b
n00b


Joined: 28 Apr 2005
Posts: 6

PostPosted: Sat Jun 04, 2005 10:00 pm    Post subject: New kernel cures sleep problem Reply with quote

Hello again.

Well thanks very much JoseJX :-)

It 'all' works! Now I just cannot wait for good trackpad drivers, display acceleration drivers, and airport extreme.

Hmm. I am a phd computer science student.. Perhaps I could get invovled with this?

Mike
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Mon Jun 06, 2005 11:07 am    Post subject: Reply with quote

i got exactly the same laptop, although i think i only got 64 mb ati card. which trackpad drivers did you use to get that to run?

Thanks in advance
Back to top
View user's profile Send private message
carpathian_wolf
n00b
n00b


Joined: 28 Apr 2005
Posts: 6

PostPosted: Mon Jun 06, 2005 4:44 pm    Post subject: Trackpad Drivers Reply with quote

Hi Donpasquale,

I used the (only?) trackpad drivers available, written by Johannes Berg and available at:

http://johannes.sipsolutions.net/PowerBook/touchpad/driver

HOWEVER, this driver is awkwardly written and will not function entirely as expected ;-) (after a given time the cursor will start to move strangely and vibrate).

I had a look at the code and made a sloppy patch for the user space driver that somewhat ameliorates this peculiarity.

It is a most annoying problem isn't it? I would seem like a small thing not to have drivers for the trackpad compared to the rest of the machine, but its just such an integral part of a laptop that its near crippling!
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Mon Jun 06, 2005 7:02 pm    Post subject: Reply with quote

i already knew that driver. but i didnt get it to work. i will perhaps also write some patch for the driver to work in a more relaxed way. i also would like to completely integrate it into the kernel. perhaps as a patch for the regular trackpad drivers
Back to top
View user's profile Send private message
mattdenner
n00b
n00b


Joined: 01 Feb 2005
Posts: 16

PostPosted: Mon Jul 04, 2005 5:34 pm    Post subject: Re: Trackpad Drivers Reply with quote

carpathian_wolf wrote:
I used the (only?) trackpad drivers available, written by Johannes Berg and available at:

http://johannes.sipsolutions.net/PowerBook/touchpad/driver


Don't know if this is any use to you guys but there is a better driver available for the latest Powerbook trackpads. The main URL for the site is http://www.popies.net/atp/. I've just noticed that a 0.05 release is available which, if it's the same as the atp-acc version he sent to the Debian PPC mailing list, is very good (like perfect!).

Matt
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Mon Jul 04, 2005 7:48 pm    Post subject: Reply with quote

i also just found these drivers today. i will write a patch for the gentoo-sources and will try to submit it to the developer version.

Greetings

Passi
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Thu Jul 07, 2005 11:27 am    Post subject: Reply with quote

the driver works great. i will post my lsusb later that day because i am under mac osx right now. i will also write an ebuild for that driver . possibly it will go into portage. would be great.

Greetings,

Passi
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 07, 2005 12:19 pm    Post subject: Reply with quote

Donpasquale wrote:
the driver works great. i will post my lsusb later that day because i am under mac osx right now. i will also write an ebuild for that driver . possibly it will go into portage. would be great.

Greetings,

Passi


Thanks for promising to post your usb ids. On the other issue, I imagine that it will get into the kernel in the near future anyway.
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Thu Jul 07, 2005 12:33 pm    Post subject: Reply with quote

i dont think it will go into the kernel that fast. it makes a quite buggy impression and the driver also doesnt handle all commands from the hardware by now. But it is a way better solution then the first driver which didnt barely work
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 07, 2005 12:38 pm    Post subject: Reply with quote

Donpasquale wrote:
i dont think it will go into the kernel that fast. it makes a quite buggy impression and the driver also doesnt handle all commands from the hardware by now. But it is a way better solution then the first driver which didnt barely work


I haven't tried it yet, but apparently it emulates a synaptics touchpad as well (if you use the right drivers etc) which would give it the full capability.
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Thu Jul 07, 2005 12:44 pm    Post subject: Reply with quote

it does the emulation but it doesnt handle all hardware events by now. it doesnt for example handle the hardware disconnect and reconnect
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 07, 2005 12:49 pm    Post subject: Reply with quote

Fair enough, I'm sure an ebuild would be welcome. Sticking a make install target in the makefile wouldn't go amiss either, I just did it manually, but that's annoying for most people or I guess some people wouldn't know how.
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Thu Jul 07, 2005 12:54 pm    Post subject: Reply with quote

lol. sure. i will write that thing sometime at the weekend and will post it here and on bugzilla.

Greetings,

Passi
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Tue Jul 19, 2005 1:48 pm    Post subject: Reply with quote

Donpasquale wrote:
lol. sure. i will write that thing sometime at the weekend and will post it here and on bugzilla.

Greetings,

Passi


Any news on this one guys? :wink:
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
derKnut
n00b
n00b


Joined: 01 Aug 2005
Posts: 3

PostPosted: Wed Aug 03, 2005 12:26 pm    Post subject: Reply with quote

hi @ all

i downloaded the driver and tried to compile it on my powerbook g4 (5,6) 15'' 1,5GHz but i always get errors!
on my x86-system its possible to compile, but not on my pbook?!?

what do i wrong?

here is the message:

make -C /lib/modules/2.6.10/build SUBDIRS=/home/derknut/appletouch-0.07 modules
make[1]: Entering directory '/usr/src/linux-2.6.10'
CC [M] /home/derknut/appletouch-0.07/appletouch.o
/home/derknut/appletouch-0.07/appletouch.c:433: error: parse error before "pm_message_t"
/home/derknut/appletouch-0.07/appletouch.c:434: warning: function declaration isn't a prototyp
/home/derknut/appletouch-0.07/appletouch.c: In function 'atp_suspend':
/home/derknut/appletouch-0.07/appletouch.c:435: error: 'iface' undeclarde (first use in this function)
/home/derknut/appletouch-0.07/appletouch.c:435: error: (Each undeclared identifier is reported only once
/home/derknut/appletouch-0.07/appletouch.c:435: error: for each function it appers in.)
make[2]: *** [/home/derknut/appletouch-0.07/appletouch.o] Error 1
make[1]: *** [_module_/home/derknut/appletouch-0.07] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.10'
make: *** [default Error 2
Back to top
View user's profile Send private message
fr3sh
n00b
n00b


Joined: 25 Jul 2005
Posts: 55

PostPosted: Fri Aug 26, 2005 8:46 am    Post subject: Reply with quote

Where do i have to copy the compiled modules to? And do I have to build the stuff in /sys/modules/ by my own?

Can anyone help me? Compiling the drivers was successfull!

ciao fr3sh
Back to top
View user's profile Send private message
gandalf
n00b
n00b


Joined: 17 Feb 2003
Posts: 5
Location: Rome - Italy

PostPosted: Fri Aug 26, 2005 12:48 pm    Post subject: Reply with quote

Hi,
I've had the same problem.
I've resolved that emerging the last kernel 2.6.12-r9.
Once you've compiled and installed the new kernel, you'll be able to compile appletouch's module.

bye bye.

Stefano.

derKnut wrote:
hi @ all

i downloaded the driver and tried to compile it on my powerbook g4 (5,6) 15'' 1,5GHz but i always get errors!
on my x86-system its possible to compile, but not on my pbook?!?

what do i wrong?

here is the message:

make -C /lib/modules/2.6.10/build SUBDIRS=/home/derknut/appletouch-0.07 modules
make[1]: Entering directory '/usr/src/linux-2.6.10'
CC [M] /home/derknut/appletouch-0.07/appletouch.o
/home/derknut/appletouch-0.07/appletouch.c:433: error: parse error before "pm_message_t"
/home/derknut/appletouch-0.07/appletouch.c:434: warning: function declaration isn't a prototyp
/home/derknut/appletouch-0.07/appletouch.c: In function 'atp_suspend':
/home/derknut/appletouch-0.07/appletouch.c:435: error: 'iface' undeclarde (first use in this function)
/home/derknut/appletouch-0.07/appletouch.c:435: error: (Each undeclared identifier is reported only once
/home/derknut/appletouch-0.07/appletouch.c:435: error: for each function it appers in.)
make[2]: *** [/home/derknut/appletouch-0.07/appletouch.o] Error 1
make[1]: *** [_module_/home/derknut/appletouch-0.07] Error 2
make[1]: Leaving directory '/usr/src/linux-2.6.10'
make: *** [default Error 2
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