Gentoo Archives: gentoo-ppc-user

From: phriedrich <phriedrich@×××.de>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] TiBook
Date: Tue, 12 Jul 2005 18:07:12
Message-Id: 20050712200549.619631a9@amelia
1 Hi Folks,
2
3 I'm new to Gentoo and new to the PPC-plattform (at least with linux on
4 it) so please forgive me if I may ask some too stupid questions for this
5 list. But I've used other derivates of Linux for some years on x86.
6
7 Though the first two questions I have are not trivial:
8
9 I installed Gentoo on my Titanium Powerbook 1000 and with some help from
10 #gentoo-ppc i get everything working except two things
11
12 #1: With emerged kernel-sources 2.6.12-r3 I can't get the pb to
13 sleep,with 2.6.10-r6 it falls to sleep if I close the display. (Both w/
14 and w/o AC.)
15 I don't find the differences in my kernel-config that could cause this, I
16 reemerged pmud, even tried pmud from CVS (in separate folder, to can
17 safely clean it away).
18 Either pmud can't be started and tells:
19 ----------------------------
20 Jul 12 19:45:30 amelia pmud[6102]: pmud [treshold = 420, margin
21 = 15] started
22 Jul 12 19:45:30 amelia pmud[6102]: fcntl(F_SETFL)
23 Jul 12 19:45:30 amelia pmud[6102]: daemon stopped (fcntl(F_SETFL))
24 ----------------------------
25 Or when I get started everytime I close the display the
26 syslog shows the following message:
27 ----------------------------
28 Jul 12 19:47:26 amelia pbbuttonsd: INFO: Script
29 '/etc/power/pmcs-pbbuttonsd cover-close ac close' launched and exited
30 normally
31 Jul 12 19:47:26 amelia pmud[6136]: running /etc/power/pwrctl
32 lid-closed ac
33 Jul 12 19:47:26 amelia pwrctl:
34 calling /etc/power/pwrctl-local lid-closed ac Jul
35 12 19:47:26 amelia pwrctl-local: lid-closed ac Jul
36 12 19:47:26 amelia pwrctl: continuing with main
37 Jul 12 19:47:26 amelia pmud[6136]: lid closed: request sleep
38 Jul 12 19:47:26 amelia pmud[6136]: running /etc/power/pwrctl sleep ac Jul
39 12 19:47:26 amelia pwrctl: calling /etc/power/pwrctl-local sleep ac Jul
40 12 19:47:26 amelia pmud[6136]: going to sleep
41 Jul 12 19:47:26 amelia
42 pmud[6136]: cannot put system to sleep! (Function not implemented)
43 Jul 12 19:47:26 amelia Sleep mode not supported on this machine
44 Jul 12 19:47:26 amelia pwrctl-local: sleep ac
45 Jul 12 19:47:26 amelia pwrctl: continuing with main
46 Jul 12 19:47:26 amelia pmud[6136]: running /etc/power/pwrctl wakeup ac
47 and so on...until i open the display again
48 ------------------------------
49 Has anybody else seen this? Or is it a specific to me? Maybe there's
50 still a missconfiguration in the kernel, I'll append my config to this
51 mail.
52
53
54 #2: The other thing is, that EDID doesn't seem to work on this machine, I
55 got Xorg working by setting all the values for resolution and so
56 on directly in the xorg.conf, X works fine now, but I still can't use
57 radeonfb, because booting with radeonfb results in a very, very ugly
58 colorfull screen, but with many good will I can see something that looks
59 a bit like a shell :-/
60 So I have to start with open firmware framebuffer (video=ofonly), that
61 works partly, shows the login shell correct, let me run startx, but after
62 exiting X the screen is nearly completely black, with a small a bit
63 lighter stripe in the under part of the screen.
64 Backlight dimming also doesn't work because of that, 3d-performance is
65 quite bad...
66 I tried to start with "video=radeonfb:1280x854@16" and some similar ones
67 but either i did this wrong or it just didn't work for me.
68 The only way I see now is to hardcode the needed settings into radeonfb.c
69 from kernel and compile the settings in, that should work, but I don't
70 know the exact values and I'm not sure where best to set it, but that is
71 the smaller problem, the missing values are the bigger one.
72
73
74 I hope this is the right place to ask this sort of questions and someone
75 could give me a hint,
76
77 best regards,
78
79 Friedrich

Attachments

File name MIME type
config-2.6.12-gentoo-r3 application/octet-stream