Re: Vadem Clio 1050 hardware and software support?

pete hilton <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcmips
Message-ID <[email protected]>
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

[email protected]
  
IsaBella --- ICE Explorer #1070
netbsd.diff (text/x-diff, 3.7 KB)
Diffing ./dev/hpc/hpckbdkeymap.h
38a39
> #define KEY_ALT         56      /* Alt key */ 
230c231
< /*30*/	IGN,	 14,	 69,	 14,	IGN,	 43,	 28,	 57,
---
> /*30*/	IGN,	 14,	210,	 83,	IGN,	 43,	 28,	 57,
Diffing ./dev/hpc/hpckbd.c
82a83
> 	int			hc_alt_state;
201a203
> 	hc->hc_alt_state = WSCONS_EVENT_KEY_UP;
337,343c339,350
< 	if (flag) {
< 		type = WSCONS_EVENT_KEY_DOWN;
< 	} else {
< 		type = WSCONS_EVENT_KEY_UP;
< 	}
< 
< 	if ((key = hc->hc_keymap[scancode]) == UNK) {
---
> 	if (flag)
>         {
> 	    type = WSCONS_EVENT_KEY_DOWN;
> 	}
>         else
>         {
> 	    type = WSCONS_EVENT_KEY_UP;
> 	};
> 
> 	key = hc->hc_keymap[scancode];
>         
> 	if ( key == UNK) {
377a385,418
> 
>         if ( key == KEY_ALT )
>         {
>             hc->hc_alt_state = type;
>         };
> 
>         /*
>          * For Z50 Workpad .. make dependent on platid
>          * change the alt-shifted arrow keys
>          * so we can process them asif they were seperate keys
>          */
>         if ( hc->hc_alt_state ==  WSCONS_EVENT_KEY_DOWN )
>         {
>             switch (key)
>             {
>                 case 200: /* up to page up     */
>                     key = 201;
>                 break;
> 
>                 case 208: /* down to page down */
>                     key = 209;
>                 break;
> 
>                 case 203: /* left to home      */
>                     key = 199;
>                 break;
> 
>                 case 205: /* right to end      */
>                     key = 207;
>                 break;
> 
>             };
>         };
>         
379c420
< 		if (hpckbd_putevent(hc, type, hc->hc_keymap[scancode]) == 0)
---
> 		if (hpckbd_putevent(hc, type, key) == 0)
386c427
< 			n = pckbd_encode(type, hc->hc_keymap[scancode], data);
---
> 			n = pckbd_encode(type, key, data);
390c431
< 			wskbd_input(hc->hc_wskbddev, type, hc->hc_keymap[scancode]);
---
> 			wskbd_input(hc->hc_wskbddev, type, key);
Diffing ./dev/pckbport/wskbdmap_mfii.h
Diffing ./dev/pckbport/wskbdmap_mfii.c
109,118c109,118
<     KC(59),  KS_Cmd_Screen0,	KS_f1,
<     KC(60),  KS_Cmd_Screen1,	KS_f2,
<     KC(61),  KS_Cmd_Screen2,	KS_f3,
<     KC(62),  KS_Cmd_Screen3,	KS_f4,
<     KC(63),  KS_Cmd_Screen4,	KS_f5,
<     KC(64),  KS_Cmd_Screen5,	KS_f6,
<     KC(65),  KS_Cmd_Screen6,	KS_f7,
<     KC(66),  KS_Cmd_Screen7,	KS_f8,
<     KC(67),  KS_Cmd_Screen8,	KS_f9,
<     KC(68),  KS_Cmd_Screen9,	KS_f10,
---
>     KC(59),  KS_Cmd_Screen0,	KS_f1,         KS_F1, 
>     KC(60),  KS_Cmd_Screen1,	KS_f2,         KS_F2,
>     KC(61),  KS_Cmd_Screen2,	KS_f3,         KS_F3,
>     KC(62),  KS_Cmd_Screen3,	KS_f4,         KS_F4,
>     KC(63),  KS_Cmd_Screen4,	KS_f5,         KS_F5,
>     KC(64),  KS_Cmd_Screen5,	KS_f6,         KS_F6,
>     KC(65),  KS_Cmd_Screen6,	KS_f7,         KS_F7,
>     KC(66),  KS_Cmd_Screen7,	KS_f8,         KS_F8,
>     KC(67),  KS_Cmd_Screen8,	KS_f9,         KS_F9,
>     KC(68),  KS_Cmd_Screen9,	KS_f10,         KS_F10,
134,135c134,136
<     KC(87), 			KS_f11,
<     KC(88), 			KS_f12,
---
>     KC(84), 			KS_BackSpace,
>     KC(87), 			KS_f11,         KS_F11,
>     KC(88), 			KS_f12,         KS_F12,
147c148
<     KC(200),			KS_Up,
---
>     KC(200),			KS_Up, 
152c153
<     KC(208),			KS_Down,
---
>     KC(208),			KS_Down, 
Diffing ./dev/wscons/wsemul_vt100_keys.c
63a64,78
> static char *vt100_Fkeys[] = {
> 	"\033[51~",	/* F1 */
> 	"\033[52~",    	/* F2 */
> 	"\033[53~",	/* F3 */
> 	"\033[54~",	/* F4 */
> 	"\033[55~",	/* F5 */
> 	"\033[57~",	/* F6 */
> 	"\033[58~",	/* F7 */
> 	"\033[59~",	/* F8 */
> 	"\033[60~",	/* F9 */
> 	"\033[61~",	/* F10 */
> 	"\033[63~",	/* F11 */
> 	"\033[64~",	/* F12 */
> };
> 
95c110
< 		*out = vt100_fkeys[in - KS_F1];
---
> 		*out = vt100_Fkeys[in - KS_F1];
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.