|
|
| Vadem Clio 1050 hardware and software
support? |

|
2007-05-11 07:28:08 |
Hi,
thanks to the replys to my previous post I got netbsd-4
daily build up
and running.
A couple of questions do remain though:
1)
how does battery life under netbsd compare to wince?
To reduce write access to the CF card I did
- mount / and /home with the noatime option and
- reduced syslogging to a minimum.
2)
How can I read battery status?
Guessing from the manpages it seems envstat should do that
but it
complains about no /dev/sysmon
3)
Upon suspend (with the power button) the display remains on
thus
consuming power?
Is there any way to completely turn it off (and on again
upon resume)?
4)
how can I attach some script (to fetch current date) upon
resume?
5)
under X with Xhpc the digitizer orientation is rotated:
moving the
stylus left-right moves the cursor up-down and vice versa. (
I run the
video reversed when starting from pbsdboot as white on black
if that
matters) Is there an option to change the digitizer
orientation?
6)
how do I make the win key and the alt-modifiler key working?
(under
wince alt-up gives page-up etc.)
7)
which web browser is usable on hpcmips?
I found an old (netbsd-3) binary of links which works, but
has no graphics.
Is there a more advanced browser working in the framebuffer
or which
browser to use under X or other options?
Your help is appreciated, thank you. Juergen
|
|
| Re: Vadem Clio 1050 hardware and
software support? |
  United States |
2007-05-11 11:19:50 |
On Fri May 11 2007 05:28, Juergen Sell wrote:
>3)
>Upon suspend (with the power button) the display remains
on thus
>consuming power?
>Is there any way to completely turn it off (and on again
upon resume)?
On the Z50 it turns off
>4)
>how can I attach some script (to fetch current date)
upon resume?e mode.
I would like to know the answer to this also .... and the
converse .. run a
script BEFORE suspend.
>
> 6)
> how do I make the win key and the alt-modifiler key
working? (under
> wince alt-up gives page-up etc.)
>
For 6):
I have netbsd 3.0 running on an IBM Z50, so your mileage may
vary somewhat;
I have shift and alt working with various manifestations of
keys
None of the files that I had to hit were Z50 specific
although some had Z50
specific bits in them. The files I hit were:-
./dev/hpc/hpckbdkeymap.h
./dev/hpc/hpckbd.c
./dev/pckbport/wskbdmap_mfii.h
./dev/pckbport/wskbdmap_mfii.c
./dev/wscons/wsemul_vt100_keys.c
I have attached a combined diff for the changes to these
files.
All of the ALT/ALT-SHIFT bindings pass through to X so they
work in X as well
as in console mode. NOTE THAT my locale uses English.
> 7)
> which web browser is usable on hpcmips?
> I found an old (netbsd-3) binary of links which works,
but has no graphics.
> Is there a more advanced browser working in the
framebuffer or which
> browser to use under X or other options?
>
> Your help is appreciated, thank you. Juergen
Short answer for 7) is dillon .. it is on the web an in the
netbsd archive.
cheers
pete
--
pete hilton
San Jose,CA
saruman ruvolo-hilton.org
IsaBella --- ICE Explorer #1070
|
|
|
| Re: Vadem Clio 1050 hardware and
software support? |

|
2007-05-14 11:08:06 |
To followup my own post I did solve some of the issues.
Cross compiling my own vr41xx kernel on an i386 linux box
from the cvs
-r netbsd-4 helped.
I did find the conf/VR41XX file and the options flags for
KB_SWAPCTRLCAPS
and the VT support WS_DISPLAYDEFAULTSCREENS, so that works.
Still do not understand how to tell the build process to
build with
the clio-1050 keymapping. Or is there some automagic? Can I
tell it
more specific than ./build.sh .... -U tools kernel=VR41XX
?
> 1)
> how does battery life under netbsd compare to wince?
So far battery life seems to equal that under wince when
moderately
browsing the web with links.
> 2)
> How can I read battery status?
according to an old (around year 2000) TODO file not yet ?
Dont know if that still holds, as some things mentioned in
that old
file seem to work.
> 3)
> Upon suspend (with the power button) the display
remains on thus
> consuming power?
> Is there any way to completely turn it off (and on
again upon resume)?
The same TODO says not yet.
I would be willing to try a few things here if someone has
any hints?
> 4)
> how can I attach some script (to fetch current date)
upon resume?
Did not find any userland hooks so far.
> 5)
> under X with Xhpc the digitizer orientation is rotated:
moving the
> stylus left-right moves the cursor up-down and vice
versa. ( I run the
> video reversed when starting from pbsdboot as white on
black if that
> matters) Is there an option to change the digitizer
orientation?
Digitizer still works only under X. Orientation is still
rotated. So
far no idea where to start. My first try to rebuild the
distribution
failed anyway.
> 6)
> how do I make the win key and the alt-modifiler key
working? (under
> wince alt-up gives page-up etc.)
? still unsolved. All the older diff files that once existed
seem to
have been merged into the cvs kernel source tree already? So
for the
time being I am lost here.
> 7)
> which web browser is usable on hpcmips?
I finished building links-2 via pkgsrc on the machine. So
far no luck
setting up cross-compilation for pkgsrc on the i386 linux
box so this
takes a looong time. Still trying a native build of
links-gui and
dillo on the target.
> Your help is appreciated, thank you. Juergen
This remains very true. Juergen
|
|
| Re: Vadem Clio 1050 hardware and
software support? |
  United States |
2007-05-14 21:24:25 |
On 2007-05-14 juergen.sell gmail.com wrote:
> Cross compiling my own vr41xx kernel on an i386 linux
box from the cvs
> -r netbsd-4 helped.
> I did find the conf/VR41XX file and the options flags
for KB_SWAPCTRLCAPS
> and the VT support WS_DISPLAYDEFAULTSCREENS, so that
works.
> Still do not understand how to tell the build process
to build with
> the clio-1050 keymapping. Or is there some automagic?
Can I tell it
> more specific than ./build.sh .... -U tools
kernel=VR41XX ?
You don't need an option; it should just be there. Did
you use the
C-1050 setting when booting? What exact problem are you
seeing?
> > 3)
> > Upon suspend (with the power button) the display
remains on thus
> > consuming power?
> > Is there any way to completely turn it off (and on
again upon resume)?
>
> The same TODO says not yet.
> I would be willing to try a few things here if someone
has any hints?
It uses an Epson chip that is also found in an Arm core.
IIRC and last
time I checked (a couple of years ago) there was only a stub
driver in an
arm port but no suspend support. The datasheet is available
from Epson.
> > 5)
> > under X with Xhpc the digitizer orientation is
rotated: moving the
> > stylus left-right moves the cursor up-down and
vice versa. ( I run the
> > video reversed when starting from pbsdboot as
white on black if that
> > matters) Is there an option to change the
digitizer orientation?
>
> Digitizer still works only under X. Orientation is
still rotated. So
> far no idea where to start. My first try to rebuild the
distribution
> failed anyway.
tpctl.
> > 6) how do I make the win key and the alt-modifiler
key working? (under
> > wince alt-up gives page-up etc.)
> ? still unsolved. All the older diff files that once
existed seem to
> have been merged into the cvs kernel source tree
already? So for the
> time being I am lost here.
IIRC, I used the windows key for a modifier and Ctl-Alt-N
instead of
Ctrl-Alt-FnN since the keyboard seems unable to generate the
Ctl-Alt-Fn
sequences. It may have had trouble with some Ctl-Alt-N
sequences too; at
least screen 4 worked. The hpcmips keyboard filter works
better than CE,
which produces quite a few garbage characters when using
multiple keys.
Matthew Orgass
darkstar city-net.com
|
|
| Re: Vadem Clio 1050 hardware and
software support? |

|
2007-05-15 02:19:40 |
> > > [select VADEM_CLIO_C as the active
platform?]
> You don't need an option; it should just be there. Did
you use the
> C-1050 setting when booting? What exact problem are
you seeing?
Oh, you mean selecting the framebuffer type in pbsdboot.exe?
Yes, I
set that to Vadem Clio 1050. For one I found multiple
platforms in
conf/VR41XX defned, but I did not know if I have to specify
somehow
which one to choose. Second I would like support for the
close/open
display-hinge switch to bind it to the suspend/resume
mechanism if
possibe.
Other platforms seem to already have a lot of gpiu (?) pins
mapped/defined (don't know the correct wording).
Also I still do not know my way with the kbd-mapping, see
6): missing
Pageup=Fn-up
> > > 3)
> > > Upon suspend (with the power button) the
display remains on thus
> > > consuming power?
> > > Is there any way to completely turn it off
(and on again upon resume)?
> It uses an Epson chip that is also found in an Arm
core. IIRC and last
> time I checked (a couple of years ago) there was only a
stub driver in an
> arm port but no suspend support. The datasheet is
available from Epson.
The linux port on mobilepro700 at sourceforge supposedly has
this working.
> > > 5)
> > > [Xhpc: digitizer orientation]
> tpctl.
ok, will try to build again later.
> > > 6) how do I make the win key and the
alt-modifiler key working? (under
> > > wince alt-up gives page-up etc.)
> IIRC, I used the windows key for a modifier and
Ctl-Alt-N instead of
> Ctrl-Alt-FnN since the keyboard seems unable to
generate the Ctl-Alt-Fn
> sequences.
how do you define/set that for the text consoles?
> It may have had trouble with some Ctl-Alt-N sequences
too; at
> least screen 4 worked.
Confusing. I can switch between ttyE0-3 via Ctl-Alt-1 to 4
all right.
Thanks, Juergen
|
|
| Re: Vadem Clio 1050 hardware and
software support? |

|
2007-05-15 12:20:22 |
mio stupido. tpctl is your friend to calibrate the digitizer
under
netbsd. Why did I think it would use the calibration from
windowsCE?
And I had completey misunderstood the
hint to tpctl ( I had thought it to be an abbreviation for
'typical' ).
2007/5/15, Juergen Sell <juergen.sell gmail.com>:
> > > > 5)
> > > > [Xhpc: digitizer orientation]
> > tpctl.
! Solved.
Thanks, Juergen
|
|
| Re: Vadem Clio 1050 hardware and
software support? |
  United States |
2007-05-15 14:30:06 |
On 2007-05-15 juergen.sell gmail.com wrote:
> > > > [select VADEM_CLIO_C as the active
platform?]
> > You don't need an option; it should just be there.
Did you use the
> > C-1050 setting when booting? What exact problem
are you seeing?
>
> Oh, you mean selecting the framebuffer type in
pbsdboot.exe? Yes, I
> set that to Vadem Clio 1050. For one I found multiple
platforms in
> conf/VR41XX defned, but I did not know if I have to
specify somehow
> which one to choose. Second I would like support for
the close/open
> display-hinge switch to bind it to the suspend/resume
mechanism if
> possibe.
> Other platforms seem to already have a lot of gpiu (?)
pins
> mapped/defined (don't know the correct wording).
The id is passed by the bootloader. In the kernel config
you can remove
what you don't want by commenting or deleting lines or using
the "no"
config keyword if you want to shrink the kernel. I think
you find the pin
mappings by setting VRGIUDEBUG_CONF to 3 and defining
DUMP_GIU_LEVEL2_INTR, either in sys/arch/hpcmips/vr/vrgiu.c
or in the
config file as:
options VRGIUDEBUG=3
options DUMP_GIU_LEVEL2_INTR
> > > > 3)
> > > > Upon suspend (with the power button) the
display remains on thus
> > > > consuming power?
> > > > Is there any way to completely turn it
off (and on again upon resume)?
> > It uses an Epson chip that is also found in an
Arm core. IIRC and last
> > time I checked (a couple of years ago) there was
only a stub driver in an
> > arm port but no suspend support. The datasheet is
available from Epson.
>
> The linux port on mobilepro700 at sourceforge
supposedly has this working.
Clios are the only hpcmips machines that use Epson chips,
although maybe
it doesn't need chip specific support for power off (or
maybe it needs it
to usefully turn the power back on ). My
clios have damaged display
cables causing vertical lines that make text almost
unreadable, so I don't
have a system set up right now and managed to avoid doing
anything useful
when I was looking at it previously.
> > > > 6) how do I make the win key and the
alt-modifiler key working? (under
> > > > wince alt-up gives page-up etc.)
> > IIRC, I used the windows key for a modifier and
Ctl-Alt-N instead of
> > Ctrl-Alt-FnN since the keyboard seems unable to
generate the Ctl-Alt-Fn
> > sequences.
>
> how do you define/set that for the text consoles?
Oh, I looked at the keymap (in sys/dev/hpc/hpckbdkeymap.h)
and it is the
Fn key for page up, etc. The windows key is used by X to
provide
additonal mouse buttions (hold win-N then click for button
N, IIRC).
Matthew Orgass
darkstar city-net.com
|
|
| Re: Vadem Clio 1050 hardware and
software support? |

|
2007-06-18 03:39:56 |
Hi,
I am still trying to optimize hardware support for my Vadem
Clio 1050.
Backlight toggle support working with suspend/resume would
help save
power and avoid the wince-bootloading cycle.
So I try to get at the correlated hardware / kernel
information.
Since I did not manage to boot from the cf-card with
WINCE_DEFAULT_SETTING because of lost interrupts, thanks to
the hints
provided by Matthew Orgass I tried the following.
2007/6/12, Matthew Orgass <darkstar city-net.com>:
> Do any of the bits change when you close and open the
screen?
Yes, they do:
I booted 3 times, always with -v option and 10s automatic
delay (to
have time to close the display lid). Always using external
power and
wifi-pcmcia, alternating through the display swivel modes
being open,
in tablet mode and closed.
>From there I did a grep for WIN and 'giu data' in dmesg
output.
$ cat ./WIN.power.open.wifi
WIN setting:
iiiiiiiiiiiiiiiilihiilihiiiiilil
$ cat ./WIN.power.tablet.wifi
WIN setting:
iiiiiiiiiiiiiiiilihiihihiiiiilil
$ cat ./WIN.power.closed.wifi
WIN setting:
iiiiiiiiiiiiiiiilihiilihiiiiilih
and also
$ cat ./GIU.power.open.wifi
giu data:
......||......|.........|||||||||.|.|||||.|.....||.||||.|.||
.|||
$ cat ./GIU.power.tablet.wifi
giu data:
......||......|.........|||||||||.|.|||||.|.....||.||.|.|.||
.|||
giu data:
......||......|.........|||||||||.|.|||||.|.....|||||.|.|.||
.|||
$ cat ./GIU.power.closed.wifi
giu data:
......||......|.........|||||||||.|.|||||.|.....||.||||.|.||
.||.
Hope that helps. Does it sound reasonable?
Juergen
|
|