|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
openBSD on toshiba sat c75d-b brightness
If there are brightness keys on the satellite c75d-b, I do not know where they are. I used the gui interface in windows 7 and debian jessie to adjust the brightness and contrast for this laptop but my openBSD install has windows that shine like nuclear isotopes. How long until it burns up the screen?
The only info I can find on the internet talks about adjusting the brightness of the background. That does not affect the windows. If there are fn hotkeys to set brightness for a toshiba let me know what they are, otherwise I suppose the answer is to switch from xfce to some other desktop. Since gnome is similar to xfce I suppose I should try kde. Code:
pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub3 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2 uhub4 at uhub2 port 1 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (2ea4e504cc228b5f.a) swap on sd0b dump on sd0b umass0 at uhub0 port 3 configuration 1 interface 0 " USB Flash Memory" rev 2.00/2.00 addr 2 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: <, USB Flash Memory, 6.50> SCSI0 0/direct removable sd1: 949MB, 512 bytes/sector, 1944287 sectors cd1 at scsibus4 targ 1 lun 1: <, USB Flash Memory, 6.50> SCSI0 5/cdrom removable ext4fs: only read-only support right now sd1 detached cd1 detached scsibus4 detached umass0 detached duplicate IP address 10.0.0.6 sent from ethernet address 00:1b:b9:5b:d0:87 duplicate IP address 10.0.0.6 sent from ethernet address 00:1b:b9:5b:d0:87 Sidney |
|
||||
Hello again, Sidney.
There was a discussion which began on the bugs@ mailing list about Toshiba brightness control on the M30, with user-supplied patches, which were eventually revised and imported into OpenBSD for release 5.0 and resulted in /usr/src/sys/dev/acpi/acpitoshiba.c, to interface with Toshiba's Hardware Control Interface (HCI). That ACPI driver says: Code:
/* * Toshiba HCI interface definitions * * HCI is Toshiba's "Hardware Control Interface" which is supposed to * be uniform across all their models. Ideally we would just call * dedicated ACPI methods instead of using this primitive interface. * However, the ACPI methods seem to be incomplete in some areas (for * example they allow setting, but not reading, the LCD brightness * value), so this is still useful. */ $ wsconsctl -a command should at least show you what knobs you can twist. Perhaps display.brightness is one of them.Edited to add: IdOp posted while I was typing. Those solutions may be better, easier, and more adaptable. Last edited by jggimi; 4th November 2015 at 01:23 AM. Reason: X11-based solutions may be better |
|
|||
I use xbacklight (1). Not sure how it compares to the other solutions mentioned but it's simple and works for me.
|
|
|||
So I tried all of the suggestions.
Code:
wsconsctl display.brightness=22 wsconsctl display.brightness=99 xbacklight -get xbacklight -set 22 xbacklight -set 99 xrandr --output 0.0 Maybe I can get acpi patched up and xbacklight will work. Sorry about the partial dmesg. Here is dmesg piped to grep acpi ; followed by the full dmesg Code:
acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT SLIC FPDT MSDM SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices GPP0(S5) EHC1(S3) EHC3(S3) XHC0(S3) ODD8(S3) LID0(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP0) acpiprt2 at acpi0: bus 5 (GPP1) acpiprt3 at acpi0: bus 6 (GPP2) acpiprt4 at acpi0: bus -1 (GPP3) acpiprt5 at acpi0: bus -1 (GFX_) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpipwrres0 at acpi0: PFA1, resource for FAN1 acpitz0 at acpi0: critical temperature is 105 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "PA510" serial 1D8E type Li-ion acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: VGA_ Code:
OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 5315981312 (5069MB) avail mem = 5170548736 (4931MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe5630 (25 entries) bios0: vendor Insyde Corp. version "1.10" date 04/30/2014 bios0: TOSHIBA Satellite C75D-B acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI HPET APIC MCFG ASF! BOOT SLIC FPDT MSDM SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices GPP0(S5) EHC1(S3) EHC3(S3) XHC0(S3) ODD8(S3) LID0(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A6-6310 APU with AMD Radeon R4 Graphics, 1796.83 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A6-6310 APU with AMD Radeon R4 Graphics, 1796.64 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD A6-6310 APU with AMD Radeon R4 Graphics, 1796.64 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu2: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu2: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu2: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD A6-6310 APU with AMD Radeon R4 Graphics, 1796.64 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1 cpu3: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 2MB 64b/line 16-way L2 cache cpu3: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu3: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 4 ioapic1 at mainbus0: apid 5 pa 0xfec01000, version 21, 32 pins ioapic1: misconfigured as apic 0, remapped to apid 5 acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (GPP0) acpiprt2 at acpi0: bus 5 (GPP1) acpiprt3 at acpi0: bus 6 (GPP2) acpiprt4 at acpi0: bus -1 (GPP3) acpiprt5 at acpi0: bus -1 (GFX_) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpipwrres0 at acpi0: PFA1, resource for FAN1 acpitz0 at acpi0: critical temperature is 105 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "PA510" serial 1D8E type Li-ion acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpivideo0 at acpi0: VGA_ acpivout0 at acpivideo0: LCD_ acpivideo1 at acpi0: VGA_ cpu0: 1796 MHz: speeds: 1800 1600 1400 1200 1000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 vendor "AMD", unknown product 0x1566 rev 0x00 vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x9851 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 1 function 1 vendor "ATI", unknown product 0x9840 rev 0x00: msi azalia0: no supported codecs pchb1 at pci0 dev 2 function 0 vendor "AMD", unknown product 0x156b rev 0x00 ppb0 at pci0 dev 2 function 2 "AMD AMD64 16h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 "Realtek 8101E" rev 0x07: RTL8106E (0x4480), msi, address 00:8c:fa:81:6f:aa rlphy0 at re0 phy 7: RTL8201E 10/100 PHY, rev. 2 ppb1 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi pci2 at ppb1 bus 5 "Atheros AR9485" rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 2 function 4 "AMD AMD64 16h PCIE" rev 0x00: msi pci3 at ppb2 bus 6 rtsx0 at pci3 dev 0 function 0 "Realtek RTS5229 Card Reader" rev 0x01: msi sdmmc0 at rtsx0 vendor "AMD", unknown product 0x1537 (class crypto subclass miscellaneous, rev 0x00) at pci0 dev 8 function 0 not configured xhci0 at pci0 dev 16 function 0 vendor "AMD", unknown product 0x7814 rev 0x11: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x00: msi, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA MQ01ABD0, AX0A> SCSI3 0/direct fixed naa.5000039561d838d0 sd0: 715404MB, 512 bytes/sector, 1465149168 sectors cd0 at scsibus1 targ 1 lun 0: <TSSTcorp, CDDVDW SU-208FB, TF01> ATAPI 5/cdrom removable ehci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1 ehci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 4 int 18 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 "AMD EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x42: SMBus disabled azalia1 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x02: msi azalia1: codecs: Realtek ALC269 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 pchb2 at pci0 dev 24 function 0 vendor "AMD", unknown product 0x1580 rev 0x00 pchb3 at pci0 dev 24 function 1 vendor "AMD", unknown product 0x1581 rev 0x00 pchb4 at pci0 dev 24 function 2 vendor "AMD", unknown product 0x1582 rev 0x00 pchb5 at pci0 dev 24 function 3 vendor "AMD", unknown product 0x1583 rev 0x00 pchb6 at pci0 dev 24 function 4 vendor "AMD", unknown product 0x1584 rev 0x00 pchb7 at pci0 dev 24 function 5 vendor "AMD", unknown product 0x1585 rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 7.5 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 uhub3 at uhub1 port 1 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2 uhub4 at uhub2 port 1 "Advanced Micro Devices product 0x7900" rev 2.00/0.18 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (2ea4e504cc228b5f.a) swap on sd0b dump on sd0b umass0 at uhub0 port 3 configuration 1 interface 0 " USB Flash Memory" rev 2.00/2.00 addr 2 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: <, USB Flash Memory, 6.50> SCSI0 0/direct removable sd1: 949MB, 512 bytes/sector, 1944287 sectors cd1 at scsibus4 targ 1 lun 1: <, USB Flash Memory, 6.50> SCSI0 5/cdrom removable ext4fs: only read-only support right now sd1 detached cd1 detached scsibus4 detached umass0 detached Sidney |
|
|||
Code:
xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1600 x 900, current 1600 x 900, maximum 1600 x 900 default connected 1600x900+0+0 0mm x 0mm 1600x900 0.00* Code:
xrandr --output default --brightness 44 xrandr: Gamma size is 0. Thanks, Sidney |
|
|||
Code:
xgamma -gamma .22 xgamma -gamma 8 Still burning bright. Sidney |
|
||||
Hmm, I did some experiments on my laptop, which has AMD graphics. All commands were run under X as an ordinary user.
OpenBSD: The output is LVDS. Both xrandr and xgamma seemed to run fine, but the brightness was never affected. Similar to what you observe. NetBSD: The output is LVDS. xrandr and xgamma both were able to change the brightness. Linux: The output is default. xrandr failed with "xrandr: Gamma size is 0." while xgamma ran ok but no change in brightness was seen. xbacklight was not helpful in all 3 cases. I'm not sure what to suggest at the moment. |
|
|||
Quote:
Quote:
Your /var/log/Xorg.0.log likely indicates you are using a generic VESA drivers. Intel Video drivers were recently updated and I would suspect that ATI/Radeon drivers are not far behind. It is likely that this laptop will have better video support in future OpenBSD versions. For now, I would focus on setting brightness with VESA. Last edited by shep; 7th November 2015 at 05:08 PM. Reason: added quote tag to pasted dmesg |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lower Load Cycle Count of a TOSHIBA MQ02ABF100 ? | NaWi | OpenBSD General | 8 | 9th November 2015 12:08 PM |
usb modem toshiba g450+freebsd8.0 | xnl96 | FreeBSD General | 4 | 3rd October 2009 12:04 PM |
cannot install freebsd on toshiba tecra R10 10K | koukisaad | FreeBSD Installation and Upgrading | 5 | 24th September 2009 10:18 AM |