Asus UX305FA screen blanking 3200x1800

2016-05-15 Thread bob
Hello,

I'm attempting to run OpenBSD on a Asus Zenbook UX305FA with the 3200x1800 
screen, Broadwell, Intel Graphics 5300.  When booting the screen goes blank 
after inteldrm0 is output.  It briefly displays the console in a higher 
resolution then goes blank.

When running xdm the screen will briefly show the x window when waking from a 
screen blanking timeout.

dmesg below.  Also submitted a sendbug

Thanks for any help.


OpenBSD 6.0-beta (GENERIC.MP) #2038: Fri May 13 10:55:32 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8468357120 (8076MB)
avail mem = 8207106048 (7826MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec1b0 (28 entries)
bios0: vendor American Megatrends Inc. version "UX305FA.208" date 03/26/2015
bios0: ASUSTeK COMPUTER INC. UX305FA
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT ECDT MCFG HPET SSDT UEFI SSDT ASF! SSDT 
SSDT TPM2 SSDT SSDT SSDT PCCT SSDT SSDT DMAR BGRT MSDM
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
RP01(S4) RP02(S4) RP03(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) 
GLAN(S4) EHC1(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz, 1995.73 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,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 99MHz
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) M-5Y10c CPU @ 0.80GHz, 1995.38 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz, 1995.38 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz, 1995.38 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,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimadt0: bogus nmi for apid 2
acpimadt0: bogus nmi for apid 1
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 2 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: PG01, resource for PEG1
acpipwrres2 at acpi0: PG02, resource for PEG2
acpitz0 at acpi0: critical temperature is 98 degC
acpipwrres3 at acpi0: FN00, resource for FAN0
acpipwrres4 at a

Re: Comprehensive user's/programmer's manual for OpenBSD: Do they exist?

2016-05-15 Thread メット
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,
Title is programmer book so tcp/ip seems just an example.
Nevertheless if u look for tcp/ip there is the tcp/ip guide online which is 
quite easy
Also with some mistakes and poor style(my H opinion) cisco stuff for ccna is 
quite OK
Finally http://www.aboutdebian.com/network.htm
HTH

On 2016年5月16日 5:34:52 JST, Mihai Popescu  wrote:
>> I highly recommend this book. It gives an excellent overall picture
>> which is essential if you are going to try to do anything.
>> Everything is tied together overall, if you can't get that full
>picture,
>> forget doing anything very useful.
>
>I doubt there is a book wich explains all from A to Z. Maybe this is
>not the intent, anyway.
>The OP must find his own level of knowledge and aquire the proper
>book. Otherwise it will be just a waste of time full of frustration.
>
>I was reading Illustrated TCP/IP by R.W. Stevens for example and I was
>not able to understand it fully. I miss some tcp/ip basic explanations
>and those very basic bits are not in that book. For me it was
>something like many RFCs put together. I am not saying this is a bad
>book, just is not suitable for me at my current level of tcp/ip. For
>sure it will be very useful later.
>
>Advices are welcome.
iQE9BAEBCgAnBQJXOO25IBxNZXR0IEhlbF9LZWl0YWkgPG1ldHRAcG1hcnMuanA+
AAoJEPao4OPC92Nk3XEH+wU1o0T6BmEJoPic3thiCQy8Xf7UTxylQXaCYt51PRlm
hAVUNTkEwUfL7FvoZpZ3ip1CsX1btDm7NXza2k9/3ENDqBvmDsFD1r7ng9Ura2BR
cHlPCsbSvY1JKzwlD0zzrfUSrsI4z7DgIj3bPsop0kMaG1Ity2Wgq+bU0uC+QJGs
TNr/OnSzYFIb/CudDHCuZNHSCeIZSgE6641N/WAZcH7LiXmSuIRStfw+fwjNBwnf
HSV9kiMwMStvYY16sPeojAICPsoa0nPGfrrwh5z9z6pKDi8aCWTAKoo/YIVVISq0
8p3eMemNPnmwosaL7dXA7Q5eNkro4SQBM0Ll/S9gUSo=
=xmrJ
-END PGP SIGNATURE-



Re: Two athn devices acting weird

2016-05-15 Thread LÉVAI Dániel
Mihai Popescu @ 2016-05-15T22:48:51 +0200:
> Can you delete the 'media autoselect' from both configurations?

Doesn't make any difference. As I mentioned, if I rerun netstart *with
the same* hostname.if file, it sets it up properly.

> The other thing is you have managed to obscure the MACs but you put
> the wpakey there in the post ...

Yes, I overlooked that.

Daniel



Re: Two athn devices acting weird

2016-05-15 Thread Mihai Popescu
Can you delete the 'media autoselect' from both configurations?

The other thing is you have managed to obscure the MACs but you put
the wpakey there in the post ...



Re: Comprehensive user's/programmer's manual for OpenBSD: Do they exist?

2016-05-15 Thread Mihai Popescu
> I highly recommend this book. It gives an excellent overall picture
> which is essential if you are going to try to do anything.
> Everything is tied together overall, if you can't get that full picture,
> forget doing anything very useful.

I doubt there is a book wich explains all from A to Z. Maybe this is
not the intent, anyway.
The OP must find his own level of knowledge and aquire the proper
book. Otherwise it will be just a waste of time full of frustration.

I was reading Illustrated TCP/IP by R.W. Stevens for example and I was
not able to understand it fully. I miss some tcp/ip basic explanations
and those very basic bits are not in that book. For me it was
something like many RFCs put together. I am not saying this is a bad
book, just is not suitable for me at my current level of tcp/ip. For
sure it will be very useful later.

Advices are welcome.



Two athn devices acting weird

2016-05-15 Thread LÉVAI Dániel
Hi!

I have two AR9281 mini PCIe devices in my router, one on 5GHz and the
other on 2.4GHz. The weird thing is, they act nice when only one of them
is plugged in, but if both, one of them is acting iffy.

An example:
I have these two hostname.if(5) files:

hostname.athn0:
==8<==
media autoselect
mode 11g
chan 10
nwid daniell
wpakey _
wpaprotos wpa2
mediaopt hostap
#nwflag hidenwid
inet6 eui64
up
##!/sbin/ifconfig athn0 media autoselect mode auto mediaopt hostap
#!/sbin/ifconfig athn0 chan 10
#!/sbin/ifconfig athn0 media autoselect mode 11g chan 10 mediaopt hostap
==8<==

hostname.athn1:
==8<==
media autoselect
mode 11a
chan 36
nwid daniell
wpakey _
wpaprotos wpa2
mediaopt hostap
#nwflag hidenwid
inet6 eui64
up
==8<==

athn1 comes up just fine, but athn0 gets configured only half-baked:

athn0: flags=8943 mtu 1500
lladdr 04:f0:21:_
index 5 priority 4
groups: wlan
media: IEEE802.11 autoselect (autoselect mode 11a hostap)
status: active
ieee80211: nwid daniell chan 10 bssid 04:f0:21:_ wpakey _ wpaprotos 
wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet6 fe80::6f0:21ff:fe14:c78c%athn0 prefixlen 64 scopeid 0x5
athn1: flags=8943 mtu 1500
lladdr 04:f0:21:_
index 6 priority 4
groups: wlan
media: IEEE802.11 autoselect (autoselect mode 11a hostap)
status: active
ieee80211: nwid daniell chan 36 bssid 04:f0:21:_ wpakey _ wpaprotos 
wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet6 fe80::6f0:21ff:fe14:c837%athn1 prefixlen 64 scopeid 0x6

See how athn0 didn't get the 11g option? But after I reconfigure it with:

# sh /etc/netstart athn0
# ifconfig athn0
athn0: flags=8943 mtu 1500
lladdr 04:f0:21:_
index 5 priority 4
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid daniell chan 10 bssid 04:f0:21:_ wpakey 
0x228bb445239a88219823bbd178a4ea26efd3b25acb33ac634fb70a1186238b1e wpaprotos 
wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet6 fe80::6f0:21ff:fe14:c78c%athn0 prefixlen 64 scopeid 0x5

... athn0 gets configured properly.

This is why there is a whole /sbin/ifconfig line at the end of the
`hostname.athn0' file (although now commented out), so that it
configures it (again) during boot.

Btw, the identical essid is not by accident, it eases things for me.
Nevertheless, I also tried it with different ones.

This has actually been the case since I've been using these devices (for
like 6 months or so), I just got around to write up this mail because
now it has been bothering me well enough :)

Not the worst thing -- I mean, it's not critical --, but if I can help
debug this somehow, I'd be happy to.


Daniel


dmesg:
OpenBSD 5.9-current (GENERIC.MP) #2013: Sat May  7 20:15:46 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2059997184 (1964MB)
avail mem = 1992953856 (1900MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec130 (75 entries)
bios0: vendor American Megatrends Inc. version "F2" date 08/06/2015
bios0: Gigabyte Technology Co., Ltd. H81M-DS2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT SSDT SSDT MCFG HPET SSDT SSDT
acpi0: wakeup devices PS2K(S3) PS2M(S3) 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) RP07(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz, 2793.91 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz, 2793.54 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,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2

Re: light browsers

2016-05-15 Thread Roderick

On Fri, 13 May 2016, Dmitrij D. Czarkoff wrote:


There is no safe bet here.  Pick whatever you want, and you'll loose
eventually.  Or maybe you won't, but only if you are lucky enough.
Parsing HTML manually is probably the safest option, albeit ugly.  You
will still suffer from bugs in your HTTP(S) tool though.


Pick whatever you want?!

The problem with browsers is, that one must take what others want,
normally Internet Explorer.

A browser is an ugly piece of fatware that one must use, unless you
forget the WEB. I survive with firefox, to extract content from heavy
web pages like newspapers, w3m (also lynx and links) can be
very helpfull. I did not find a better alternative. As time passes,
there are less alternatives. Opera was usable some years ago, not
anymore.  I suspect that with HTTP/2 and HTML5 the whole "developement" is
getting worse.

Well, I am lazy and let run the Web Browser in my computer. Better
is perhaps to have a computer (BSD or something else) for serious
things, perhaps without internet connection, and a browser machine
(PC with Windows, Mac, Linux, etc).

Rodrigo.



letsencrypt redux

2016-05-15 Thread Kristaps Dzonsons
A few days ago, there was a thread regarding letsencrypt clients and
their, um, cavalier approach to security.  Since I like my free certs
and I like automation, and I also like not worrying about being owned, I
reckoned I could do better than mystery-meat clients.

 https://github.com/kristapsdz/letskencrypt

This isolates the steps of refreshing a certificate into isolated
processes, each of which is priv-dropped, chrooted, pledged, etc.  The
manpage says it all:

 https://github.com/kristapsdz/letskencrypt/blob/master/letskencrypt.1

It's obviously brand-new, but it works and I thought I'd see if
anybody's interested in looking over the libcrypto bits--if not the
approach in general.  The stuff that has manpages I think I get, but
there's some (e.g., X509v3 extension handling, properly seeding RAND,
calling _free if the ptr is NULL, memory management, ...) that's
undocumented and is just shot in the dark.  Moreover, the answers
offered on OpenSSL mailing lists seem... questionable.

It's designed to run on OpenBSD but works crappily on Mac OS X and
Linux.  Crappily because both are hostile to good security practises.
I'm not going to put any extra effort into these for compatibility.

(Side note: this requires the patch to json-c posted 09/05/2015 to the
ports list.  Or is there a better json parser in C?)

Thoughts?  Letsencrypt experts?

Best,

Kristaps



Re: apache-httpd-openbsd?

2016-05-15 Thread Chris Bennett
I've had to think about it, but since everything I've written is in
mod_perl, I'm going to have to switch over to Apache 2.
Very little perl is written or tested for Apache 1 now, so I'm going to
change over to Apache 2.

Thanks for the heads up a while back. It gave me a chance to think
things over carefully.

Chris Bennett



Re: softraid0: sdx has unsupported sector size (4096)

2016-05-15 Thread Leo Unglaub

Hey,

On 05/15/16 12:34, Daniel Jakots wrote:

It's in -current, see the commit [0] and the warning about softraid
metadata change [1].


big thanks for the information. I must have missed it.

Greetings
Leo



Re: Comprehensive user's/programmer's manual for OpenBSD: Do they exist?

2016-05-15 Thread Chris Bennett
On Sun, May 08, 2016 at 07:35:17AM +, Stuart Henderson wrote:
> 
> Advanced programming in the UNIX environment
> 

I highly recommend this book. It gives an excellent overall picture
which is essential if you are going to try to do anything.
Everything is tied together overall, if you can't get that full picture,
forget doing anything very useful.

Chris Bennett



Re: mfs vs tmpfs: advantages and disadvantages

2016-05-15 Thread Lampshade
And what about performance?
Is tmpfs or mfs faster? Is one or another more resource hungry?
--
Furthermore, I consider that systemd must be destroyed
Latin oratorical phrase



Re: Acer Aspire V5-571 WiFi card and Click Pad help

2016-05-15 Thread Otto Moerbeek
On Sun, May 15, 2016 at 02:27:19PM +0530, Siju George wrote:

> I have an Acer Aspire V5-571 with OEM Windows 8. I am going to wipe Windows
> and install OpenBSD on it.
> 
> As a trial I installed OpenBSD 5.9 in one of the GPT partitions and face
> there issues.
> 
> 1. Atheros AR9462 Wifi card shows up in dmesg but not in ifconfig
> fw_update does not help. How can I get wireless enabled?
> 
> 2. Touch pad - Elantec Clickpad version4 works but selection of text
> holding the left corner does not work. tapping to choose does not work
> either.
> 
> Any help to make these things work is highly appreciated.

I think you are around here long enough to know not to ask for help
while leaving almost all the details out.

-Otto



Re: Acer Aspire V5-571 WiFi card and Click Pad help

2016-05-15 Thread Ulf Brosziewski
X doesn't recognize the touchpad as clickpad automatically. Open
an X-terminal and enter
$ synclient ClickPad=1
This will enable click-and-drag/select actions with two fingers. For
emulating left-clicks with tapping, enter
$ synclient TapButton1=1
and for right-clicks with two-finger tapping, the command is
$ synclient TapButton2=3

Of course, you can also automate this and make it permanent, see
$ man synaptics
$ man xorg.conf
etc.


On 05/15/2016 10:57 AM, Siju George wrote:
> I have an Acer Aspire V5-571 with OEM Windows 8. I am going to wipe Windows
> and install OpenBSD on it.
> 
> As a trial I installed OpenBSD 5.9 in one of the GPT partitions and face
> there issues.
> 
> 1. Atheros AR9462 Wifi card shows up in dmesg but not in ifconfig
> fw_update does not help. How can I get wireless enabled?
> 
> 2. Touch pad - Elantec Clickpad version4 works but selection of text
> holding the left corner does not work. tapping to choose does not work
> either.
> 
> Any help to make these things work is highly appreciated.
> 
> Thanks
> 
> Siju



Re: softraid0: sdx has unsupported sector size (4096)

2016-05-15 Thread Theo Buehler
> > softraid0: sd8a has unsupported sector size (4096)
> > softraid0: invalid metadata format
> 
> I looked around and found an old email from Kenneth R Westerback on this
> mailinglist where he stated that the "4k problem" was solved at "c2k15" but
> never commited. Is there a reason it never got picked up again? Here i a
> link to the old post: 
> http://misc.openbsd.narkive.com/xjppPBE5/softraid-4-bioctl-8-vs-non-512-byte-sectors-disks#post6
> 
> 
> I am on OpenBSD 5.9 AMD64.

Try -current instead of release. This patch was committed in April.
https://marc.info/?l=openbsd-cvs&m=145979598420624&w=2



Re: softraid0: sdx has unsupported sector size (4096)

2016-05-15 Thread Daniel Jakots
On Sun, 15 May 2016 12:17:40 +0200, Leo Unglaub 
wrote:

> Now i wannted to use bioctl -cC -lsd8a softraid0 but i get the
> following error message:
> 
> > softraid0: sd8a has unsupported sector size (4096)
> > softraid0: invalid metadata format  
> 
> I looked around and found an old email from Kenneth R Westerback on
> this mailinglist where he stated that the "4k problem" was solved at
> "c2k15" but never commited. Is there a reason it never got picked up
> again? Here i a link to the old post: 
> http://misc.openbsd.narkive.com/xjppPBE5/softraid-4-bioctl-8-vs-non-512-byte-sectors-disks#post6
> 
> 
> I am on OpenBSD 5.9 AMD64.

It's in -current, see the commit [0] and the warning about softraid
metadata change [1].

[0]: https://marc.info/?l=openbsd-cvs&m=145979598420624&w=2
[1]: https://www.openbsd.org/faq/current.html#r20160426



softraid0: sdx has unsupported sector size (4096)

2016-05-15 Thread Leo Unglaub

Hey friends,
my new external HDD has a sector size of 4096:


# disklabel -h sd8
# /dev/rsd8c:
type: SCSI
disk: SCSI disk
label: My Passport 0827
duid: 9210ccc858d72f52
flags:
bytes/sector: 4096
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 45599
total sectors: 732558336 # total bytes: 2.7T
boundstart: 64
boundend: 732558273
drivedata: 0



I wanted to create a crypto raid on that drive and used the following 
commands to create one.



fdisk -igy sd8



Then i created a partition with disklabel -E sd8 resulting in the 
following disklabel:



16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a: 2.7T   64RAID
  c: 2.7T0  unused



Now i wannted to use bioctl -cC -lsd8a softraid0 but i get the following 
error message:



softraid0: sd8a has unsupported sector size (4096)
softraid0: invalid metadata format


I looked around and found an old email from Kenneth R Westerback on this 
mailinglist where he stated that the "4k problem" was solved at "c2k15" 
but never commited. Is there a reason it never got picked up again? Here 
i a link to the old post: 
http://misc.openbsd.narkive.com/xjppPBE5/softraid-4-bioctl-8-vs-non-512-byte-sectors-disks#post6



I am on OpenBSD 5.9 AMD64.

Thanks and greetings
Leo



Re: bioctl: unable to read passphrase

2016-05-15 Thread Leo Unglaub

Hey,

On 05/15/16 09:23, Maurice McCarthy wrote:

I believe the installation ramdisk has limited space so you likely used it
all up with "MAKEDEV all". It is limited to install on very old systems.


thanks for the answer. That actually would explain my problem! Maybe the 
bioctl error message could be tweaked a little bit to explain the 
problem a little bit more in detail.


Thanks and greetings
Leo



Acer Aspire V5-571 WiFi card and Click Pad help

2016-05-15 Thread Siju George
I have an Acer Aspire V5-571 with OEM Windows 8. I am going to wipe Windows
and install OpenBSD on it.

As a trial I installed OpenBSD 5.9 in one of the GPT partitions and face
there issues.

1. Atheros AR9462 Wifi card shows up in dmesg but not in ifconfig
fw_update does not help. How can I get wireless enabled?

2. Touch pad - Elantec Clickpad version4 works but selection of text
holding the left corner does not work. tapping to choose does not work
either.

Any help to make these things work is highly appreciated.

Thanks

Siju



Re: bioctl: unable to read passphrase

2016-05-15 Thread Maurice McCarthy
On Sun, May 15, 2016 at 12:21:48AM +0200 or thereabouts, Leo Unglaub wrote:

> 
> But i think i found out what caused the problem. Every time i did a cd 
> /dev && sh MAKEDEV all it did not work and bioctl could not read my 
> passphrase anymore. When i just created the device nodes i needed 
> manually it seams to work. Maybe this is a bug in the MAKEDEV script or 
> i just missused it. Sorry about that.
> 

I believe the installation ramdisk has limited space so you likely used it
all up with "MAKEDEV all". It is limited to install on very old systems.

Regards
Moss