Keyboard Geometry - HHKB

2015-04-13 Thread Shaun Reiger
Hello OBSD'ers,

I'm trying to adjust my keyboard geometry to hhk (HHKB) because I'm
not using the standard 104/105 pc keyboard. But I can't find out how to
set this. I have been trying to use wsconsclt but that doesn't seem to
work. If anyone has any advice on this that would be great.

Shaun



Re: OpenBSD on Dell m4800 -- Anybody tried it?

2015-04-15 Thread Shaun Reiger
Hi Ray, I haven't used a Dell Precision M4800 with OBSD yet, but I found
that under PCBSD it should work. Given OBSD has very good laptop support I
believe everything should be detected. I have included a link to the PCBSD
site where I found the your laptop listed.

http://wiki.pcbsd.org/index.php/Hardware

Cheers,

Shaun

On Tue, Apr 14, 2015 at 6:17 PM, Raymond Lillard  wrote:

> I am considering the purchase of a Dell Precision M4800 laptop with
> the intention of installing OpenBSD on it. Has anyone here ran
> OBSD on one of these?  I will configure it with an AMD FirePro M5100.
>
> Google has fail to find anyone who has tried this.
>
> Thanks
> Ray



CPU power consumption on thinkpad x201

2015-05-20 Thread Shaun Reiger
Hello I'm trying to find out if the power consumption relating to the
intel_powerclamp driver ("Package Level C-state Idle Injection for
Intel CPUs") was ever fixed. I'm current running 5.7 stable and I find
my cpu is still consuming 6W of power in any state.  It was mentioned
in the emails from last year that a Linux driver fixed this issue. Any
updates on this issue would be great. I have attached my dmesg for
review.

Thanks


-- 
Shaun

hw.sensors.acpithinkpad0.fan0=3280 RPM
hw.sensors.itherm0.power0=7.00 W (CPU power consumption)
hw.cpuspeed=1199
hw.setperf=0

OpenBSD 5.7-stable (GENERIC.MP) #0: Tue May 19 23:28:13 MDT 2015
:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4062691328 (3874MB)
avail mem = 3950624768 (3767MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version "6QET70WW (1.40 )" date 10/11/2012
bios0: LENOVO 3626GG3
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 DMAR SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(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) i5 CPU M 520 @ 2.40GHz, 1197.21 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,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 1197.01 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,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 1197.01 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,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz, 1197.01 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,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 13 (EXP1)
acpiprt3 at acpi0: bus -1 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 2 (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, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4694" serial46 type LION oem "SANYO"
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 1197 MHz: speeds: 2400, 2399, 2266, 2133,
1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 3400 KT" rev 0x06: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address
f0:de:f1:60:29:4a
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 a

Re: CPU power consumption on thinkpad x201

2015-05-21 Thread Shaun Reiger
Thanks for the update.

On Thursday, May 21, 2015, Stefan Sperling  wrote:

> On Wed, May 20, 2015 at 08:56:57PM -0600, Shaun Reiger wrote:
> > Hello I'm trying to find out if the power consumption relating to the
> > intel_powerclamp driver ("Package Level C-state Idle Injection for
> > Intel CPUs") was ever fixed. I'm current running 5.7 stable and I find
> > my cpu is still consuming 6W of power in any state.  It was mentioned
> > in the emails from last year that a Linux driver fixed this issue. Any
> > updates on this issue would be great. I have attached my dmesg for
> > review.
> >
> > Thanks
>
> There was some work in progress for C-state support by guenther@ but
> I'm not sure what the current status is. I got about one additional
> hour of battery life out of it when I tested it once. With plain
> -current I get about 2h of runtime out of the battery.
>
> Getting to the levels of Linux (additional 4 hours in my case) probably
> requires invasive changes to the process scheduler (prevent it from
> scheduling processes on certain cores to avoid waking them) and/or the
> inteldrm(4) driver (to put the GPU into power-save mode).
>
> It seems the x201 has a CPU generation which requires a ton of special
> support code in drivers for good power saving, while subsequent
> generations of laptops (x220 and later) use CPUs which don't really
> require that much of it. Overall I'm not sure it's really worth pouring
> a lot of development resources into optimizing for the x201 generation.
> Other laptops already run much longer.
>


-- 
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)



Lenovo T450s status

2015-05-27 Thread Shaun Reiger
Hello Misc I'm looking at purchasing a Lenovo T450s as my main laptop, but
I wanted to find out if anyone has hit any major roadblocks using obsd 5.7
with this model. I know this is a fairly new machine and support is always
hit and miss, but any guidance on this machine would help.

Biggest concerns are battery life and fan noise.


Thanks.


-- 
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)



Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
Hi Luciano I also have the same issue happening. I have a logitech mouse
and keyboard and get the detached message popping up. I just install 5.7
amd64 with zero packages and it was even doing the detach during the
install. I'm not sure why. I do agree that its pretty annoying to have.
I'll keep an eye on this thread.

Thanks

On Mon, Aug 17, 2015 at 7:11 AM, Luciano Rottava da Silva  wrote:

> Yeah, that´s exactly what I am doing too.
>
> What´s the brand of your mouse? Was considering buying a Logitech but
looks
> like problem is not mouse itself.
>
>
> On 16 August 2015 at 15:48, Luciano Rottava da Silva 
> wrote:
>
> > Hi folks,
> >
> > I am running an OpenBSD 5.7 on amd64 with the very few packages which I
> > require for lean desktop. And as usual, pretty much everything is
> working.
> >
> > The only glitch is the mouse support, or maybe my devices.
> >
> > Every minute or so USB mouse detaches itself, and this happens in console
> > mode after booting the machine, and keeps on.
> >
> > This is what I get in ttyC0:
> >
> > ums0 detached
> > uhidev2 detached
> > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft
> > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
> > uhidev2: iclass 3/1
> > ums0 at uhidev2: 3 buttons, Z dir
> > wsmouse0 at ums0 mux 0
> > wsmouse0 detached
> > ums0 detached
> > uhidev2 detached
> > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft
> > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3
> > uhidev2: iclass 3/1
> > ums0 at uhidev2: 3 buttons, Z dir
> > wsmouse0 at ums0 mux 0
> >
> > I have two MS basic optical mouse, one wired and another wireless. The
> > behaviour is exactly the same.
> >
> > wsmoused is not running, and I have nothing in my xorg.conf (actually I
> > don't have a xorg.conf).
> >
> > I've found only one reference to a similar problem in misc@ but,
> > unfortunatelly, there was no reply.
> >
> > So, any suggestion? Important to highlight that in X mouse works
> > perfectly. It's just those annoying messages that keep popping up in the
> > console that bothers me.
> >
> > Cheers,
> > Luciano.
>
>


--
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)



Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
Here is the dmesg as well as the detach statement:

wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev2 detached
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Logitech USB Optical
Mouse" rev 2.00/72.00 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir


OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8468688896 (8076MB)
avail mem = 823976 (7857MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbc41a018 (60 entries)
bios0: vendor American Megatrends Inc. version "2501" date 04/03/2014
bios0: ASUSTeK COMPUTER INC. M5A99X EVO R2.0
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET BGRT SSDT
acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4)
UHC2(S4) UHC4(S4) UHC6(S4) UHC7(S4) PC02(S4) PC03(S4) PC04(S4) PC05(S4)
PC06(S4) PC07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD FX(tm)-4350 Quad-Core Processor, 4214.74 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 18 (application processor)
cpu2: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 19 (application processor)
cpu3: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN
T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR
8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC,
BMI1
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully
associative
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 6 pa 0xfec2, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 6 (P0PC)
acpiprt2 at acpi0: bus 1 (PC02)
acpiprt3 at acpi0: bus -1 (PC03)
acpiprt4 at acpi0: bus 2 (PC04)
acpiprt5 at acpi0: bus 3 (PC05)
acpiprt6 at acpi0: bus 4 (PC06)
acpiprt7 at acpi0: bus 5 (PC07)
acpiprt8 at acpi0: bus -1 (PC09)
acpiprt9 at acpi0: bus -1 (PC0A)
acpiprt10 at acpi0: bus -1 (PC0B)
acpiprt11 at acpi0: bus -1 (PC0C)
acpiprt12 at acpi0: bus -1 (PC0D)
acpiprt13 at acpi0: bus -1 (PE20)
acpiprt14 at acpi0: bus -1 (PE21)
acpiprt15 at acpi0: bus -1 (PE22)
acpiprt16 at acpi0: bus -1 (PE23)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, PSS
acpi

Re: USB mouse spontaneously detaching

2015-08-17 Thread Shaun Reiger
Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in to
the usb 2 ports when I see the detach messages. But I tried a test with a
combined keyboard/mouse also a Logitech model K400r and I haven't seen any
detach messages. This was also plugged into the same usb 2 port. I have a
HHKB keyboard which also doesn't illicit any detach message. These detach
message may only be caused by specific keyboard and mouse models.

I'll keep testing and post any findings.



On Monday, August 17, 2015, Luciano Rottava da Silva 
wrote:

> Here it is my dmesg:
>
> OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8015122432 (7643MB)
> avail mem = 7797841920 (7436MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries)
> bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014
> bios0: ASUSTeK COMPUTER INC. F1A55-M LE
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
> acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4)
> UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4)
> PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 32 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 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,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
> 64b/line 16-way L2 cache
> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully
> associative
> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully
> associative
> cpu0: AMD erratum 721 detected and fixed
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
> 64b/line 16-way L2 cache
> cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully
> associative
> cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully
> associative
> cpu1: AMD erratum 721 detected and fixed
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
> cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
> 64b/line 16-way L2 cache
> cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully
> associative
> cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully
> associative
> cpu2: AMD erratum 721 detected and fixed
> cpu2: smt 0, core 2, package 0
> ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins
> acpimcfg0 at acpi0 addr 0xe000, bus 0-255
> acpihpet0 at acpi0: 14318180 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PE20)
> acpiprt2 at acpi0: bus 3 (PE21)
> acpiprt3 at acpi0: bus -1 (PE22)
> acpiprt4 at acpi0: bus -1 (PE23)
> acpiprt5 at acpi0: bus -1 (BR13)
> acpiprt6 at acpi0: bus -1 (PCE2)
> acpiprt7 at acpi0: bus -1 (PCE4)
> acpiprt8 at acpi0: bus 1 (P0PC)
> acpicpu0 at acpi0: C2, PSS
> acpicpu1 at acpi0: C2, PSS
> acpicpu2 at acpi0: C2, PSS
> acpibtn0 at acpi0: PWRB
> cpu0: 2100 MHz: speeds: 2100 1900 1600 1400 1200 1000 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 12h Host" rev 0x00
> radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6530D" rev 0x00
> drm0 at radeondrm0
> radeondrm0: msi
> ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0:  SCSI3
> 0/direct fixed naa.50014ee0adec84e1
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> cd0 at scsibus1 targ 2 lun 0:  ATAPI
> 5/cdrom removable
> ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4
> int 18, version 1.0, legacy support
> ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17
> usb0 at ehci0: USB revis

Re: USB mouse spontaneously detaching

2015-08-18 Thread Shaun Reiger
Hi guys I tested with a wired Logitech keyboard (same as originally
posted) and wireless Logitech mouse (that I use for my laptops) and nothing
detached. This seems very strange that from a wired mouse to a wireless
mouse would stop the detachment. Since Luciano tried his Microsoft
wired/wireless mouse and had the same detachment issue with both. Again
I'll post any new findings.



On Tuesday, August 18, 2015, Vijay Sankar  wrote:

> Just out of curiousity, I tried this on my desktop workstation (5.7
> -stable, AMD64) with a Microsoft Mouse and a Microsoft Keyboard. I normally
> use KDE4 so don't see any of the console messages. So wanted to check if
> the messages come up on a system without the KVM.
>
> It does on this system as well. Did not see any difference after removing
> USB 3.0 support so went back to the default settings
>
> uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse" rev 1.10/1.04 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> wsmouse0 detached
> ums0 detached
> uhidev1 detached
> uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft
> Basic Optical Mouse" rev 1.10/1.04 addr 4
> uhidev1: iclass 3/1
> ums0 at uhidev1: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
>
>
>
>
> Quoting Luciano Rottava da Silva :
>
> That´s exactly my approach as well. (-:
>>
>> Boot the machine and switch to another tty. So looks like issue is much
>> older than I thought.
>>
>> By the way, I have a mechanical brown cherry switch japanese keyboard and
>> also I HHKB, and both work perfectly. On the other hand, both mice have
>> this behaviour.
>>
>>
>> On 18 August 2015 at 09:40, Vijay Sankar  wrote:
>>
>> I have had the same issue going back to OpenBSD 4.x ever since I changed
>>> the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a
>>> result I always thought it was because of my KVM, so did not report it
>>> all
>>> these years!!!
>>>
>>> Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2
>>> if
>>> I had to do anything with vi etc.
>>>
>>> Vijay
>>>
>>> Quoting Shaun Reiger :
>>>
>>> Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in
>>> to
>>>
>>>> the usb 2 ports when I see the detach messages. But I tried a test with
>>>> a
>>>> combined keyboard/mouse also a Logitech model K400r and I haven't seen
>>>> any
>>>> detach messages. This was also plugged into the same usb 2 port. I have
>>>> a
>>>> HHKB keyboard which also doesn't illicit any detach message. These
>>>> detach
>>>> message may only be caused by specific keyboard and mouse models.
>>>>
>>>> I'll keep testing and post any findings.
>>>>
>>>>
>>>>
>>>> On Monday, August 17, 2015, Luciano Rottava da Silva >>> >
>>>> wrote:
>>>>
>>>> Here it is my dmesg:
>>>>
>>>>>
>>>>> OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
>>>>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/
>>>>> GENERIC.MP
>>>>> real mem = 8015122432 (7643MB)
>>>>> avail mem = 7797841920 (7436MB)
>>>>> mpath0 at root
>>>>> scsibus0 at mpath0: 256 targets
>>>>> mainbus0 at root
>>>>> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries)
>>>>> bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014
>>>>> bios0: ASUSTeK COMPUTER INC. F1A55-M LE
>>>>> acpi0 at bios0: rev 2
>>>>> acpi0: sleep states S0 S3 S4 S5
>>>>> acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT
>>>>> acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4)
>>>>> UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4)
>>>>> PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...]
>>>>> acpitimer0 at acpi0: 3579545 Hz, 32 bits
>>>>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>>>>> cpu0 at mainbus0: apid 0 (boot processor)
>>>>> cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz
>>>>> cpu0:
>>>>>
>>>>>
>>>>>
>>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
>>
>>
H,MMX,

Thinkpad spyware

2015-08-26 Thread Shaun Reiger
In light of what Lenovo has been doing to its customers by installing
spyware like superfish and now installing crapware using Microsoft's
Windows Platform Binary Table at the BIOS level. Do people still plan on
purchasing laptops from them going forward. If so whats your reasoning
behind this. Is anyone moving to other PC manufactures now.

http://www.theregister.co.uk/2015/08/12/lenovo_firmware_nasty/





-- 
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)



usb wifi wpa2 enterprise

2015-09-04 Thread Shaun Reiger
Hi I'm trying to find out if obsd supports any usb wifi adapters that can
connect to a wpa2 enterprise network. I have read through a couple driver
man pages urtwn, iwn, rsu..etc but can't determine if the adapters listed
will connect. Anyone with any experience in this would be helpful.

Thanks

-- 
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)



Re: usb wifi wpa2 enterprise

2015-09-05 Thread Shaun Reiger
Thanks for the tips I will have to try these out when I'm back at
University next week. I noticed that in undeadly it didn't mention anything
about the certificates is that just added in the wpa_supplicant.conf
script. like this

ca_cert="/path/to/downloaded/cert"

Thanks



On Sat, Sep 5, 2015 at 3:25 AM, Stefan Sperling  wrote:

> On Sat, Sep 05, 2015 at 09:06:28AM +, Stuart Henderson wrote:
> > The bigger challenge is accurately identifying a chipset before purchase,
> > but they're pretty cheap so it isn't usually a big hardship if a
> particular
> > device doesn't work.
>
> And it's never a bad idea to offer unsupported devices to the OpenBSD
> project as a hardware donation.
>
>


-- 
Shaun

"Ars longa, vita brevis, occasio praeceps, experimentum periculosum,
iudicium difficile" - Hippocrates (c. 400BC)