Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mac Mini Sound and Airport [Solved]
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
RoadRunner
Bodhisattva
Bodhisattva


Joined: 12 Jun 2002
Posts: 490
Location: Coimbra, Portugal

PostPosted: Fri Sep 29, 2006 1:59 am    Post subject: Mac Mini Sound and Airport [Solved] Reply with quote

Latest testing kernel (2.6.18 ) brought me a non working alsa sound, previously I used snd-powermac and now there was a message suggesting snd-aoa and a non-working snd-powermac. I switched to snd-aoa and all I got was this lousy t-shirt err.. message saying it couldn't load the necessary drivers. I tried the FAQ, everything built in, same message.


Second problem, enabling the airport. It's one of the late PPC models (stealth upgrade) and although the module and firmware load fine, when I try to connect to the access point nothing happens, it keeps sending authentication requests until it times out. If I reset the AP in the meantime it receives says open authentiction success but neither dhcp client of statip ip work. Searching the forums came across a patch that would solve the problem, but it's already included in 2.6.18, so i'm out of ideas. I followed all the stuff I found at the forums, enabling first the essid, changing the order of the commands but worked. I do get a "bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1490:bcm43xx_find_lopair()" error, but was unabled to find weather this was a problem itself.


If anyone could point me in the right track it would be awsome. Thanks in advance.


Last edited by RoadRunner on Thu Oct 19, 2006 1:15 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Sep 29, 2006 12:03 pm    Post subject: Reply with quote

What exactly is your sound configuration set to in the kernel? Just paste in the relevant part from your config.

For the bcm43xx, that's a common behaviour for bcm4318 cards, you have a few options:
1. Move closer to the AP
2. Lower the speed (try 2M or 1M)
3. Wait until we figure out the radio power and can figure out why the 4318 doesn't transmit at the correct TX power.

The assertion failed is simply a symptom of this larger problem.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
mwallace
n00b
n00b


Joined: 08 Jul 2006
Posts: 52
Location: Frankfurt/Germany

PostPosted: Sun Oct 01, 2006 2:31 pm    Post subject: Reply with quote

I'm also messing with the new snd_aoa. I got it working, but I had to load a hell of modules manually. snd-aoa is not sufficient. Still trying to figure out how the dependencies are so that I can put one or two modules in the modules.autoload file. Any suggestions?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 02, 2006 4:54 am    Post subject: Reply with quote

Build it in, it's much easier that way. How often do you need to unload your sound modules?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
RoadRunner
Bodhisattva
Bodhisattva


Joined: 12 Jun 2002
Posts: 490
Location: Coimbra, Portugal

PostPosted: Mon Oct 02, 2006 4:09 pm    Post subject: Reply with quote

Thanks for the help so far.

Apparently I had forgotten to disable the snd-powermac driver and that was where the problems came from. I now have snd-aoa built in, as well as all the other parts mentioned in the PPC FAQ and I do have sound.

I still have a warning when alsa starts about not being able to load snd-aoa, alsaconf can't find any card and I can't control the volume, alsamixer doesn't work (as it didn't before) but kmixer doesn't even show up, although it's running. The sound is allways 100% which gets a bit loud. It's a minor detail, but anyone knows a solution?

As for the Airport, moving it closer the AP is not possible, i'm thinking about buying a USB card or one of those ethernet adapters used at gaming consoles, although these are much more expensive. Advice on a USB card with good Linux PPC support? Need 54Mb and WEP.

Thanks for all the help so far.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Oct 02, 2006 4:38 pm    Post subject: Reply with quote

If you compiled in snd-aoa, there's no reason to load it, so don't have it do that. Next, alsaconf will never find any cards because it only looks for PCI/ISA cards. Apple sound cards are located on the i2c bus, so alsaconf can't see them, so that's normal as well. Alsamixer works fine here with snd-aoa. What doesn't work about it for you? Can you paste in the sound section of your kernel so we can set how you set it up?

There are other threads for ppc supported 54g cards, a quick search should provide what you're looking for.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
RoadRunner
Bodhisattva
Bodhisattva


Joined: 12 Jun 2002
Posts: 490
Location: Coimbra, Portugal

PostPosted: Mon Oct 09, 2006 4:58 pm    Post subject: Reply with quote

As for the wireless, I solved the problem buying a SMC network adapter for gaming consoles, it's just an ethernet wireless card, no drivers, very easy to setup and working fine.

As for the sound, here's the sound section of the kernel:

Code:

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_DMASOUND_PMAC is not set

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set


I commented out the alias line in /etc/modules.d/alsa and run modules-update and now alsa loads fine without warnings and sound works, but still no mixer, alsamixer displays 3 headphones(only the first works) and one speaker mixers, all of them can be muted and unmuted but sound volume is allways 00 and cannot be changed. Still sound works, allways at maximum level.

Thanks for the help so far, almost have a perfect mac mini setup =)
Back to top
View user's profile Send private message
RoadRunner
Bodhisattva
Bodhisattva


Joined: 12 Jun 2002
Posts: 490
Location: Coimbra, Portugal

PostPosted: Thu Oct 19, 2006 1:14 am    Post subject: Reply with quote

Well, after much tests and settings changed I finally solved the sound problem. I deleted the /etc/asound.state file, restarted alsa and alsamixer showed a new slider, PCM, and finally I can change sound volume!
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