lkml.org 
[lkml]   [2003]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [2.6.0-test6] Troubles with ALSA via82xx

    Nell'articolo <s5hhe2ubner.wl@alsa2.suse.de> hai scritto:
    >At Mon, 29 Sep 2003 19:04:37 +0200,
    >Kronos wrote:
    >>
    >> Hi,
    >>
    >> I have trouble with linux-2.6.0-test6 and via82xx. With default
    >> parameters I'm unable to play sound. I've tracked down the problem to
    >> this change:
    >>
    >> - use dxs_support=3 (48k fixed) as default, since there are so many
    >> problems with dxs_support=0.
    >>
    >> Loading module I see this:
    >>
    >> via82xx: Assuming DXS channels with 48k fixed sample rate.
    >> Please try dxs_support=1 option and report if it works on your machine.
    >> PCI: Setting latency timer of device 0000:00:11.5 to 64
    >
    >please try the attached patch?
    >
    >diff -u -r1.60 via82xx.c
    >--- linux/sound/pci/via82xx.c 22 Sep 2003 10:10:29 -0000 1.60
    >+++ linux/sound/pci/via82xx.c 30 Sep 2003 10:02:13 -0000
    >@@ -2038,16 +2038,17 @@
    > break;
    > }
    > }
    >- if (dxs_support[dev] == VIA_DXS_AUTO)
    >- dxs_support[dev] = check_dxs_list(pci);
    >- /* force to use VIA8233 or 8233A model according to
    >- * dxs_support module option
    >- */
    >- if (dxs_support[dev] == VIA_DXS_DISABLE)
    >- chip_type = TYPE_VIA8233A;
    >- else
    >- chip_type = TYPE_VIA8233;
    >-
    >+ if (chip_type != TYPE_VIA8233A) {
    >+ if (dxs_support[dev] == VIA_DXS_AUTO)
    >+ dxs_support[dev] = check_dxs_list(pci);
    >+ /* force to use VIA8233 or 8233A model according to
    >+ * dxs_support module option
    >+ */
    >+ if (dxs_support[dev] == VIA_DXS_DISABLE)
    >+ chip_type = TYPE_VIA8233A;
    >+ else
    >+ chip_type = TYPE_VIA8233;
    >+ }
    > if (chip_type == TYPE_VIA8233A)
    > strcpy(card->driver, "VIA8233A");
    > else
    >

    Great, now it works! Thank you.

    Luca
    --
    Reply-To: kronos@kronoz.cjb.net
    Home: http://kronoz.cjb.net
    Quando un uomo porta dei fiori a sua moglie senza motivo,
    un motivo c'e`.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.023 / U:32.984 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site