LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Lenny on latest iBook trouble (https://www.linuxquestions.org/questions/debian-26/lenny-on-latest-ibook-trouble-698587/)

UltimateDom 01-20-2009 07:53 AM

Lenny on latest iBook trouble
 
Hi.
After using Kubuntu 6.06 on my 12" G4 iBook (the one with the Radeon 9550) for a while (and working quite well) it was time for an upgrade.
The partial upgrade screwed up big time, and a new install of 8.10 didn't work at all. 8.04 worked somewhat, but not satisfying.

I ended up installing Lenny which works up to certain points:

1. Although I installed pbbuttonsd, I cannot change the brightness of the display, nor do I have the middle and right button on F11/F12 as it was in 6.06. What did I miss?

2. The computer doesn't do any type of sleep now. After some time it shuts of the display, but still sucks much battery. After "waking up" the touchpad is in some "abslute mode", meaning that if I touch it e.g. in the upper left corner, the pointer is positioned in the upper left corner of some virtual rectangle on screen. So I end up not being able to reach most parts of the screen without using an USB mouse.
I suppose those problems are related but don't know how to check and fix it.

3. The sound doesn't seem to work, but that hasn't annoyed me enough so far to take further steps.

4. Haven't tried WLAN yet, but again that doesn't annoy me enough to deal with.

Please help..

Dom

cheftec 01-21-2009 08:03 PM

To enable and configure all the quick buttons (brightness, audio and eject) you need to install the pbbuttonsd package.

You can set your mouse button to emulate to whatever you'd like- I prefer the left and right apple keys- But it's as simple as:

echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation

This enables mouse emulation.

edit /etc/sysctl.conf:
(add these lines)
dev/mac_hid/mouse_button3_keycode = NUMBER (look at keymap to figure out the number)
dev/mac_hid/mouse_button2_keycode = NUMBER (I think 87 is F11, for example)
dev/mac_hid/mouse_button_emulation = 1

To make it happen whenever you boot.

As far as the sound, what happens when you try to play a file?

And, wireless should work almost right out of the box.

Also, I installed Ubuntu 8.10 on my ibook like, 4 days ago and it works well, except for the sleep and suspend functions as well. But I haven't had time to futz around with that yet. I'm sure there's plenty of documentation on the forums already, though. I'll take a look.

UltimateDom 01-22-2009 12:49 AM

thanks for the answer.

just deinstalled and installed pbbuttonsd again, but still doesn't work.:(

haven't had time to try the other things you mentioned; will do that hopefully later today.

any further suggestions?

thanks
dominik

cheftec 01-22-2009 02:18 PM

I had etch on my ibook before putting 8.10 on it. Don't remember having issues with the keys then. Maybe the Lenny version of pbbuttonsd isn't kosher yet. Try changing your sources.list to have just the etch repository (stable), then apt-get update, apt-get install pbbuttonsd, then change your sources.list back to the way it was.

Looking around the sleep/suspend issue might be a kernel issue. What kernel version are you using? You may need to go down to .18.

Also, here's a thread I found about sound:

http://www.linuxquestions.org/questi...dities-623650/

Hope it helps.

UltimateDom 01-23-2009 03:19 AM

still not working..:(
 
hi.
late last night i tried the 2.6.18-6 debian kernel, but sleep still didn't seem to work, but it might be that the "touchpad acts as absolute pointing device problem" is gone.

there also only seems to exist one version of pbbuttonsd, 0.6.9-2 i think (it was late and i don't have access to my notebook right now) which still doesn't work.


which ibook do you have? i bought mine right after the first macbook pros appeared, so it was probably the very latest revision (february 2006 i think). is yours older or younger?

and why did you install ubuntu 8.10 instead of lenny?

thanks

dominik

cheftec 01-23-2009 01:53 PM

ah, mine is an old g3 white shell. And, i installed 8.10, just because. I had tried putting it on a year and a half ago but it wasn't really up to par. I'd heard some good things about it, and so...Overall i'm pleased, though. Come to think of it, i don't actually have a current Debian on any computers now. I have two OLD laptops running Sarge.

You could try manually mapping the function to the fn+f4,5,6 keys for volume first.

Here, try this:
bottom of the page, has you modifying your XFree68 files.

http://www.a110wiki.de/wiki/Keyboard

You could then do the same for brightness... conceptually, at least. Try

$strace kpowersave

and play with the brightness controls, see if it registers a specific daemon or somtehing, then map that ot a key.


All times are GMT -5. The time now is 10:35 PM.