All of lore.kernel.org
 help / color / mirror / Atom feed
* sound problem on recent PowerBook5,8 MacRISC3
@ 2006-02-08 16:00 Yaroslav Halchenko
  2006-02-08 22:29 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Yaroslav Halchenko @ 2006-02-08 16:00 UTC (permalink / raw)
  To: linux kernel mailing list

Dear Kernel People,

Sound fails to work on the PowerBook laptop
information on which could be found from
http://www.onerussian.com/Linux/bugs/bug.sound/

On 2.6.16-rc1 and got
dmasound_pmac: couldn't find a Codec we can handle
....
snd: Unknown layout ID 0x52
(and ALSA failed to find any device)

I added 0x52 layout in the list within sound/ppc/pmac.c

                case 0x50:
                case 0x52:
                case 0x5c:
                        chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
                        chip->model = PMAC_SNAPPER;
                        chip->can_byte_swap = 0; /* FIXME: check this */
                        chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */
                        break;
after reboot (it was compiled in) and I get
 dmasound_pmac: couldn't find a Codec we can handle
 ...
 snd: can't request rsrc  0 (Sound Control: 0x80000000:80004fff)

I copied pmac.c from 2.6.16-rc2, added 0x52, compiled, reboot and I get
just
dmasound_pmac: couldn't find a Codec we can handle

and no sound -- I have just

$ ls /dev/{snd,dsp,audio}*
ls: /dev/dsp*: No such file or directory
ls: /dev/audio*: No such file or directory
/dev/sndstat

/dev/snd:
seq  timer



Pre history:
I need to configure Linux in place of OS-X on my chief's laptop. After
some struggle I managed to install Ubuntu Dapper which was running their
2.6.15-14. I had few issues:
sound kinda was there but nothing was produced audible,
video - box freezes under some xorg config as reported
elsewhere https://launchpad.net/malone/bugs/30426 
and decided to give a try to vanilla kernel so I could also report a bug.

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07105
Student  Ph.D. @ CS Dept. NJIT

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

* Re: sound problem on recent PowerBook5,8 MacRISC3
  2006-02-08 16:00 sound problem on recent PowerBook5,8 MacRISC3 Yaroslav Halchenko
@ 2006-02-08 22:29 ` Benjamin Herrenschmidt
  2006-02-09  4:55   ` Lee Revell
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2006-02-08 22:29 UTC (permalink / raw)
  To: Yaroslav Halchenko; +Cc: linux kernel mailing list

On Wed, 2006-02-08 at 11:00 -0500, Yaroslav Halchenko wrote:
> Dear Kernel People,
> 
> Sound fails to work on the PowerBook laptop
> information on which could be found from
> http://www.onerussian.com/Linux/bugs/bug.sound/
> 
> On 2.6.16-rc1 and got
> dmasound_pmac: couldn't find a Codec we can handle
> ....
> snd: Unknown layout ID 0x52
> (and ALSA failed to find any device)

The sound chipset on these new machines isn't yet supported.

Ben.



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

* Re: sound problem on recent PowerBook5,8 MacRISC3
  2006-02-08 22:29 ` Benjamin Herrenschmidt
@ 2006-02-09  4:55   ` Lee Revell
  2006-02-09  5:04     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2006-02-09  4:55 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Yaroslav Halchenko, linux kernel mailing list

On Thu, 2006-02-09 at 09:29 +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2006-02-08 at 11:00 -0500, Yaroslav Halchenko wrote:
> > Dear Kernel People,
> > 
> > Sound fails to work on the PowerBook laptop
> > information on which could be found from
> > http://www.onerussian.com/Linux/bugs/bug.sound/
> > 
> > On 2.6.16-rc1 and got
> > dmasound_pmac: couldn't find a Codec we can handle
> > ....
> > snd: Unknown layout ID 0x52
> > (and ALSA failed to find any device)
> 
> The sound chipset on these new machines isn't yet supported.
> 

Please file a feature request in the ALSA bugzilla, so this won't get
lost.  Please include pointers to any Darwin code or any other docs you
think might help.

https://bugtrack.alsa-project.org/alsa-bug/login_select_proj_page.php?ref=bug_report_advanced_page.php

Lee


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

* Re: sound problem on recent PowerBook5,8 MacRISC3
  2006-02-09  4:55   ` Lee Revell
@ 2006-02-09  5:04     ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2006-02-09  5:04 UTC (permalink / raw)
  To: Lee Revell; +Cc: Yaroslav Halchenko, linux kernel mailing list

On Wed, 2006-02-08 at 23:55 -0500, Lee Revell wrote:
> On Thu, 2006-02-09 at 09:29 +1100, Benjamin Herrenschmidt wrote:
> > On Wed, 2006-02-08 at 11:00 -0500, Yaroslav Halchenko wrote:
> > > Dear Kernel People,
> > > 
> > > Sound fails to work on the PowerBook laptop
> > > information on which could be found from
> > > http://www.onerussian.com/Linux/bugs/bug.sound/
> > > 
> > > On 2.6.16-rc1 and got
> > > dmasound_pmac: couldn't find a Codec we can handle
> > > ....
> > > snd: Unknown layout ID 0x52
> > > (and ALSA failed to find any device)
> > 
> > The sound chipset on these new machines isn't yet supported.
> > 
> 
> Please file a feature request in the ALSA bugzilla, so this won't get
> lost.  Please include pointers to any Darwin code or any other docs you
> think might help.
> 
> https://bugtrack.alsa-project.org/alsa-bug/login_select_proj_page.php?ref=bug_report_advanced_page.php

Well, I have started tracking down all chipset models and all ways they
are routed in the different mac models. It's a total mess but I'm slowly
getting there. I intend to rewrite a new driver that can handle properly
those new scenarios of multiple i2c busses and multiple codecs per bus,
among others.

Ben.


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

end of thread, other threads:[~2006-02-09  5:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 16:00 sound problem on recent PowerBook5,8 MacRISC3 Yaroslav Halchenko
2006-02-08 22:29 ` Benjamin Herrenschmidt
2006-02-09  4:55   ` Lee Revell
2006-02-09  5:04     ` Benjamin Herrenschmidt

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.