Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Various issues on my TiBook
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Thu Jun 10, 2004 6:22 pm    Post subject: Various issues on my TiBook Reply with quote

hello,

now i managed to install the kernel 2.6.5 and gnome (which has heaps of issues with its applets). so icewm does it until gnome startes being useable. or back to KDE? anyway, that's not why i am posting.

i used to run YDL and the benh patched 2.4.xx kernels. they had this nifty feature of connecting the harddrive to the little white led (the one pulsing when you put the powerbook to sleep) and so i always knew when the harddisk was working. i can't find it in the 2.6.5 kernel??

i installed gnome, then pbbuttonsd and wireless-tools. now gnome won't even start anymore; it just hangs at the splash screen. what did i do???

talking about wireless: iwconfig, i actually need to call it passing the channel, key, network name etc as parameters, right? then i'm good to go?

is the latest kde stable?

my sound doesn't work. it complained that the mixer can't be found (but i think i read something in the faqs about that).

xemacs-21.4.15 doesn't even get past the patching, i posted a bug report. did any of you get xemacs (including mule packages) up and running?

in general, gentoo is most excellent... if it would work out of the box ;-) i'm not a good tweaker! ah, and before i forget and FYI: micq-0.4.11 works, just add ~ppc to the ebuild file.

thanks guys,
jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Jun 11, 2004 3:33 am    Post subject: Reply with quote

To solve your Gnome applet problems, type:

perl -MCPAN -e shell 'install XML::Parser'

into a terminal. You may have to recompile gnome-applets, but I doubt it.

PS this took me months to figure out. Why this isn't documented is beyond me.

edit: and if you haven't upgraded to the latest 2.6.1 gnome packages (from 2.6.0), DON'T. I repeat: DO NOT. I have an extremely crash-prone Gnome now. Every time I attempt to change a gnome (terminal, theme, etc) preference, that app crashes.

AFA the HD blinking light, you are not looking hard enough in the kernel source. It is under ATA devices (or whatever it's called; the section w/ harddrive/cdrom configs).

If you are having this much trouble, may I suggest using my .config:
http://stimuli.ca/linux/files/.config-2.6
rename to .config and put in /usr/src/linux/
I have the blinky light thing turned off, BTW. Airport and ethernet are modules, you must load the one you want before networking.

I have 'airport' in my /etc/modules.autoload file to autoload airport module(s). That saves me from typing: modprobe airport
every boot.

AFA sound, what sound would you like to use? ALSA? OSS? Esound? All of the above?
Have you loaded to correct modules (if you built sound crap as modules)?

AFA wireless, the sanest way to do wireless is to set up your wireless basestation to do DHCP, and then set it's security to ONLY allow your computer's MAC address (basically a ROM in your airport card) to connect to the basestation, thus making it very secure from intrusion. Then, just change /etc/conf.d/net to use eth0 (assuming you have not built in support for ethernet, just wireless, otherwise use eth1) and to connect using DHCP. Comment out _all_ other lines except the two that pertain to those two settings.
Then, I added /etc/init.d/net.eth0 to my default runlevel:
rc-update add net.eth0 default
and now every time I boot I have wireless, easy, no iwconfig nonsense. It is secure too: No one can connect except those whose MAC address has been added to the wireless router's table of friendly MAC addresses. All others are denied. I have encryption turned off as well, to speed networking up a bit.

BTW, you will be a good tweaker, after using gentoo for a bit. May I suggest:
emerge prelink && prelink -a
The prelinks your binarys to their respective libraries, speeding up initial launch time.
Back to top
View user's profile Send private message
slick0
n00b
n00b


Joined: 21 Oct 2003
Posts: 22

PostPosted: Fri Jun 11, 2004 4:46 am    Post subject: Reply with quote

Quote:
It is secure too: No one can connect except those whose MAC address has been added to the wireless router's table of friendly MAC addresses. All others are denied.


Assuming eth1 is the wireless interface:

ifconfig eth1 hw ether 00:11:22:33:44:55

changes the wireless device's MAC address to 00:11:22:33:44:55, although it can be any MAC you want it to be. Someone who wants on to your LAN can sniff your MAC, and change his to be the same. Spoofing a MAC address is as simple as that. Therefore, if security is a concern to you, I would recomend WEP encryption as well.
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Jun 11, 2004 7:52 am    Post subject: Reply with quote

Thanks for the tip!
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Fri Jun 11, 2004 4:47 pm    Post subject: Reply with quote

Regarding the LED... it's in the kernel config under

Device Drivers
-> ATA/ATAPI/MFM/RLL support (scroll way down here!)
[*] Blink laptop LED on drive activity

Jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Fri Jun 11, 2004 5:43 pm    Post subject: Reply with quote

You may want to look into XFCE-4 if gnome is not your "cup of tea", welcome to Gentoo-PPC :)
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Fri Jun 11, 2004 6:19 pm    Post subject: Reply with quote

the perl seems to have fixed the applet problem; but still the Terminal crashes when i want to change it's profile...

sound still doesn't work although i followed the how-to. *sigh* there isn't even a /dev/mixer

hopefully the xemacs will be fixed soon :-) i can't live without it!
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Jun 11, 2004 10:19 pm    Post subject: Reply with quote

Do an 'lsmod' and copy the results into this thread.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Fri Jun 11, 2004 10:32 pm    Post subject: Reply with quote

i2c_dev 9984 14
snd_powermac 38416 0
snd_pcm 101304 1 snd_powermac
snd_page_alloc 9828 1 snd_pcm
snd_timer 23236 1 snd_pcm
snd 53304 3 snd_powermac, snd_pcm, snd_timer
soundcore 8420 1 snd
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Sat Jun 12, 2004 4:18 am    Post subject: Reply with quote

And again, what sound are you trying to use? ALSA? OSS? Assuming alsa, what happens when you:

modules-update
/etc/init.d/alsasound restart

?
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Sat Jun 12, 2004 5:17 am    Post subject: Reply with quote

stimuli wrote:
And again, what sound are you trying to use? ALSA? OSS? Assuming alsa, what happens when you:

modules-update
/etc/init.d/alsasound restart

?


ok now you ask a little too much. what's the difference? i usually don't work that high up in the OS ;-) which of the two _should_ i use? whatever is better/easier is good with me...
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Sun Jun 13, 2004 6:02 am    Post subject: Reply with quote

OSS is old-school and super-easy to set up (simply compile it into your kernel). You can also use Esound with OSS for buffered playback of music and multiple sound sources (ooh... so hi-tek!)

ALSA is more modern, more of a pain to set up, and more flaky.

Go with OSS. Rid your kernel of any ALSA options, compile OSS in, and reboot. Your sound will now work flawlessly.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Jun 14, 2004 2:24 pm    Post subject: Reply with quote

stimuli wrote:
OSS is old-school and super-easy to set up (simply compile it into your kernel). You can also use Esound with OSS for buffered playback of music and multiple sound sources (ooh... so hi-tek!)

ALSA is more modern, more of a pain to set up, and more flaky.

Go with OSS. Rid your kernel of any ALSA options, compile OSS in, and reboot. Your sound will now work flawlessly.


thanks. i switched off ALSA, and on OSS. then this long list of modules and drivers appears, and i have no idea which one to enable for my TiBook. sorry ;-)
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Jun 14, 2004 2:34 pm    Post subject: Reply with quote

..and another problem: gv. i installed ghostscript and gv but when i try to open a .ps document under gnome, it simply pops up a window telling me "Error: PostScript interpreter failed in main window." and nothing else. same happens with ggv. i googled and there are several similar postings but i couldn't find an answer... gentoo starts being annoying when nothing works :x
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Mon Jun 14, 2004 11:40 pm    Post subject: Reply with quote

Sound not working, no offense, is due to user error in setting it up. I've had ALSA working fine for some time on the same hardware as you (TiBook 867mhz), and I had OSS working for years prior to that.

build in these:

OSS:
Device Drivers -> Sound ->
Sound Card Support
Powermac DMA Sound Support

OSS ->
Open Sound System

That _should_ do it. I'm not running OSS so I can't verify. Fire up XMMS, make sure OSS is selected in XMMS' preferences. Music should play. If it does, change your USE flags in /etc/make.conf to include "esd" and then emerge xmms again; it should build esound and xmms w/ esound support. Change xmms' preferences once more to use Esound output instead of OSS, sound should again play, it will be buffered better (less likely to skip) and multiple esd sound sources can play at once, instead of only one playing at a time, which is all that is possible with just OSS.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Jun 15, 2004 4:30 am    Post subject: Reply with quote

stimuli wrote:
Sound not working, no offense, is due to user error in setting it up. I've had ALSA working fine for some time on the same hardware as you (TiBook 867mhz), and I had OSS working for years prior to that.

build in these:

OSS:
Device Drivers -> Sound ->
Sound Card Support
Powermac DMA Sound Support

OSS ->
Open Sound System


none taken :wink: i have it all selected like that and it's not working. that's why i was posting again. when i <M> Open Sound System then this list of drivers pops up. i haven't selected any there, cause i simply don't know which one. xmms keeps telling me that the sound is not configured properly.

i don't want to bother you too much, though. is there a detailed oss/alsa howto for the TiBook? you know of any?

thanks heaps
jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Jun 15, 2004 4:50 pm    Post subject: Reply with quote

bummer. i just learned that i have "alsa" in my USE variable, so i pretty much compiled all my apps with alsa support. thus i better get it up and running then, instead of oss. the how-to covers that a bit, i hope i can manage. if not, i will post again.........

thanks heaps though!
jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Tue Jun 15, 2004 8:33 pm    Post subject: Reply with quote

Just follow the How To in excruciating detail, and don't forget to issue the command: modules-update after every kernel compile, and you'll get ALSA working in no time! That's all I did, and it works here, so it's definitely not an issue of hardware support.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Jun 15, 2004 8:49 pm    Post subject: Reply with quote

stimuli wrote:
Just follow the How To in excruciating detail, and don't forget to issue the command: modules-update after every kernel compile, and you'll get ALSA working in no time! That's all I did, and it works here, so it's definitely not an issue of hardware support.


we are talking this thread's HOW-TO? this one here: https://forums.gentoo.org/viewtopic.php?t=162622 right?
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Wed Jun 16, 2004 3:19 am    Post subject: Reply with quote

stimuli wrote:
Just follow the How To in excruciating detail, and don't forget to issue the command: modules-update after every kernel compile, and you'll get ALSA working in no time! That's all I did, and it works here, so it's definitely not an issue of hardware support.


in the how-to it says "You just have to activate the right modules. With a 2.6 kernel, you
have better use the ALSA output. This is done by compiling the alsa
modules and the snd_powermac module. If you want to use OSS, compile
dmasound_pmac instead of snd_powermac, it works too. In both cases,
you will also need the i2c-dev module. "

ok... alsa modules and snd_powermac module... does make menuconfig tell me what the name of the module will be eventually? i just don't know where to select when somebody tells me to switch on modula Bla...
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Jun 18, 2004 9:01 am    Post subject: Reply with quote

No no no no no! The Gentoo Alsa configuration guide! Follow it to the T, post any questions here.

http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Sat Jun 19, 2004 4:34 pm    Post subject: Reply with quote

stimuli wrote:
No no no no no! The Gentoo Alsa configuration guide! Follow it to the T, post any questions here.

http://www.gentoo.org/doc/en/alsa-guide.xml


ok, next time you tell somebody to follow it to the T, mention that it's not meant literally! :D i almost installed the via82xx sound card drivers, because it said so! hehe... well, i got sound working for xmms, tweaked the buffe/timerr settings and it's all most excellent! one thing though: mplayer. it sounds really weird, skipping and scratching and utterly out of sync. it dumps this:

Code:

  Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
  Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
  ==========================================================================
  Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
  AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian signed int
  AF_pre: 48000Hz 2ch Signed 16-bit (Big-Endian)
  audio_setup: Can't open audio device /dev/sound/dsp: No such file or directory
  alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Big-Endian)
  alsa-init: 1 soundcard found, using: hw:0,0
  alsa1x: 48000 Hz/2 channels/2 bpf/16384 bytes buffer/Signed 16 bit Big Endian
  AO: [alsa1x] 48000Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
  Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
  Starting playback...


what are the correct settings then?

i do have one more question, however. can i set the wireless key in some config file? at the moment i set my wireless card whenever i boot using

Code:
iwconfig key the-key-goes-here


and then bring up net.eth1 manually. which is kindof lame....

jens :)
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Mon Jun 21, 2004 6:35 am    Post subject: Reply with quote

my advice on the latter is to add a script to /etc/local.start (or whatever it's called) so that it is automatically done every reboot.

AFA Mplayer, like is said, alsa is sketchy. Congratulations on getting alsa working on your TiBook! I recommend the esound plugin for XMMS, as I find the alsa plugin has... issues... but YMMV.
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Mon Jun 21, 2004 4:41 pm    Post subject: Reply with quote

i'm in exactly the same boat here - xmms sends out sound (though only headphone out - no speakers - and even then very quiet) and mplayer skips around.
i've been trying various things to remedy this situation as i'm used to alsa/jack on my x86 planet-ccrma machine - i use linux mostly for music! so after setting up this new 1.5ghz powerbook as dual boot os X and gentoo i was hoping to get it to work properly.

i have been recompiling kernels and resetting settings in alsa, etc. but no luck.

i realize this post is no help, but perhaps real help may come of it.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Mon Jun 21, 2004 5:28 pm    Post subject: Reply with quote

jsegel wrote:
i'm in exactly the same boat here - xmms sends out sound (though only headphone out - no speakers - and even then very quiet) and mplayer skips around.


try
Code:
mplayer -ao oss
which worked gerat for me! as for the volume, have you tried gtkpbuttons to turn your powerbook's volume up? maybe you're running on muted sound. i left my powerbook at home, but i will email you my .config file for 2.6.7 this evening (please remind me if i don't :wink: ). however, if you follow aboves How-To (almost) to the T, you shouldn't have problems...

good luck,
jens
_________________
Jens Troeger
http://savage.light-speed.de/
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
Goto page 1, 2  Next
Page 1 of 2

 
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