lkml.org 
[lkml]   [2004]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: ALSA in 2.6 failing to find the OPL chip of the sb cards
    At Sat, 10 Jan 2004 08:24:51 +0100,
    Rene Herman wrote:
    >
    > That is, the driver doesn't complain anymore. Still didn't see the OPL
    > appear in /proc/ioports though (loading with fm_port=0x388 doesn't
    > change that). Haven't investigated further yet, will do.

    it's a bug. the attached patch should fix it.


    --
    Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org
    --- linux/sound/isa/sb/sb16.c 30 Oct 2003 14:19:30 -0000 1.31
    +++ linux/sound/isa/sb/sb16.c 12 Jan 2004 15:30:04 -0000
    @@ -483,7 +483,7 @@
    if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
    if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2,
    OPL3_HW_OPL3,
    - fm_port[dev] == port[dev] || fm_port[dev] == 0x388,
    + acard->fm_res != NULL,
    &opl3) < 0) {
    snd_printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx\n",
    fm_port[dev], fm_port[dev] + 2);
    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:4.187 / U:0.496 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site