Re: API to turn off the display

From: Anish Mistry (mistry.7_at_osu.edu)
Date: 01/29/04

  • Next message: Josh Elsasser: "Re: API to turn off the display"
    To: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
    Date: Wed, 28 Jan 2004 20:00:08 -0500
    
    
    

    On Wednesday 28 January 2004 04:07 pm, Taku YAMAMOTO wrote:
    ...
    >
    > I wrote a driver that handles what John told.
    >
    > http://access.cent.saitama-u.ac.jp/~taku/freebsd/acpi_vid-20031013.tar.gz
    > MD5 (acpi_vid-20031013.tar.gz) = adbfa6931e505544fb784e00c7b974e7
    >
    > This driver uses ACPI video extension to control display switching and
    > backlight brightness. So working ACPI is a requisition for this driver.
    >
    > Whether it does or does not work depends heavily on how well the BIOS
    written,
    > however, I hope it worth trying.
    >
    > Suggestions, working/not-working reports etc are very appreciated.
    >
    It attaches and detects the displays:
    littleguy# sysctl hw.acpi.video
    hw.acpi.video.crt0.active: 0
    hw.acpi.video.lcd0.active: 1
    hw.acpi.video.tv0.active: 0

    But trying to turn off the LCD doesn't work:
    littleguy# sysctl hw.acpi.video.lcd0.active=0
    hw.acpi.video.lcd0.active: 1 -> 1

    Tried to connect the tvout and activate it, but the sysctl showed 0, even
    though it was displaying to the TV. Twiddling this sysctl while the tv
    out was active yielded the same results as the lcd, except it stayed at 0.

    My laptop's asl:
    http://am-productions.biz/debug/littleguy.asl

    I'd be happy to do more testing.

    -- 
    Anish Mistry
    
    


    • application/pgp-signature attachment: signature

  • Next message: Josh Elsasser: "Re: API to turn off the display"

    Relevant Pages

    • Re: if_ath breaks s3 suspend/resume [Was: ACPI S3 wakeup problem (beeeeeeeeep)]
      ... Now with this sysctl enabled I hear a continuing beep, but the hard drive stays powered down, also the LCD keeps unlit. ... but sometimes I get a hang during bootup shortly after ath0 is brought up. ... For the hang I'm not sure how to reproduce it. ... not a driver problem. ...
      (freebsd-current)
    • [PATCH] I2C: Kill i2c_client.id (5/5)
      ... * [Sysctl] All sysctl stuff is of course gone (defines, ... existing 2.6 driver for details. ... sysfs file creation. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • dev.* analogue for interfaces
      ... I created the dev.* sysctl tree for device drivers. ... Every time a device is registered, a sysctl context is automatically ... the driver - or even another driver - wants to add. ... interfaces aren't. ...
      (freebsd-arch)
    • Re: [PATCH] Map volume and brightness events on thinkpads
      ... so brightness hot keys are not to be reported by ... Otherwise if another driver touches it the driver and ... which are processed by the ACPI video module. ...
      (Linux-Kernel)
    • Re: Atheros 9280 issue
      ... did a few tests in sta and hostap mode with 8.0-BETA4 and all seemed to ... Clients can connect to the AP, but obviously packets are dropped every ... setting a sysctl (look at sysctl -a and/or the driver code). ...
      (freebsd-current)