1 |
Hi there, |
2 |
|
3 |
I've recently successfully got Gentoo PPC running on my old PowerBook 3400c. |
4 |
It compiled for five days straight (whew!) but eventually I had a working |
5 |
system. It's looking good so far and seems to work better than other |
6 |
precompiled distributions (my system now goes to sleep without crashing, |
7 |
woohoo!) Anyhow, I have a couple questions that came up and a few comments |
8 |
about the documentation. |
9 |
|
10 |
I apologize for posting all this to the mailing list. I'm sure there are more |
11 |
appropriate places for each of these items, but I don't yet know what they |
12 |
are. If anything, I would appreciate it if you could point me in the right |
13 |
direction :) |
14 |
|
15 |
Thanks, |
16 |
|
17 |
Marcio Luis Teixeira |
18 |
|
19 |
|
20 |
|
21 |
Documentation Comments: |
22 |
----------------------------- |
23 |
|
24 |
1) The docs for the PPC Install say that to enable mouse button emulation you |
25 |
must enter into /etc/conf.d/local.start the following lines: |
26 |
|
27 |
echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation |
28 |
echo "87" > /proc/sys/dev/mac_hid/mouse_button2_keycode |
29 |
echo "88" > /proc/sys/dev/mac_hid/mouse_button2_keycode |
30 |
|
31 |
That wasn't working for me, so I changed the third line to |
32 |
"mouse_button3_keycode". Seems to work now, so I'm thinking that this may be |
33 |
a bug in the docs. Is it? |
34 |
|
35 |
2) In the past, to get PCMCIA to work on my PowerBook, I had to change the |
36 |
default settings in /etc/pcmcia/config.opts as such: |
37 |
|
38 |
# Settings for the PowerBook: |
39 |
include port 0x100-0x4ff, port 0x1000-0x17ff |
40 |
include memory 0x80000000-0x80ffffff |
41 |
|
42 |
This is directly from the PCMCIA How-To: |
43 |
|
44 |
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-2.html#ss2.5 |
45 |
|
46 |
I'm wondering if a) this still applies to Gentoo, and if so b) whether this |
47 |
should be part of the installation guide (at least for PowerBook users). |
48 |
|
49 |
3) I had a hell of a time figuring out how to configure my mouse under |
50 |
XFree86. Would it make sense to add a note about this to the PPC install |
51 |
instructions? Basically, I had to set the mouse protocol to "PS/2" and the |
52 |
device to "/dev/input/mice." This is definitely not what I had expected, as |
53 |
in other distros I had used "BusMouse" and "/dev/mouse". Again, I wonder if |
54 |
the PPC Install guide should include such info for PowerBook users. |
55 |
|
56 |
Miscellaneous Glitches I've Yet To Figure Out |
57 |
--------------------------- |
58 |
|
59 |
4) Once I do "kdm" to start the window manager, I am able to log in correctly. |
60 |
But, once I log out, the mouse stops working and freezes. I have to hit |
61 |
"Alt-E" to restart the X server before logging in again. |
62 |
|
63 |
5) My CD-ROM drive does not work. At startup I get: |
64 |
|
65 |
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } |
66 |
hdc: packet command error: error=0x54 |
67 |
ATAPI device hdc: |
68 |
Error: Illegal request -- (Sense key=0x05) |
69 |
Invalid field in command packet -- (asc=0x24, ascq=0x00) |
70 |
The failed "Start/Stop Unit" packet command was: |
71 |
"1b 00 00 00 03 00 00 00 00 00 00 00 " |
72 |
cdrom: open failed. |
73 |
|
74 |
In other distos, I think I had to use SCSI emulation for this drive, so I |
75 |
think that may be my problem (still haven't had the time to research how to |
76 |
do this under Gentoo). |
77 |
|
78 |
Grief with Emerge: |
79 |
-------------------- |
80 |
|
81 |
6) I was able to successfully emerge "alsa-driver" and "alsa-lib", but when I |
82 |
try emerging "alsa-utils" (so I can use "amixer" to set the volume, as per |
83 |
the desktop configuration guide), I get: |
84 |
|
85 |
emerge: all ebuilds that could satisfy "alsa-utils" have been masked. |
86 |
|
87 |
What gives? |
88 |
|
89 |
7) When I try emerging "sketch", the emerge fails. Here's what I get: |
90 |
|
91 |
>>> emerge media-gfx/sketch-0.6.12-r1 to / |
92 |
... blah, blah ... |
93 |
>>> md5 ;-) sketch-0.6.12.tar.gz |
94 |
>>> Unpacking source... |
95 |
>>> Unpacking sketch-0.6.12.tar.gz |
96 |
>>> Source unpacked. |
97 |
looking for include dir for Imaging.h under /usr/include/python2.2 |
98 |
Imaging.h not found under /usr/include/python2.2 ! |
99 |
|
100 |
!!! ERROR: The ebuild did not complete successfully. |
101 |
!!! Function src_compile, Line 27, Exitcode 1 |
102 |
!!! setup.py configure failed |
103 |
|
104 |
I guessed that perhaps "sketch" depended on the python Imaging library, so I |
105 |
tried "emerge dev-python/Imaging" and I get the dreaded masked message: |
106 |
|
107 |
emerge: all ebuilds that could satisfy "dev-python/Imaging" have been |
108 |
masked. |