lkml.org 
[lkml]   [2007]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH] Don't probe for DDC on VBE1.2
    On Thu, 15 Feb 2007, Andrew Morton wrote:

    > It's not an X problem - the screen is black immediately upon loading the
    > kernel.
    >
    > But I guess you knew that and you're just after display info:
    > http://userweb.kernel.org/~akpm/Xorg.0.log.txt

    Thanks, the X log told me your VBE version. I tried to reproduce it on my
    thinkpad which seems to have a very similar video setup to no avail, Could
    you test the following on the VAIO? If this isn't the case, i suspect i'm
    corrupting your modelist.

    P.s. Thanks for the vga=0x263!

    Index: linux-2.6.20-mm1/arch/i386/boot/video.S
    ===================================================================
    RCS file: /home/cvsroot/linux-2.6.20-mm1/arch/i386/boot/video.S,v
    retrieving revision 1.1.1.1
    diff -u -p -B -r1.1.1.1 video.S
    --- linux-2.6.20-mm1/arch/i386/boot/video.S 15 Feb 2007 17:35:57 -0000 1.1.1.1
    +++ linux-2.6.20-mm1/arch/i386/boot/video.S 16 Feb 2007 12:58:20 -0000
    @@ -1945,6 +1945,25 @@ store_edid:
    rep
    stosl

    + pushw %es
    + pushw %ds
    + popw %es
    + leaw modelist+1024, %di
    + movw $0x02b3, %ax
    + movw %ax, (%di)
    + movw $0x9d4a, %ax
    + movw %ax, 2(%di) # set signature to "vbe2"
    +
    + movw $0x4f00, %ax
    + int $0x10
    + popw %es
    +
    + cmpw $0x004f, %ax
    + jne no_edid
    +
    + cmpw $0x0200, 4(%di) # only do EDID on >= VBE2.0
    + jl no_edid
    +
    pushw %es # save ES
    xorw %di, %di # Report Capability
    pushw %di
    Index: linux-2.6.20-mm1/arch/x86_64/boot/video.S
    ===================================================================
    RCS file: /home/cvsroot/linux-2.6.20-mm1/arch/x86_64/boot/video.S,v
    retrieving revision 1.1.1.1
    diff -u -p -B -r1.1.1.1 video.S
    --- linux-2.6.20-mm1/arch/x86_64/boot/video.S 15 Feb 2007 17:36:18 -0000 1.1.1.1
    +++ linux-2.6.20-mm1/arch/x86_64/boot/video.S 16 Feb 2007 12:57:57 -0000
    @@ -1945,6 +1945,25 @@ store_edid:
    rep
    stosl

    + pushw %es
    + pushw %ds
    + popw %es
    + leaw modelist+1024, %di
    + movw $0x02b3, %ax
    + movw %ax, (%di)
    + movw $0x9d4a, %ax
    + movw %ax, 2(%di) # set signature to "vbe2"
    +
    + movw $0x4f00, %ax
    + int $0x10
    + popw %es
    +
    + cmpw $0x004f, %ax
    + jne no_edid
    +
    + cmpw $0x0200, 4(%di) # only do EDID on >= VBE2.0
    + jl no_edid
    +
    pushw %es # save ES
    xorw %di, %di # Report Capability
    pushw %di
    -
    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: 2007-02-16 15:43    [W:0.022 / U:62.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site