Unoffical empeg BBS

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

Page 2 of 4 < 1 2 3 4 >
Topic Options
#31659 - 31/05/2001 07:44 Re: Clock Visualization in v1.02 Working [Re: thinfourth2]
ClemsonJeep
enthusiast

Registered: 09/11/1999
Posts: 398
Loc: Ashburn, VA
You know what I meant. :)

(O|||||O)
_________________________
(O|||||O)

Top
#31660 - 31/05/2001 08:31 Re: Clock Visualization in v1.02 Working [Re: drakino]
94cobra
enthusiast

Registered: 30/09/1999
Posts: 252
So did we get a Kernel with all the patches or not. I don't wan't to loose my display server, picker, voladj,...

Proud Owner of MK2 080000558 - 18gb Blue
_________________________
Sonic Blue 03 Cobra Vert Owner!!!

Top
#31661 - 31/05/2001 08:52 Re: Clock Visualization in v1.02 Working [Re: 94cobra]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
The binary kernel I provided does NOT have these, but I provided a patch that you can use to compile anything you want into a kernel.

-Kit


Top
#31662 - 31/05/2001 09:00 Re: Clock Visualization in v1.02 Working [Re: jane]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
But... With the time set to 14:47 (local time), the timed shows 12:47 pm... even after a reboot.

Version 1.02 and earlier of the player software, get confused about timezones (I don't know quite why). The forthcoming ersion 1.1 fixes this.

Peter



Top
#31663 - 31/05/2001 09:16 Re: Clock Visualization in v1.02 Working [Re: peter]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
What timezone does the player think it is in? As far as I can telll I am already usiing GMT/UTC since it defaults to that if it can't locate a localtime file or if TZ is NULL.


Top
#31664 - 31/05/2001 09:21 Re: Clock Visualization in v1.02 Working [Re: xanatos]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Also, I just attempted to use Tony's upload tool (which appears to be similar to the download tool. Different name tho,

And an additional parameter to spec the COM port, and it fixes the ReadByte bug.

and it says everything is transferred fine, but the system does not load.

The problem appears to be in the file you sent to the Empeg, not in the uploading software. Perhaps it was downloaded from the web wrong? Did it come in the form of a zip or a tar.gz that you unzipped, or was it raw? Sometimes ASCII stuff gets inserted into downloads that aren't zips...

___________
Tony Fabris
_________________________
Tony Fabris

Top
#31665 - 31/05/2001 09:22 Re: Clock Visualization in v1.02 Working [Re: Kit]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
What timezone does the player think it is in? As far as I can telll I am already usiing GMT/UTC since it defaults to that if it can't locate a localtime file or if TZ is NULL.

That's precisely what I'm confused about. It's meant to use UTC, on the basis that this makes the player behave as if it didn't know about timezones at all (like most stereos). An unpleasant wander through the glibc sources showed that, if TZ isn't explicitly set, the default is a path relative to where the library was installed. As the player is cross-compiled from an x86 Linux box, the path refers to a directory on our compile server which doesn't exist on the player itself. Hence it should remain stuck in UTC. But it somehow doesn't.

1.1 players force UTC on startup.

Peter



Top
#31666 - 31/05/2001 09:26 Re: Clock Visualization in v1.02 Working [Re: peter]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
/home/empeg/295/arm-empeg-linux/share/zoneinfo appears to be where v1.02 player is looking for zoneinformation. In any case I've attached a binary "date" command that can be used to set the clock in UTC without using the player.

This should hold people over until 1.1.

-Kit



Attachments
30934-date (156 downloads)


Top
#31667 - 31/05/2001 15:45 Re: Clock Visualization in v1.02 Working [Re: tfabris]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
The problem appears to be in the file you sent to the Empeg, not in the uploading software. Perhaps it was downloaded from the web wrong? Did it come in the form of a zip or a tar.gz that you unzipped, or was it raw? Sometimes ASCII stuff gets inserted into downloads that aren't zips...

I redownloaded the file, to make sure it isn't a corrupt download. The file came in a zip file, and I reuploaded it twice, once using download.exe and upload.exe. Both had the exact same error on boot up as previously stated. Will my mk2a (Rio Car) make any difference? I wouldn't think it should, only 4 more MB of Ram.

Thanks

Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31668 - 31/05/2001 16:06 Re: Clock Visualization in v1.02 Working [Re: xanatos]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I have no idea what's going wrong. In another thread, I got a hint that it might be file-name related. Try naming the file something simple like "123.abc" and see if that fixes it?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#31669 - 31/05/2001 17:17 Re: Clock Visualization in v1.02 Working [Re: tfabris]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Tony, I attempted to do just zimage and abc.123 and still get the same thing happening. If I knew how to recompile the kernel I would do that, but alas I dont. And for some reason trying to reflash the kernel isn't working and I can't figure out why.

Thanks again.

Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31670 - 31/05/2001 18:29 Re: Clock Visualization in v1.02 Working [Re: xanatos]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Try downloading a differnet kernel, like the one contained here. If they all give you the same problems, that will at least elliminate the possibility of the time kernel being bad for you.

(It worked fine here for me, after fixing my broken init for a while :-)


Top
#31671 - 31/05/2001 19:47 Re: Clock Visualization in v1.02 Working [Re: drakino]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Well, something here may be seriously wrong... and I have no clue what. I have gotten Display Server to work on my machine previously however. This is what I got when I loaded the voladj kernel to the system.



empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.03
Copying kernel...
Calling linux kernel...
Uncompressing Linux.................................. done, booting the kernel.
Linux version 2.2.14-rmk5-np17-empeg38 (eparrl@mcpc34) (gcc version 2.95.2 19991
024 (release)) #17 Wed Sep 27 17:11:15 EST 2000
Processor: Intel StrongARM-1100 revision 11
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 120001043)
Command line: mem=16m temp=N90
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15104k/16M available (928k code, 20k reserved, 324k data, 8k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
empeg display initialised.
empeg dspaudio driver initialized
empeg audio-in initialised, CS4231A revision a0
empeg infra-red support initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0004e80).
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg dual channel IDE
Probing primary interface...
Probing primary interface...
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:18:04:1
3
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... Internal error: External a
bort on non-linefetch: 28
CPU: 0
pc : [] lr : []
sp : c014b8d4 ip : 000001bc fp : c014bb90
r10: 00000096 r9 : ffffffff r8 : 20000013
r7 : c00d85f8 r6 : c0036c80 r5 : c014b91c r4 : fa050000
r3 : e593c094 r2 : 00000000 r1 : c0177a44 r0 : c0ffb644
Flags: nzCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: C000517D Table: C000517D DAC: 0000001D
Process swapper (pid: 1, stackpage=c014b000)
Stack:
c014b8c0: c0036c80 c000adc8 20000093 ffffffff c0ffb644 c0177a44 000000
00
c014b8e0: e593c094 e287304c e1a00007 e8930006 c0185f00 00000400 00000000 000000
96
c014b900: c014bb90 000001bc c014b91c c0036c80 c00d85f8 20000013 ffffffff c0ffb4
00
c014b920: 00000400 c0ffb800 00000001 00000000 c0185f00 c0036c80 00000001 000001
00
c014b940: 00001000 00000400 00000000 00000000 00000000 00000400 c014bca0 000000
00
c014b960: c0177800 c014bc8c eb004813 e3a00001 e5876000 eb004810 e3a00001 e58560
00
c014b980: eb00480d e2544001 5affffe6 e3a0000f e59f823c e3a03c03 e5883000 eb0048
06
c014b9a0: e3a0000f e59f722c e3a06c01 e5876000 eb004801 e59f3220 e5932000 e3a000
0f
c014b9c0: e1a055a2 e2255001 e2055001 eb0047fa e3a0000f e5886000 eb0047f7 e35500
00
c014b9e0: 0a00000f e3a0000f e5886000 e3a04c02 e5874000 eb0047f0 e3a00001 e58760
00
c014ba00: eb0047ed e3a0000f e5884000 eb0047ea e59f31c8 e2533001 1afffffd e59f01
c0
c014ba20: a0000013 c014ba78 c014ba48 c014ba38 00000000 0000001a 00000340 c014ba
74
c014ba40: c014ba4c c000bacc c001f3a8 c014ba84 c010c1f8 00000000 c010d8b8 c014ba
84
c014ba60: c014ba6c c00be364 c0016240 c00c9620 00000000 00000000 c014ba94 c014ba
88
c014ba80: c00be8d8 c00be29c c014baa4 c014ba98 c00c146c c00be8d0 c014babc c014ba
a8
c014baa0: c0016988 c00c1468 00000001 c010d91c c014bad8 c014bac0 c001f434 c00169
24
c014bac0: 00000000 00000014 00000280 c014bb04 c014badc c000bacc c001f3a8 fa0500
00
c014bae0: c014bb50 00000041 c001a34c 20000013 ffffffff 00000000 c014bb80 c014bb
08
c014bb00: c000adc0 c000b99c c00f61a0 00000001 f8050000 20000013 00000000 000000
36
c014bb20: c00ff729 c00ed643 c00ff6ef c00fd224 00000002 00000000 00000002 c00ff6
f2
c014bb40: c014bb80 c014bb50 c001a350 c0016240 00000000 00000002 00000090 000004
00
c014bb60: 00000400 c014bcf8 00000095 00000095 c0177800 c014bce4 00000000 000001
40
c014bb80: c014bc8c c014bf84 c014bb94 c00a5058 c003690c 00000140 0000000a 000000
00
c014bba0: 00000000 000001fa 5c2d2f7c 00000000 00000000 c014bd3c 00000000 000000
00
c014bbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bc20: 00000000 c014be4c 00000000 00000000 00000000 00000000 00000000 000000
00
c014bc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bc80: 00000000 00000000 00000000 00000000 00000000 c014bbac c00fc9f4 000000
03
c014bca0: 00025800 00000000 00000000 00000000 00000001 00000000 00000000 000000
00
c014bcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bce0: 00000000 00000000 00000000 c014bc1c c00fc9b8 00000001 00025800 000000
00
c014bd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bd60: 00000000 01000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bdc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014be00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014be20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014be40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014be60: 00000000 00000000 00000000 00000000 00000000 01fa0000 00000000 000000
00
c014be80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000
00
c014bf60: c00f4764 c010d3e4 c00fc9b0 c010e074 4401a11b c0008560 c014bf94 c014bf
88
c014bf80: c00a5238 c00a4ca8 c014bfb4 c014bf98 c0045b84 c00a5228 00000001 c00f47
64
c014bfa0: c010d3e4 c00fc9b0 c014bfdc c014bfb8 c000aa34 c0045a50 00000000 c000aa
f8
c014bfc0: c0115f80 c00f475c c00f4760 c00f4984 c014bffc c014bfe0 c000ab08 c000a9
50
c014bfe0: c000aaf8 c0115f80 c00f475c c00f4760 c00f3fd8 c014c000 c000c610 c000ab
04
Backtrace:
Function entered at [] from []
r10 = C014BC8C r9 = 00000140 r8 = 00000000 r7 = C014BCE4
r6 = C0177800 r5 = 00000095 r4 = 00000095
Function entered at [] from []
r10 = C0008560 r9 = 4401A11B r8 = C010E074 r7 = C00FC9B0
r6 = C010D3E4 r5 = C00F4764 r4 = 00000000
Function entered at [] from []
Function entered at [] from []
r7 = C00FC9B0 r6 = C010D3E4 r5 = C00F4764 r4 = 00000001
Function entered at [] from []
r8 = C00F4984 r7 = C00F4760 r6 = C00F475C r5 = C0115F80
r4 = C000AAF8
Function entered at [] from []
r7 = C00F4760 r6 = C00F475C r5 = C0115F80 r4 = C000AAF8
Function entered at [] from []
Function entered at [] from []
r7 = C010D8B0 r6 = C010D804 r5 = C011677C r4 = C011677C
Code: e3a044fa e2844805 (e5946000) e5940004 e0166000


Can something maybe wrong with the player?


Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31672 - 31/05/2001 20:37 Re: Clock Visualization in v1.02 Working [Re: Kit]
Rod
journeyman

Registered: 04/05/2000
Posts: 84
Loc: Australia
All worked fine for me.

I don't realy need it as I have a clock in the dash but well done, I'm sure several people will be happy to have a clock back.

Rod.


Top
#31673 - 31/05/2001 21:03 Re: Clock Visualization in v1.02 Working [Re: xanatos]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
One thing.. I don't think this would affect it, but I thought I would bring it up. I'm doing all this from a Win NT box without administrator access. Do you think that may affect the transfer or anything? I haven't yet attempted this from my home box, however I will when I get home.


Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31674 - 01/06/2001 00:32 Re: Clock Visualization in v1.02 Working [Re: xanatos]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
At this point, I'd recommend running the empeg through a self test. Hit Ctrl-T right when you plug it in to put it into test mode. See what happens there.


Top
#31675 - 01/06/2001 03:02 Re: Clock Visualization in v1.02 Working [Re: xanatos]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Ah. I think I know what this *may* be. It looks like the kernel you have there does not have the correct memory mappings for the issue 9 rio player (ie, 16MB in one bank - the issue 7 has 12MB in 3 banks of 4MB).

The v1.02 kernel had this support added (vs the v1.01 which didn't have it). Is someone building kernels from old source?

Hugo



Top
#31676 - 01/06/2001 07:44 Re: Clock Visualization in v1.02 Working [Re: altman]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
Looks like I missed the latest patch. (Hey, think it would be possible to have a 1.02 tarball up on the site? That would rock.)

I think the other kernels floating around may be in the same boat. I'll recompile an overlay kernel tonight.

-Kit


Top
#31677 - 01/06/2001 15:23 Re: Clock Visualization in v1.02 Working [Re: Kit]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Kit, Hugo, thanks a lot for identifying the issue. I can't wait to get the updated kernel and get it installed.

Thanks!

Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043
_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31678 - 02/06/2001 12:11 Re: Clock Visualization in v1.02 Working [Re: Kit]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
[Scratching head] how do you move certain files i.e. timed into certain areas. I can upload kernel but have great difficulty w/o a step by step guide to moving files to areas on the empeg. Please help!


#695 Mk2 BLUE&GRN&PUR 12Gig

Top
#31679 - 02/06/2001 14:27 Re: Clock Visualization in v1.02 Working [Re: jwickis]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
[Scratching head] how do you move certain files i.e. timed into certain areas. I can upload kernel but have great difficulty w/o a step by step guide to moving files to areas on the empeg. Please help!

Is Tony vacationing or something?!

Let's assume you work from Windows.

- (Since you can load kernels, your serial connection is obviously wokring)
- Load development kernel
- Make Hyperterm connection for empeg; specify direct to COMn (whichever you use), 115200 bps, 8 data bits, 1 stop bit, no parity, no handshaking (flow control); optionally specify that the terminal is ANSI, backspace key sends ctrl-h, arrow keys send terminal sequences. (Everything is there in Hyperterminal menus, just hunt arround a bit.)
- While empeg is playing press ctrl-c; this should stop the player and get you a shell prompt (something like 'empeg:/empeg/bin#').
- Type 'rw;rwm' (without quotes, but with semicolon); this will take a minute or two, and perhaps you will get warnings about mounting unchecked fs; ignore them.
- When the prompt returns, go to target directory (hint: cd works like in DOS, except that delimiters are '/', rather than '\'; cd alone returns you to home directory, rather than printing the current one; use pwd instead; use ls -al in place of dir).
- Type rz; a cryptic line will be printed; ignore it.
- From Hyperterm transfer menu send the file you want (chose Zmodem as protocol - it should be the default).
- Repeate the last three steps as necessary.
- Type 'ro;rom;exit' (again no qoutes, but with semicolons); this should restrt the player.

HTH


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
#31680 - 02/06/2001 21:54 Re: Clock Visualization in v1.02 Working [Re: bonzi]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
Yes I'm using Windoze & have sucessfully upload the VolAdj kernel and files using aka dummys intructions for Picker VolAdj provided by Tony, most of what you mention is done similiarly there. I was however missing how one moves files to various directories. Thanks loads, I should have stuck it out longer w/Red Hat when I tried it last year. Who knew I would buy a music player that used it.
I'll try it & see what happens.

#695 Mk2 BLUE&GRN&PUR 12Gig

Top
#31681 - 02/06/2001 22:23 Re: Clock Visualization in v1.02 Working [Re: jwickis]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
I was however missing how one moves files to various directories.

If you by chance didn't move (with cd) to the correct directory
before uploading the file(s), you can use the mv command.

Like this:

mv myfile /drive0/var/

This will move the file myfile from wherever you currently are to the
directory /drive0/var/. You can copy (cp) or move a file from
anywhere to anywhere else. Remember that it is all one big filesystem
tree even if there are more than one partition/drive, and that you can
use full filenames (from the root: /drive0/var/myfile) or relative
filenames (let's say you're in /drive0; then you can use var/myfile ,
or if you're in /drive0/var/subdir - then you can use ../myfile)

/Michael


_________________________
/Michael

Top
#31682 - 02/06/2001 22:42 Re: Clock Visualization in v1.02 Working [Re: bonzi]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
Upload ascii.raw and move it to
empeg/lib/fonts/
This is in Kits instructions, but there is no 'fonts' directory in 'lib' do I create one somehow?

#695 Mk2 BLUE&GRN&PUR 12Gig

Top
#31683 - 02/06/2001 23:00 Re: Clock Visualization in v1.02 Working [Re: jwickis]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
but there is no 'fonts' directory in 'lib' do I create one somehow?

Haven't played with this yet, but if a directory isn't there, then
just create it: mkdir fonts while in the lib directory
(or give the full path mkdir /empeg/lib/fonts from anywhere)

/Michael

_________________________
/Michael

Top
#31684 - 02/06/2001 23:33 Re: Clock Visualization in v1.02 Working [Re: mtempsch]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
OK I did find the dir just going directly to it, but found no dir called sbin/init my ? is should it be there for Kits instructions made no mention of making one if he's using the same player I am shouldn't it be there as in his?
Thanks for all the help so far I feel I'm getting close for I've already been able to upload everything but 'timed' to the sbin/init directory. Oh another ? there's 2 'timed' files to upload one is 'timed' & the other is 'timed.c' I'm sure there's a difference?

#695 Mk2 BLUE&GRN&PUR 12Gig

Top
#31685 - 03/06/2001 00:41 Re: Clock Visualization in v1.02 Working [Re: jwickis]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
but found no dir called sbin/init

/sbin/init isn't a directory but a file. This is the file that decides
what is done when the empeg boots. The sbin/init you mention (note the
lack of leading /) is it located in some subdirectory or straight in
the root (/) ?

I've already been able to upload everything but 'timed' to the sbin/init directory.

Hmmm, let's qualify the above that you can probably rework stuff so
that /sbin/init is a directory, but I fail to see why anyone would...
I'll have to download the package and take a look.


Oh another ? there's 2 'timed' files to upload one is 'timed'
& the other is 'timed.c' I'm sure there's a difference?


timed.c is a source file (the humanly readable code) and it shouldn't
be necessary to upload that.


OK, downloaded the package: /sbin/init is normally a binary file that
starts the player. For those that have displayserver or other neat
stuff installed this is changed to a shell script (human readable text
file, much like a .bat file in Windows). It is into this file you need
to enter a command to start timed before starting the player.

Here's how my /sbin/init looks, and where I'd put the command to start
timed if I were to install it:
---------------------
#!/bin/sh

PATH=.:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/empeg/bin
PS1=empeg:\\w\\$
/bin/mount -n -o nocheck,rw /proc
/bin/mount -n -o nocheck,ro /dev/hda4 /drive0
/bin/mount -n -o nocheck,ro /dev/hdc4 /drive1
#cd /usr/local/displayserver
/drive0/var/empanim 1 40 < /drive0/var/Visuals/Empeg-rotate-anim.ema
/drive0/var/sleep 2
/drive0/var/empanim 1 47 < /drive0/var/Visuals/Reward-anim.ema
/drive0/var/sleep 5
#./displayserver -noauth
###I think the timed command should go here, like this
/bin/timed &

while [ 1 ] ; do
/drive0/var/pick_list
echo "Press q now to terminate to a shell prompt."
echo
/drive0/var/getkey q && /bin/bash
echo Running Player...
/empeg/bin/player
done
------------------------

As the instructions say, if you still have a binary /sbin/init, you
need to create a wrapper, with something like the following commands:

#This moves the original /sbin/init to /sbin/init.binary
mv /sbin/init /sbin/init.binary

#This creates a shell script by the name /sbin/init
#[enter] represents where you hit Enter for a new line
#[CTRL-d] represents pressing/holding Control and then hitting d while
# Control is down
cat > /sbin/init [enter]
#!/bin/sh [enter]
/bin/timed & [enter]
/sbin/init.binary [enter]
[CTRL-d]


#makes the shell script executable
chmod 775 /sbin/init

#make sure old init is executable
chmod 775 /sbin/init.binary


/Michael

_________________________
/Michael

Top
#31686 - 03/06/2001 02:20 Re: Clock Visualization in v1.02 Working [Re: mtempsch]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
#!/bin/sh [enter]
/bin/timed & [enter]
/sbin/init.binary [enter]
[CTRL-d]


A nitpicking detail: replacing the last line with
exec /sbin/init.binary
will save a few kilobytes of memory, as binary init will then replace the shell we user to execute out script, rather than run 'on top' of it.

BTW, since most (or at least a lot) of empeg users will be far more familiar with Windows than Linux, let's trawl through our bookmarks in search for 'Introduction to Linux for DOS users'-type web resources, so that Tony can make a FAQ entry of pointers to them.


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
#31687 - 03/06/2001 09:24 Re: Clock Visualization in v1.02 Working [Re: bonzi]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
I knew there was something I'd missed...

BTW, since most (or at least a lot) of empeg users will be far
more familiar with Windows than Linux, let's trawl through our
bookmarks in search for 'Introduction to Linux for DOS users'-type web
resources, so that Tony can make a FAQ entry of pointers to them.


Good idea. There's the generic resource for anything Linux,
The Linux Documentation Project

For more specifics:
A document for those transitioning from DOS/Windows to Linux

A Linux users guide

Script programming might be useful

The clock issue should be resolved, but anyone interested might look here



_________________________
/Michael

Top
#31688 - 03/06/2001 09:28 Re: Clock Visualization in v1.02 Working [Re: mtempsch]
thinfourth2
Pooh-Bah

Registered: 13/04/2001
Posts: 1742
Loc: The land of the pale blue peop...
I think i shall wait till 1.1 before i know what the time is


_________________________
P.Allison fixer of big engines Mk2+Mk2a signed by God / Hacked by the Lord Aberdeen Scotland

Top
Page 2 of 4 < 1 2 3 4 >