Unoffical empeg BBS

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

Topic Options
#32448 - 09/06/2001 01:36 Animation/Sound at Bootup
KoS
stranger

Registered: 01/07/1999
Posts: 40
Loc: Switzerland
a thing that would be very nice:
if the empeg shows at boot up an animation and/or you can here a sound. any idea on how to do it or has it already somebody done? i'm thinking about doing something with the animation-display tool of dave (tool) ?

greets
KoS


Top
#32449 - 09/06/2001 03:21 Re: Animation/Sound at Bootup [Re: KoS]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Take a lok at this

You need to have the stock binary /sbin/init file replaced by a script
so that you can add the command(s) to run visualizations prior to
starting the player. You may want to look at the VolAdjust/Picker
package, which among other nice things give you a sh-script to replace
the binary /sbin/init. Good instructions too!

I don't think there's a VolAdj package for the 1.03beta series, but
I'm sure there will be once it's out of beta.

As to boot up sounds, I don't know anything specific, and don't know
if an ordinary mp3 player compiled for arm would work. Maybe the
SID player
could be pressed to service if you can make the sound you
want in that format.

/Michael

_________________________
/Michael

Top
#32450 - 09/06/2001 09:27 Re: Animation/Sound at Bootup [Re: mtempsch]
KoS
stranger

Registered: 01/07/1999
Posts: 40
Loc: Switzerland
i have already done the thing with the init-script, but i have thought about showing an animation INSTEAD the bootup logo(s). i think i would have to replace the kernel to do this?

KoS


Top
#32451 - 09/06/2001 09:52 Re: Animation/Sound at Bootup [Re: KoS]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
I made a little animation showing at startup dirct after the logo has been displayed!
I have attached a little pdf file i wrote discibing how to install.

Fabian
S/N 080000540 12GB blue


Attachments
31584-Setting up anim at empeg startup.pdf (419 downloads)

_________________________
Fabian S/N 080000540 12GB blue

Top
#32452 - 09/06/2001 10:09 Re: Animation/Sound at Bootup [Re: KoS]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
One warning on the startup sound. Make sure you use some type of volume control, since playing a sound before the player starts will result in it being played at 0db. (I found out the hard way back with my Mk1, late at night in front of a friends apartment building.)


Top
#32453 - 10/06/2001 07:41 Re: Animation/Sound at Bootup [Re: drakino]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
Any further hints to create a bootup sound??

Fabian
S/N 080000540 12GB blue
_________________________
Fabian S/N 080000540 12GB blue

Top
#32454 - 11/06/2001 02:54 Re: Animation/Sound at Bootup [Re: Sevenger]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
look at this post for an example...

Frank van Gestel
_________________________
Frank van Gestel

Top
#32455 - 11/06/2001 11:29 Re: Animation/Sound at Bootup [Re: Sevenger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
You may want to modify your PDF, as it'll be hard to edit the init file if it's not plain text.

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#32456 - 11/06/2001 14:55 Re: Animation/Sound at Bootup [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
So I just recognize that I have forgotten a very important point.
You have to know that I'm also a really newbie with linux and don't know much about it!
So what I forgot is, that you have to install displayserver.
The standard ini is a non human readable file.
If you install the displayserver the original init will be renamed and loaded after displayserver.
Theres a new init addedwich is human-readable.
I jus know how to edit this readable file.
So it would be a good idea to install displayserver :-)

Sorry

Fabian
S/N 080000540 12GB blue
_________________________
Fabian S/N 080000540 12GB blue

Top
#32457 - 11/06/2001 15:41 Re: Animation/Sound at Bootup [Re: Sevenger]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
So it would be a good idea to install displayserver :-)

While it is doubtlessly a good idea to install Displayserver, it is by no means necessary in order to modify your /bin/init . This has been mentioned a few days ago by somebody else, but here it is again:

cd /bin
mv init init_orig
cat > init
#!/bin/sh
# Your stuff here. Make sure it exits or runs in background
exec /bin/init_orig
Ctrl-D <---- this is control-D character, default Unix shell EOF char
chmod +x init



The lines between cat > init and Ctrl-D get copied to a new text file init. If you make a mistake, repeat only this part.

Cheers!

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top