All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Björn van der Meer" <bvdm@chronovault.net>
To: alsa-devel@alsa-project.org
Subject: Re:         Request for Realtek patch - Nvidia MCP51 HDA / ALC883 (10de:026c) Notebook component
Date: Fri, 9 May 2008 17:22:32 +0200	[thread overview]
Message-ID: <200805091722.33326.bvdm@chronovault.net> (raw)

> At Fri, 9 May 2008 15:35:50 +0200,
>
> Björn van der Meer wrote:
> > > At Mon, 5 May 2008 08:43:16 +0200,
> > >
> > > Björn van der Meer wrote:
> > > > Hello Everyone,
> > > >
> > > > I have above component in my laptop and lack the expertise to add it
> > > > to to patch_realtek.c myself.
> > > >
> > > > I think I have collected all the relevant information if one of the
> > > > developers wants to give it a try.
> > > >
> > > > My Notebook: Medion 98300 (a.k.a. WAM2030)
> > > > (Please note: Medion is not an OEM. The board is nVidia based, OEM
> > > > thought to be Wistron. Apparently rarely used sound component?)
> > > >
> > > > Internal speakers
> > > > Internal mic - unknown
> > > > three jacks: headphone, mic, SPDIF(dual use jack).
> > > > Jack Sensing under Windows.
> > > > 5.1 surround (sounds like the setup should be supported by
> > > > 3stack-6ch-dig)
> > > >
> > > > lspci:
> > > > 00:10.1 Audio device [0403]: nVidia Corporation MCP51 High Definition
> > > > Audio [10de:026c] (rev a2)
> > > > Subsystem: Wistron Corp. Unknown device [17c0:4079]
> > > > Flags: 66MHz, fast devsel, IRQ 20
> > > > Memory at c0000000 (32-bit, non-prefetchable) [size=16K]
> > > > Capabilities: [44] Power Management version 2
> > > > Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+
> > > > Queue=0/0 Enable-
> > > > Capabilities: [6c] HyperTransport: MSI Mapping
> > > >
> > > > hwinfo:
> > > > 22: PCI 10.1: 0403 Audio device
> > > >   [Created at pci.296]
> > > >   UDI: /org/freedesktop/Hal/devices/pci_10de_26c
> > > >   Unique ID: wRyD.X7XJ3rTjrR3
> > > >   SysFS ID: /devices/pci0000:00/0000:00:10.1
> > > >   SysFS BusID: 0000:00:10.1
> > > >   Hardware Class: sound
> > > >   Model: "Wistron MCP51 High Definition Audio"
> > > >   Vendor: pci 0x10de "nVidia Corporation"
> > > >   Device: pci 0x026c "MCP51 High Definition Audio"
> > > >   SubVendor: pci 0x17c0 "Wistron Corp."
> > > >   SubDevice: pci 0x4079
> > > >   Revision: 0xa2
> > > >   Driver: "HDA Intel"
> > > >   Driver Modules: "snd_hda_intel"
> > > >   Memory Range: 0xc0000000-0xc0003fff (rw,non-prefetchable)
> > > >   IRQ: 20 (195693 events)
> > > >   Module Alias:
> > > > "pci:v000010DEd0000026Csv000017C0sd00004079bc04sc03i00" Driver Info
> > > > #0:
> > > >     Driver Status: snd_hda_intel is active
> > > >     Driver Activation Cmd: "modprobe snd_hda_intel"
> > > >   Config Status: cfg=new, avail=yes, need=no, active=unknown
> > > >
> > > > alsa-info.sh output is at http://pastebin.com/f49962c92.
> > > >
> > > >
> > > >
> > > > Currently the only thing working is output via the internal speakers.
> > >
> > > And doesn't this still work with the latest ALSA HG driver?
> > >
> > >
> > > Takashi
> >
> > Thanks for your answer. Latest HG does not compile on my system, throws
> > memalloc.c errors. (Could be me doing something wrong though - out on a
> > limp)
> >
> >  CC [M]  /home/bvdm/alsa-driver/acore/memalloc.o
> > /home/bvdm/alsa-driver/acore/memalloc.c: In function ‘snd_mem_init’:
> > /home/bvdm/alsa-driver/acore/memalloc.c:729: error: implicit declaration
> > of function ‘proc_create’
> > /home/bvdm/alsa-driver/acore/memalloc.c:730: warning: assignment makes
> > pointer from integer without a cast
> > make[3]: *** [/home/bvdm/alsa-driver/acore/memalloc.o] Error 1
> > make[2]: *** [/home/bvdm/alsa-driver/acore] Error 2
> > make[1]: *** [_module_/home/bvdm/alsa-driver] Error 2
> > make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
> >
> >
> >
> > I see references to similar errors on the list, had to do with processor
> > identification?
> >
> >
> > Configure detects this:
> > checking for processor type... i586
> > checking for i386 machine type... default
> >
> > /proc/cpuinfo starts with:
> > [...]
> > vendor_id       : AuthenticAMD
> > cpu family      : 15
> > model           : 72
> > model name      : AMD Turion(tm) 64 X2 Mobile Technology TL-50
> > [...]
>
> It's a problem in alsa-driver build stub.  I fixed it right now on HG
> tree.
>
> > I have also just lifted patch_realtek.c from the current hg and compiled
> > it in a working tarball (actually labelled alsa-driver-hg20080502.tar 
> > from the realtek site), which compiles, looks a bit better.
> > Gives me:
> >  - Different set of mixer controls (not 5.1 though)
>
> OK, I'll need a newer alsa-info.sh with the latest driver.

New alsa-info.sh is at http://pastebin.ca/1012744

>
> >  - headphone output in the strange dual-use SPDIF jack only (headphone
> > jack only goes 2/3 of the way in)
>
> Please elaborate?  I don't understand your description.

hehe, yes. I didn't believe it either. This laptop has three jacks. 
 - light blue, symbol "headphone", normal 3.5mm jack
 - pink, symbol "microphone", normal 3.5mm jack
 - black, symbol line out, normal 3.5mm (that only goes in 2/3 of the way) 
jack AND SPDIF (yes, now glowing red)

Actually. Seeing is believing.
 www.chronovault.net/static/medion98300jacks.jpg

> >  - but with jack-sensing working in that jack, with the boxes turning off
> > when I insert the headphone into the SPDIF.
> This sounds good -- do you mean that you have another headphone jacks?
>
>
> Takashi

Thank you very much

Just hg'ed again compile runs fine.

This is without any "options snd-hda-intel model=XXXX" line 
in /etc/modprobe.d/alsa-base

 - I now put my headphone into the black jack and get sound, boxes turn off.
 - light blue jack is without function now. 
 - mixer option "headphone" is without function.
 - mixer now has master, 
headphone,pcm,front,frontmic,line,mic,micboost,digital
 - only master,pcm and front work, all regulate master volume on 
SPDIF-used-as-headphone-jack and the internal boxes
- dont have a mic right here to try out

Should I try options there now? Is /etc/init.d/alsasound stop / start a good 
way to cycle through options?


-- 
Björn van der Meer
bvdm@chronovault.net
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

             reply	other threads:[~2008-05-09 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 15:22 Björn van der Meer [this message]
2008-05-09 16:13 ` Request for Realtek patch - Nvidia MCP51 HDA / ALC883 (10de:026c) Notebook component Tobin Davis
  -- strict thread matches above, loose matches on Subject: below --
2008-05-05  6:43 Björn van der Meer
2008-05-08 16:44 ` Takashi Iwai
2008-05-09 13:35   ` Björn van der Meer
2008-05-09 13:45     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200805091722.33326.bvdm@chronovault.net \
    --to=bvdm@chronovault.net \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.