Unoffical empeg BBS

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

Page 1 of 4 1 2 3 4 >
Topic Options
#31629 - 29/05/2001 23:54 Clock Visualization in v1.02 Working
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
Tired of not having a clock in my car I have hacked together a clock visualization that works with the v1.02 player.

I based my code on the overlay kernel patch that Kim Salo wrote. Instead of scaling the 32 line display down to 24 lines, I simply block off a region of the display, but only if nothing is currently writing to that area of thie display.

The end result is I now have a clock in the lower left corner of the display when I am in the "Track" information display. If I hit pause or do anything to write to that region the clock disappears.

I took a photo with my digital camera, although it came out blury. If anyone is interested in me creating an easy to use package let me know.

Installation requires both a kernel hack and a usermode daemon that must run before the player.

Cheers.

-Kit


Top
#31630 - 29/05/2001 23:57 Re: Clock Visualization in v1.02 Working [Re: Kit]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
One more time with the attachment ;-)



Attachments
30850-clock.gif (242 downloads)


Top
#31631 - 30/05/2001 01:30 Re: Clock Visualization in v1.02 Working [Re: Kit]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Cool, I would love to have this as I don't have a clock in my dash after I removed the original player.

Could you post have to do it, please ???

TommyE



Top
#31632 - 30/05/2001 03:17 Re: Clock Visualization in v1.02 Working [Re: TommyE]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
v1.1 has a clock as one of the time display modes. It also has a full screen clock visual.



Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#31633 - 30/05/2001 07:15 Re: Clock Visualization in v1.02 Working [Re: Kit]
Dredd
enthusiast

Registered: 12/11/1999
Posts: 261
Loc: Bay Area, California
Error: File is not a GIF: header is 'دØ', not 'GIF'

Is this a JPG you got the wrong file extension on?


Top
#31634 - 30/05/2001 07:22 Re: Clock Visualization in v1.02 Working [Re: Roger]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Well, will not nag you when 1.1 is here, but does the clock visuals apply to MK1 too.
(Does it set the clock from a RDS channel, then present it in any visual one would want?)

TommyE


Top
#31635 - 30/05/2001 07:48 Re: Clock Visualization in v1.02 Working [Re: Kit]
ClemsonJeep
enthusiast

Registered: 09/11/1999
Posts: 398
Loc: Ashburn, VA
I'd definitely be interested in this. It's annoying having to answer the "You paid 1200$ for this thing and it doesn't even have a CLOCK?!?!" question so many times.

I know 1.1 will have a clock, but I don't expect to see 1.1 for at least a few more months, so in the interim it would be nice to have this hack.

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

Top
#31636 - 30/05/2001 08:13 Re: Clock Visualization in v1.02 Working [Re: ClemsonJeep]
thinfourth2
Pooh-Bah

Registered: 13/04/2001
Posts: 1742
Loc: The land of the pale blue peop...
But it does have a clock you just can't see it

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

Top
#31637 - 30/05/2001 08:24 Re: Clock Visualization in v1.02 Working [Re: TommyE]
edwin
member

Registered: 26/09/2000
Posts: 194
Loc: Druten, The Netherlands
Well, let us have it then!

Edwin de Vaan
mk2 rev.7 Trillian # 080000263 6Gb blue/red
_________________________
[white]­­______________[/white]
Edwin de Vaan aka FLaSHmAStER

Top
#31638 - 30/05/2001 08:26 Re: Clock Visualization in v1.02 Working [Re: TommyE]
bobo
member

Registered: 13/08/1999
Posts: 116
that's the big question, I want the clock visuals in the MK1 version too,
to set the clock via GPS.

bobo


Top
#31639 - 30/05/2001 11:21 Re: Clock Visualization in v1.02 Working [Re: Kit]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Do you have the files somewhere for download to get this working? If not, I can host them off a directory on the logo site, as this is something I am sure a few people are willing to hack into their empegs without an easy to install package (like myself, who still months after getting the empeg stares at the dash looking for a clock.)


Top
#31640 - 30/05/2001 11:50 Re: Clock Visualization in v1.02 Working [Re: Roger]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
There he goes promissing us the world again:)
-m

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

Top
#31641 - 30/05/2001 13:42 Re: Clock Visualization in v1.02 Working [Re: drakino]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
I zipped up the kernel diff, a binary kernel, the usermode daemon, and screenshot and some brieft instructions.

Patch kernel, run usermode timed before running the player and you are good to go.

-Kit


Top
#31642 - 30/05/2001 13:46 Re: Clock Visualization in v1.02 Working [Re: Kit]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
http://www.navisitestreaming.net/empeg/clock-visual-1.0.zip

These attachments on the BBS don't like me. Use this URL.


Top
#31643 - 30/05/2001 19:26 Re: Clock Visualization in v1.02 Working [Re: edwin]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
It's just not as easily accessable as having it right on the info screen, which since there's already a clock in most cars elsewhere, why need it in front all the time.

#695 Mk2 BLUE&GRN&PUR 12Gig

Edited by jwickis on 31/05/01 03:30 AM.


Top
#31644 - 30/05/2001 19:40 Re: Clock Visualization in v1.02 Working [Re: Kit]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
I'm like one of these total linux morons. I know nothing :) Could someone let me know how to recomplie the kernel and apply the patch, step by step if that is possible.

Thanks :P

Damien Heiser

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

Top
#31645 - 30/05/2001 20:29 Re: Clock Visualization in v1.02 Working [Re: xanatos]
Kit
journeyman

Registered: 03/10/2000
Posts: 69
Loc: San Diego, CA US
I provided a binary kernel and binary daemon so you don't have to compile anything. Consult the FAQ here
on how to send the kernel to the flash of your empeg.

-Kit


Top
#31646 - 30/05/2001 20:44 Re: Clock Visualization in v1.02 Working [Re: Kit]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Maybe I'm just an idiot, but this is what is happening.

When following the instructions in the faq, I get this

H:\empeg>download zimage-1.02 10000
Turn on empeg unit now
Strange, we got a zero byte read.
**** REPEATED UNTIL EMPEG IS PLUGGED IN ****
found empeg unit: entering program mode
Strange, we got a zero byte read.
Couldn't find manufacturer ID!

H:\empeg>

And it cuts out
or it gives me this

Error status in readbyte 16
Strange, we got a zero byte read.
found empeg unit: entering program mode
Strange, we got a zero byte read.
Couldn't find manufacturer ID!

H:\empeg>

Both times I just plug in the empeg and that's what it does. Is this a known issue? I'm using the correct com port version of download.exe.

Thanks

Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043

Edited by xanatos on 31/05/01 04:50 AM.

_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31647 - 30/05/2001 20:53 Re: Clock Visualization in v1.02 Working [Re: xanatos]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Also, I just attempted to use Tony's upload tool (which appears to be similar to the download tool. Different name tho, and it says everything is transferred fine, but the system does not load.

This is the results I get on COM2 durring boot up.


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 ker
nel.
Linux version 2.2.14-rmk5-np17-empeg38 (root@ruff) (gcc version 2.95.2 19991024
(release)) #30 Tue May 29 22:29:53 PDT 2001
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: 14944k/16M available (1072k code, 20k reserved, 340k 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
pty: 256 Unix98 ptys configured
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
Internal error: External abort on linefetch: 16
CPU: 0
pc : [] lr : [<0000ffff>]
sp : c01fbf28 ip : 0000ffff fp : c01fbf50
r10: c0008560 r9 : 4401a11b r8 : c0122f78
r7 : c0122f64 r6 : c182b000 r5 : 00000010 r4 : d0004780
r3 : d0002000 r2 : 00000009 r1 : 00000080 r0 : d0004800
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: C000517D Table: C000517D DAC: 0000001D
Process swapper (pid: 1, stackpage=c01fb000)
Stack:
c01fbf00: 0000ffff c00dab
70
c01fbf20: 20000013 ffffffff c0008560 c01fbf50 00000001 c0134854 c0135a68 c01217
64
c01fbf40: c01366f4 c01fbf74 c01fbf54 c00db5b8 c00da9c0 c00e55e0 00000001 c01187
64
c01fbf60: c0135a68 c0121764 c01fbf84 c01fbf78 c00ca88c c00db578 c01fbf94 c01fbf
88
c01fbf80: c00bb150 c00ca844 c01fbfb4 c01fbf98 c0045a70 c00bb14c 00000001 c01187
64
c01fbfa0: c0135a68 c0121764 c01fbfdc c01fbfb8 c000aa34 c0045a6c 00000000 c000aa
f8
c01fbfc0: c013e650 c011875c c0118760 c0118984 c01fbffc c01fbfe0 c000ab08 c000a9
50
c01fbfe0: c000aaf8 c013e650 c011875c c0118760 c0117fd8 c01fc000 c000c610 c000ab
04
Backtrace:
Function entered at [] from []
r8 = C01366F4 r7 = C0121764 r6 = C0135A68 r5 = C0134854
r4 = 00000001
Function entered at [] from []
r7 = C0121764 r6 = C0135A68 r5 = C0118764 r4 = 00000001
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
r7 = C0121764 r6 = C0135A68 r5 = C0118764 r4 = 00000001
Function entered at [] from []
r8 = C0118984 r7 = C0118760 r6 = C011875C r5 = C013E650
r4 = C000AAF8
Function entered at [] from []
r7 = C0118760 r6 = C011875C r5 = C013E650 r4 = C000AAF8
Function entered at [] from []
Function entered at [] from []
r7 = C0135F30 r6 = C0135E84 r5 = C013EFCC r4 = C013EFCC
Code: e5832000 ebfcd82f (e5963004) e3a00000 e5883000

Thanks again for the help.

Damien Heiser

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

Top
#31648 - 30/05/2001 21:57 Re: Clock Visualization in v1.02 Working [Re: Kit]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
What all did you compile into the kernel? Just the overlay patch, or also the displayserver and volume adjustment patches as well?


Top
#31649 - 30/05/2001 22:02 Re: Clock Visualization in v1.02 Working [Re: drakino]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
In attempting this I did not overlay anything. This is upgrading from a totally fresh kernel to the kernel to get the time hack.

Damien Heiser

RioCar / empeg 12GB Blue Mark 2a SN: 120001043

Edited by xanatos on 31/05/01 06:05 AM.

_________________________
- Damien - Mk2a 24G Blue SN: 120001043

Top
#31650 - 30/05/2001 22:07 Re: Clock Visualization in v1.02 Working [Re: xanatos]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
In attempting this I did not overlay anything. This is upgrading from a totally fresh kernel to the kernel to get the time hack.

I was asking Kit about the kernel to see if I need to recompile mine to keep all my other goodies on my empeg. With your particular problem, I'm not sure what happened. Does reapplying the normal empeg upgrade file resolve the problem?


Top
#31651 - 30/05/2001 22:15 Re: Clock Visualization in v1.02 Working [Re: drakino]
xanatos
enthusiast

Registered: 08/03/2001
Posts: 202
Loc: Denver, CO
Oops, *feels like an idiot*. Yeah a upgrade to the dev kernel fixes the issue.

Damien Heiser

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

Top
#31652 - 31/05/2001 04:08 Re: Clock Visualization in v1.02 Working [Re: Kit]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
You are geniuses!
It works very well!
And I even have the sourcecode to make my own own
overlayed tools.
Good work!

But... Any good ideas for how to set the clock?

Yours

Jan Marius Evang (Escort Cab + Mark II)



Top
#31653 - 31/05/2001 04:57 Re: Clock Visualization in v1.02 Working [Re: jane]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Um, from the empeg player menu!! - "Settings ->Clock"

(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 6GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#31654 - 31/05/2001 05:43 Re: Clock Visualization in v1.02 Working [Re: Derek]
edwin
member

Registered: 26/09/2000
Posts: 194
Loc: Druten, The Netherlands
Hehe, very funny!

Edwin de Vaan
mk2 rev.7 Trillian # 080000263 6Gb blue/red
_________________________
[white]­­______________[/white]
Edwin de Vaan aka FLaSHmAStER

Top
#31655 - 31/05/2001 05:51 Re: Clock Visualization in v1.02 Working [Re: Derek]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
Thanks :-)
I looked through all the installed files and all the emplode
options :-) (Why is there such a setting? What does it *do?)

But... With the time set to 14:47 (local time), the timed shows 12:47 pm... even after a reboot.

Marius (Escort Cab + Mark II)



Top
#31656 - 31/05/2001 06:29 Re: Clock Visualization in v1.02 Working [Re: jane]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Your TZ is set bogusly. Somehow, set TZ to GMT, and it should sort its life out. And yes, I do mean GMT -- even if you're not on that meridien. Or possibly, I mean UTC. I can't recall what Unix calls it.


Roger - not necessarily speaking for empeg

Edited by Roger on 31/05/01 02:30 PM.

_________________________
-- roger

Top
#31657 - 31/05/2001 06:31 Re: Clock Visualization in v1.02 Working [Re: Roger]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
Hehe. I think I'll choose the "easy" way.
Set the empeg time to two hours "wrong"

I guess this won't hurt anybody?

When I get a cross-compiler running, I'll replace the clock with a 24h clock, I think.

Marius (Escort Cab + Mark II)


Top
#31658 - 31/05/2001 07:29 Re: Clock Visualization in v1.02 Working [Re: Roger]
schofiel
carpal tunnel

Registered: 25/06/1999
Posts: 2993
Loc: Wareham, Dorset, UK
UTC is the more recently-standardised name for what the rest of the real world calls GMT . Both are accepted so long as they exist in your TZ list.

Don't ask me where to find that in Linux; it is usually associated with global locale data somewhere, so maybe in /etc.

One of the few remaining Mk1 owners... #00015
_________________________
One of the few remaining Mk1 owners... #00015

Top
Page 1 of 4 1 2 3 4 >