Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#62828 - 24/01/2002 18:31 empegVNC-0.6 released
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
empegVNC-0.6 has been released. v0.5 was a pointless internal-only release.

The new feature in this version is the display of the fascia along with the screen and the ability to press the buttons on the fascia. No way to turn the knob via the mouse yet. If you have a good idea for a mouse UI for that function, let me know.

Note that this version's binary is much larger due to the embedded bitmap of the fascia. The RSS seems to be a little larger, but not extraordinarily so. I'll see what I can do in future releases to reduce the size.
_________________________
Bitt Faulk

Top
#62829 - 24/01/2002 18:33 Re: empegVNC-0.6 released [Re: wfaulk]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Bitt,

The best way to do a rotary control is for a left click and drag to send the knob left code and a right click and drag to send a right knob left code, the more you drag it, the more codes it sends. Anything else is overkill (like those knob controls that make you actually move the mouse in a circular direction.. those bite.)
_________________________
- Tony C
my empeg stuff

Top
#62830 - 24/01/2002 18:34 Re: empegVNC-0.6 released [Re: wfaulk]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
I would have it left-click drag left goes left, and left-click drag right down goes right..


Edited by Yang (24/01/2002 18:35)

Top
#62831 - 24/01/2002 18:40 Re: empegVNC-0.6 released [Re: Yang]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
D'oh that's what I meant. I didn't mean left and right mouse buttons, I meant left and right as in direction...

I admit, I had a couple beers tonight...
_________________________
- Tony C
my empeg stuff

Top
#62832 - 24/01/2002 18:46 Re: empegVNC-0.6 released [Re: tonyc]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
Thinking about it, I would have left click do the button press, and right click-drag do the rotation.. or swap em depending on if you think rotation is the major function, and pressing is the alternate function..

Top
#62833 - 24/01/2002 21:09 Re: empegVNC-0.6 released [Re: wfaulk]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
I'm a KISS person myself, how about a button for clockwise and one for counterclockwise?

-Zeke
_________________________
WWFSMD?

Top
#62834 - 24/01/2002 21:15 Re: empegVNC-0.6 released [Re: Ezekiel]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Ahh, but then we wouldn't have the pristine image of an unadulterated empeg fascia! What do you mean your eyes can register more than 256 colors?
_________________________
Bitt Faulk

Top
#62835 - 24/01/2002 22:16 Re: empegVNC-0.6 released [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
Buttons don't work for me running the java client from within Netscape Communicator (Linux).

And my native Linux client fails to connect:

[/home/root] vncviewer empeg
VNC server supports protocol version 3.3 (viewer 3.3)
No authentication needed
Desktop name "empegVNC"
Connected to VNC server, using protocol version 3.3
VNC server default format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Using default colormap which is TrueColor. Pixel format:
16 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 31 green 63 blue 31, shift red 11 green 5 blue 0
Using shared memory PutImage
vncviewer: read: Connection reset by peer
ShmCleanup called


-ml

Top
#62836 - 24/01/2002 22:22 Re: empegVNC-0.6 released [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
...but buttons in the java client *do* work when running it within konqueror.. so it's just some oddity. I have used the VNC java client to access other VNC servers just fine from Communicator, though.

Top
#62837 - 25/01/2002 06:02 Re: empegVNC-0.6 released [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Hand your Linux client the -bgr233 switch and see if it works. Not sure about the Netscape thing. I'll take a look the next chance I get my hands on a Linux Netscape. What version are you running? Oh, and does the Java Console say anything useful? (I didn't write the Java client at all. I just got the Java client source from the VNC folks and hacked in defaulting to BGR233 and hacked out the password screen.)


Edited by wfaulk (25/01/2002 06:38)
_________________________
Bitt Faulk

Top
#62838 - 25/01/2002 06:48 Re: empegVNC-0.6 released [Re: wfaulk]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Oh -- I should point out that while the fascia bitmap increases the size of the binary and the RSS, it shouldn't have a significant impact on network usage. The fascia is only sent occasionally, perhaps even only once, depending on your client. The vast majority of screen updates are updates only to the screen, not the fascia.
_________________________
Bitt Faulk

Top
#62839 - 25/01/2002 07:29 Re: empegVNC-0.6 released [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
>Hand your Linux client the -bgr233 switch and see if it works.

[/home/root] vncviewer -bgr233 empeg
VNC server supports protocol version 3.3 (viewer 3.3)
No authentication needed
Desktop name "empegVNC"
Connected to VNC server, using protocol version 3.3
VNC server default format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Using default colormap and translating from BGR233. Pixel format:
8 bits per pixel.
True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6
Got 256 exact BGR233 colours out of 256
Using shared memory PutImage
vncviewer: read: Connection reset by peer
ShmCleanup called

Top
#62840 - 25/01/2002 07:59 Re: empegVNC-0.6 released [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Ouch. I'll take a look into it.
_________________________
Bitt Faulk

Top
#62841 - 25/01/2002 09:30 Re: empegVNC-0.6 released [Re: wfaulk]
Nosferatu
enthusiast

Registered: 24/08/2001
Posts: 344
Loc: France, Champagne
I like the display of the Fascia.

It is better like that.

_________________________
Empeg IIa - 10 Gb - Red Fascia - Tuner, the day is coming - I Will Strike From the Grey -

Top
#62842 - 25/01/2002 11:37 Re: empegVNC-0.6 released [Re: wfaulk]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Please excuse my "greenhornness" but I seem to be doing something wrong!

empeg:/empeg/bin# cd ..
empeg:/empeg# cd ..
empeg:/# ls
bin drive0 empeg etc lost+found proc swapfile usr
dev drive1 empegVNC-0.6 lib mnt sbin tmp var
empeg:/# chmod -v 755 empegVNC-0.6
mode of empegVNC-0.6 changed to 0755 (rwxr-xr-x)
empeg:/# empegVNC
bash: empegVNC: command not found
empeg:/# empegVNC-0.6
bash: empegVNC-0.6: command not found
empeg:/#

What should I be doing to cause empegVNC to execute? I have VNC running fine between my Mac and a PC.

Thanks,

Lynn

Top
#62843 - 25/01/2002 11:46 Re: empegVNC-0.6 released [Re: ellweber]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

If the file is not in your path, you might need to run it with the directory (i.e., dot slash), so it knows where you are looking for it:

empeg:/# ./empegVNC-0.6
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#62844 - 25/01/2002 11:58 Re: empegVNC-0.6 released [Re: pgrzelak]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Thanks, that did it. I thought I was already in then correct directory but I guess not.

Lynn

Top
#62845 - 25/01/2002 12:00 Re: empegVNC-0.6 released [Re: ellweber]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

You were in the correct directory. Unix, unlike windows / dos, does not have the current directory in the PATH list by default. So you just needed to specify which directory the file was in.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#62846 - 25/01/2002 16:31 Re: empegVNC-0.6 released [Re: pgrzelak]
ellweber
member

Registered: 14/01/2002
Posts: 156
Loc: Saratoga, CA, USA
Thanks! So the next question is, how to make EmpegVNC launch at start-up when the Empeg is on AC power only. Or, do you have to run it from the shell prompt each time?

Lynn

Top
#62847 - 25/01/2002 17:18 Re: empegVNC-0.6 released [Re: ellweber]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
You can replace stock init file (a program that starts all other programs, more or less) with a shell script which would first start VNC server, and then original init. AC/DC info is in one of files in /proc. The trouble is that one of init's jobs is to mount /proc (and music partitions). However, people were doing such things before (performing necessary mounts etc themselfes). Search the board a bit for custom init scripts (or wait untill somebody more knowledgeable chirps in here )
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#62848 - 26/01/2002 23:04 Re: empegVNC-0.6 released [Re: wfaulk]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Great work! VNC works very well for me. Although I have not real *need* for it, it's sure fun to play with.

Suggestion: The color scale on the empeg is not 0%, 33%, 67%, 100% which is what it looks like through VNC. This causes the anti-aliasing to look a little off, but it's only a cosmetic issue. I noticed that Tony's logo editor has close matching brightness values, maybe he can tell us what they are?
_________________________
--The Amigo

Top
#62849 - 27/01/2002 07:51 Re: empegVNC-0.6 released [Re: TheAmigo]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Unfortunately, the color index that VNC uses when in 8-bit mode is not well balanced. Those were the only two colors that were grey. Any others wandered very far off into being colored. That being said, I intend to implement a way to get it to show your colored faceplates (definitely blue, red, green, and amber in addition to white -- and maybe some others, just for fun, too) sometime in the near future. Those might come close to the original values, except for blue.
_________________________
Bitt Faulk

Top
#62850 - 27/01/2002 13:27 Re: empegVNC-0.6 released [Re: wfaulk]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi.

Why should blue be an exception?

cu,
sven
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#62851 - 27/01/2002 14:38 Re: empegVNC-0.6 released [Re: smu]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
The encoding scheme used uses 1 8-bit byte. That byte uses 3 bits for red and 3 bits for green, but only 2 bits for blue (it's referred to int the VNC/RFB spec as BGR233). That gives seven discrete values for red and green, but only four for blue. There is some vestigial support for colormaps, but I'm pretty sure it's never been completed. I could use 24-bit colors, but that seems like a lot of overkill(including network bandwidth) for a 2-bit display (no pun intended).

If you care, the levels are:
255 219 182 146 109 73 36 0

255 222 181 148 107 74 33 0
255 173 82 0
for green, red, and blue, respectively, on a 0-255 scale. At least that's how I read it from WinVNC client->Win screenshot->clipboard->paste->Photoshop. Seems to match up on other clients that way, too. I don't really understand the discrepancy between red and green, but there you go.
_________________________
Bitt Faulk

Top
#62852 - 28/01/2002 18:14 Re: empegVNC-0.6 released [Re: wfaulk]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Just wanted to tell you that you got a nice program going on. Much nicer then the html version I drew up. I noticed you had "Images stolen from Drakino's empeg status page", I actually drew up those images for the html version, no big deal though. hehe

Keep up the good work,
-Greg

Top
#62853 - 28/01/2002 18:26 Re: empegVNC-0.6 released [Re: mandiola]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I'll modify it. I tried to follow the chain back, but I gave up because I'm lazy.

Edit: Modified. Would you like me to point the credit somewhere?


Edited by wfaulk (28/01/2002 18:31)
_________________________
Bitt Faulk

Top
#62854 - 28/01/2002 19:14 Re: empegVNC-0.6 released [Re: wfaulk]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Hey thank, you didn't need to do that. Its no big deal or anything. I have a site up but I don't plan on putting a page up for a while. http://www.empeg.tk

-Greg

Top
#62855 - 28/01/2002 19:23 Re: empegVNC-0.6 released [Re: mandiola]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Like I have something better to do.
_________________________
Bitt Faulk

Top
#62856 - 28/01/2002 19:25 Re: empegVNC-0.6 released [Re: wfaulk]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Heh, same here. I do have a job, but I get maybe a call a month to do some work ; (

-Greg

Top
#62857 - 29/01/2002 13:20 Re: empegVNC-0.6 released [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
This was actually easy. Sorry for the delay. Run ``vncviewer -bgr233 -encodings raw''.
_________________________
Bitt Faulk

Top
Page 1 of 2 1 2 >