Skip to contentSkip to conversation

alsa on gentoo ppc 2.6.0-test11-benh1

DISCUSSION Zeno R.R. Davatz 2 participants 8 messages Dec 12, 2003 – Dec 15, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 8 lines
Mit freundlichen Grüssen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org
#1 lore raw
Quoted 9 lines

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.

Quoted 2 lines

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.

#2 lore raw
Quoted 3 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…

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

Signature · 8 lines
Mit freundlichen Grüssen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org
#3 lore raw
Quoted 6 lines · Zeno R.R. Davatz
Quoted 3 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…

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.

#4 lore raw
Quoted 9 lines · Benjamin Herrenschmidt
Quoted 6 lines · Zeno R.R. Davatz
Quoted 3 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…

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

#5 lore raw
In reply to Benjamin Herrenschmidt
Quoted 9 lines · On Mon, 15 Dec 2003 19:05:58 +1100 Benjamin Herrenschmidt…
Quoted 6 lines · Zeno R.R. Davatz
Quoted 3 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…

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

Signature · 8 lines
Mit freundlichen Grüssen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org
#6 lore raw
In reply to Benjamin Herrenschmidt

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

Quoted 38 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…
Quoted 9 lines

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.

Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 8 lines
Mit freundlichen Grüssen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org
#7 lore raw
Quoted 2 lines · On Mon, 15 Dec 2003 10:13:07 +0100 "Zeno R.R. Davatz" <[email protected]>…

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

Quoted 59 lines
Quoted 38 lines · On Mon, 15 Dec 2003 18:42:12 +1100 Benjamin Herrenschmidt…
Quoted 9 lines

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.

Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 13 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Signature · 8 lines
Mit freundlichen Grüssen / best regards

Zeno Davatz
Verkauf & Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.oddb.org