| View previous topic :: View next topic |
| Author |
Message |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Sun Feb 25, 2007 3:48 pm Post subject: pbbuttons and /dev/pmu [SOLVED] |
|
|
I'am sorry to "overpost" these days but I have check all the forum posts and I can't found what is wrong.
When I try to launch pbbuttons deamon (default pbbuttonsd.conf):
| Code: |
linux # /etc/init.d/pbbuttonsd start
* Caching service dependencies ... [ ok ]
* Starting pbbuttonsd ...
ERROR: The object '/dev/pmu' doesn't exist. [ !! ]
|
I have hard-compiled my kernel with the whole apple stuff (pmu etc)
The pbbuttonsd version is 0.7.9.
Any idea, folks ???
Another thing. Is It normal my cdrom is at /dev/hdb ??? (ibook G3 dual usb) ?? _________________ http://stan.openmod.org
Last edited by Frelon on Sun Mar 04, 2007 5:52 am; edited 1 time in total |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
|
| Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Mon Feb 26, 2007 4:04 am Post subject: |
|
|
I recompiled my kernel with that option, but this is the same  _________________ http://stan.openmod.org |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
Posted: Mon Feb 26, 2007 9:22 am Post subject: |
|
|
Can you please give us your kernel config? Did you change RC_DEVICE_TARBALL in rc.conf? Once you have booted, does /dev/pmu exist?
It is normal that your cdrom is in /dev/hdb. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Mon Feb 26, 2007 10:44 pm Post subject: |
|
|
Thanks for replies, really !
1. So, /dev/pmu does not exists.
2.
| Quote: |
Did you change RC_DEVICE_TARBALL in rc.conf? Once you have booted, does /dev/pmu exist? |
In /etc/rc.conf you mean ???
Nope.
| Code: |
stanbook stan # more /etc/rc.conf
# /etc/rc.conf: Global startup script configuration settings
# UNICODE specifies whether you want to have UNICODE support in the console.
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.
UNICODE="yes"
# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.
#EDITOR="/bin/nano"
EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"
# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
#DISPLAYMANAGER="xdm"
# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps
#XSESSION="Gnome"
|
3.
| Quote: | | Did you change RC_DEVICE_TARBALL in rc.conf? Once you have booted, does /dev/pmu exist? |
you can found it here ---> http://pastebin.com/889700 I have used the make pmac32_defconfig
and tuned it a little.
Thanks again. _________________ http://stan.openmod.org |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
Posted: Mon Feb 26, 2007 10:59 pm Post subject: |
|
|
Sorry, I mistyped. It's /etc/conf.d/rc.
Can you also post your dmesg? It would be better to use something more permanent than a pastebin since those disappear after 24 hours. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Mon Feb 26, 2007 11:27 pm Post subject: |
|
|
| Quote: | | Sorry, I mistyped. It's /etc/conf.d/rc. |
No, I did not change anything in that file :
| Code: |
# UDEV OPTION:
# Set to "yes" if you want to save /dev to a tarball on shutdown
# and restore it on startup. This is useful if you have a lot of
# custom device nodes that udev does not handle/know about.
RC_DEVICE_TARBALL="no"
# RC_SWAP_ERASE controls erasing of swap partitions at shutdown.
# Useful for all those paranoid peeps to nuke their memory.
RC_SWAP_ERASE="no"
|
2. | Quote: | | Can you also post your dmesg? |
http://stan.openmod.org/doku.php/gnu:stuffs:dmesg_ibook_25fev2007
3. | Quote: | | It would be better to use something more permanent than a pastebin since those disappear after 24 hours. |
Also with the permanent option ?? I don't want to flood the forum, so I store those files on my host for now. _________________ http://stan.openmod.org |
|
| Back to top |
|
 |
ndansmith n00b

Joined: 01 Aug 2005 Posts: 60
|
Posted: Tue Feb 27, 2007 5:17 pm Post subject: |
|
|
I am having a similar problem. udevd is not started automatically when I boot (I have to start it manually with udevd --daemon) and is therefore not populating /dev based on uevents. I am lacking /dev/pmu as well as some other devices (needed for inputd etc).
The only change I've made is upgrading udev from ~86 to 104.
Edit: more info |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
Posted: Tue Feb 27, 2007 10:38 pm Post subject: |
|
|
Well, that would be a problem. :p Are there any messages about udev on startup? Which baselayout are you using? Which udev exactly? _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
ndansmith n00b

Joined: 01 Aug 2005 Posts: 60
|
Posted: Tue Feb 27, 2007 11:30 pm Post subject: |
|
|
| JoseJX wrote: | | Well, that would be a problem. :p Are there any messages about udev on startup? Which baselayout are you using? Which udev exactly? | With udev-104-r11 there were no messages during startup. I am pretty sure the baselayout version is 1.12.9 (but my wife is using the comp in OS X at the moment).
I emerged udev-103 and it ran successfully at startup and processed events, but there were some errors on some rules. However, I did not notice any negative effects, and udev was able to load firmware and of course /dev/pmu thereby unbreaking pbbuttonsd. So I dunno what is going on. I remember that I also updated glibc against a newer version of the linux headers, but revdep-rebuild didn't notice any breakage. |
|
| Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Sun Mar 04, 2007 5:54 am Post subject: |
|
|
Ok, this is fixed. I have done several things so I'am not sure, but I yhink recompiling the kernel with I2C stuff do the trick. It was as module by default. _________________ http://stan.openmod.org |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2620
|
|
| Back to top |
|
 |
|