Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pbbuttonsd fails to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Incomplet
n00b
n00b


Joined: 12 Apr 2012
Posts: 43

PostPosted: Thu May 10, 2012 2:20 am    Post subject: pbbuttonsd fails to start Reply with quote

As the title says, it gives me the error:"/dev/adb does not exist."

Unfortunately the standard xfce power management is never able to turn off the backlight to my screen for some reason. Instead it just sits there flashing between all red, all green, all blue, white (which lasts longer) gray, and black.

I've got everything I could think of turned on in my kernel settings, too. Including MacHardware->lcd support, radeonfb backlight control and generic lcd backlight control :\.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu May 10, 2012 12:56 pm    Post subject: Reply with quote

What kind of Mac are you using? In any case, to use pbbuttonsd, you'll need to make sure these are enabled:
CONFIG_ADB=y
CONFIG_ADB_PMU=y

And for most power management stuff that isn't designed for PPC, you'll also want to enable:
CONFIG_PMAC_APM_EMU=y
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Incomplet
n00b
n00b


Joined: 12 Apr 2012
Posts: 43

PostPosted: Thu May 10, 2012 5:44 pm    Post subject: Reply with quote

Well, I had everything except CONFIG_ADB, and after reading the description for it some countably infinite times I decided I didn't need it. I thought it was handled via I2C, but apparently linux does some really weird (and undocumented) stuff with it. I never figured /dev/adb would really mean /dev/adb lol.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue May 15, 2012 2:43 pm    Post subject: Reply with quote

I'm not sure what you mean by undocumented stuff, but ADB isn't the same as the I2C protocol. Although ADB devices vanished with the iMac, it was still used internally until the switch to Intel.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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
Page 1 of 1

 
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