Re: OpenBSD support for Lenovo ThinkPad X230?
On Tue, Dec 11, 2012 at 2:47 AM, Jonathan Gray wrote: [...] > Not sure on what causes the display noise when coming back from dpms, > the xbacklight control part should work with the following diff: > > Index: i830_lvds.c > === > RCS file: /cvs/xenocara/driver/xf86-video-intel/src/i830_lvds.c,v > retrieving revision 1.12 > diff -u -p -r1.12 i830_lvds.c [...] Thanks for the diff, xbacklight works now. :) -Amarendra
Re: OpenBSD support for Lenovo ThinkPad X230?
Jonathan Gray wrote: > Not sure on what causes the display noise when coming back from dpms, > the xbacklight control part should work with the following diff: Yes, that fixes it. (Previously, xbacklight would only work once you had dimmed the display at least one step while in the BIOS.) -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: OpenBSD support for Lenovo ThinkPad X230?
On Mon, Dec 10, 2012 at 10:04:32PM -0800, Amarendra Godbole wrote: > On Fri, Nov 23, 2012 at 6:34 AM, Anil Madhavapeddy wrote: > > On 23 Nov 2012, at 03:13, Byron Klippert wrote: > > > >> I picked up one recently; went with the following options. > >> > >> - Intel Core i5-3360M > >> - 128GB SSD (SATA3) > >> - 8GB PC3-12800 DDR3 > >> - Intel Centrino WL-N 2200 > >> > >> > >> > >> Had to use the Nov. 3 snapshot to take advantage of the recent ivy > >> bridge graphic changes (affecting Intel HD Graphics 4000). > >> > >> http://marc.info/?l=openbsd-tech&m=134909742604779&w=2 > >> > >> X is usable, although I've had issues switching between console > >> (Ctl-Alt-F1) and back to X. Also had issues when display goes to sleep. > >> ie: display resumes with strange effects on display (vertical lines - > >> like bad resolution or refresh rate). This can sometimes be remedied by > >> switch between console and back to X several times. > > > > I see the same issues with the X1 Carbon (along with the occasional hard > > freeze when switching X displays, but more often you get a white noise > > overlay). Not had a chance to track it down yet. > [...] > > Thanks for the feedback - my Dec 5 snapshot behaves the same. White > noise, 100% brightness, x6050 error on changing the brightness, etc. > fw_update pulled the latest 5.7 version of iwn firmware, and my > wireless works fine (Intel Centrino Advanced-N 6205). > > Also, xbacklight does not work - basically no output on any set, get > commands. Anyone got this working, so I can have the brightness > adjusted? Thanks. Not sure on what causes the display noise when coming back from dpms, the xbacklight control part should work with the following diff: Index: i830_lvds.c === RCS file: /cvs/xenocara/driver/xf86-video-intel/src/i830_lvds.c,v retrieving revision 1.12 diff -u -p -r1.12 i830_lvds.c --- i830_lvds.c 6 Oct 2012 03:51:23 - 1.12 +++ i830_lvds.c 6 Oct 2012 12:36:47 - @@ -1274,6 +1274,8 @@ i830_lvds_create_resources(xf86OutputPtr } /* Set the current value of the backlight property */ data = dev_priv->backlight_duty_cycle; +if (data > dev_priv->backlight_max) +data = dev_priv->backlight_max; err = RRChangeOutputProperty(output->randr_output, backlight_atom, XA_INTEGER, 32, PropModeReplace, 1, &data, FALSE, TRUE); @@ -1412,6 +1414,8 @@ i830_lvds_set_property(xf86OutputPtr out data = dev_priv->get_backlight(output); else data = dev_priv->backlight_duty_cycle; + if (data > dev_priv->backlight_max) + data = dev_priv->backlight_max; ret = RRChangeOutputProperty(output->randr_output, backlight_atom, XA_INTEGER, 32, PropModeReplace, 1, &data, FALSE, TRUE);
Re: OpenBSD support for Lenovo ThinkPad X230?
On Fri, Nov 23, 2012 at 6:34 AM, Anil Madhavapeddy wrote: > On 23 Nov 2012, at 03:13, Byron Klippert wrote: > >> I picked up one recently; went with the following options. >> >> - Intel Core i5-3360M >> - 128GB SSD (SATA3) >> - 8GB PC3-12800 DDR3 >> - Intel Centrino WL-N 2200 >> >> >> >> Had to use the Nov. 3 snapshot to take advantage of the recent ivy >> bridge graphic changes (affecting Intel HD Graphics 4000). >> >> http://marc.info/?l=openbsd-tech&m=134909742604779&w=2 >> >> X is usable, although I've had issues switching between console >> (Ctl-Alt-F1) and back to X. Also had issues when display goes to sleep. >> ie: display resumes with strange effects on display (vertical lines - >> like bad resolution or refresh rate). This can sometimes be remedied by >> switch between console and back to X several times. > > I see the same issues with the X1 Carbon (along with the occasional hard > freeze when switching X displays, but more often you get a white noise > overlay). Not had a chance to track it down yet. [...] Thanks for the feedback - my Dec 5 snapshot behaves the same. White noise, 100% brightness, x6050 error on changing the brightness, etc. fw_update pulled the latest 5.7 version of iwn firmware, and my wireless works fine (Intel Centrino Advanced-N 6205). Also, xbacklight does not work - basically no output on any set, get commands. Anyone got this working, so I can have the brightness adjusted? Thanks. -Amarendra
Re: OpenBSD support for Lenovo ThinkPad X230?
On 23 Nov 2012, at 03:13, Byron Klippert wrote: > I picked up one recently; went with the following options. > > - Intel Core i5-3360M > - 128GB SSD (SATA3) > - 8GB PC3-12800 DDR3 > - Intel Centrino WL-N 2200 > > > > Had to use the Nov. 3 snapshot to take advantage of the recent ivy > bridge graphic changes (affecting Intel HD Graphics 4000). > > http://marc.info/?l=openbsd-tech&m=134909742604779&w=2 > > X is usable, although I've had issues switching between console > (Ctl-Alt-F1) and back to X. Also had issues when display goes to sleep. > ie: display resumes with strange effects on display (vertical lines - > like bad resolution or refresh rate). This can sometimes be remedied by > switch between console and back to X several times. I see the same issues with the X1 Carbon (along with the occasional hard freeze when switching X displays, but more often you get a white noise overlay). Not had a chance to track it down yet. -anil > > > I recall having issues with USB3 or something, before trying current > snapshot. Might have to play with BIOS settings. I also disabled the > touchpad, it was causing strange errors whenever finger came in contact > with surface. > > > Suspend/resume works. > > > The Intel Centrino WL-N 2200 does not work. > > > Haven't tried ethernet (em0). > > > Keyboard is nice. > > > Display doesn't dim using Fn keys (acpithinkpad0: unknown event 0x6050). > > > Mute changes output_muted. Volume +/- changes play.gain. Mic mute don't > know. > > > > Currently dual-booting with stock Win7 OS. Wiped hibernate partition and > installed 5.2 within (see fdisk output). Disabled hibernation within > Win7. > > > > OpenBSD 5.2-current (GENERIC.MP) #96: Sat Nov 3 14:43:34 MDT 2012 >dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8270311424 (7887MB) > avail mem = 8027672576 (7655MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (70 entries) > bios0: vendor LENOVO version "G2ET82WW (2.02 )" date 09/11/2012 > bios0: LENOVO 2306CTO > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT > FPDT ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2 > acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) > EHC1(S3) EHC2(S3) HDEF(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2794.19 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: apic clock running at 99MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS > cpu1: 256KB 64b/line 8-way L2 cache > cpu2 at mainbus0: apid 2 (application processor) > cpu2: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS > cpu2: 256KB 64b/line 8-way L2 cache > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS > cpu3: 256KB 64b/line 8-way L2 cache > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf800, bus 0-63 > acpiec0 at acpi0 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG_) > acpiprt2 at acpi0: bus 2 (EXP1) > acpiprt3 at acpi0: bus 3 (EXP2) > acpiprt4 at acpi0: bus 4 (EXP3) > acpicpu0 at acpi0: C3, C2, C1, PSS > acpicpu1 at acpi0: C3, C2, C1, PSS > acpicpu2 at acpi0: C3, C2, C1, PSS > acpicpu3 at acpi0: C3, C2, C1, PSS > acpipwrres0 at acpi0: PUBS > acpitz0 at acpi0: critical temperature is 103 degC > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: SLPB > acpibat0 at acpi0: BAT0 model "45N1029" serial 4430 type LION oem "LGC" > acpibat1 at acpi0: BAT1 not present > acp
Re: OpenBSD support for Lenovo ThinkPad X230?
I picked up one recently; went with the following options. - Intel Core i5-3360M - 128GB SSD (SATA3) - 8GB PC3-12800 DDR3 - Intel Centrino WL-N 2200 Had to use the Nov. 3 snapshot to take advantage of the recent ivy bridge graphic changes (affecting Intel HD Graphics 4000). http://marc.info/?l=openbsd-tech&m=134909742604779&w=2 X is usable, although I've had issues switching between console (Ctl-Alt-F1) and back to X. Also had issues when display goes to sleep. ie: display resumes with strange effects on display (vertical lines - like bad resolution or refresh rate). This can sometimes be remedied by switch between console and back to X several times. I recall having issues with USB3 or something, before trying current snapshot. Might have to play with BIOS settings. I also disabled the touchpad, it was causing strange errors whenever finger came in contact with surface. Suspend/resume works. The Intel Centrino WL-N 2200 does not work. Haven't tried ethernet (em0). Keyboard is nice. Display doesn't dim using Fn keys (acpithinkpad0: unknown event 0x6050). Mute changes output_muted. Volume +/- changes play.gain. Mic mute don't know. Currently dual-booting with stock Win7 OS. Wiped hibernate partition and installed 5.2 within (see fdisk output). Disabled hibernation within Win7. OpenBSD 5.2-current (GENERIC.MP) #96: Sat Nov 3 14:43:34 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8270311424 (7887MB) avail mem = 8027672576 (7655MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (70 entries) bios0: vendor LENOVO version "G2ET82WW (2.02 )" date 09/11/2012 bios0: LENOVO 2306CTO acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SLIC TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF! UEFI UEFI POAT SSDT SSDT UEFI DBG2 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2794.19 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, 2793.66 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,FSGSBASE,SMEP,ERMS cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG_) acpiprt2 at acpi0: bus 2 (EXP1) acpiprt3 at acpi0: bus 3 (EXP2) acpiprt4 at acpi0: bus 4 (EXP3) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpicpu2 at acpi0: C3, C2, C1, PSS acpicpu3 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 103 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "45N1029" serial 4430 type LION oem "LGC" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit offline acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) cpu0: Enhanced SpeedStep 2794 MHz: speeds: 2801, 2800, 2700, 2600, 2500, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1500, 1400, 1300, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (
OpenBSD support for Lenovo ThinkPad X230?
I am planning to get this one with a normal HDD, and Intel wireless interface (Intel Centrino Advanced-N 6205 AGN) -- a rough check indicated this would be a supported configuration on OpenBSD. However, wanted to check with the group if anyone is actually using OpenBSD on the ThinkPad X230, and any lack of support, before I place my order. Thanks. -Amarendra