Bug 115147

Summary: powersaved and pbbuttond not enabled by default in installation for powerbook pismo
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Leah Cunningham <leah>
Component: Mobile DevicesAssignee: Takashi Iwai <tiwai>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None CC: behlert, tiwai, trenn
Version: Beta 3   
Target Milestone: ---   
Hardware: PowerPC   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Leah Cunningham 2005-09-03 16:21:16 UTC
After a default installation with GNOME to a pismo powerbook, neither the
powersaved nor the pbbuttond were enabled by default, which is probably not the
best idea.  Let me know if you need any info, logs, etc.
Comment 1 Olaf Hering 2005-09-05 12:01:39 UTC
that seems to work on my ibook, but I think that happend on my pismo as well.
Have to install again to reproduce it.
Comment 2 Olaf Hering 2005-09-05 12:20:34 UTC
insserv worked ok, but the daemon did not run for some reason.
Comment 3 Olaf Hering 2005-09-05 12:22:23 UTC
pbbuttonds is stupid as it has a hard requirement for running sound and cdrom.
it must not fail if one of them is not avaiable. can you check /var/log/boot.* ?
Comment 4 Olaf Hering 2005-09-05 12:25:52 UTC
it wants /dev/mixer, thats not correct.
Comment 5 Andreas Schwab 2005-09-05 12:34:42 UTC
WORKSFORME. If you have sound the you have /dev/mixer. 
Comment 6 Olaf Hering 2005-09-05 12:36:49 UTC
no you dont, sound can be loaded at any time. in this case, it appears after the
daemon started. either poll for it or make it non-fatal.
wether it works for you is irrelevant.
Comment 7 Andreas Schwab 2005-09-05 12:39:30 UTC
pbbuttonsd is started after alsasound. 
Comment 8 Olaf Hering 2005-09-05 12:40:41 UTC
oddly enough, kde doesnt recognize it either on first boot.

when does kde look for sound?
Comment 9 Takashi Iwai 2005-09-05 12:50:06 UTC
early_kdm?  But the original report is about GNOME...
Comment 10 Olaf Hering 2005-09-05 13:01:24 UTC
I'm trying dev in tmpfs now, here is a beta3 installed for some reason.

but the point still stands.

pbbuttonsd must start even if /dev/mixer and /dev/cdrom is not present

kde has appearently no way to rescan for sound.
Comment 11 Olaf Hering 2005-09-05 13:06:32 UTC
dev in tmpfs helps at least.

/dev/mixer was present before, just no driver listening when kde and pbbuttonds
looked.
Comment 12 Leah Cunningham 2005-09-06 23:09:53 UTC
This appears to be somewhat better in beta4, probably because the sound is
initializing correctly after an installation.
Comment 13 Takashi Iwai 2005-09-23 08:58:57 UTC
Does this happen still on rc4?  Otherwise I'd like to close...
Comment 14 Olaf Hering 2005-09-23 09:00:44 UTC
yes, it happens to work by luck. pbbuttonsd is likely still broken.
Comment 15 Takashi Iwai 2005-09-23 09:11:35 UTC
Do you have LOAD_OSS_EMUL_MODULES=yes in /etc/sysconfig/sound?
Comment 16 Takashi Iwai 2005-09-23 09:27:41 UTC
Also, login on runlevel 3, and check whether /dev/mixer exists.
Comment 17 Olaf Hering 2005-09-30 15:20:21 UTC
even if it were missing, it would be still a pbbuttonsd bug to rely on sound.
Comment 18 Takashi Iwai 2007-02-23 15:38:53 UTC
/dev is tmpfs in the later versions, so should work.