Skip to contentSkip to conversation

Intel hda ICH7 not worked anymore after using wine (SOLVED!)

DISCUSSION Xavi de Blas 3 participants 7 messages Jul 9, 2007 – Jul 10, 2007

lore
Share & tools
lore
#0 lore raw

It worked!!!

Thanks a lot

I thought my hardware was broken!

2007/7/9, Tobin Davis <[email protected]>:

Quoted 13 lines

Patch needs to be applied as follows:

cd alsa-driver-1.0.14/alsa-kernel
patch -p1 < LenovoX60S.patch
cd ..

Then you can rerun configure && make && make install.

Tobin

On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:

Quoted 7 lines

2007/7/9, Tobin Davis <[email protected]>:> Sorry for missing this thread. I just woke up.>> I looked at your first pastebin output, and the actual audio codec shows> up as 0x51d41981, when it should be 0x11d41981. This is why the Analog> driver patch isn't detecting it.>> Can you try this patch against alsa-driver-1.0.14? It should detect> this codec. Still not sure why it is misconfigured, unless there is a> bios issue.> I'm afraid, probably when i tried the Linuxant codecs for the modem it broke thebios. Not sure, but sound worked, and continued working some rebootslater. But when i tried a few things with wine and rebooted, soundnever worked again
When i aply the patch (probably i don't do it good) there are problems:

xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ catLenovoX60S.patch | patch -p1patching file pci/hda/patch_analog.cHunk #1 FAILED at 3402.1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej
xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ catpatch_analog.c.rej*************** struct hda_codec_preset snd_hda_preset_a*** 3402,3407 ****       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },       { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },       { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },       { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },--- 3402,3408 ----       { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },       { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },       { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },+       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },       { .id = 0x11d41983,

.name = "AD1983", .patch = patch_ad1983 }, { .id = 0x11d41984, .name = "AD1984", .p
atch = patch_ad1984 }, { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

Quoted 8 lines

The patch is ok?
Thanks
(Tobin sorry for sending messge two times)

--
Tobin Davis <[email protected]>

#1 lore raw

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Quoted 81 lines · Xavi de Blas

It worked!!!

Thanks a lot

I thought my hardware was broken!

2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:
        
        
                cd alsa-driver-1.0.14/alsa-kernel
                patch -p1 < LenovoX60S.patch
                cd ..
        
        Then you can rerun configure && make && make install.
        
        Tobin
        
        
        
        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote: 
        
        > 2007/7/9, Tobin Davis <[email protected]>:
        > > Sorry for missing this thread.  I just woke up.
        > >
        > > I looked at your first pastebin output, and the actual audio codec shows
        > > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
        > > driver patch isn't detecting it.
        > >
        > > Can you try this patch against alsa-driver-1.0.14?  It should detect
        > > this codec.  Still not sure why it is misconfigured, unless there is a
        > > bios issue.
        > >
        > 
        > I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
        > bios. Not sure, but sound worked, and continued working some reboots
        > later. But when i tried a few things with wine and rebooted, sound
        > never worked again
        > 
        > When i aply the patch (probably i don't do it good) there are problems:
        > 
        > 
        > xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
        > LenovoX60S.patch | patch -p1
        > patching file pci/hda/patch_analog.c
        > Hunk #1 FAILED at 3402.
        > 1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej
        > 
        > 
        > xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
        > patch_analog.c.rej
        > *************** struct hda_codec_preset snd_hda_preset_a
        > *** 3402,3407 ****
        >        { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
        >        { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
        >        { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
        >        { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
        >        { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
        >        { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
        > --- 3402,3408 ----
        >        { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
        >        { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
        >        { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
        > +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
        >        { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
        >        { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
        >        { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
        > 
        > 
        > The patch is ok?
        > 
        > Thanks
        > 
        > (Tobin sorry for sending messge two times)
        
        -- 
        Tobin Davis <[email protected]>
Signature · 1 line
Tobin Davis <[email protected]>
#2 lore raw

At Mon, 09 Jul 2007 10:04:17 -0700,

Quoted 10 lines · Tobin Davis

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Well, I don't think this is a generic problem, so let's keep it out of the upstream for now. Maybe I'll rethink if the same problem occurs to anyone else, too...

Takashi

Quoted 80 lines · Xavi de Blas
    It worked!!!
   
    Thanks a lot
   
    I thought my hardware was broken!

    2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:

            cd alsa-driver-1.0.14/alsa-kernel
            patch -p1 < LenovoX60S.patch
            cd ..
       
        Then you can rerun configure && make && make install.
       
        Tobin

        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:
       
            2007/7/9, Tobin Davis <[email protected]>:
            > Sorry for missing this thread.  I just woke up.
            >
            > I looked at your first pastebin output, and the actual audio codec shows
            > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
            > driver patch isn't detecting it.
            >
            > Can you try this patch against alsa-driver-1.0.14?  It should detect
            > this codec.  Still not sure why it is misconfigured, unless there is a
            > bios issue.
            >
            
            I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
            bios. Not sure, but sound worked, and continued working some reboots
            later. But when i tried a few things with wine and rebooted, sound
            never worked again
            
            When i aply the patch (probably i don't do it good) there are problems:

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
            LenovoX60S.patch | patch -p1
            patching file pci/hda/patch_analog.c
            Hunk #1 FAILED at 3402.
            1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
            patch_analog.c.rej
            *************** struct hda_codec_preset snd_hda_preset_a
            *** 3402,3407 ****
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
            --- 3402,3408 ----
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
            +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

            The patch is ok?
            
            Thanks
            
            (Tobin sorry for sending messge two times)

        --                                                                            
        Tobin Davis <[email protected]>                                             
Signature · 1 line
Tobin Davis <[email protected]>                                                     
#3 lore raw

Then you think it's a problem of my bios?

I read about a bug named "no sound after windows". I don't know i if it's my bug

Thanks

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 101 lines

At Mon, 09 Jul 2007 10:04:17 -0700,

Quoted 10 lines · Tobin Davis

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Well, I don't think this is a generic problem, so let's keep it out of the upstream for now. Maybe I'll rethink if the same problem occurs to anyone else, too...

Takashi

Quoted 80 lines · Xavi de Blas
    It worked!!!

    Thanks a lot

    I thought my hardware was broken!

    2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:

            cd alsa-driver-1.0.14/alsa-kernel
            patch -p1 < LenovoX60S.patch
            cd ..

        Then you can rerun configure && make && make install.

        Tobin

        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:

            2007/7/9, Tobin Davis <[email protected]>:
            > Sorry for missing this thread.  I just woke up.
            >
            > I looked at your first pastebin output, and the actual audio codec shows
            > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
            > driver patch isn't detecting it.
            >
            > Can you try this patch against alsa-driver-1.0.14?  It should detect
            > this codec.  Still not sure why it is misconfigured, unless there is a
            > bios issue.
            >

            I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
            bios. Not sure, but sound worked, and continued working some reboots
            later. But when i tried a few things with wine and rebooted, sound
            never worked again

            When i aply the patch (probably i don't do it good) there are problems:

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
            LenovoX60S.patch | patch -p1
            patching file pci/hda/patch_analog.c
            Hunk #1 FAILED at 3402.
            1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
            patch_analog.c.rej
            *************** struct hda_codec_preset snd_hda_preset_a
            *** 3402,3407 ****
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
            --- 3402,3408 ----
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
            +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

            The patch is ok?

            Thanks

            (Tobin sorry for sending messge two times)

        --
        Tobin Davis <[email protected]>

--
Tobin Davis <[email protected]>

#4 lore raw

At Tue, 10 Jul 2007 16:03:48 +0200,

Quoted 2 lines · Xavi de Blas

Then you think it's a problem of my bios?

Yes, I suspect it. Usually it's the only place to define the PCI IDs.

Quoted 2 lines

I read about a bug named "no sound after windows". I don't know i if it's my bug

Heh, there is more than one way to skin a cat ;)

Takashi

Quoted 105 lines

Thanks

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 101 lines

At Mon, 09 Jul 2007 10:04:17 -0700,

Quoted 10 lines · Tobin Davis

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Well, I don't think this is a generic problem, so let's keep it out of the upstream for now. Maybe I'll rethink if the same problem occurs to anyone else, too...

Takashi

Quoted 80 lines · Xavi de Blas
    It worked!!!

    Thanks a lot

    I thought my hardware was broken!

    2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:

            cd alsa-driver-1.0.14/alsa-kernel
            patch -p1 < LenovoX60S.patch
            cd ..

        Then you can rerun configure && make && make install.

        Tobin

        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:

            2007/7/9, Tobin Davis <[email protected]>:
            > Sorry for missing this thread.  I just woke up.
            >
            > I looked at your first pastebin output, and the actual audio codec shows
            > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
            > driver patch isn't detecting it.
            >
            > Can you try this patch against alsa-driver-1.0.14?  It should detect
            > this codec.  Still not sure why it is misconfigured, unless there is a
            > bios issue.
            >

            I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
            bios. Not sure, but sound worked, and continued working some reboots
            later. But when i tried a few things with wine and rebooted, sound
            never worked again

            When i aply the patch (probably i don't do it good) there are problems:

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
            LenovoX60S.patch | patch -p1
            patching file pci/hda/patch_analog.c
            Hunk #1 FAILED at 3402.
            1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
            patch_analog.c.rej
            *************** struct hda_codec_preset snd_hda_preset_a
            *** 3402,3407 ****
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
            --- 3402,3408 ----
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
            +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

            The patch is ok?

            Thanks

            (Tobin sorry for sending messge two times)

        --
        Tobin Davis <[email protected]>

--
Tobin Davis <[email protected]>

#5 lore raw

And... what should i do in next kernel upgrades or alsa upgrades. Do i need to understand the patch, modify and apply?

Bye

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 126 lines

At Tue, 10 Jul 2007 16:03:48 +0200,

Quoted 2 lines · Xavi de Blas

Then you think it's a problem of my bios?

Yes, I suspect it. Usually it's the only place to define the PCI IDs.

Quoted 2 lines

I read about a bug named "no sound after windows". I don't know i if it's my bug

Heh, there is more than one way to skin a cat ;)

Takashi

Quoted 105 lines

Thanks

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 101 lines

At Mon, 09 Jul 2007 10:04:17 -0700,

Quoted 10 lines · Tobin Davis

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Well, I don't think this is a generic problem, so let's keep it out of the upstream for now. Maybe I'll rethink if the same problem occurs to anyone else, too...

Takashi

Quoted 80 lines · Xavi de Blas
    It worked!!!

    Thanks a lot

    I thought my hardware was broken!

    2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:

            cd alsa-driver-1.0.14/alsa-kernel
            patch -p1 < LenovoX60S.patch
            cd ..

        Then you can rerun configure && make && make install.

        Tobin

        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:

            2007/7/9, Tobin Davis <[email protected]>:
            > Sorry for missing this thread.  I just woke up.
            >
            > I looked at your first pastebin output, and the actual audio codec shows
            > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
            > driver patch isn't detecting it.
            >
            > Can you try this patch against alsa-driver-1.0.14?  It should detect
            > this codec.  Still not sure why it is misconfigured, unless there is a
            > bios issue.
            >

            I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
            bios. Not sure, but sound worked, and continued working some reboots
            later. But when i tried a few things with wine and rebooted, sound
            never worked again

            When i aply the patch (probably i don't do it good) there are problems:

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
            LenovoX60S.patch | patch -p1
            patching file pci/hda/patch_analog.c
            Hunk #1 FAILED at 3402.
            1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
            patch_analog.c.rej
            *************** struct hda_codec_preset snd_hda_preset_a
            *** 3402,3407 ****
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
            --- 3402,3408 ----
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
            +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

            The patch is ok?

            Thanks

            (Tobin sorry for sending messge two times)

        --
        Tobin Davis <[email protected]>

--
Tobin Davis <[email protected]>

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw

At Tue, 10 Jul 2007 16:13:33 +0200,

Quoted 3 lines · Xavi de Blas

And... what should i do in next kernel upgrades or alsa upgrades. Do i need to understand the patch, modify and apply?

Yep. If it's really specific to your hardware, then the patch is nothing but a workaround. If the very same problem appears in other one's machine, then it's a right fix. So, we need to find out the cause.

First, make sure that you have no strange drivers that may cause such a thing. If the codec ID is so at the very stage of booting, it's BIOS that sets up in that way.

(BTW, let me correct: it's no _PCI_ ID but _codec_ id in my previous
post.)

Takashi

Quoted 131 lines

Bye

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 126 lines

At Tue, 10 Jul 2007 16:03:48 +0200,

Quoted 2 lines · Xavi de Blas

Then you think it's a problem of my bios?

Yes, I suspect it. Usually it's the only place to define the PCI IDs.

Quoted 2 lines

I read about a bug named "no sound after windows". I don't know i if it's my bug

Heh, there is more than one way to skin a cat ;)

Takashi

Quoted 105 lines

Thanks

2007/7/10, Takashi Iwai <[email protected]>:

Quoted 101 lines

At Mon, 09 Jul 2007 10:04:17 -0700,

Quoted 10 lines · Tobin Davis

Then I humbly sign off on that patch.

For the record:

Summary: HDA - patch to fix issue with Lenovo Thinkpad codec ID.

This patch fixes an issue in Lenovo Thinkpads where the codec ID gets changed.

Signed off by Tobin Davis <[email protected]>

Well, I don't think this is a generic problem, so let's keep it out of the upstream for now. Maybe I'll rethink if the same problem occurs to anyone else, too...

Takashi

Quoted 80 lines · Xavi de Blas
    It worked!!!

    Thanks a lot

    I thought my hardware was broken!

    2007/7/9, Tobin Davis <[email protected]>:

        Patch needs to be applied as follows:

            cd alsa-driver-1.0.14/alsa-kernel
            patch -p1 < LenovoX60S.patch
            cd ..

        Then you can rerun configure && make && make install.

        Tobin

        On Mon, 2007-07-09 at 17:25 +0200, Xavi de Blas wrote:

            2007/7/9, Tobin Davis <[email protected]>:
            > Sorry for missing this thread.  I just woke up.
            >
            > I looked at your first pastebin output, and the actual audio codec shows
            > up as 0x51d41981, when it should be 0x11d41981.  This is why the Analog
            > driver patch isn't detecting it.
            >
            > Can you try this patch against alsa-driver-1.0.14?  It should detect
            > this codec.  Still not sure why it is misconfigured, unless there is a
            > bios issue.
            >

            I'm afraid, probably when i tried the Linuxant codecs for the modem it broke the
            bios. Not sure, but sound worked, and continued working some reboots
            later. But when i tried a few things with wine and rebooted, sound
            never worked again

            When i aply the patch (probably i don't do it good) there are problems:

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14$ cat
            LenovoX60S.patch | patch -p1
            patching file pci/hda/patch_analog.c
            Hunk #1 FAILED at 3402.
            1 out of 1 hunk FAILED -- saving rejects to file pci/hda/patch_analog.c.rej

            xavier@corall:/usr/local/src/alsa-src/alsa-driver-1.0.14/pci/hda$ cat
            patch_analog.c.rej
            *************** struct hda_codec_preset snd_hda_preset_a
            *** 3402,3407 ****
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },
            --- 3402,3408 ----
                   { .id = 0x11d41882, .name = "AD1882", .patch = patch_ad1882 },
                   { .id = 0x11d41884, .name = "AD1884", .patch = patch_ad1884 },
                   { .id = 0x11d41981, .name = "AD1981", .patch = patch_ad1981 },
            +       { .id = 0x51d41981, .name = "AD1981", .patch = patch_ad1981 },
                   { .id = 0x11d41983, .name = "AD1983", .patch = patch_ad1983 },
                   { .id = 0x11d41984, .name = "AD1984", .patch = patch_ad1984 },
                   { .id = 0x11d41986, .name = "AD1986A", .patch = patch_ad1986a },

            The patch is ok?

            Thanks

            (Tobin sorry for sending messge two times)

        --
        Tobin Davis <[email protected]>

--
Tobin Davis <[email protected]>

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel