Re: Is there something to replace zaurus?

2017-04-24 Thread Stefan Sperling
On Mon, Apr 24, 2017 at 10:53:57AM +0200, Paul de Weerd wrote:
> On Mon, Apr 24, 2017 at 10:47:28AM +0200, Stefan Sperling wrote:
> | > So if anyone knows of a way to rotate the screen from EFI, I'm all
> | > ears.
> | 
> | Add the Rotate option to your xorg.conf, for instance:
> | 
> |  Section "Device"
> |  Identifier "default device"
> |  Driver "wsfb"
> |  option "Rotate" "CW"
> |  EndSection
> 
> Thanks Stefan!  That's exactly what I did and it worked a wonder:
> 
>   http://www.weirdnet.nl/images/taco.jpg
> 
> Very cool :)

Now pkg_add zsdx and test the gamepad all the way up to the final boss!



Re: Is there something to replace zaurus?

2017-04-24 Thread Paul de Weerd
On Mon, Apr 24, 2017 at 10:47:28AM +0200, Stefan Sperling wrote:
| > So if anyone knows of a way to rotate the screen from EFI, I'm all
| > ears.
| 
| Add the Rotate option to your xorg.conf, for instance:
| 
|  Section "Device"
|  Identifier "default device"
|  Driver "wsfb"
|  option "Rotate" "CW"
|  EndSection

Thanks Stefan!  That's exactly what I did and it worked a wonder:

http://www.weirdnet.nl/images/taco.jpg

Very cool :)

Paul 'WEiRD' de Weerd

| See wsfb(4):
| 
|Option "Rotate" "string"
| Enable rotation of the display. The supported values are "CW"
| (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and
| "CCW" (counter clockwise, 270 degrees).  Implies use of the
| shadow framebuffer layer.  Default: off.
| 

-- 
>[<++>-]<+++.>+++[<-->-]<.>+++[<+
+++>-]<.>++[<>-]<+.--.[-]
 http://www.weirdnet.nl/ 



Re: Is there something to replace zaurus?

2017-04-24 Thread Stefan Sperling
On Mon, Apr 24, 2017 at 10:37:20AM +0200, Paul de Weerd wrote:
> I've not been able to get the X output rotated properly just yet:
> 
> [weerd@taco] $ xrandr -o right
> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  140 (RANDR)
>   Minor opcode of failed request:  2 (RRSetScreenConfig)
>   Serial number of failed request:  14
>   Current serial number in output stream:  14
> [weerd@taco] $ xrandr --output 'default' --rotate right --reflect normal
> xrandr: output default cannot use rotation "right" reflection "none"
> 
> So if anyone knows of a way to rotate the screen from EFI, I'm all
> ears.

Add the Rotate option to your xorg.conf, for instance:

 Section "Device"
 Identifier "default device"
 Driver "wsfb"
 option "Rotate" "CW"
 EndSection

See wsfb(4):

   Option "Rotate" "string"
  Enable rotation of the display. The supported values are "CW"
  (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and
  "CCW" (counter clockwise, 270 degrees).  Implies use of the
  shadow framebuffer layer.  Default: off.



Re: Is there something to replace zaurus?

2017-04-24 Thread Paul de Weerd
On Thu, Mar 30, 2017 at 08:47:09PM -0400, trondd wrote:
| I've never seen these before:
| 
| 
http://www.geekbuying.com/item/GPD-Win-5-5-inch-Game-Console-Intel-Atom-X5-Z8500-Windows-10-OS-4GB-64GB-Gamepad-Quad-Core-2-24GHz-Gorilla-Glass-Screen-1280-720-Type-C---Black-367872.html
| 
| Anyone familiar with one?

So, after your email, I now have one :)

Below is what I just sent to dmesg@ (includes sysctl hw and dmesg
output).  By now, I've configured X with:

--- /etc/X11/xorg.conf ---
Section "Device"
Identifier "default device"
Driver "wsfb"
EndSection

Section "Screen"
Identifier "default screen"
Device "default device"
EndSection
--

And X works fine, one of the gamepad thingies acts like a trackstick
mouse device (I guess the ThinkPad-fans will like this).  However,
I've not been able to get the X output rotated properly just yet:

[weerd@taco] $ xrandr -o right
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)
  Serial number of failed request:  14
  Current serial number in output stream:  14
[weerd@taco] $ xrandr --output 'default' --rotate right --reflect normal
xrandr: output default cannot use rotation "right" reflection "none"

So if anyone knows of a way to rotate the screen from EFI, I'm all
ears.

e-mail sent to dmesg


Small little device, not too well supported just yet:

- screen output is rotated, also in BIOS (read it 'book-style')
- need to tell bootloader to boot hd2a:/bsd (no auto-boot)
- unsupported vga
- unsupported audio device
- broadcom wifi :-(

But, plugging in a axe(4) works fine.  I still have to see about
getting X to run on the efifb(4), to see if I can rotate the screen
there.

Paul 'WEiRD' de Weerd

--- sysctl hw 
hw.machine=amd64
hw.model=Intel(R) Atom(TM) x7-Z8700 CPU @ 1.60GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:86ab0e9e00184c6c
hw.diskcount=1
hw.sensors.cpu0.temp0=46.00 degC
hw.sensors.acpitz0.temp0=0.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.cpuspeed=1600
hw.setperf=99
hw.vendor=Default string
hw.product=Default string
hw.version=Default string
hw.serialno=Default string
hw.uuid=00020003-0004-0005-0006-000700080009
hw.physmem=4182315008
hw.usermem=4182290432
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=manual
--

--- dmesg 
OpenBSD 6.1-current (GENERIC.MP) #14: Sat Apr 22 19:55:57 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 3d
real mem = 4182315008 (3988MB)
avail mem = 4050870272 (3863MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7b8de000 (51 entries)
bios0: vendor American Megatrends Inc. version "5.11" date 12/23/2016
bios0: Default string Default string
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI SSDT HPET SSDT 
SSDT SSDT LPIT BCFG PRAM TPM2 CSRT WDAT SSDT SSDT SSDT
acpi0: wakeup devices
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) Atom(TM) x7-Z8700 CPU @ 1.60GHz, 1600.39 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: TSC frequency 1600385600 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 79MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Atom(TM) x7-Z8700 CPU @ 1.60GHz, 1599.96 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,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu1: 1MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Atom(TM) x7-Z8700 CPU @ 1.60GHz, 1599.96 MHz
cpu2: 

Re: Is there something to replace zaurus?

2017-04-04 Thread Kamil Cholewiński
On Tue, 04 Apr 2017, Kristoff Haler  wrote:
> Hello misc@,
>
> Unable to provide direct link from this email account
> Search  indiegogo  "gpd-pocket-7-0"
> Not ARM,
> x86_64,
> 8GB RAM, 
> TrackPoint,
> 7in 1920x1200,
> Touchscreen,
> Gorilla Glass,
> This "feels" OpenBSD.
>
> Regards,
> Kristoff Haler.
> -- 
> Take back your privacy. Switch to www.StartMail.com

Judging by this comment:

https://www.reddit.com/r/linux/comments/5u5ek7/gpd_pocket_70_umpclaptop_ubuntu_or_win_10_os/ddslacd/

Another "wintel" box... Which is sad, because trackpoint



Re: Is there something to replace zaurus?

2017-04-04 Thread Kristoff Haler
Hello misc@,

Unable to provide direct link from this email account
Search  indiegogo  "gpd-pocket-7-0"
Not ARM,
x86_64,
8GB RAM, 
TrackPoint,
7in 1920x1200,
Touchscreen,
Gorilla Glass,
This "feels" OpenBSD.

Regards,
Kristoff Haler.
-- 
Take back your privacy. Switch to www.StartMail.com



Re: Is there something to replace zaurus?

2017-04-01 Thread Paolo Aglialoro
Some years ago got an acer One with N270, broken 8GB ide ssd (those 1st gen
rubbish) which "run" linux on 512mb.

Substituted it with a 1.8" 30gb hd (and filled up its 2 SD slots), expanded
to 1.5gb ram, reworked chassis to host an external sna connector for big
antenna.

This machine, which still today can run modern linux, runs openbsd
marvellously, has a wonderful screen and keyboard. Also, with a new 9 cells
battery lasts incredbly like a porno actor.

Till it runs i won't detach from it :)



Il 01/apr/2017 06:47 AM, "Ax0n"  ha scritto:

> Until I really wanted to mess with vmm(4) late last year (thus requiring me
> to move to a more portly i5 laptop), my daily driver was a Toshiba NB305,
> on which I've run OpenBSD since 2011. It still comes out to play whenever I
> need excellent battery life and/or a light carry load-out. Everything from
> WiFi to screen brightness, volume control and suspend worked out of the box
> with OpenBSD back then, and still does today. I max'd it out to 2GB of RAM.
> Gmail in Chromium and/or Firefox is usable. HTML5 videos play fine on
> YouTube in Chromium. But I wouldn't call it an enjoyable experience by any
> stretch, but OpenBSD runs better on that old thing than Windows 7 starter,
> Ubuntu, Arch or Debian ever did.
>
> GeminiPDA (I won't link to it here) has piqued my interest, but if it comes
> to fruition the way many crowd-funded hardware projects go, I am not
> holding my breath for OpenBSD on it. I have a small fleet of HP Jornadas
> (mostly 720s) that run NetBSD/hpcarm well, and the Gemini seems like it
> would scratch that itch for something similar in stature with more than 205
> MHz and 32MB of RAM.
>
> On Fri, Mar 31, 2017 at 10:20 PM, Nick Holland <
> n...@holland-consulting.net>
> wrote:
>
> > On 03/29/17 05:51, Luke Small wrote:
> > > I thought I read that there is an arm7 based mobile device, but I can't
> > > find anything about it.
> > >
> >
> > Not quite as tiny, but in more capable in almost every way are the
> > netbooks of a few years ago.  In addition to being small and portable,
> > they can have real networking (wireless (sometimes with a hw swapout)
> > and wired), several USB devices attached, huge (relatively speaking)
> > disks installed, lots of RAM, usable keyboards, etc.
> >
> > With lots of patience (and some swap), can even run modern browsers on
> > them.
> >
> > Nick.



Re: Is there something to replace zaurus?

2017-03-31 Thread Ax0n
Until I really wanted to mess with vmm(4) late last year (thus requiring me
to move to a more portly i5 laptop), my daily driver was a Toshiba NB305,
on which I've run OpenBSD since 2011. It still comes out to play whenever I
need excellent battery life and/or a light carry load-out. Everything from
WiFi to screen brightness, volume control and suspend worked out of the box
with OpenBSD back then, and still does today. I max'd it out to 2GB of RAM.
Gmail in Chromium and/or Firefox is usable. HTML5 videos play fine on
YouTube in Chromium. But I wouldn't call it an enjoyable experience by any
stretch, but OpenBSD runs better on that old thing than Windows 7 starter,
Ubuntu, Arch or Debian ever did.

GeminiPDA (I won't link to it here) has piqued my interest, but if it comes
to fruition the way many crowd-funded hardware projects go, I am not
holding my breath for OpenBSD on it. I have a small fleet of HP Jornadas
(mostly 720s) that run NetBSD/hpcarm well, and the Gemini seems like it
would scratch that itch for something similar in stature with more than 205
MHz and 32MB of RAM.

On Fri, Mar 31, 2017 at 10:20 PM, Nick Holland 
wrote:

> On 03/29/17 05:51, Luke Small wrote:
> > I thought I read that there is an arm7 based mobile device, but I can't
> > find anything about it.
> >
>
> Not quite as tiny, but in more capable in almost every way are the
> netbooks of a few years ago.  In addition to being small and portable,
> they can have real networking (wireless (sometimes with a hw swapout)
> and wired), several USB devices attached, huge (relatively speaking)
> disks installed, lots of RAM, usable keyboards, etc.
>
> With lots of patience (and some swap), can even run modern browsers on
> them.
>
> Nick.



Re: Is there something to replace zaurus?

2017-03-31 Thread Nick Holland
On 03/29/17 05:51, Luke Small wrote:
> I thought I read that there is an arm7 based mobile device, but I can't
> find anything about it.
> 

Not quite as tiny, but in more capable in almost every way are the
netbooks of a few years ago.  In addition to being small and portable,
they can have real networking (wireless (sometimes with a hw swapout)
and wired), several USB devices attached, huge (relatively speaking)
disks installed, lots of RAM, usable keyboards, etc.

With lots of patience (and some swap), can even run modern browsers on them.

Nick.



Re: Is there something to replace zaurus?

2017-03-30 Thread trondd
On Wed, March 29, 2017 6:49 pm, Ryan Freeman wrote:
> On Wed, Mar 29, 2017 at 05:00:44PM -0500, Jordon wrote:
>> > On Mar 29, 2017, at 4:51 AM, Luke Small  wrote:
>> >
>> > I thought I read that there is an arm7 based mobile device, but I
>> can't
>> > find anything about it.
>> >
>>
>> I???m really hoping the Dragonbox Pyra could become a mobile OpenBSD
>> device
>> like the zaurus was.  It is almost ready for manufacturing.
>>
>> Jordon
>>
>
> Wow that is a really neat looking little unit, thanks for mentioning
> this!
>
> I only did a quick search, but it seems at least the cpuid for the
> Cortex A15 cpu at least exists in cvs:
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/arm/arm/cpu.c?rev=1.36=text/x-cvsweb-markup
>
> I only hope the rest of the hardware in that little box is friendly :-)
>
> -ryan
>

I've never seen these before:

http://www.geekbuying.com/item/GPD-Win-5-5-inch-Game-Console-Intel-Atom-X5-Z8500-Windows-10-OS-4GB-64GB-Gamepad-Quad-Core-2-24GHz-Gorilla-Glass-Screen-1280-720-Type-C---Black-367872.html

Anyone familiar with one?



Re: Is there something to replace zaurus?

2017-03-29 Thread Ryan Freeman
On Wed, Mar 29, 2017 at 05:00:44PM -0500, Jordon wrote:
> > On Mar 29, 2017, at 4:51 AM, Luke Small  wrote:
> >
> > I thought I read that there is an arm7 based mobile device, but I can't
> > find anything about it.
> >
> 
> I???m really hoping the Dragonbox Pyra could become a mobile OpenBSD device
> like the zaurus was.  It is almost ready for manufacturing.
> 
> Jordon
>

Wow that is a really neat looking little unit, thanks for mentioning
this!

I only did a quick search, but it seems at least the cpuid for the
Cortex A15 cpu at least exists in cvs:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/arm/arm/cpu.c?rev=1.36=text/x-cvsweb-markup

I only hope the rest of the hardware in that little box is friendly :-)

-ryan



Re: Is there something to replace zaurus?

2017-03-29 Thread Jordon
> On Mar 29, 2017, at 4:51 AM, Luke Small  wrote:
>
> I thought I read that there is an arm7 based mobile device, but I can't
> find anything about it.
>

I’m really hoping the Dragonbox Pyra could become a mobile OpenBSD device
like the zaurus was.  It is almost ready for manufacturing.

Jordon



Is there something to replace zaurus?

2017-03-29 Thread Luke Small
I thought I read that there is an arm7 based mobile device, but I can't
find anything about it.