Gentoo Archives: gentoo-ppc-user

From: Todd Heim <heim-gentoo@××××××××.net> (by way of Todd Heim <heim-gentoo@××××××××.net>)
To: gentooppc-user@g.o
Subject: Re: [gentooppc-user] Gentoo-ppc Newbie Questions
Date: Mon, 07 Oct 2002 12:19:04
Message-Id: 200210071319.00063.heim-gentoo@heim.cjb.net
1 [posted to the ml now, since I didnt 'reply to all' the first time]
2
3 On Sunday 06 October 2002 06:16 pm, Marcio Luis Teixeira wrote:
4 ...
5 > echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation
6 > echo "87" > /proc/sys/dev/mac_hid/mouse_button2_keycode
7 > echo "88" > /proc/sys/dev/mac_hid/mouse_button2_keycode
8 >
9 > That wasn't working for me, so I changed the third line to
10 > "mouse_button3_keycode". Seems to work now, so I'm thinking that this may
11 > be a bug in the docs. Is it?
12
13 Your right, the docs are incorrect
14
15 > 2) In the past, to get PCMCIA to work on my PowerBook, I had to change the
16
17 ...
18
19 > I'm wondering if a) this still applies to Gentoo, and if so b) whether this
20 > should be part of the installation guide (at least for PowerBook users).
21
22 I dont use pcmcia, so I dont really know...
23
24 > 3) I had a hell of a time figuring out how to configure my mouse under
25 > XFree86. Would it make sense to add a note about this to the PPC install
26 > instructions? Basically, I had to set the mouse protocol to "PS/2" and the
27 > device to "/dev/input/mice." This is definitely not what I had expected, as
28 > in other distros I had used "BusMouse" and "/dev/mouse". Again, I wonder if
29 > the PPC Install guide should include such info for PowerBook users.
30
31 I've seen this problem mentioned in the forums before too- maybe a note in
32 the docs is needed
33
34 > Miscellaneous Glitches I've Yet To Figure Out
35 > ---------------------------
36 >
37 > 4) Once I do "kdm" to start the window manager, I am able to log in
38 > correctly. But, once I log out, the mouse stops working and freezes. I have
39 > to hit "Alt-E" to restart the X server before logging in again.
40 >
41 > 5) My CD-ROM drive does not work. At startup I get:
42 >
43 > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
44 > hdc: packet command error: error=0x54
45 > ATAPI device hdc:
46 > Error: Illegal request -- (Sense key=0x05)
47 > Invalid field in command packet -- (asc=0x24, ascq=0x00)
48 > The failed "Start/Stop Unit" packet command was:
49 > "1b 00 00 00 03 00 00 00 00 00 00 00 "
50 > cdrom: open failed.
51 >
52 > In other distos, I think I had to use SCSI emulation for this drive, so I
53 > think that may be my problem (still haven't had the time to research how to
54 > do this under Gentoo).
55
56 Im not sure if it's really necessary, but the steps would be:
57 To enable scsi-ide emulation:
58 enable:
59 ATA/IDE/MFM/RLL support ->
60 IDE, ATA and ATAPI Block devices ->
61 SCSI emulation support"
62 recompile, and boot with the kernel option "hdc=scsi" (provided the cdrom is
63 hdc)
64
65 > Grief with Emerge:
66 > --------------------
67 >
68 > 6) I was able to successfully emerge "alsa-driver" and "alsa-lib", but when
69 > I try emerging "alsa-utils" (so I can use "amixer" to set the volume, as
70 > per the desktop configuration guide), I get:
71
72 alsa-utils is apparently not keyworded "PPC"
73 you could:
74 `emerge /usr/portage/media-sound/alsa-utils/alsa-utils-0.9.0_rc3.ebuild`
75 then, if it works, submit a not back to this list so it can get keyworded.
76
77 > emerge: all ebuilds that could satisfy "alsa-utils" have been masked.
78 >
79 > What gives?
80 >
81 > 7) When I try emerging "sketch", the emerge fails. Here's what I get:
82 > >>> emerge media-gfx/sketch-0.6.12-r1 to /
83 >
84 > ... blah, blah ...
85 >
86 > >>> md5 ;-) sketch-0.6.12.tar.gz
87 > >>> Unpacking source...
88 > >>> Unpacking sketch-0.6.12.tar.gz
89 > >>> Source unpacked.
90 >
91 > looking for include dir for Imaging.h under /usr/include/python2.2
92 > Imaging.h not found under /usr/include/python2.2 !
93 >
94 > !!! ERROR: The ebuild did not complete successfully.
95 > !!! Function src_compile, Line 27, Exitcode 1
96 > !!! setup.py configure failed
97 >
98 > I guessed that perhaps "sketch" depended on the python Imaging library, so
99 > I tried "emerge dev-python/Imaging" and I get the dreaded masked message:
100 >
101 > emerge: all ebuilds that could satisfy "dev-python/Imaging" have been
102 > masked.
103
104 Looks like someone leftout a dependency. if "Imaging.h" is provided, you
105 could emerge /usr/portage/dev-python/Imaging/Imaging-1.1.2-r2.ebuild then
106 emerge sketch.
107 If it works, submit a bug report to bugs.gentoo.org about the missing
108 dependency. And, as with alsa-utils, write back to this list so
109 dev-python/Imaging can get keyworded.
110
111 --
112 t.heim