Subject: Re: [Alsa-devel] oops in snd-powermac due to snd-aoa

From: Olaf Hering <[email-masked]>
Date: Sat, 16 Sep 2006 11:56:03 +0200

On Thu, Sep 07, Takashi Iwai wrote:

> At Thu, 7 Sep 2006 14:42:56 +0200,
> Olaf Hering wrote:
> > 
> > I was playing with snd-aoa, maybe the driver would work on a G4/466.
> > mv /lib/modules/*/kernel/sound/ppc/snd-powermac.ko .
> > reboot
> > $insmod /lib/modules/*/kernel/sound/aoa/*/*.ko
> > alsamixer finds nothing.
> > mv snd-powermac.ko /lib/modules/*/kernel/sound/ppc/
> > $insmod snd-powermac.ko -> oops
> > 
> > Using PowerMac machine description
> (snip)
> > ALSA sound/ppc/keywest.c:82: tumbler: cannot attach i2c client
> > read_audio_gpio addr 67 ret 2 av 4
> > headphone: 0, lineout: 0
> > check_audio_gpio addr 70 ret 4 av 4
> > check_audio_gpio addr 6f ret 7 av 4
> > Unable to handle kernel paging request for data at address 0x00000002
> 
> Does the patch below work?

Yes, no oops, but also no sound without reboot. Thats ok.

...
ALSA sound/ppc/keywest.c:82: tumbler: cannot attach i2c client
read_audio_gpio addr 67 ret 2 av 4
headphone: 0, lineout: 0
check_audio_gpio addr 70 ret 4 av 4
check_audio_gpio addr 6f ret 7 av 4
date:~ # 
date:~ # alsamixer 

alsamixer: function snd_ctl_open failed for default: No such device
...