* alsa on gentoo ppc 2.6.0-test11-benh1
@ 2003-12-12 7:36 Zeno R.R. Davatz
2003-12-15 7:42 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 8+ messages in thread
From: Zeno R.R. Davatz @ 2003-12-12 7:36 UTC (permalink / raw)
To: linux-kernel
Hi List
I got two questions:
1.
I am running alsa on gentoo ppc 2.6.0-test11-benh1.
I done my kernel with make menuconfig, make, make modules_install
lsmod gives me:
snd_seq_oss 41720 0
snd_seq_midi_event 8992 1 snd_seq_oss
snd_seq 64024 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 9924 2 snd_seq_oss,snd_seq
snd_pcm_oss 69188 0
snd_pcm 123700 1 snd_pcm_oss
snd_page_alloc 14052 1 snd_pcm
snd_timer 28608 2 snd_seq,snd_pcm
snd_mixer_oss 22464 1 snd_pcm_oss
snd 66340 8 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
dmasound_pmac 89752 1
dmasound_core 22188 2 dmasound_pmac
i2c_core 29540 1 dmasound_pmac
soundcore 11200 3 snd,dmasound_core
When I do amixer I get:
amixer: Mixer attach default error: No such device
I done my kernel with make menuconfig, make, make modules_install
I have been searching the Net for clues but did not find anything so far, to get my sound working.
alsasound restart gives me:
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading modules [ ok ] * Loading ALSA drivers...
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-seq-oss
* Loading: snd-powermac
FATAL: Error inserting snd_powermac (/lib/modules/2.6.0-test11-benh1/kernel/sound/ppc/snd-powermac.ko): No such device
* Loading: snd-seq-oss
FATAL: Module snd_seq_oss already in kernel.
* Running card-dependent scripts
* Restoring Mixer Levels
2. Why does my computer go to sleep when I press 'CapsLook'. Can I turn that off or is this still a 2.6.0 Bug?
Thanks for any help and hints.
Zeno
--
Mit freundlichen Grüssen / best regards
Zeno Davatz
Verkauf & Akquisition
+41 1 350 85 86
www.ywesee.com > intellectual capital connected > www.oddb.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-12 7:36 alsa on gentoo ppc 2.6.0-test11-benh1 Zeno R.R. Davatz
@ 2003-12-15 7:42 ` Benjamin Herrenschmidt
2003-12-15 8:04 ` Zeno R.R. Davatz
2003-12-15 9:13 ` Zeno R.R. Davatz
0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2003-12-15 7:42 UTC (permalink / raw)
To: Zeno R.R. Davatz; +Cc: Linux Kernel list
> soundcore 11200 3 snd,dmasound_core
>
> When I do amixer I get:
> amixer: Mixer attach default error: No such device
>
> I done my kernel with make menuconfig, make, make modules_install
>
> I have been searching the Net for clues but did not find anything so far, to get my sound working.
It seems you are trying to load both dmasound_pmac and alsa
snd-powermac, they are mutually exclusive.
> 2. Why does my computer go to sleep when I press 'CapsLook'. Can I turn
> that off or is this still a 2.6.0 Bug?
That's a strange thing that appeared with one snapshot of test11
and disappeared with the next one afaik. I don't have a good explanation. It
definitely doesn't happen on my laptops, and the logs I got from users seemed
to indicate that the PMU chip (which controls the keyboard on those laptops)
was actually the one sending a spurrious 0x7f event (power key). It may be
something we do that triggers that though I haven't been able to find out
what.
If it happens reproduceably, you may want to disable whatever userland
daemon you have that triggers sleep when you press the power key. (I
suppose pbbuttonsd).
Ben.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 7:42 ` Benjamin Herrenschmidt
@ 2003-12-15 8:04 ` Zeno R.R. Davatz
2003-12-15 8:05 ` Benjamin Herrenschmidt
2003-12-15 9:13 ` Zeno R.R. Davatz
1 sibling, 1 reply; 8+ messages in thread
From: Zeno R.R. Davatz @ 2003-12-15 8:04 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux Kernel list
On Mon, 15 Dec 2003 18:42:12 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> It seems you are trying to load both dmasound_pmac and alsa
> snd-powermac, they are mutually exclusive.
my modules.autoload.d/kernel-2.6 looks like this:
# For example:
# 3c59x
#soundcore
#dmasound_pmac
hcfusbserial
hcfusbengine
hcfusbosspec
serial
snd
snd-powermac
But sudo /etc/init.d/alsasound restart still gives me:
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading modules [ ok ] * Loading ALSA drivers...
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-seq-oss
* Loading: snd-powermac
FATAL: Error inserting snd_powermac (/lib/modules/2.6.0-test11-benh1/kernel/sound/ppc/snd-powermac.ko): No such device
* Loading: snd-seq-oss
FATAL: Module snd_seq_oss already in kernel.
* Running card-dependent scripts
* Restoring Mixer Levels
TIA
Zeno
--
Mit freundlichen Grüssen / best regards
Zeno Davatz
Verkauf & Akquisition
+41 1 350 85 86
www.ywesee.com > intellectual capital connected > www.oddb.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 8:04 ` Zeno R.R. Davatz
@ 2003-12-15 8:05 ` Benjamin Herrenschmidt
2003-12-15 8:21 ` Benjamin Herrenschmidt
2003-12-15 8:25 ` Zeno R.R. Davatz
0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2003-12-15 8:05 UTC (permalink / raw)
To: Zeno R.R. Davatz; +Cc: Linux Kernel list
On Mon, 2003-12-15 at 19:04, Zeno R.R. Davatz wrote:
> On Mon, 15 Dec 2003 18:42:12 +1100
> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> >
> > It seems you are trying to load both dmasound_pmac and alsa
> > snd-powermac, they are mutually exclusive.
Check what's up if you don't have previously loaded dmasound_pmac
Ben.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 8:05 ` Benjamin Herrenschmidt
@ 2003-12-15 8:21 ` Benjamin Herrenschmidt
2003-12-15 8:25 ` Zeno R.R. Davatz
1 sibling, 0 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2003-12-15 8:21 UTC (permalink / raw)
To: Zeno R.R. Davatz; +Cc: Linux Kernel list
On Mon, 2003-12-15 at 19:05, Benjamin Herrenschmidt wrote:
> On Mon, 2003-12-15 at 19:04, Zeno R.R. Davatz wrote:
> > On Mon, 15 Dec 2003 18:42:12 +1100
> > Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> >
> > >
> > > It seems you are trying to load both dmasound_pmac and alsa
> > > snd-powermac, they are mutually exclusive.
>
> Check what's up if you don't have previously loaded dmasound_pmac
I meant, make sure (/proc/modules) it is not as it was in your
original report
Ben
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 8:05 ` Benjamin Herrenschmidt
2003-12-15 8:21 ` Benjamin Herrenschmidt
@ 2003-12-15 8:25 ` Zeno R.R. Davatz
1 sibling, 0 replies; 8+ messages in thread
From: Zeno R.R. Davatz @ 2003-12-15 8:25 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linux-kernel
On Mon, 15 Dec 2003 19:05:58 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Mon, 2003-12-15 at 19:04, Zeno R.R. Davatz wrote:
> > On Mon, 15 Dec 2003 18:42:12 +1100
> > Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> >
> > >
> > > It seems you are trying to load both dmasound_pmac and alsa
> > > snd-powermac, they are mutually exclusive.
>
> Check what's up if you don't have previously loaded dmasound_pmac
Ok, I just done emerge -U for 2.6.0_beta11-r2
Lets see how that goes.
Another issue I could remember was when I tried to make the modules for the hcfusbmodem. During /usr/sbin/hcfusbconfig I got an error that told me that modversion.h is missing.
TIA
Zeno
--
Mit freundlichen Grüssen / best regards
Zeno Davatz
Verkauf & Akquisition
+41 1 350 85 86
www.ywesee.com > intellectual capital connected > www.oddb.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 7:42 ` Benjamin Herrenschmidt
2003-12-15 8:04 ` Zeno R.R. Davatz
@ 2003-12-15 9:13 ` Zeno R.R. Davatz
2003-12-15 17:18 ` Zeno R.R. Davatz
1 sibling, 1 reply; 8+ messages in thread
From: Zeno R.R. Davatz @ 2003-12-15 9:13 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux Kernel list
1. Ok, great. CapsLock works!
2. amixer and alsamixer now also seem to work. I get a reasonable result when I do amixer or alsamixer.
But now my speaker complains: can not open /dev/sound/mixer.
Any hints?
Thanks for your feedback.
Zeno
On Mon, 15 Dec 2003 18:42:12 +1100
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> > soundcore 11200 3 snd,dmasound_core
> >
> > When I do amixer I get:
> > amixer: Mixer attach default error: No such device
> >
> > I done my kernel with make menuconfig, make, make modules_install
> >
> > I have been searching the Net for clues but did not find anything so far, to get my sound working.
>
> It seems you are trying to load both dmasound_pmac and alsa
> snd-powermac, they are mutually exclusive.
>
>
> > 2. Why does my computer go to sleep when I press 'CapsLook'. Can I turn
> > that off or is this still a 2.6.0 Bug?
>
> That's a strange thing that appeared with one snapshot of test11
> and disappeared with the next one afaik. I don't have a good explanation. It
> definitely doesn't happen on my laptops, and the logs I got from users seemed
> to indicate that the PMU chip (which controls the keyboard on those laptops)
> was actually the one sending a spurrious 0x7f event (power key). It may be
> something we do that triggers that though I haven't been able to find out
> what.
>
> If it happens reproduceably, you may want to disable whatever userland
> daemon you have that triggers sleep when you press the power key. (I
> suppose pbbuttonsd).
>
> Ben.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Mit freundlichen Grüssen / best regards
Zeno Davatz
Verkauf & Akquisition
+41 1 350 85 86
www.ywesee.com > intellectual capital connected > www.oddb.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsa on gentoo ppc 2.6.0-test11-benh1
2003-12-15 9:13 ` Zeno R.R. Davatz
@ 2003-12-15 17:18 ` Zeno R.R. Davatz
0 siblings, 0 replies; 8+ messages in thread
From: Zeno R.R. Davatz @ 2003-12-15 17:18 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: Linux Kernel list
On Mon, 15 Dec 2003 10:13:07 +0100
"Zeno R.R. Davatz" <zdavatz@ywesee.com> wrote:
> 1. Ok, great. CapsLock works!
> 2. amixer and alsamixer now also seem to work. I get a reasonable result when I do amixer or alsamixer.
Ok, I put OSS Emulation in as well. Now the sound works perfect.
Thanks for your help.
Zeno
>
> On Mon, 15 Dec 2003 18:42:12 +1100
> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> >
> > > soundcore 11200 3 snd,dmasound_core
> > >
> > > When I do amixer I get:
> > > amixer: Mixer attach default error: No such device
> > >
> > > I done my kernel with make menuconfig, make, make modules_install
> > >
> > > I have been searching the Net for clues but did not find anything so far, to get my sound working.
> >
> > It seems you are trying to load both dmasound_pmac and alsa
> > snd-powermac, they are mutually exclusive.
> >
> >
> > > 2. Why does my computer go to sleep when I press 'CapsLook'. Can I turn
> > > that off or is this still a 2.6.0 Bug?
> >
> > That's a strange thing that appeared with one snapshot of test11
> > and disappeared with the next one afaik. I don't have a good explanation. It
> > definitely doesn't happen on my laptops, and the logs I got from users seemed
> > to indicate that the PMU chip (which controls the keyboard on those laptops)
> > was actually the one sending a spurrious 0x7f event (power key). It may be
> > something we do that triggers that though I haven't been able to find out
> > what.
> >
> > If it happens reproduceably, you may want to disable whatever userland
> > daemon you have that triggers sleep when you press the power key. (I
> > suppose pbbuttonsd).
> >
> > Ben.
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
> --
> Mit freundlichen Grüssen / best regards
>
> Zeno Davatz
> Verkauf & Akquisition
>
> +41 1 350 85 86
>
> www.ywesee.com > intellectual capital connected > www.oddb.org
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Mit freundlichen Grüssen / best regards
Zeno Davatz
Verkauf & Akquisition
+41 1 350 85 86
www.ywesee.com > intellectual capital connected > www.oddb.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-15 17:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-12 7:36 alsa on gentoo ppc 2.6.0-test11-benh1 Zeno R.R. Davatz
2003-12-15 7:42 ` Benjamin Herrenschmidt
2003-12-15 8:04 ` Zeno R.R. Davatz
2003-12-15 8:05 ` Benjamin Herrenschmidt
2003-12-15 8:21 ` Benjamin Herrenschmidt
2003-12-15 8:25 ` Zeno R.R. Davatz
2003-12-15 9:13 ` Zeno R.R. Davatz
2003-12-15 17:18 ` Zeno R.R. Davatz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.