surface laptop 3, keyboard doesn't work

2022-02-04 Thread Peter Miller
I can use an external keyboard just fine, but the laptop keyboard
doesn't work. I don't know if this matters, but it doesn't work if I
try to install windows either.

I installed 7.0 to an external drive and boot off that. Dmesg
attached. I tried the current snapshot on feb 3/2022 and the installer
doesn't pick it up. I only tried the installer though.

I don't really know how else to troubleshoot this since the keyboard
doesn't do anything. Xev didn't register anything when I pressed
buttons.

OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16729403392 (15954MB)
avail mem = 16206356480 (15455MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x7bb04000 (16 entries)
bios0: vendor Microsoft Corporation version "9.106.140" date 04/30/2021
bios0: Microsoft Corporation Surface Laptop 3
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP WSMT SSDT MSDM SSDT SSDT SSDT SSDT TPM2 HPET
LPIT APIC MCFG SSDT SSDT SSDT NHLT DMAR BGRT FPDT
acpi0: wakeup devices XHC_(S4) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4)
RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4)
PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 1920 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, 1243.63 MHz, 06-7e-05
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 38MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, 1197.10 MHz, 06-7e-05
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, 1193.72 MHz, 06-7e-05
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, 1195.37 MHz, 06-7e-05
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,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz, 1194.69 MHz, 06-7e-05
cpu4: 

Re: acer swift 7, atheros qca6174 wireless and intel hd 615 video

2016-12-04 Thread Peter Miller
On Sat, Dec 3, 2016 at 8:24 PM, Jonathan Gray <j...@jsg.id.au> wrote:
> On Sat, Dec 03, 2016 at 11:57:18AM -0600, Peter Miller wrote:
>> On Mon, Nov 28, 2016 at 11:23 AM, Stefan Sperling <s...@stsp.name> wrote:
>> > On Mon, Nov 28, 2016 at 11:09:12AM -0600, Peter Miller wrote:
>> >> As for the wifi, I don't see support for the atheros 6174 chipest in
>> >> the man pages, and I don't know if anyone is working on it. As of now
>> >> it is "unknown product" in the dmesg. If it is not soldered in, I
>> >> would be willing to remove it and ship it to a developer, and just
>> >> replace it with a card that is supported.
>> >
>> > Yes, swap it. AFAIK nobody is actively working on atheros drivers.
>> >
>> > Get a device supported by iwn(4) or iwm(4) instead.
>> > Those are currently best for laptops.
>> >
>> > Beware of MiniPCIe vs. M.2 connectors (make sure you get a device
>> > that will actually fit the slot on the motherboard). AFAIK the only
>> > M.2 device we support is the iwm(4) 8260 chip generation.
>>
>> Thanks Stefan.
>>
>> I was hoping someone might chime in on whether X should be working for
>> my setup or not.
>>
>> I have the Intel HD Graphics 615 (GT2) the device is 8086:591e
>> from 
>> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/i915_pciids.h
>> I can see the 591e id is listed, so it looks like the latest Xorg will
>> recognize and support my card. It was added back in November of 2015.
>> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/src/i915_pciids.h?id=c446a7ccc783e3ca00b4b15d017c6e3af66dc646
>>
>> from openbsd xenocara
>> http://cvsweb.openbsd.org/cgi-bin/cvsweb/xenocara/driver/xf86-video-intel/src/i915_pciids.h?rev=1.2=text/x-cvsweb-markup
>> it looks like 591e has not been added to OpenBSD yet.
>>
>> So I should not expect the 'intel' driver to work, and also from dmesg I see
>> vendor "Intel", unknown product 0x591e (class display subclass VGA,
>> rev 0x02) at pci0 dev 2 function 0 not configured
>
> The intel xorg driver doesn't do much of anything now.  The inteldrm
> driver in the kernel is what does the modesetting and memory management.
> It does not currently support the generation of hardware you have
> (kaby lake).
>
>>
>> So despite all this, my understanding is that X should still work, but
>> just with fbdev or vesa for now.
>
> I believe the wsfb xorg driver should work with efifb.
>
>>
>> I tried setting machdep.allowaperture=1 and 2 and got different error
>> messages. I'm not sure if that is significant. I've only ever set it
>> to 1 as per the install message.
>>
>> As an aside: the faq, https://www.openbsd.org/faq/faq11.html, says
>> that the aperture driver must be enabled and can be done by answering
>> 'yes' to the question, 'do you expect to run the X window system'
>> during installation. I said yes and I still had to add
>> machdep.allowaperture=1 to /etc/sysctl.conf. Shouldn't that have
>> happened by answering yes, or does 'yes' set a value somewhere else?
>> This was with the Nov 17 snapshot.
>>
>> with machdep.allowaperture=2 Xorg error is
>> [  1117.767] (II) VESA(0): initializing int10
>> [  1117.768] (EE) VESA(0): V_BIOS address 0x389e0 out of range
>> [  1117.768] (II) UnloadModule: "vesa"
>>
>> with machdep.allowaperture=1 the error is
>> [  1792.791] (II) VESA(0): initializing int10
>> [  1792.792] (EE) VESA(0): Cannot read int vect
>> [  1792.792] (II) UnloadModule: "vesa"
>>
>> I forgot to copy the fbdev error output, but it said "module does not exist"
>>
>> Is there any hope with vesa, or do I just wait for the Xorg intel
>> driver support to trickle down to OpenBSD?
>>
>> --
>> Later
>> Peter
>>

thank you! I never new about wsfb, but that did the trick.

thanks again, and thanks to everyone involved in OpenBSD


-- 
Later
Peter



Re: acer swift 7, atheros qca6174 wireless and intel hd 615 video

2016-12-03 Thread Peter Miller
On Mon, Nov 28, 2016 at 11:23 AM, Stefan Sperling <s...@stsp.name> wrote:
> On Mon, Nov 28, 2016 at 11:09:12AM -0600, Peter Miller wrote:
>> As for the wifi, I don't see support for the atheros 6174 chipest in
>> the man pages, and I don't know if anyone is working on it. As of now
>> it is "unknown product" in the dmesg. If it is not soldered in, I
>> would be willing to remove it and ship it to a developer, and just
>> replace it with a card that is supported.
>
> Yes, swap it. AFAIK nobody is actively working on atheros drivers.
>
> Get a device supported by iwn(4) or iwm(4) instead.
> Those are currently best for laptops.
>
> Beware of MiniPCIe vs. M.2 connectors (make sure you get a device
> that will actually fit the slot on the motherboard). AFAIK the only
> M.2 device we support is the iwm(4) 8260 chip generation.

Thanks Stefan.

I was hoping someone might chime in on whether X should be working for
my setup or not.

I have the Intel HD Graphics 615 (GT2) the device is 8086:591e
from 
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/src/i915_pciids.h
I can see the 591e id is listed, so it looks like the latest Xorg will
recognize and support my card. It was added back in November of 2015.
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/src/i915_pciids.h?id=c446a7ccc783e3ca00b4b15d017c6e3af66dc646

from openbsd xenocara
http://cvsweb.openbsd.org/cgi-bin/cvsweb/xenocara/driver/xf86-video-intel/src/i915_pciids.h?rev=1.2=text/x-cvsweb-markup
it looks like 591e has not been added to OpenBSD yet.

So I should not expect the 'intel' driver to work, and also from dmesg I see
vendor "Intel", unknown product 0x591e (class display subclass VGA,
rev 0x02) at pci0 dev 2 function 0 not configured

So despite all this, my understanding is that X should still work, but
just with fbdev or vesa for now.

I tried setting machdep.allowaperture=1 and 2 and got different error
messages. I'm not sure if that is significant. I've only ever set it
to 1 as per the install message.

As an aside: the faq, https://www.openbsd.org/faq/faq11.html, says
that the aperture driver must be enabled and can be done by answering
'yes' to the question, 'do you expect to run the X window system'
during installation. I said yes and I still had to add
machdep.allowaperture=1 to /etc/sysctl.conf. Shouldn't that have
happened by answering yes, or does 'yes' set a value somewhere else?
This was with the Nov 17 snapshot.

with machdep.allowaperture=2 Xorg error is
[  1117.767] (II) VESA(0): initializing int10
[  1117.768] (EE) VESA(0): V_BIOS address 0x389e0 out of range
[  1117.768] (II) UnloadModule: "vesa"

with machdep.allowaperture=1 the error is
[  1792.791] (II) VESA(0): initializing int10
[  1792.792] (EE) VESA(0): Cannot read int vect
[  1792.792] (II) UnloadModule: "vesa"

I forgot to copy the fbdev error output, but it said "module does not exist"

Is there any hope with vesa, or do I just wait for the Xorg intel
driver support to trickle down to OpenBSD?

-- 
Later
Peter



acer swift 7, atheros qca6174 wireless and intel hd 615 video

2016-11-28 Thread Peter Miller
I'm running the nov 17th amd64 snapshot and the wifi device is not
recognized, and I think the video is not recognized as well. I get
errors when I try to start X.

X works on CentOS using version 1.17.2, so I'm confident that it
should run on OpenBSD just fine as X is at version 1.18.4 on this
snapshot. I'm not really sure what the problem is, but I think the
card is not found or recognized on OpenBSD. I have included the X
error log.

As for the wifi, I don't see support for the atheros 6174 chipest in
the man pages, and I don't know if anyone is working on it. As of now
it is "unknown product" in the dmesg. If it is not soldered in, I
would be willing to remove it and ship it to a developer, and just
replace it with a card that is supported.

dmesg and X error log follow

dmesg
OpenBSD 6.0-current (GENERIC.MP) #0: Thu Nov 17 15:57:16 MST 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80
real mem = 8435388416 (8044MB)
avail mem = 8175157248 (7796MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x8a013000 (33 entries)
bios0: vendor Insyde Corp. version "V1.02" date 09/13/2016
bios0: Acer Swift SF713-51
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI MSDM SSDT ASF! BOOT HPET MCFG LPIT SSDT
DBGP DMAR FPDT UEFI SSDT ASPT APIC SSDT DBG2 SSDT DBGP SSDT SSDT SSDT
SSDT BGRT
acpi0: wakeup devices XHC_(S3) XDCI(S4) HDAS(S4) PXSX(S4) RP01(S4)
PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4)
RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2399 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-7Y54 CPU @ 1.20GHz, 1197.76 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCN
T,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,IT
SC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHO
PT,PT,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-7Y54 CPU @ 1.20GHz, 1102.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCN
T,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,IT
SC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHO
PT,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: failed to identify
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-7Y54 CPU @ 1.20GHz, 1097.45 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCN
T,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,IT
SC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHO
PT,PT,SENSOR,ARAT
cpu2: failed to identify
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0cpu2: smt 1, core 0, package 0
: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-7Y54 CPU @ 1.20GHz, 1097.45 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCN
T,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,IT
SC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHO
PT,PT,SENSOR,ARAT
cpu3: failed to identify
cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0cpu3: smt 1, core 1, package 0
: apid 2 pa 0xfec0, version 20, 120 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus -1 (RP07)
acpiprt8 at acpi0: bus -1 (RP08)
acpiprt9 at acpi0: bus 1 (RP09)
acpiprt10 at acpi0: bus -1 (RP10)
acpiprt11 at acpi0: bus -1 (RP11)
acpiprt12 at acpi0: bus -1 (RP12)
acpiprt13 at acpi0: bus -1 (RP13)
acpiprt14 at acpi0: bus -1 (RP14)
acpiprt15 at acpi0: bus -1 (RP15)
acpiprt16 at acpi0: bus -1 (RP16)
acpiprt17 

Re: Latest ThinkPad model fully compatible with OpenBSD out of the box?

2011-09-27 Thread Peter Miller
My T410i works fine. I had to hack the bios to install a wifi card that 
works, but used a usb one before that.


If i want to use an external monitor, I have to plug it in after X11 
starts... but i'm on a release right now for other reasons, and it was 
getting much better when i was following current.


Just buy a T series and follow current. If there's any major probs, 
it'll probably get fixed quickly. Everything essential will probably work.


avoid NVidia
--
Later
Peter



Re: Lenovo

2010-12-02 Thread Peter Miller

On 12/02/10 13:36, Jean-Francois wrote:

Hi All,

Are Lenovo, say for example T410 or equivalent professional laptops ok with
OpeNBSD in terms of compatibility ? Any things to take care about ?

Regards

JF



I'm running a T410i. There are some wonky issues with X, switching to 
consoles and external screens. Assuming you want to use X11 and end up 
with the same intel card as me. Intel Mobile HD graphics. I'm sure it 
will be fixed soon as X11 is updated.


Use xdm or gdm or shutdown directly from X11. Otherwise you'll exit X11 
to a blank screen.


Don't plug in a vga monitor until the computer has given you a login 
prompt. If you use vga you have to shutdown from X11.

http://marc.info/?l=openbsd-miscm=128872912228529w=2

Wireless doesn't work on the Realtek 8192SE (thinkpad b/g/n). I use a 
Planex GW-USMicroN usb wireless card.. uses run driver, works great


Sound works, the buttons for sound work, display brightness buttons 
work. Haven't tried my esata or hdmi. I think the camera works, but i 
forget.


I'm very happy with my laptop. It runs super quiet and cool with OpenBSD.

This is my system as per Lenovo order.
12516CT CONFIGURED SYSTEM
75Y0808 SBB ICI3-330MPRT410IT510I2.13
45M3092 VBB GENWIN7HOMEPREM64
60Y5846 SBB GEN WIN 7 HM PR 64 US ENG
45M4798 SBB 14.1WXGA+TFT,W/LEDBACKLIG.
45M4788 SBB IN.GR.M.A.5700MHD-AMT,TPM
42X6306 VBB 2GBPC3-8500 1067MHZ1DIMM
45M4839 SBB KEYBOARDUS ENGLISH
45M4801 SBB ULNAV(T.POINT+TOUCHPAD)
45M4834 SBB CAMERA SUBCARD
45M4823 SBB 250GB HARDDISKDRIVE5400RPM
45M4820 SBB DVDREC8XMAXD.L.U.SLIMS.ATA
45M4814 SBB 4CELLLI-ION BATTERY
41W1787 SBB CPK NORTH AMERICA
44C8733 SBB THINKPAD B/G/N
44C7950 SBB INT WRLSSWDAREANTWRK UPGR
45M4874 SBB LANG.PACK US ENGLISH

OpenBSD 4.8-current (GENERIC.MP) #627: Fri Nov 12 23:00:53 MST 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1998045184 (1905MB)
avail mem = 1930944512 (1841MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version 6IET68WW (1.28 ) date 07/12/2010
bios0: LENOVO 2516CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT 
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.41 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
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 -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 86 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4763 serial 30978 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2128 MHz: speeds: 2133, 1999, 1866, 1733, 1599, 
1466, 1333, 1199, 1066, 933 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0044 
rev 0x02

vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x02
wsdisplay0 at 

Re: snapshot upgrade won't skip fsck

2010-11-18 Thread Peter Miller

On 11/18/10 06:58, Otto Moerbeek wrote:

On Wed, Nov 17, 2010 at 09:48:57PM +, Peter Miller wrote:


I upgraded to a more current snapshot the other day and after fsck
ran on the root partition, it asked if i wanted to fsck the other
partitions. I typed no, but it ran anyways, causing a failure and
therefore aborting the install because some disks were missing.

I have 2 usb hard drives in my /etc/fstab. I don't have these drives
with me all the time, and had them unplugged during my upgrade (so i
didn't inadvertently install to one of them).

I tried to upgrade a couple times, but i have to comment out my usb
drives before i can successfully run the upgrade. The upgrade asked
me whether or not I wanted to fsck the other partitions, so i figure
it should at least obey my answer.

OpenBSD 4.8-current (GENERIC.MP) #627: Fri Nov 12 23:00:53 MST 2010
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

relevant section of fstab i commented out in order to upgrade

# my drives
5dbd5372ca23d268.d /mnt/Dane ffs rw,nodev,nosuid,softdep 0 0
93b2b19e02be3f39.d /mnt/Cook ffs rw,nodev,nosuid,softdep 0 0

--
Later
Peter


The installer only asks if you want to do a *forced* fsck ora
non-forced. The fsck is always done for all devices in fstab. The only
differences is whether -y is used or not.

-Otto
That makes sense now, thanks. The wording just leaves some room for 
interpretation. I really thought it was a choice to fsck or not, instead 
of a choice to run fsck with the -y option or not.


Peter,
I looked into 'noauto' but i prefer to have my drives auto-mounted the 
95% of the time i'm using my computer vs the few times i do an upgrade. 
I'll just comment them out.. easy enough.


--
Later
Peter



snapshot upgrade won't skip fsck

2010-11-17 Thread Peter Miller
I upgraded to a more current snapshot the other day and after fsck ran 
on the root partition, it asked if i wanted to fsck the other 
partitions. I typed no, but it ran anyways, causing a failure and 
therefore aborting the install because some disks were missing.


I have 2 usb hard drives in my /etc/fstab. I don't have these drives 
with me all the time, and had them unplugged during my upgrade (so i 
didn't inadvertently install to one of them).


I tried to upgrade a couple times, but i have to comment out my usb 
drives before i can successfully run the upgrade. The upgrade asked me 
whether or not I wanted to fsck the other partitions, so i figure it 
should at least obey my answer.


OpenBSD 4.8-current (GENERIC.MP) #627: Fri Nov 12 23:00:53 MST 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

relevant section of fstab i commented out in order to upgrade

# my drives
5dbd5372ca23d268.d /mnt/Dane ffs rw,nodev,nosuid,softdep 0 0
93b2b19e02be3f39.d /mnt/Cook ffs rw,nodev,nosuid,softdep 0 0

--
Later
Peter



X11 virtual consoles still blank

2010-11-02 Thread Peter Miller

I originally posted
http://marc.info/?l=openbsd-miscm=128374096405385w=1
about not being able to see anything on my virtual consoles 
(ctrl-alt-f1) and having a blank screen when i log out of X.


I have upgraded to newer snapshots as was suggested in the original 
thread, but I'm still having the same issues and have noticed a few more.


1. If i boot without VGA connected
-switch to virtual console is blank, but i can successfully switch back 
to X11

-I can exit to xdm and log back in o.k

2. boot with external VGA monitor connected
-screen resolution on VGA is wrong (that's normal i believe) so i run
xrandr --output VGA --auto and the monitor resizes just fine, but then i 
lose the mouse. The mouse still displays and works on the laptop screen, 
but I can't see it on my monitor.
-if I switch to a virtual console and back to X11 (hoping i'd get the 
mouse back) my screen gets really screwed up and i have to shutdown.
-if i exit my window manager my screen gets messed up and i can't 
decipher the xdm screen at all.. mostly black.. i have to shutdown


3. boot and log into X11 and then plug VGA monitor in
-Resized monitor with xrandr and the mouse works fine
-can't remember if i can exit to the xdm screen or if it's garbled.. and 
i want to finish this e-mail before i try again!


So..
blank virtual screens in X11
blank console after exiting X11
VGA monitor doesn't work properly if plugged in a boot time (no mouse, 
goes screwy if exit to xdm or switch to console)


I'm using a lenovo T410i and amd64 with a couple of openbsd stickers to 
hop it up a little;)


dmesg
OpenBSD 4.8-current (GENERIC.MP) #596: Tue Oct 26 17:18:16 MDT 2010
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1998045184 (1905MB)
avail mem = 1930989568 (1841MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version 6IET68WW (1.28 ) date 07/12/2010
bios0: LENOVO 2516CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT 
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.32 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz, 2128.00 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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG

cpu3: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
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 -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 86 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4763 serial 30978 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2128 MHz: speeds: 2133, 1999, 1866, 1733, 1599, 
1466, 1333, 1199, 1066, 933 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0044 
rev 0x02

vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 

blank virtual consoles, blank screen after exiting X11

2010-09-05 Thread Peter Miller
using a current amd64 or i386 snapshot i can't see any output on the
virtual consoles after starting X11. I'm using a lenovo t410i

Once i start X and do ctrl+alt+f1 there is just a blank screen. The same
thing happens when i kill X and try to shut down my cpu. After exiting
X11 there is just a blank screen.

I can still type 'reboot' or other commands to shutdown the computer, i
just can't see anything. Also, i can restart X11 from the blank console
and it starts back up without a hitch.

here is a dmesg and the Xorg.0.log

OpenBSD 4.8-current (GENERIC.MP) #373: Tue Aug 31 22:09:07 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel
686-class) 2.13 GHz
cpu0:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
real mem  = 1998659584 (1906MB)
avail mem = 1955979264 (1865MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/12/10, BIOS32 rev. 0 @ 0xfdbe0,
SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version 6IET68WW (1.28 ) date 07/12/2010
bios0: LENOVO 2516CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT
TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4)
EXP2(S4) EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel
686-class) 2.13 GHz
cpu1:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel
686-class) 2.13 GHz
cpu2:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (GenuineIntel
686-class) 2.13 GHz
cpu3:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
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 -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 86 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4763 serial 30978 type LION oem
SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000
0xdd000/0x3000! 0xe/0x1
cpu0: Enhanced SpeedStep 2128 MHz: speeds: 2133, 1999, 1866, 1733, 1599,
1466, 1333, 1199, 1066, 933 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0044
rev 0x02
vga1 at pci0 dev 2 function 0 Intel Mobile HD graphics rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
Intel 3400 MEI rev 0x06 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 Intel 82577LM rev 0x06: apic 1 int 20
(irq 11), address 5c:ff:35:07:bc:16
ehci0 at pci0 dev 26 function 0 Intel 3400 USB rev 0x06: apic 1 int 23
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 3400 HD Audio rev 0x06: apic 1
int 17 (irq 11)
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 3400 PCIE rev 0x06: apic 1 int 20
(irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 3400 PCIE rev 0x06: apic 1 int 21
(irq 11)
pci2 at ppb1 bus 3
Realtek 8192SE rev 0x10 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 3 Intel 3400 PCIE rev 0x06: apic 1 int 23
(irq 11)
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 Intel 

Re: hardware ports suggestion

2010-08-23 Thread Peter Miller
On Mon, 2010-08-23 at 16:27 +0400, Sergey Bronnikov wrote:
  If so, well, please send a patch for /usr/src/sys/arch/whatever,
 ports created and attached. Please review these ports and send me you
 crititism.

http://www.openbsd.org/mail.html
The only mailing list that allows attachments is the ports list, they
will be removed from messages on the other mailing lists.

--
Later
Peter



Re: MTA choice

2010-08-13 Thread Peter Miller
 I only want to know what is better (easiest way, most secure) to use.
 And have your advice.

He just gave it to you. sendmail.

  Why do you think OpenBSD ships with (a custom and secure) sendmail by
  default?

--
Later
Peter



Re: intel drm problems in current

2010-04-30 Thread Peter Miller
On Fri, 2010-04-30 at 13:45 -0400, Dan Harnett wrote:
 On Fri, Apr 30, 2010 at 07:10:01PM +0200, Didier Wiroth wrote:
  Hello,
  I've updated to current, sources are from a few hours ago.
  
  I'm experiencing (stuttering) problems on a thinkpad w500 in x11. X11
  is mostly unusable if I don't disable drm in the kernel.
 
 [...]
 
  Does anyone else experience these problems?
  
  I saw that there where some intel driver change in the cvs sources.
 
 
 I'm seeing the same thing using OpenBSD/amd64 on a ThinkPad T500 and
 T400.  When I was testing, 'sysctl hw.setperf=0' seemed to stop the
 stuttering (apm -C, apm -L).
 
 I do not see the issue on a ThinkPad X61s.
 
 While testing the newer Intel driver and directions from Owain Ainsworth
 posted to tech@, I do not experience the problem.

Similar problems here with GM 45 on a hp dv4. Things were fine with
Owain's advice, and on 4.6, but after a re-install of a snapshot my
system freezes all the time. It happens whenever there are network
connections. With Dillo and Firefox i get multiple freezes a minute, for
about 5 seconds. If I move the mouse, my system comes back immediately.
Freezing does not seem to happen if i'm just using emacs or other
non-net programs.

Switching to vesa, everything works fine, but then I lose my laptop's
resolution. 

Setting hw.setperf=0 seems to be doing the trick here as well. Thanks
Dan.

dmesg
OpenBSD 4.7-current (GENERIC.MP) #556: Mon Apr 26 21:12:33 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz (GenuineIntel
686-class) 2.10 GHz
cpu0:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
real mem  = 3118469120 (2974MB)
avail mem = 3024760832 (2884MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/14/09, SMBIOS rev. 2.4 @
0xe8270 (29 entries)
bios0: vendor Hewlett-Packard version F.42 date 05/14/2009
bios0: Hewlett-Packard HP Pavilion dv4 Notebook PC
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP DMAR SSDT HPET APIC MCFG ASF! SLIC BOOT SSDT
acpi0: wakeup devices SLPB(S4) P32_(S0) UHC1(S0) UHC2(S0) UHC3(S0)
UHC6(S0) EHC1(S0) UHC4(S0) UHC5(S0) EHC2(S0) PXSX(S4) EXP1(S5) PXSX(S4)
EXP3(S5) PXSX(S4) EXP4(S5) LANR(S5) PXSX(S4) EXP5(S5) PXSX(S4) EXP6(S5)
MIR_(S5)
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: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz (GenuineIntel
686-class) 2.10 GHz
cpu1:
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 8 (P32_)
acpiprt2 at acpi0: bus 1 (EXP1)
acpiprt3 at acpi0: bus 2 (EXP3)
acpiprt4 at acpi0: bus 3 (EXP4)
acpiprt5 at acpi0: bus 4 (EXP5)
acpiprt6 at acpi0: bus 5 (EXP6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: FN00
acpitz0 at acpi0: critical temperature 97 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model Primary type Lion oem Hewlett-Packard
acpiac0 at acpi0: AC unit online
acpivideo0 at acpi0: OVGA
acpivideo1 at acpi0: EVGA
acpivout0 at acpivideo1: LCD_
acpivout1 at acpivideo1: CRT_
acpivout2 at acpivideo1: HDMI
bios0: ROM list: 0xc/0xf800! 0xcf800/0x2c00!
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2100, 1600, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1: apic 4 int 16 (irq 11)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int
16 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 4 int
17 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int
18 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic
4 int 22 (irq 11)
azalia0: codecs: IDT 92HD71B7, ATT/Lucent/0x1040, Intel/0x2802, using
IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 4 int
16 (irq 255)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: 

Re: Regular OpenBSD users group meeting location anyone?

2010-04-26 Thread Peter Miller
On Sun, 2010-04-25 at 22:12 -0700, Jorge Castillo wrote:
 There is already a page with that information at the OpenBSD website.
 
 http://www.openbsd.org/groups.html
 

Anyone know if there a secret group in Houston missing from the list?
Since I don't see it, I would like to start one. Anyone interested
please contact me off list.

--
Later
Peter



Re: intel GM45 backlight and dualhead problems

2010-04-11 Thread Peter Miller
 $ xrandr --output VGA --auto --right-of LVDS
 xrandr: screen cannot be larger than 1280x1280 (desired size 2304x1024)

 You have to set the X virtual screen size before starting X.  Then
 when you attach a monitor, you use xrandr to carve up a portion of
 the  virtual screen to show on the external screen.

 The virtual size option is something you set in xorg.conf.  I'll let
 you look up the actual name of the directive and its details.

 with the VGA setup at 1280x1024 i try to set the laptop display.
 I have no idea where the desired size is coming from

 (google usually helps with weird error messages, especially from
 widely used software)

right... asleep at the wheel on that one. Thanks. I ran X -configure
and made a few edits and voila! Problem solved. Though i still have
the backlight problem.

I tried
xrandr --output LVDS --set BACKLIGHT_CONTROL native
which doesn't seem to do anything, and
xrandr --output LVDS --set BACKLIGHT_CONTROL legacy
which now gives me a range
BACKLIGHT: 0 (0x)   range:  (0,255)

adjusting it doesn't seem to do anything.
xbacklight -set 100
BACKLIGHT: 0 (0x)   range:  (0,255)
xbacklight -set 50
BACKLIGHT: 0 (0x)   range:  (0,255)

--
Later
Peter



Re: intel GM45 backlight and dualhead problems

2010-04-11 Thread Peter Miller
  $ xrandr --output VGA --auto --right-of LVDS
  xrandr: screen cannot be larger than 1280x1280 (desired size 2304x1024)

 You have to set the X virtual screen size before starting X.  Then
 when you attach a monitor, you use xrandr to carve up a portion of
 the  virtual screen to show on the external screen.

 The driver update on tech@ removes this restriction.

 -0-

I followed your instructions at
http://marc.info/?l=openbsd-techm=127100825511044w=2
and xrandr works fine with no xorg.conf  i.e no Virtual screen defined

Thanks.



Re: no sound Intel 82801I HD Audio in -current

2010-03-26 Thread Peter Miller
 can you see if the following fixes the problem?  include new pcidump
 if it doesn't please.

Thanks. The sound works now, but only using headphones.

# pcidump -xx 0:27:0
0:27:0: Intel 82801I HD Audio
0x: 293e8086 0016 04030003 0010
0x0010: da54   
0x0020:    30f7103c
0x0030:  0050  020b
0x0040: 0701   8000
0x0050: c8426001   
0x0060: 00807005   
0x0070: 00910010 1000 00100800 
0x0080:    
0x0090:    
0x00a0:    
0x00b0:    
0x00c0: 01000400  02a30031 
0x00d0: 02a30061   
0x00e0:    
0x00f0:   00030f86 

OpenBSD 4.7-current (GENERIC) #0: Fri Mar 26 07:35:58 CDT 2010
r...@ghost.funny.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3117854720 (2973MB)
avail mem = 3027247104 (2887MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe8270 (29 entries)
bios0: vendor Hewlett-Packard version F.42 date 05/14/2009
bios0: Hewlett-Packard HP Pavilion dv4 Notebook PC
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP DMAR SSDT HPET APIC MCFG ASF! SLIC BOOT SSDT
acpi0: wakeup devices SLPB(S4) P32_(S0) UHC1(S0) UHC2(S0) UHC3(S0)
UHC6(S0) EHC1(S0) UHC4(S0) UHC5(S0) EHC2(S0) PXSX(S4) EXP1(S5) PXSX(S4)
EXP3(S5) PXSX(S4) EXP4(S5) LANR(S5) PXSX(S4) EXP5(S5) PXSX(S4) EXP6(S5)
MIR_(S5)
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)2 Duo CPU T6500 @ 2.10GHz, 2095.05 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,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG
cpu0: 2MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 8 (P32_)
acpiprt2 at acpi0: bus 1 (EXP1)
acpiprt3 at acpi0: bus 2 (EXP3)
acpiprt4 at acpi0: bus 3 (EXP4)
acpiprt5 at acpi0: bus 4 (EXP5)
acpiprt6 at acpi0: bus 5 (EXP6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: FN00
acpitz0 at acpi0: critical temperature 97 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model Primary type Lion oem Hewlett-Packard
acpiac0 at acpi0: AC unit offline
acpivideo0 at acpi0: OVGA
acpivideo1 at acpi0: EVGA
acpivout0 at acpivideo1: LCD_
acpivout1 at acpivideo1: CRT_
acpivout2 at acpivideo1: HDMI
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2100, 1600, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1: apic 4 int 16 (irq 11)
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 4 int
16 (irq 11)
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 4 int
17 (irq 10)
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 4 int
18 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic
4 int 22 (irq 11)
azalia0: codecs: IDT 92HD71B7, ATT/Lucent/0x1040, Intel/0x2802, using
IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 4 int
16 (irq 255)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 4 int
18 (irq 255)
pci2 at ppb1 bus 2
Broadcom BCM4315 rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: apic 4 int
19 (irq 255)
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 4 int 19 (irq 11), address 00:23:5a:a6:6d:37
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: apic 4 int
16 (irq 255)
pci4 at ppb3 bus 4
JMicron SD/MMC rev 0x00 at pci4 dev 0 function 0 not configured
sdhc0 at pci4 dev 0 function 2 JMicron SD Host Controller rev 0x00:
apic 4 int 16 (irq 11)
sdmmc0 at sdhc0
JMicron Memory Stick rev 0x00 at pci4 dev 0 function 3 not configured
JMicron xD rev 0x00 at pci4 dev 0 function 4 not 

no sound Intel 82801I HD Audio in -current

2010-03-20 Thread Peter Miller
The only sound I can get is a ticking noise using headphones.

# file hearit.wav
hearit.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16
bit, stereo 44100 Hz

# audioctl play.rate=44100   
play.rate: 48000 - 44100

# cat hearit.wav  /dev/sound
nothing out of speakers
tic tic tic if i use headphones

while that is running

# for i in 1 2 3;do audioctl play.{seek,samples,errors};sleep 1;done
play.seek=60928
play.samples=0
play.errors=0
play.seek=60928
play.samples=0
play.errors=0
play.seek=60928
play.samples=0
play.errors=0

# mixerctl
outputs.hp_source=dac-0:1
outputs.hp_boost=off
outputs.mic_dir=input-vr80
outputs.spkr_source=dac-2:3
inputs.dac-0:1_mute=off
inputs.dac-0:1=200,200
inputs.dac-2:3_mute=off
inputs.dac-2:3=200,200
inputs.sel_source=dac-0:1
inputs.mix2_source=dac-0:1,dac-2:3,sel2,sel3
inputs.mix2_dac-0:1=120,120
inputs.mix2_dac-2:3=120,120
inputs.mix2_sel2=120,120
inputs.mix2_sel3=120,120
inputs.sel2_source=mic
outputs.sel2=85,85
inputs.sel3_source=mic
outputs.sel3=85,85
record.adc-2:3_source=mic2
record.adc-2:3_mute=off
record.adc-2:3=119,119
record.adc-0:1_source=sel3
record.adc-0:1_mute=off
record.adc-0:1=119,119
inputs.sel6_source=
inputs.sel7_source=
inputs.beep_mute=off
inputs.beep=85
outputs.hp_sense=unplugged
outputs.mic_sense=unplugged
outputs.spkr_muters=hp,mic
outputs.master=200,200
outputs.master.mute=off
outputs.master.slaves=dac-0:1,dac-2:3
record.volume=119,119
record.volume.mute=off
record.volume.slaves=adc-2:3,adc-0:1

# pcidump -x
Domain /dev/pci0:
 0:0:0: Intel GM45 Host
0x: 2a408086 2096 0607 
0x0010:    
0x0020:    30f7103c
0x0030:  00e0  
 0:2:0: Intel GM45 Video
0x: 2a428086 0097 0307 0080
0x0010: d004  c00c 
0x0020: 60f1   30f7103c
0x0030:  0090  010b
 0:2:1: Intel GM45 Video
0x: 2a438086 0097 0387 0080
0x0010: d544   
0x0020:    30f7103c
0x0030:  00d0  
 0:26:0: Intel 82801I USB
0x: 29378086 0295 0c030003 0080
0x0010:    
0x0020: 60c1   30f7103c
0x0030:  0050  010b
 0:26:1: Intel 82801I USB
0x: 29388086 0295 0c030003 
0x0010:    
0x0020: 60a1   30f7103c
0x0030:  0050  020a
 0:26:7: Intel 82801I USB
0x: 293c8086 0296 0c032003 
0x0010: da504c00   
0x0020:    30f7103c
0x0030:  0050  030b
 0:27:0: Intel 82801I HD Audio
0x: 293e8086 0016 04030003 0010
0x0010: da54   
0x0020:    30f7103c
0x0030:  0050  020b
 0:28:0: Intel 82801I PCIE
0x: 29408086 0017 06040003 0081
0x0010:   00010100 20005050
0x0020: da40d950 d131d041  
0x0030:  0040  01ff
 0:28:2: Intel 82801I PCIE
0x: 29448086 0017 06040003 0081
0x0010:   00020200 20004040
0x0020: d940d850 d231d141  
0x0030:  0040  03ff
 0:28:3: Intel 82801I PCIE
0x: 29468086 0017 06040003 0081
0x0010:   00030300 20003030
0x0020: d840d750 d331d241  
0x0030:  0040  04ff
 0:28:4: Intel 82801I PCIE
0x: 29488086 0017 06040003 0081
0x0010:   00040400 20002020
0x0020: d740d650 d431d341  
0x0030:  0040  01ff
 0:28:5: Intel 82801I PCIE
0x: 294a8086 0017 06040003 0081
0x0010:   00070500 20001010
0x0020: d640d550 d531d441  
0x0030:  0040  02ff
 0:29:0: Intel 82801I USB
0x: 29348086 0295 0c030003 0080
0x0010:    
0x0020: 6081   30f7103c
0x0030:  0050  010b
 0:29:1: Intel 82801I USB
0x: 29358086 0295 0c030003 
0x0010:    
0x0020: 6061   30f7103c
0x0030:  0050  020b
 0:29:2: Intel 82801I USB
0x: 29368086 0295 0c030003 
0x0010:    
0x0020: 6041   

Re: no sound Intel 82801I HD Audio in -current

2010-03-20 Thread Peter Miller
On Sat, 2010-03-20 at 23:02 +, Jacob Meuser wrote:
 `mixerctl -v` please.
 
   0:27:0: Intel 82801I HD Audio
  0x: 293e8086 0016 04030003 0010
  0x0010: da54   
  0x0020:    30f7103c
  0x0030:  0050  020b
 
 and I need more of this.  `pcidump -xx 0:27:0` please.

# pcidump -xx 0:27:0
0:27:0: Intel 82801I HD Audio
0x: 293e8086 0016 04030003 0010
0x0010: da54   
0x0020:    30f7103c
0x0030:  0050  020b
0x0040: 0701   8000
0x0050: c8426001   
0x0060: 00817005   
0x0070: 00910010 1000 00100800 
0x0080:    
0x0090:    
0x00a0:    
0x00b0:    
0x00c0: 01000400  02a30031 
0x00d0: 02a30061   
0x00e0:    
0x00f0:   00030f86 

# mixerctl -v 
outputs.hp_source=dac-0:1  [ dac-0:1 dac-2:3 mix2 ]
outputs.hp_boost=off  [ off on ]
outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50
input-vr80 ]
outputs.spkr_source=dac-2:3  [ dac-0:1 dac-2:3 mix2 ]
inputs.dac-0:1_mute=off  [ off on ]
inputs.dac-0:1=126,126 
inputs.dac-2:3_mute=off  [ off on ]
inputs.dac-2:3=126,126 
inputs.sel_source=dac-0:1  [ dac-0:1 dac-2:3 mix2 ]
inputs.mix2_source=dac-0:1,dac-2:3,sel2,sel3  { dac-0:1 dac-2:3 sel2
sel3 }
inputs.mix2_dac-0:1=120,120 
inputs.mix2_dac-2:3=120,120 
inputs.mix2_sel2=120,120 
inputs.mix2_sel3=120,120 
inputs.sel2_source=mic  [ mic ]
outputs.sel2=85,85 
inputs.sel3_source=mic  [ mic ]
outputs.sel3=85,85 
record.adc-2:3_source=mic2  [ sel2 mix2 mic2 ]
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=119,119 
record.adc-0:1_source=sel3  [ sel3 mix2 mic2 ]
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=119,119 
inputs.sel6_source=  [ adc-2:3 adc-0:1 ]
inputs.sel7_source=  [ adc-2:3 adc-0:1 ]
inputs.beep_mute=off  [ off on ]
inputs.beep=85 
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,mic  { hp mic }
outputs.master=126,126 
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3  { dac-0:1 dac-2:3 mic2 sel2 sel3
beep }
record.volume=119,119 
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 }

-- 
Later
Peter



Re: Best Mail Archive

2010-03-04 Thread Peter Miller
On Thu, 2010-03-04 at 11:08 -0500, Kenneth R Westerback wrote:
 On Thu, Mar 04, 2010 at 03:23:24PM +0100, Bret S. Lambert wrote:
  On Thu, Mar 04, 2010 at 10:56:00AM -0300, Christiano F. Haesbaert wrote:
   2010/3/4 nixlists nixmli...@gmail.com:
Every time someone tells me to go search an archive, I want to use
profanity. They never think of just how painful mail archive searching
is, but I guess we all have to bite the bullet and use search systems
that are bad at searching.
   
   
   Do you realize how painful it is to answer the same question over and 
   over ?
   
  
  Of course not! He can't find that thread!!!
 
 But has a point. Mail archives are dead as an interface. Google
 knows all. We should be asking 'Did you ask Google?' rather than
 'Did you search the mail archives.' I'm sure many people have to
 go Google 'mail archives' to figure out what they are anyway. :-).
 
  Ken
 
you can use google to search the archives

put
site:http://www.mail-archive.com/misc@openbsd.org/ your search
into the google search bar

That will use the gmane archive and the power of google.

using gmane
Searched gmane.gmane.os.openbsd.misc for current ports
Around 825 matching articles. Results 1-10. 
75,674,724 articles searched in 1.296083 seconds.

using google
Results 1 - 10 of about 2,250 from www.mail-archive.com/misc@openbsd.org
for current ports. (0.15 seconds)

not really sure if it's better, but it's possible. The top 10 results
are slightly different.

-- 
Later
Peter



Re: What does your environment look like?

2010-01-06 Thread Peter Miller
On Wed, 2010-01-06 at 09:41 +0100, Manuel Giraud wrote:
 Peter Miller feu...@gmail.com writes:
 
  I saved and re-use my config files everywhere. All my files stay on 1
  usb drive that I plug in to whatever cpu i'm using. I keep it backed
  up.
 
 I'm curious about how you deal with that. I have the same annoying
 problem of little differences in config files from system to system. Do
 you make this usb drive your home, or rsync, or what?
 
 I've once setup an usb thumb drive with a complete OpenBSD and boot on
 it everywhere I can but the writes were so slow that the thing is barely
 usable (I think I might try it with an external HD).
 
For normal files, I mount the usb drive /mnt/whatever and create a
bookmark to it or set the file manager to start there by default.

Sometimes i use /home/pete/temp (on the main hard disk) and then move
all the files once at the end of the day to the external disk.

As for the config files, i try to use the same files on all systems.
When that isn't possible i create .tcshrc-base and .tcshrc-obsd-add with
the extra lines i need. Then i copy and paste the contents of -add into
-base as needed (i could use patch). Or i make 2 separate
files, .tcshrc-server and .tcshrc-laptop

These files are kept on the usb drive and copied into my /home once,
after a fresh install. It's pretty easy with a -server and -laptop
version. rsync is overkill. 

-- 
Later
Peter



Re: What does your environment look like?

2010-01-05 Thread Peter Miller
 * Do you use one of the bundled window managers like
 cwm(1)/twm(1)/fvwm(1) or something else?

musca, it's easy to configure, and the catchall and dedicate commands
are awesome 
http://aerosuidae.net/musca/Musca_Window_Manager
http://aerosuidae.net/musca/Commands#catchall


 * What other utilities do you find useful, any dockapps or similar
 applets? personal customizations?


dmenu + conky


 * Do you try to keep things uniform across other desktops?


I saved and re-use my config files everywhere. All my files stay on 1
usb drive that I plug in to whatever cpu i'm using. I keep it backed up.


 * What does your environment look like? anyone willing to post
 screenshots or actual workspace photos?


not much to show, the magic is in musca

--
Later
Peter



Re: can't get vesa @ 1280x800 or nv

2009-11-28 Thread Peter Miller
On Sat, Nov 28, 2009 at 12:27 PM, Brynet bry...@gmail.com wrote:
 Hi,

 From what I can find, this is a GeForce 7150M / nForce 630M based
 chipset.. xf86-video-nv does not have the product ID listed in the
 attach structure, this could be due to incompability with the chipset or
 maintainer neglegence (..the driver is very rarely updated).

 --- xenocara/driver/xf86-video-nv/src/nv_driver.c   2009/10/10 19:17:44
1.9
 +++ xenocara/driver/xf86-video-nv/src/nv_driver.c   2009/11/28 12:12:49
 @@ -416,6 +416,7 @@
   { 0x10DE042D, Quadro FX 360M },
   { 0x10DE042E, GeForce 9300M G },
   { 0x10DE042F, Quadro NVS 290 },
 +  { 0x10DE0531, GeForce 7150M nForce 630M },
   { 0x10DE05E1, GeForce GTX 280 },
   { 0x10DE05E2, GeForce GTX 260 },
   { 0x10DE0600, GeForce 8800 GTS 512 },

 This might be enough to get things working, although it could also cause
 your system to burst into flames.. making you go emo.

 Hopefully xf86-video-nouveau shows up eventually, it matches on all
 nVidia devices.. no static product list.

 -Bryan.


Made the changes to nv_driver.c and built xenocara with the following

# cd /usr/xenocara
# rm -rf /usr/xobj/*
# make bootstrap
# make obj
# make build

Upon reboot when i use the nv driver X now recognizes my card, but
it goes to a blank screen (just looks like the terminal) and crashes.

And yes i would love to have a laptop without Nvidia but this is what
my office gave me. I'm just happy they let me run other systems on it.
Or at least try.

Xorg error log

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version
3.32)

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 amd64
Current Operating System: OpenBSD wobsd.funny.org 4.6 MYKERN.MP#0 amd64
Build Date: 28 November 2009  10:18:43AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Nov 28 13:42:51 2009
(==) Using config file: /etc/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) Including the default font path
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X
11/fonts/OTF,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/
,/usr/X11R6/lib/X11/fonts/75dpi/.
(**) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Loader magic: 0x771560
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) PCI: (0...@0:1:3) NVIDIA MCP67 Co-processor rev 162, Mem @
0xfc20/524288
(--) PCI:*(0...@0:18:0) NVIDIA unknown chipset (0x0531) rev 162, Mem @
0xf400/16777216, 0xd000/268435456, 0xf000/16777216
(II) System resource ranges:
[0] -1  0   0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x00ff (0x100) IX[B]
(II) extmod will be loaded. This was enabled by default and also
specified in the config file.
(II) dbe will be loaded. This was enabled by default and also
specified in the config file.
(II) glx will be loaded. This was enabled by default and also
specified in the config file.
(II) freetype will be loaded. This was enabled by default and also
specified in the config file.
(II) dri will be loaded. This was enabled by default and also
specified in the config file.
(II) LoadModule: dbe

(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension 

Re: can't get vesa @ 1280x800 or nv

2009-11-28 Thread Peter Miller
On Sat, Nov 28, 2009 at 3:13 PM, Brynet bry...@gmail.com wrote:
 Made the changes to nv_driver.c and built xenocara with the following

 # cd /usr/xenocara
 # rm -rf /usr/xobj/*
 # make bootstrap
 # make obj
 # make build

 Upon reboot when i use the nv driver X now recognizes my card, but
 it goes to a blank screen (just looks like the terminal) and crashes.

 And yes i would love to have a laptop without Nvidia but this is what
 my office gave me. I'm just happy they let me run other systems on it.
 Or at least try.

 Yeah, sorry for giving you false hope.. looking further in that file
 alone shows that the driver checks against the product ID's multiple times.

 In fact, near the botton where it attempts to assign the NV_ARCH you can
 see it ends up identifing your card as a NV04 (..ancient), by default.

 I not going to pretend to understand the driver, but perhaps this is
 member of the G80 family? find the NVIsG80 function and add 0x0531 to
 the list of known chipsets.

 If this fails, I'm sorry.. nVidia really blows chunks eh?

 -Bryan.


No dice.

Thanks for helping though



can't get vesa @ 1280x800 or nv

2009-11-27 Thread Peter Miller
I have 4.6 amd64 installed and can't get X to work at 1280x800.

After a default install X won't start and i get an error which i think
is caused by nv. I created a xorg.conf file using X -configure and
then changed the driver from nv to vesa' and was able to get X
running, but only at 800x600 resolution. xrandr showed 800x600 as the
max supported resolution.

Then I added the following to the Monitor section of xorg.conf and was
able to get 1024x768.

HorizSync30-120
VertRefresh 50-150   (i have no reason for these numbers.. they just worked)

I have tried adding a modeline to solve the problem, but without luck.
I'm not quite sure how to get a proper modeline. I used this site to
get mine.
http://www.arachnoid.com/modelines/
resulting modeline

# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline 1280x800_60.00 83.46 1280 1344 1480 1680 800 801 804 828
-HSync +Vsync

So here's some output
The original Xorg.0.log error after install. Can't get into X.

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 amd64
Current Operating System: OpenBSD wobsd.funny.org 4.6 MYKERN.MP#0 amd64
Build Date: 01 July 2009  05:32:34PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Nov 27 18:59:14 2009
(EE) Unable to locate/open config file
(II) Loader magic: 0x771560
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) PCI: (0...@0:1:3) NVIDIA MCP67 Co-processor rev 162, Mem @ 
0xfc20/524288
(--) PCI:*(0...@0:18:0) NVIDIA unknown chipset (0x0531) rev 162, Mem @
0xf400/16777216, 0xd000/268435456, 0xf000/16777216
(==) Matched nv for the autoconfigured driver
New driver is nv
(==) Using default built-in configuration (30 lines)
(==) --- Start of built-in configuration ---
Section Device
Identifier  Builtin Default nv Device 0
Driver  nv
EndSection
Section Screen
Identifier  Builtin Default nv Screen 0
Device  Builtin Default nv Device 0
EndSection
Section Device
Identifier  Builtin Default fbdev Device 0
Driver  fbdev
EndSection
Section Screen
Identifier  Builtin Default fbdev Screen 0
Device  Builtin Default fbdev Device 0
EndSection
Section Device
Identifier  Builtin Default vesa Device 0
Driver  vesa
EndSection
Section Screen
Identifier  Builtin Default vesa Screen 0
Device  Builtin Default vesa Device 0
EndSection
Section ServerLayout
Identifier  Builtin Default Layout
Screen  Builtin Default nv Screen 0
Screen  Builtin Default fbdev Screen 0
Screen  Builtin Default vesa Screen 0
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout Builtin Default Layout
(**) |--Screen Builtin Default nv Screen 0 (0)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default nv Device 0
(==) No monitor specified for screen Builtin Default nv Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default fbdev Screen 0 (1)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default fbdev Device 0
(==) No monitor specified for screen Builtin Default fbdev Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default vesa Screen 0 (2)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default vesa Device 0
(==) No monitor specified for screen Builtin Default vesa Screen 0.
Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to /usr/X11R6/lib/modules
(==) |--Input Device default pointer
(==) |--Input Device default keyboard
(==) The core pointer device wasn't specified explicitly in the layout.
Using the 

azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
I can't seem to get any sound out of my laptop. I did a fresh
install of a 4.6 snapshot and only added mpg321 to test it 
out. I have acpi disabled because my system won't boot 
otherwise.

$ cat /dev/audio  /dev/zero 
[1] 20665
$ audioctl
play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0
$ audioctl play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0
$ audioctl play.{seek,samples,errors}
play.seek=0
play.samples=0
play.errors=0

trying mpg321 looks like this

Playing MPEG stream from 10 - Rock'n'Roll Lifestyle.mp3 ...
MPEG 1.0 layer I, 96 kbit/s, 44100 Hz stereo
*hit ctrl-c a whole bunch to stop the process
[0:00] Decoding of 10 - Rock'n'Roll Lifestyle.mp3 finished

$ mixerctl -v
record.adc_mute=off  [ off on ]
record.adc=125,125
record.adc2_mute=off  [ off on ]
record.adc2=125,125
record.adc3_mute=off  [ off on ]
record.adc3=125,125
inputs.mix_source=mic,line-in,beep,spkr,line  { mic mic2 line-in beep
spkr line }
inputs.mix_mic=120,120
inputs.mix_mic2=120,120
inputs.mix_line-in=120,120
inputs.mix_beep=120,120
inputs.mix_spkr=120,120
inputs.mix_line=120,120
outputs.mix2=126,126
inputs.mix2_source=dac2,mix  { dac2 mix }
outputs.mix3=126,126
inputs.mix3_source=dac,mix  { dac mix }
outputs.mix4=126,126
inputs.mix4_source=dac3,mix  { dac3 mix }
outputs.mix5=126,126
inputs.mix5_source=dac4,mix  { dac4 mix }
outputs.spkr_source=mix5  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.spkr_mute=off  [ off on ]
inputs.spkr=85,85
outputs.spkr_dir=output  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.spkr_boost=off  [ off on ]
outputs.line_source=mix3  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.line_mute=off  [ off on ]
inputs.line=85,85
outputs.line_dir=output  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line_boost=off  [ off on ]
outputs.spkr2_source=mix9  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.spkr2_mute=off  [ off on ]
outputs.spkr2_dir=output  [ none output input ]
outputs.spkr2_boost=off  [ off on ]
outputs.mic_source=mix2  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.mic_mute=off  [ off on ]
inputs.mic=85,85
outputs.mic_dir=input-vr80  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.mic_boost=off  [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line-in_source=mix4  [ mix2 mix3 mix4 mix5 mix9 ]
outputs.line-in_mute=off  [ off on ]
inputs.line-in=85,85
outputs.line-in_dir=input  [ none output input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.line-in_boost=off  [ off on ]
outputs.SPDIF_source=dig-dac  [ dig-dac ]
record.adc3_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
record.adc2_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
record.adc_source=mic,mic2,line-in,beep,spkr,line,mix  { mic mic2
line-in beep spkr line mix }
outputs.mix9=126,126
inputs.mix9_source=dac5,mix  { dac5 mix }
outputs.line_sense=unplugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.spkr2_muters=line,mic,line-in  { line mic line-in }
outputs.master=126,126
outputs.master.mute=off  [ off on ]
outputs.master.slaves=mix3,line,spkr2,mix9  { mix2 mix3 mix4 mix5 spkr
line spkr2 mic mic2 line-in mix9 }
record.volume=125,125
record.volume.mute=off  [ off on ]
record.volume.slaves=adc,adc2,adc3  { adc adc2 adc3 spkr line spkr2 mic
mic2 line-in }
outputs.mode=analog  [ analog digital ]

dmesg

OpenBSD 4.6-current (GENERIC) #99: Mon Aug 10 18:06:39 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 3218046976 (3068MB)
avail mem = 3125354496 (2980MB)
User Kernel Config
UKC disable acpi
323 acpi0 disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbff6b000 (23 entries)
bios0: vendor Phoenix version 1.1D-4426-8A20 date 09/23/08
bios0: Everex XT5000T
acpi at bios0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50, 1603.60 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,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 5 is type PCI
mpbios0: bus 7 is type PCI
mpbios0: bus 8 is type ISA
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 11, 24 pins
pci0 at mainbus0 bus 0
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured

Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
On Wed, 2009-08-26 at 19:46 +, Jacob Meuser wrote:
 On Wed, Aug 26, 2009 at 04:59:16PM +, Jacob Meuser wrote:
  On Wed, Aug 26, 2009 at 09:38:17AM -0500, Peter Miller wrote:
   I can't seem to get any sound out of my laptop. I did a fresh
   install of a 4.6 snapshot and only added mpg321 to test it 
   out. I have acpi disabled because my system won't boot 
   otherwise.
   
   $ cat /dev/audio  /dev/zero 
  
  it should be `cat  /dev/audio  /dev/zero '
  
  anyway, not important.
 
 oh, I see.  the missing '' must have been a typo.
 
 strange.  it seems like interrupts/dma aren't working for the audio
 device, at all.
 
 can you apply the following diff, do `cat  /dev/audio  /dev/zero',
 and send me the messages?  thanks.

Well it may have been a typo...I was copying it between machines. So
I ran it again and this time I got some output at least.

# cat  /dev/audio  /dev/zero 
[1] 21926
# audioctl play.{seek,samples,errors} 
play.seek=57600
play.samples=0
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=48000
play.samples=9600
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=48000
play.samples=9600
play.errors=0
# audioctl play.{seek,samples,errors} 
play.seek=57600
play.samples=19200
play.errors=0

I'm gonna work on applying the patch. In the mean time
here are the results of pcidump -x

Domain /dev/pci0:
0:0:0: NVIDIA C51 Host
0x: 02f710de 00b6 05a2 0080
0x0010:    
0x0020:    
0x0030:  0044  
0:0:1: NVIDIA C51 Memory
0x: 02fa10de 00200100 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:2: NVIDIA C51 Memory
0x: 02fe10de 0020 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:3: NVIDIA C51 Memory
0x: 02f810de 00a0 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:4: NVIDIA C51 Memory
0x: 02f910de 00a6 05a2 
0x0010:    
0x0020:    1509
0x0030:    
0:0:5: NVIDIA C51 Memory
0x: 02ff10de 00b6 05a2 0080
0x0010:    
0x0020:    1509
0x0030:  0044  
0:0:6: NVIDIA C51 Memory
0x: 027f10de 00200100 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:0:7: NVIDIA C51 Memory
0x: 027e10de 0020 05a2 0080
0x0010:    
0x0020:    1509
0x0030:    
0:2:0: NVIDIA C51 PCIE
0x: 02fc10de 00100107 060400a1 00010010
0x0010:   00010100 4141
0x0020: c030c020 c331c321  
0x0030:  0040  000400ff
0:3:0: NVIDIA C51 PCIE
0x: 02fd10de 00100107 060400a1 00010010
0x0010:   00030300 21f1
0x0020: c040c040 0001fff1  
0x0030:  0040  000400ff
0:4:0: NVIDIA C51 PCIE
0x: 02fb10de 00100107 060400a1 00010010
0x0010:   00050500 5151
0x0020: c2f0c100 dff1d001  
0x0030:  0040  000c00ff
0:9:0: NVIDIA MCP51 Host
0x: 027010de 00b6 05a2 
0x0010:    
0x0020:    1509
0x0030:  0044  
0:10:0: NVIDIA MCP51 ISA
0x: 026010de 00af 060100a3 0080
0x0010:    
0x0020:    cb8410de
0x0030:    
0:10:1: NVIDIA MCP51 SMBus
0x: 026410de 00b1 0c0500a3 0080
0x0010:    
0x0020: 3041 3001  1509
0x0030:  0044  010a
0:10:3: NVIDIA MCP51 PMU
0x: 027110de 00a6 0b4000a3 0080
0x0010: c004   
0x0020:    1509
0x0030:    0103020a
0:11:0: NVIDIA MCP51 USB
0x: 026d10de 00b7 0c0310a3 0080
0x0010: c0004000   
0x0020:    cb8410de
0x0030:  0044  0103010b
0:11:1: NVIDIA MCP51 USB
0x: 026e10de 00b6 0c0320a3 0080
0x0010: c0005000   
0x0020:    cb8410de
0x0030:  0044  01030205
0:13:0: NVIDIA MCP51 IDE
0x: 026510de 00b5 01018af1 
0x0010:    
0x0020: 3081   2a901509
0x0030:  0044  0103
0:14:0: NVIDIA MCP51

Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
  can you apply the following diff, do `cat  /dev/audio  /dev/zero',
  and send me the messages?  thanks.

I must have messed something up. The third file looks like it was
patched, but not the others. I'm new to patching, so I appreciate any
help.

I got the source tree
cd /usr
cvs -qd anon...@anoncvs3.usa.openbsd.org:/cvs get -P src

then applied the patch from /usr/src
I had tried -p3 (which looked right) and -p2 and both times was asked
for the file to patch so I switched to -p0 for the heck of it and did.

# patch -p0  audio.patch  
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: audio.c
|===
|RCS file: /cvs/src/sys/dev/audio.c,v
|retrieving revision 1.104
|diff -u -p audio.c
|--- audio.c 18 Jun 2009 22:55:56 -  1.104
|+++ audio.c 26 Aug 2009 19:43:36 -
--
File to patch: /usr/src/sys/dev/audio.c
Patching file /usr/src/sys/dev/audio.c using Plan A...
Hunk #1 failed at 89.
1 out of 1 hunks failed--saving rejects to /usr/src/sys/dev/audio.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.c
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.c,v
|retrieving revision 1.143
|diff -u -p pci/azalia.c
|--- pci/azalia.c13 Aug 2009 23:59:15 -  1.143
|+++ pci/azalia.c26 Aug 2009 19:43:37 -
--
File to patch: /usr/src/sys/dev/pci/azalia.c
Patching file /usr/src/sys/dev/pci/azalia.c using Plan A...
Hunk #1 failed at 78.
1 out of 1 hunks failed--saving rejects
to /usr/src/sys/dev/pci/azalia.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.h
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.h,v
|retrieving revision 1.52
|diff -u -p pci/azalia.h
|--- pci/azalia.h9 Jun 2009 05:16:42 -   1.52
|+++ pci/azalia.h26 Aug 2009 19:43:37 -
--
File to patch: /usr/src/sys/dev/pci/azalia.h
Patching file /usr/src/sys/dev/pci/azalia.h using Plan A...
Hunk #1 succeeded at 534 with fuzz 2.
done

--
Later
Peter



Re: azalia nvidia mcp51 no sound amd64 4.6 snapshot

2009-08-26 Thread Peter Miller
 On Wed, Aug 26, 2009 at 09:06:17PM -0500, Peter Miller wrote:
can you apply the following diff, do `cat  /dev/audio  /dev/zero',
and send me the messages?  thanks.
  
  I must have messed something up. The third file looks like it was
  patched, but not the others. I'm new to patching, so I appreciate any
  help.
  
  I got the source tree
  cd /usr
  cvs -qd anon...@anoncvs3.usa.openbsd.org:/cvs get -P src
  
  then applied the patch from /usr/src
  I had tried -p3 (which looked right) and -p2 and both times was asked
  for the file to patch so I switched to -p0 for the heck of it and did.
 
 I think your understanding of -p is reversed ;)
 
 cd /usr/src/sys/dev
 patch -p 0  audio.patch
 
 but you should probably do this first:
 
 cd /usr/src/sys/dev
 rm audio.c pci/azalia.{c,h}
 cvs -q up audio.c pci/azalia.{c,h}
 
 to make sure those files are clean

I got the same result with a clean set of files.

# patch -p 0  audio.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|Index: audio.c
|===
|RCS file: /cvs/src/sys/dev/audio.c,v
|retrieving revision 1.104
|diff -u -p audio.c
|--- audio.c 18 Jun 2009 22:55:56 -  1.104
|+++ audio.c 26 Aug 2009 19:43:36 -
--
Patching file audio.c using Plan A...
Hunk #1 failed at 89.
1 out of 1 hunks failed--saving rejects to audio.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.c
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.c,v
|retrieving revision 1.143
|diff -u -p pci/azalia.c
|--- pci/azalia.c13 Aug 2009 23:59:15 -  1.143
|+++ pci/azalia.c26 Aug 2009 19:43:37 -
--
Patching file pci/azalia.c using Plan A...
Hunk #1 failed at 78.
1 out of 1 hunks failed--saving rejects to pci/azalia.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|Index: pci/azalia.h
|===
|RCS file: /cvs/src/sys/dev/pci/azalia.h,v
|retrieving revision 1.52
|diff -u -p pci/azalia.h
|--- pci/azalia.h9 Jun 2009 05:16:42 -   1.52
|+++ pci/azalia.h26 Aug 2009 19:43:37 -
--
Patching file pci/azalia.h using Plan A...
Hunk #1 succeeded at 534 with fuzz 2.
done



Re: Planex GW-USMicroN not recognized by run

2009-06-19 Thread Peter Miller
 | OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009

 
 there you go.  this is 4.5-release.
 
 Damien
Thanks for the help Damien.  Sorry for the noise.  I will try a new
snapshot tonight.

Later
Peter



Re: Planex GW-USMicroN not recognized by run

2009-06-18 Thread Peter Miller
 | [...]
 | So is this card actually supposed to be supported by either
 | current or 4.5?
 | 
 | Later
 | Peter
 
 Hi,
 
 The USB ID for the Planex GW-USMicroN adapter was added
 to the run(4) driver just after the 4.5 release, so the
 June 16th i386 snapshot should work.
 
 From sys/dev/usb/if_run.c:
   USB_ID(PLANEX2, GWUSMICRON),
 
 From sys/dev/usb/usbdevs:
 vendor PLANEX20x2019  Planex Communications
 ...
 product PLANEX2 GWUSMICRON0xed14  GW-USMicroN
 
 Damien

Here is the complete dmesg for the june 16th i386 snapshot i used from
ftp://rt.fm/pub/OpenBSD/snapshots/i386/install45.iso
I don't have the sources installed so I can't check what you noted above
on this system.

I will gladly try the newer june 18th snapshot if it may help, or get
the sources.

Thanks
Peter

OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-50 (AuthenticAMD 686-class, 
256KB L2 cache) 1.61 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem  = 3220131840 (3070MB)
avail mem = 3120181248 (2975MB)
User Kernel Config
UKC disable acpi
459 acpi0 disabled
UKC exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/23/08, BIOS32 rev. 0 @ 0xfdd44, SMBIOS 
rev. 2.4 @ 0xbff6b000 (23 entries)
bios0: vendor Phoenix version 1.1D-4426-8A20 date 09/23/08
bios0: Everex XT5000T
acpi at bios0 function 0x0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI   
mpbios0: bus 3 is type PCI   
mpbios0: bus 5 is type PCI   
mpbios0: bus 7 is type PCI   
mpbios0: bus 8 is type ISA   
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
pcibios0: pcibios_get_status - function not supported
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xe000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA C51 PCIE rev 0xa1
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 NVIDIA C51 PCIE rev 0xa1
pci2 at ppb1 bus 3
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 11 (irq 11)
ath0: AR5424 10.0 phy 6.1 rf 10.2, FCC1A, address 00:c0:a8:d4:41:c4
ppb2 at pci0 dev 4 function 0 NVIDIA C51 PCIE rev 0xa1
pci3 at ppb2 bus 5
vga1 at pci3 dev 0 function 0 vendor NVIDIA, unknown product 0x0398 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM
spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
iic1 at nviic0
NVIDIA MCP51 PMU rev 0xa3 at pci0 dev 10 function 3 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 2 int 11 (irq 
11), version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: apic 2 int 5 (irq 
5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xf1: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-5530A, AX33 ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 14 function 0 NVIDIA MCP51 SATA rev 0xf1: DMA
pciide1: using apic 2 int 10 (irq 10) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: FUJITSU MHV2100BH PL
wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: SAMSUNG HM160HI
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ppb3 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2
pci4 at ppb3 bus 7
VIA VT6306 FireWire rev 0xc0 at pci4 dev 6 function 0 not configured
azalia0 at pci0 dev 16 function 1 NVIDIA MCP51 HD Audio rev 0xa2: apic 2 int 
10 (irq 10)

Planex GW-USMicroN not recognized by run

2009-06-17 Thread Peter Miller
I have tried both 4.5 and a June 16th snapshot of current for i386.
Both pick up the GW-USMicroN as ugen0

dmesg
ugen0 at uhub0 port 2 Ralink 802.11 n WLAN rev 2.00/1.01 addr 4

usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x),
NVIDIA(0x10de), rev 1.00 port 1 addr 4: high speed, power 450 mA,
config 1, 802.11 n WLAN(0xed14), Ralink(0x2019), rev 1.01,
iSerialNumber 1.0

When I search the man pages online using 4.5 and apropos for run, then
follow the run link I get that the GW-USMicroN is supported.
http://www.openbsd.org/cgi-bin/man.cgi?query=runsektion=4apropos=0manpath=OpenBSD+4.5arch=i386

However, if I search the man using 4.5, and the man switch is toggled,
the manpage does not list any supported usb devices.
http://www.openbsd.org/cgi-bin/man.cgi?query=runapropos=0sektion=0manpath=OpenBSD+4.5arch=i386format=html

The same goes for current.

So is this card actually supposed to be supported by either current or
4.5?

Later
Peter