linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* snd-aoa: Sound gone after snd-aoa updates, on PB5,8
@ 2006-05-29  2:00 Wolfgang Pfeiffer
  2006-05-29  2:17 ` [Done] " Wolfgang Pfeiffer
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Pfeiffer @ 2006-05-29  2:00 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linuxppc-dev


Hi

After some updates from http://johannes.sipsolutions.net/snd-aoa.git/
in the last few hours/minutes sound's gone here. Without changing
sound settings intentionally here. 


$ cat /proc/cpuinfo 
processor       : 0
cpu             : 7447A, altivec supported
clock           : 833.333000MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 16.57
timebase        : 8320000
platform        : PowerMac
machine         : PowerBook5,8
motherboard     : PowerBook5,8 MacRISC3 Power Macintosh 
detected as     : 287 (PowerBook G4 15")
pmac flags      : 00000019
L2 cache        : 512K unified
pmac-generation : NewWorld


/var/log/boot:

Mon May 29 03:08:52 2006: ^[[9;0]^[[14;0]Setting up ALSA...warning: 'alsactl restore' failed with error message 'ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: alsactl: set_controls:1088: snd_ctl_open error: No such file or directory'...ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
Mon May 29 03:08:52 2006: amixer: Mixer attach hw:0 error: No such file or directory
Mon May 29 03:08:52 2006: done.

Excerpts from /var/log/kern.log:
--------------------------------------
May 29 03:08:54 debby1-6 kernel: [   24.296157] i2sbus: !!!!! WARNING !!!!!
May 29 03:08:54 debby1-6 kernel: [   24.305857] i2sbus: control: couldn't allocate resource
May 29 03:08:54 debby1-6 kernel: [   24.315558] i2sbus: going ahead
anyway

May 29 03:08:54 debby1-6 kernel: [   25.140174] snd-aoa-fabric-layout: found bus with layout 82 (using)

May 29 03:08:54 debby1-6 kernel: [   34.230912] snd-aoa-codec-onyx: found pcm3052
May 29 03:08:54 debby1-6 kernel: [   34.232445] snd-aoa-fabric-layout: can use this codec
May 29 03:08:54 debby1-6 kernel: [   34.307453] snd-aoa-codec-onyx: attached to onyx codec via i2c
May 29 03:08:54 debby1-6 kernel: [   34.318072] snd-aoa-codec-onyx: created and attached onyx instance
May 29 03:08:54 debby1-6 kernel: [   34.318080] PowerMac i2c bus mac-io 0 registered
May 29 03:08:54 debby1-6 kernel: [   34.336045] PowerMac i2c bus uni-n 0 registered
-------------------------------------


After the first errors (that is: No sound at all), I removed
asound.conf and asound.names in /etc/ completely, just to make sure I
have no mistakes in these files - to no avail so far. Kernel is
still the same as all the last 2 weeks or so, where alsa/snd-aoa
worked.

 uname -a 
Linux debby1-6 2.6.17-rc3-gf358166a-dirty #1 Fri May 12 01:13:36 CEST
2006 ppc GNU/Linux

# modinfo snd-aoa
filename:       /lib/modules/2.6.17-rc3-gf358166a-dirty/kernel/sound/aoa/snd-aoa.ko
description:    Apple Onboard Audio Sound Driver
author:         Johannes Berg <johannes@sipsolutions.net>
license:        GPL..
vermagic:       2.6.17-rc3-gf358166a-dirty mod_unload gcc-4.1
depends:        sndation.
srcversion:     2944C7BBEA1A2A72E3A8183

/etc/modprobe.d/sound:
-----------------
alias snd-card-0 i2sbus
#alias snd-card-0 snd-powermac
#options snd-powermac index=0
-------------------

Hints?

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Done] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5,8
  2006-05-29  2:00 snd-aoa: Sound gone after snd-aoa updates, on PB5,8 Wolfgang Pfeiffer
@ 2006-05-29  2:17 ` Wolfgang Pfeiffer
  2006-05-29  2:28   ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Pfeiffer @ 2006-05-29  2:17 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linuxppc-dev

On Mon, May 29, 2006 at 04:00:27AM +0200, Wolfgang Pfeiffer wrote:
> 
> Hi
> 
> After some updates from http://johannes.sipsolutions.net/snd-aoa.git/
> in the last few hours/minutes sound's gone here. Without changing
> sound settings intentionally here. 
> 
> 

On Debian/unstable:
After downgrading libasound2 from 1.0.11-6 to 1.0.11-3 I have sound
again: 1.0.11-6 was, IINM, installed a few hours ago, which
 - as it seems - broke sound here.

HTH

Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Done] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5,8
  2006-05-29  2:17 ` [Done] " Wolfgang Pfeiffer
@ 2006-05-29  2:28   ` Benjamin Herrenschmidt
  2006-05-29 22:17     ` Wolfgang Pfeiffer
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2006-05-29  2:28 UTC (permalink / raw)
  To: Wolfgang Pfeiffer; +Cc: linuxppc-dev, Johannes Berg

On Mon, 2006-05-29 at 04:17 +0200, Wolfgang Pfeiffer wrote:
> On Mon, May 29, 2006 at 04:00:27AM +0200, Wolfgang Pfeiffer wrote:
> > 
> > Hi
> > 
> > After some updates from http://johannes.sipsolutions.net/snd-aoa.git/
> > in the last few hours/minutes sound's gone here. Without changing
> > sound settings intentionally here. 
> > 
> > 
> 
> On Debian/unstable:
> After downgrading libasound2 from 1.0.11-6 to 1.0.11-3 I have sound
> again: 1.0.11-6 was, IINM, installed a few hours ago, which
>  - as it seems - broke sound here.

Have you tested that it wasn't just the renaming/re-ordering of some
controls ? Alsa is pretty bad with that, you may just have to go back to
alsamixer and reset some controls after updating the driver.

Ben.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Done] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5,8
  2006-05-29  2:28   ` Benjamin Herrenschmidt
@ 2006-05-29 22:17     ` Wolfgang Pfeiffer
  2006-05-30  7:44       ` Michel Dänzer
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Pfeiffer @ 2006-05-29 22:17 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, Johannes Berg

Hi All

Sorry for responding a bit late: I had to leave the house today ...


On Mon, May 29, 2006 at 12:28:45PM +1000, Benjamin Herrenschmidt wrote:
> On Mon, 2006-05-29 at 04:17 +0200, Wolfgang Pfeiffer wrote:
> > On Mon, May 29, 2006 at 04:00:27AM +0200, Wolfgang Pfeiffer wrote:
> > > 
> > > Hi
> > > 
> > > After some updates from http://johannes.sipsolutions.net/snd-aoa.git/
> > > in the last few hours/minutes sound's gone here. Without changing
> > > sound settings intentionally here. 
> > > 
> > > 
> > 
> > On Debian/unstable:
> > After downgrading libasound2 from 1.0.11-6 to 1.0.11-3 I have sound
> > again: 1.0.11-6 was, IINM, installed a few hours ago, which
> >  - as it seems - broke sound here.
> 
> Have you tested that it wasn't just the renaming/re-ordering of some
> controls ? Alsa is pretty bad with that, you may just have to go back to
> alsamixer and reset some controls after updating the driver.

That's what I tried after reading your mail:

$ apt-cache policy libasound2
libasound2:
  Installed: 1.0.11-6
  Candidate: 1.0.11-6

The problem is: with libasound2 1.0.11-6 I cannot even *start* 
alsamixer:

------------------------
$ alsamixer
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL default

alsamixer: function snd_ctl_open failed for default: No such file or directory
-------------------------

----------------------------
$ alsamixer -c 0  
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0

alsamixer: function snd_ctl_open failed for hw:0: No such file or directory
---------------------------

amixer:

------------------------
$ amixer -dD controls
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL controls
amixer: Mixer attach controls error: No such file or directory
---------------------------


But the last 2 examples may hint amixer at least sees some sound card:

---------------
$ amixer -c 1 controls
Invalid card number.
Usage: amixer <options> [command]

Available options:

[ ... ]
---------------------


-------------------
$ amixer -c 0 controls
ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL hw:0
amixer: Control hw:0 open error: No such file or directory
-----------------------

Suggestions? Did I miss something?

Thanks in anticipation

Best Regards
Wolfgang
-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Done] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5,8
  2006-05-29 22:17     ` Wolfgang Pfeiffer
@ 2006-05-30  7:44       ` Michel Dänzer
  2006-05-30 11:23         ` [Done #2] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5, 8 Wolfgang Pfeiffer
  0 siblings, 1 reply; 6+ messages in thread
From: Michel Dänzer @ 2006-05-30  7:44 UTC (permalink / raw)
  To: Wolfgang Pfeiffer; +Cc: linuxppc-dev, Johannes Berg

On Tue, 2006-05-30 at 00:17 +0200, Wolfgang Pfeiffer wrote:
>=20
> The problem is: with libasound2 1.0.11-6 I cannot even *start*=20
> alsamixer:
>=20
> ------------------------
> $ alsamixer
> ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL default
>=20
> alsamixer: function snd_ctl_open failed for default: No such file or dire=
ctory

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D369478 and friends.


--=20
Earthling Michel D=C3=A4nzer           |          http://tungstengraphics.c=
om
Libre software enthusiast         |          Debian, X and DRI developer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Done #2] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5, 8
  2006-05-30  7:44       ` Michel Dänzer
@ 2006-05-30 11:23         ` Wolfgang Pfeiffer
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Pfeiffer @ 2006-05-30 11:23 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: linuxppc-dev, Johannes Berg

On Tue, May 30, 2006 at 09:44:32AM +0200, Michel Dänzer wrote:
> On Tue, 2006-05-30 at 00:17 +0200, Wolfgang Pfeiffer wrote:
> > 
> > The problem is: with libasound2 1.0.11-6 I cannot even *start* 
> > alsamixer:
> > 
> > ------------------------
> > $ alsamixer
> > ALSA lib control.c:816:(snd_ctl_open_noupdate) Invalid CTL default
> > 
> > alsamixer: function snd_ctl_open failed for default: No such file or directory
> 
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369478 and friends.

Thanks. 

And the bug already seems to be fixed with a new version: I just
installed it (libasound2 1.0.11-7) and at least alsamixer and amixer
started without error. Plus: Restarting the KDE sound system after
installing this new version also worked liked a charm.

Thanks to everyone involved :)

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-30 11:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-29  2:00 snd-aoa: Sound gone after snd-aoa updates, on PB5,8 Wolfgang Pfeiffer
2006-05-29  2:17 ` [Done] " Wolfgang Pfeiffer
2006-05-29  2:28   ` Benjamin Herrenschmidt
2006-05-29 22:17     ` Wolfgang Pfeiffer
2006-05-30  7:44       ` Michel Dänzer
2006-05-30 11:23         ` [Done #2] Re: snd-aoa: Sound gone after snd-aoa updates, on PB5, 8 Wolfgang Pfeiffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).