Your message to freebsd-ppc awaits moderator approval

2012-05-05 Thread owner-freebsd-ppc
Your mail to 'freebsd-ppc' with the subject

Employment you've been searching!

Is being held until the list moderator can review it for approval.

The reason it is being held:

SpamAssassin identified this message as possible spam

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.freebsd.org/mailman/confirm/freebsd-ppc/ac550edc3aebe22cf2c8fe26a1ac198695ccf157


PLEASE NOTE!  If you would like to post freely to the list, please
subscribe first.  If you post from multiple addresses, you can
subscribe each address and go into the options page and select 'no
mail' for all but one address. This will allow you to post without
delay in the future.

Sorry for the hassle, but certain immature people made this necessary.

___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org


Re: Brightness keys and booting the kernel

2012-05-05 Thread Nikolay Tychina
2012/5/5 matt sendtom...@gmail.com:
 On 05/01/12 10:13, Nikolay Tychina wrote:

    Considering the fact that brightness keys work until kernel is
 loaded,
    is it possible to make them work
    after the kernel is booted in some simple way?
    I remember my previous laptop was able to control brightness without
    any acpi_* modules and disregarding
    OS running.

 What make and model laptop?  What OS?  (this one, and the previous?)

 % head -24 /var/run/dmesg.boot

 should provide a clue or two.

 cheers, Ian

 This is Samsung RV511-S02 which runs FreeBSD 9-RELEASE, previous was
 Acer Aspire 5520G running FreeBSD 8-STABLE until it burned away in
 2010, and I couldn't find dmesg for it.

 Regards


 ACPI set debug layer 'ACPI_ALL_COMPONENTS ACPI_ALL_DRIVERS' level
 'ACPI_LV_ERROR'
 Copyright (c) 1992-2012 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.0-RELEASE #1: Thu Feb 23 18:33:29 MSK 2012
     nicholas@rv511:/usr/obj/usr/src/sys/GENERIC amd64
 CPU: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz (2527.05-MHz K8-class
 CPU)
   Origin = GenuineIntel  Id = 0x20655  Family = 6  Model = 25  Stepping
 = 5

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

 Features2=0x9ae3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT
   AMD Features=0x28100800SYSCALL,NX,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant, performance statistics
 real memory  = 4294967296 (4096 MB)
 avail memory = 3940532224 (3757 MB)
 Event timer LAPIC quality 600
 ACPI APIC Table:PTLTD           APIC
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  4
  cpu3 (AP): APIC ID:  5
 ___
 freebsd-acpi@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
 To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org

 I know that Thinkpads (obviously not the same but the information may be
 useful) start in BIOS mode, where acpi does not handle most hotkeys,
 brightness etc. So the brightness keys work. As soon as acpi attaches,
 however, it trapdoors into ACPI mode, where it expects Windows or Linux
 drivers to handle hotkeys and call either acpi video extensions or other
 ACPI methods to initiate display changes and brightness. Have you tried
 using the acpi_video module?
 The reason it works during early kernel and prior on Thinkpads is due to the
 fact it hasn't been trapdoored into ACPI mode yet.

 Matt

I have tried it, but changing brightness in sysctl doesn't affect anything.
Have just found samsung-laptop.c from linux that reads This driver is
needed because a number of Samsung laptops do not hook their control
settings through ACPI.  So we have to poke around in the BIOS to do
things like brightness values, and special key controls.
heh

Nikolay
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org