Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

Powerbook G4 1.67GHz - POST-February 2005 Insomnia

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
carpathian_wolf
n00b
n00b
Posts: 6
Joined: Thu Apr 28, 2005 11:51 am

Powerbook G4 1.67GHz - POST-February 2005 Insomnia

  • Quote

Post by carpathian_wolf » Sat Jun 04, 2005 2:14 am

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 ;-)
Top
silian87
Advocate
Advocate
User avatar
Posts: 2318
Joined: Mon Oct 06, 2003 7:12 pm
Location: Treviso, Italy
Contact:
Contact silian87
Website

  • Quote

Post by silian87 » Sat Jun 04, 2005 10:39 am

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 ... 87-faq.txt

GTalk: silian87@gmail.com
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Sat Jun 04, 2005 2:29 pm

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
Top
carpathian_wolf
n00b
n00b
Posts: 6
Joined: Thu Apr 28, 2005 11:51 am

Graphics Card

  • Quote

Post by carpathian_wolf » Sat Jun 04, 2005 3:06 pm

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.
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Sat Jun 04, 2005 3:10 pm

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
Top
carpathian_wolf
n00b
n00b
Posts: 6
Joined: Thu Apr 28, 2005 11:51 am

New kernel cures sleep problem

  • Quote

Post by carpathian_wolf » Sat Jun 04, 2005 10:00 pm

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
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Mon Jun 06, 2005 11:07 am

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
Top
carpathian_wolf
n00b
n00b
Posts: 6
Joined: Thu Apr 28, 2005 11:51 am

Trackpad Drivers

  • Quote

Post by carpathian_wolf » Mon Jun 06, 2005 4:44 pm

Hi Donpasquale,

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

http://johannes.sipsolutions.net/PowerB ... pad/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!
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Mon Jun 06, 2005 7:02 pm

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
Top
mattdenner
n00b
n00b
Posts: 16
Joined: Tue Feb 01, 2005 12:16 pm

Re: Trackpad Drivers

  • Quote

Post by mattdenner » Mon Jul 04, 2005 5:34 pm

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

http://johannes.sipsolutions.net/PowerB ... pad/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
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Mon Jul 04, 2005 7:48 pm

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
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Thu Jul 07, 2005 11:27 am

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
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Jul 07, 2005 12:19 pm

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.
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Thu Jul 07, 2005 12:33 pm

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
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Jul 07, 2005 12:38 pm

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.
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Thu Jul 07, 2005 12:44 pm

it does the emulation but it doesnt handle all hardware events by now. it doesnt for example handle the hardware disconnect and reconnect
Top
puggy
Bodhisattva
Bodhisattva
User avatar
Posts: 1991
Joined: Fri Feb 28, 2003 2:49 am
Location: Oxford, UK
Contact:
Contact puggy
Website

  • Quote

Post by puggy » Thu Jul 07, 2005 12:49 pm

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.
Top
Donpasquale
Apprentice
Apprentice
User avatar
Posts: 150
Joined: Fri Jan 03, 2003 1:34 pm
Location: Munich

  • Quote

Post by Donpasquale » Thu Jul 07, 2005 12:54 pm

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

Greetings,

Passi
Top
scoobydu
Veteran
Veteran
User avatar
Posts: 1076
Joined: Sun Feb 16, 2003 2:24 pm
Location: 'Mind the Gap'
Contact:
Contact scoobydu
Website

  • Quote

Post by scoobydu » Tue Jul 19, 2005 1:48 pm

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|
Top
derKnut
n00b
n00b
Posts: 3
Joined: Mon Aug 01, 2005 12:27 pm

  • Quote

Post by derKnut » Wed Aug 03, 2005 12:26 pm

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
Top
fr3sh
n00b
n00b
Posts: 55
Joined: Mon Jul 25, 2005 1:08 pm

  • Quote

Post by fr3sh » Fri Aug 26, 2005 8:46 am

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
Top
gandalf
n00b
n00b
Posts: 5
Joined: Mon Feb 17, 2003 8:37 am
Location: Rome - Italy

  • Quote

Post by gandalf » Fri Aug 26, 2005 12:48 pm

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
Top
Post Reply

22 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic