Unoffical empeg BBS

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

Page 1 of 3 1 2 3 >
Topic Options
#22676 - 19/11/2000 15:21 New displayserver 1.1
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have got a new version of displayserver
Due to some events (Sinterklaas is in the country) I am releasing a little later than promised.
It's got the following extra features :
- playlist browsing in your web-browser
- streaming of MP3-files through M3U files.
- authentication
- System status
- variable size bitmap for applet background

It's still rather buggy, so when you find something unusual, please let me know and I get into it.
Installation is done through a single install-script (install.sh.gz) which can be downloaded from http://empeg.dyndns.org/empeg/displayserver_with_ir.1.1
I saw the jempeg install-script, (which reminded me a lot of the old sun-package format) and decided to make something similar.
I added an autostart feature in the install script ( on userrequest ), but I haven't tested it thorougly. It renames the original /sbin/init executable to /sbin/init.before_displayserver and writes a shell script in init's place.
I haven't got a clean empeg, so maybe someone who isn't afraid of reinstalling an image could try it, others should not use this option till positive responses are received.

The kernel-patch was also rewritten as it was just pure luck the old hack did work (some stupid programming mistakes). For some strange reason the messed-up display after reboot also disappeared.

Anyway, try it and let me know what you think...

Frank van Gestel
_________________________
Frank van Gestel

Top
#22677 - 19/11/2000 15:28 Re: New displayserver 1.1 [Re: fvgestel]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
I can't seem to get to this site. None of the DNS servers can find it. Could you tell me an IP maybe?

________
Donato
MkII/Blue/40GB/080000565


_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#22678 - 19/11/2000 15:32 Re: New displayserver 1.1 [Re: ricin]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Sorry, I included my private domainname; I've edited the original post to point to http://empeg.dyndns.org/empeg/displayserver_with_ir.1.1/

Frank van Gestel
_________________________
Frank van Gestel

Top
#22679 - 19/11/2000 15:50 Re: New displayserver 1.1 [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Anyone who want's to see a live demo, can go to http://empeg.dyndns.org:13470

Frank van Gestel
_________________________
Frank van Gestel

Top
#22680 - 19/11/2000 19:28 Re: New displayserver 1.1 [Re: fvgestel]
borislav
addict

Registered: 30/04/2000
Posts: 420
Loc: Sunnyvale, CA, USA
Anyone who want's to see a live demo, can go to http://empeg.dyndns.org:13470

Username and password?

Thanks,
Borislav


Top
#22681 - 19/11/2000 20:34 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
VERY nice - works nicely for me, except for 2 things -

First off, the init that it created was blank, although the backup was made as promissed...

Second, M3U (using winamp) comes back w/ 401 authorization is required - individual tracks work though; this is using the latest version of Winamp...

Anyone know of an mp3 player which will take authorization into account?

-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!

Edited by dionysus on 20/11/00 03:54 AM.

_________________________
http://mvgals.net - clublife, revisited.

Top
#22682 - 19/11/2000 21:07 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Another note - calling the display server directly by /usr/local/displayserver/displayserver doesn't work (it looks like it's working, but when it comes time to displaying the empeg screen, it shows a gray box..) going to the directory and calling ./displayserver works though - path problem?
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22683 - 19/11/2000 22:42 Re: New displayserver 1.1 [Re: borislav]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
username: ttt
password: ttt

Frank van Gestel
_________________________
Frank van Gestel

Top
#22684 - 19/11/2000 22:46 Re: New displayserver 1.1 [Re: fvgestel]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
Unfortunately the server now seems to be down..

Rob



Top
#22685 - 20/11/2000 08:44 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
....another suggestion; would be nice to reroute the arrow keys in the displayapplet to the buttons; and maybe even a double-sized option for us blind (...or working on 10.4" laptop screen) people...
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22686 - 20/11/2000 12:02 Re: New displayserver 1.1 [Re: dionysus]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands

> First off, the init that it created was blank
The empty init should be fixed, the applet should also work normally now

> M3U (using winamp) comes back w/ 401 authorization is required
That's true; you can shut off authentication by giving an argument to displayser
so instead of starting with
# ./displayserver

use
# ./displayserver noauth

In fact you can give it any argument you like it only checks for the parameter.

I'm currently implementing some configfile.

You can use mediaplayer, realplayer or sonique to use authentication.
The latest realplayer visuals are great...


Frank van Gestel
_________________________
Frank van Gestel

Top
#22687 - 20/11/2000 12:10 Re: New displayserver 1.1 [Re: rob]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I have to spend a lot of time with my empeg this week, mainly in the car.
Alas, the empeg is back online:
http://empeg.dyndns.org:13470
username : ttt
password : ttt


Frank van Gestel
_________________________
Frank van Gestel

Top
#22688 - 20/11/2000 12:15 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
Thought people may be interested to know how I, a numpty regarding these things, got on installing this.


- Apply new kernel

- Rename install.sh to install.sh.mpg and upload.

- Look at the CSV to get the FID of the upload, turn that into hex.

- Realise that I don't have the developer image installed, install it.

- Get to the bash prompt and use 'rwm' command to mount /empeg rw.

- Create dir /empeg/var/temp and copy install.sh into it. Set the permissions and execute ./install.sh

- Watch it fall over horribly because / wasn't mounted rw.

- Spend ages working out how to mount / rw.

- Run install.sh again. Choose to have display server started on boot.

- Reboot. Get stuck at init# prompt (there were some version numbers there, but I don't remember them)

- Realise that nothing's mounted, realise that I don't have a clue what to do.

- Reinstall developer image, wait ages because database needs rebuilding after I moved install.sh out.

- Reinstall kernel

- Mount everything rw

- Run install.sh. Choose not to have it start on boot.

- Test. Everything seems fine (view playlists, play songs), but...

- Browser gets stuck at "Opening page http://192.168.1.7/empeg.html" when I try and open either "empegApplet in new window" or "empegApplet in current window".

- That's it. Any ideas?

If anybody wants to see how far I've gone, have a look on http://client74-220.hispeed.ch:13470/. I'll leave it up for a couple of hours.

Nick.


--
18Gb blue - s/n 080000299 (original queue position 8724)



OK. As a late addition, displayserver's been running for a few minutes and I've got a few of these come over the serial port:

displayserver: memory violation at pc=0x40073894, lr=0x020036b0 (bad address=0x0
0000000, code 2)
pc : [<40073894>] lr : [<020036b0>]
sp : bffff508 ip : 40073890 fp : bffffd88
r10: 400ff128 r9 : 02003404 r8 : 02003e28
r7 : 02000abc r6 : 4000c2a8 r5 : 00000001 r4 : bffffdc4
r3 : 00000000 r2 : 00000400 r1 : 00000000 r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: D01A917D Table: D01A917D DAC: 00000015
Function entered at [<02003404>] from [<40037040>]
r4 = BFFFFDC4
Function entered at [<40036ee4>] from [<02000e98>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02000E74 r5 = 00000000 r4 = 4001E5EC


Any ideas?

Edited by debauch on 20/11/00 08:29 PM.

_________________________
-- 18GB red s/n 080000299

Top
#22689 - 20/11/2000 12:53 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
dis you start it up with ./displayserver ?
the correct way would be :

# cd <install-dir>
# ./displayserver

where <install-dir> is the directory you unpacked the install.sh file

the crash at the end is probably caused by the applet not shutting down the connection it opened to retrieve fascia.jpg


Frank van Gestel
_________________________
Frank van Gestel

Top
#22690 - 20/11/2000 13:06 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
In reply to:

# cd
# ./displayserver


I had started it with "/usr/local/displayserver/displayserver", but even changing to the directory first yields the same results.

Nick.




--
18Gb blue - s/n 080000299 (original queue position 8724)

_________________________
-- 18GB red s/n 080000299

Top
#22691 - 20/11/2000 13:18 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I can use it remotely though...

Frank van Gestel
_________________________
Frank van Gestel

Top
#22692 - 20/11/2000 13:53 Re: New displayserver 1.1 [Re: debauch]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
In reply to:

- Look at the CSV to get the FID of the upload, turn that into hex.


you can also find out the file by typing the following commands in the shell :


# cd /drive0/fids
# ls -lrt *0

the file you last uploaded should be at the bottom of the list

In reply to:

- Watch it fall over horribly because / wasn't mounted rw.


It should check at startup now that everyting is mounted readwrite.
If it isn't it is done automatically. At the end of the script everything is mounted ro again

In reply to:

- Reboot. Get stuck at init# prompt (there were some version numbers there, but I don't remember them)


the init stuff should now be working; I've tested it with my own empeg.



Frank van Gestel

_________________________
Frank van Gestel

Top
#22693 - 20/11/2000 14:18 Re: New displayserver 1.1 [Re: fvgestel]
debauch
enthusiast

Registered: 22/03/2000
Posts: 217
Loc: West Midlands, England
In reply to:

I can use it remotely though...


AH. No. Problem solved.

Why is there never a Tony around when one needs a good dope slap?

I'd disabled Java in IE way way back and had forgotten all about it. It was only when it started working with Netscape that I wondered what the hell I'd done!

Cheers.

Nick.


--
18Gb blue - s/n 080000299 (original queue position 8724)

_________________________
-- 18GB red s/n 080000299

Top
#22694 - 20/11/2000 14:33 Re: New displayserver 1.1 [Re: debauch]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Why is there never a Tony around when one needs a good dope slap?

I'm around, I sometimes just choose to allow folks to self-administer.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22695 - 20/11/2000 15:12 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hmm.. I think there might be a problem with long playlists.. I have an "unsorted" directory which has 200-300 songs in it - trying to get a list from that playlist displays about half the list, then hangs..
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22696 - 20/11/2000 15:21 Re: New displayserver 1.1 [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hmm.. I can't get sonique to work w/ auth, and realplayer ASKS for a username/pasword, but still has problems... glad to see there's a noauth option though...
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22697 - 20/11/2000 15:26 displayserver 1.1 - dualdrive bug... [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
OK - found a bug - if a file and it' description get split up between two different drives, then the program fails to download that file... i.e.
File 13640 is in /drive1/fids/13640, while
file 13641 is in /drive0/fids/13641 - your app fails in this case, although the debug screen doesn't show an error (and in fact shows the file going through...) maybe check if the file exists, and if it doesn't check the other drive?
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22698 - 22/11/2000 16:07 Re: displayserver 1.1 - dualdrive bug... [Re: dionysus]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
> maybe check if the file exists, and if it doesn't check the other drive?

I thought I programmed it this way :
check if file exists in /drive1/fids
if so , change directory to /drive1/fids
if not change to /drive0/fids
read file <fidnumber>

It seemed I was changing directories correctly, but was reading an absolute filename ("/drive0/fids/<fidnumber>")

It is fixed now
The process list in system-info has also been updated; it now shows the correct terminal name and vsize and rss now report in Kb.
I've attached the new executable and source to this post; install.sh has been updated...


Frank van Gestel


Attachments
1-22002-displayserver.zip (28 downloads)

_________________________
Frank van Gestel

Top
#22699 - 22/11/2000 20:14 Re: displayserver 1.1 - dualdrive bug... [Re: fvgestel]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hey Frank,

Just to confirm, it seems to work now... (now if we could only get it to "stream" what it's actually playing...)
-mark

MK2: 36gb
Tivo: 90gb
CPU: 120gb
...I think drive manufacturers love me!
_________________________
http://mvgals.net - clublife, revisited.

Top
#22700 - 24/11/2000 11:58 Re: displayserver 1.1 [Re: fvgestel]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
This is one kick butt util!!

Good job Frank!

I have one question, how do I apply the kernel patch? I am a linux simpleton, so a few directions would be appreciated!

Thaks for a great product!

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22701 - 24/11/2000 12:14 Re: displayserver 1.1 [Re: Smoker_Man]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
hey; search for Tony's (tfabris) logoeditor - it has a feature that let's you apply a kernal..
-mark

...proud to have owned an Empeg since 00287
_________________________
http://mvgals.net - clublife, revisited.

Top
#22702 - 24/11/2000 12:16 Re: displayserver 1.1 [Re: dionysus]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
hey; search for Tony's (tfabris) logoeditor - it has a feature that let's you apply a kernal..

Is that what he was asking? I though he was asking how to apply a code patch to the kernel source code based on a .diff file, which is a completely different question.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22703 - 24/11/2000 12:23 Re: displayserver 1.1 [Re: tfabris]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
...I think what he *meant* to ask is how to upload the included kernal file that come w/ the displayapplet..:)
-mark

...proud to have owned an Empeg since 00287
_________________________
http://mvgals.net - clublife, revisited.

Top
#22704 - 24/11/2000 13:13 Re: displayserver 1.1 [Re: dionysus]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
wow, I guess I should clarify!
How do I patch the kernel with the patch that comes with the display applet?
The kernel.patch file ??

_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
#22705 - 24/11/2000 14:04 Re: displayserver 1.1 [Re: Smoker_Man]
Smoker_Man
member

Registered: 29/08/2000
Posts: 165
Loc: Calgary, CANADA
The applet works well, other than my previous post, but I am getting a few errors, or what I think are errors:
My reading skills allow me to deduce that my problem is the same as debauch's, however my linux skills (none) allow me to scratch my head and (hopefully) believe nothing is amiss.

STREAM1
displayserver: memory violation at pc=0x40073894, lr=0x020036a4 (bad address=0x0
0000000, code 2)
pc : [<40073894>] lr : [<020036a4>]
sp : bffff528 ip : 40073890 fp : bffffda8
r10: 400ff128 r9 : 020033f8 r8 : 02003dcc
r7 : 02000abc r6 : 4000c2a8 r5 : 00000002 r4 : bffffde4
r3 : 00000000 r2 : 00000400 r1 : 00000000 r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C807D17D Table: C807D17D DAC: 00000015
Function entered at [<020033f8>] from [<40037040>]
r4 = BFFFFDE4
Function entered at [<40036ee4>] from [<02000e98>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 02000E74 r5 = 00000000 r4 = 4001E5EC
STREAM1

Mk2, using developer image 1.01

Thanks


_________________________
2x160Gb MkII Lighted Buttons 080000449

Top
Page 1 of 3 1 2 3 >