Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#93770 - 14/05/2002 09:20 Wish: Headlight warner
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
Here is a request for a feature that may belong to hijack or to the main software...

How about a warning-sound for when the engine is turned off, but the headlights forgotten?

(when ignition-sense==off and headlight-sense=on do Beep)

Marius (Escort Cab + Mark II)

Top
#93771 - 14/05/2002 09:51 Re: Wish: Headlight warner [Re: jane]
smu
old hand

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

Why not play a user definable sound if that happens? Like "Turn of the light, idiot"

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

Top
#93772 - 14/05/2002 09:57 Re: Wish: Headlight warner [Re: jane]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Pah, my car already does this anyway -- if the ignition's off, but the lights are on, it emits a continuous tone when you open the driver's door.
_________________________
-- roger

Top
#93773 - 14/05/2002 10:01 Re: Wish: Headlight warner [Re: Roger]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
My thoughts exactly. Maybe I'll take a quick gander sometime to see if it's easily doable in Hijack - but there's plenty of other stuff that has a higher priority, and my time is limited at the moment.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#93774 - 14/05/2002 10:38 Re: Wish: Headlight warner [Re: Roger]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
Maybe we could hook up the door-sensor to the phone-mute line, and achieve that :-)

Marius (Escort Cab + Mark II)

Top
#93775 - 14/05/2002 14:33 Re: Wish: Headlight warner [Re: jane]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
I would have to agree on this. If it's going to be a usable feature it would need to be triggered by opening the doors, as most people (I think) turn the car off before they turn their lights off.

My car dings when I leave the lights on, so it wouldn't be worth fishing for the door line to me.

Matthew

Top
#93776 - 14/05/2002 14:35 Re: Wish: Headlight warner [Re: jane]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
the player has no concept of on or off, does it? it's simply "state A" or "state B", as different cars use different types of signaling for the headlight sense. or am i missing something?

--dan.

Top
#93777 - 15/05/2002 03:16 Re: Wish: Headlight warner [Re: djc]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Nope, you're not missing anything. The player doesn't know whether the lights are on or off.
_________________________
-- roger

Top
#93778 - 15/05/2002 10:54 Re: Wish: Headlight warner [Re: Roger]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
Why can't it use the headlight sense?

Calvin

Top
#93779 - 15/05/2002 11:13 Re: Wish: Headlight warner [Re: eternalsun]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411

Why can't it use the headlight sense?


The player only knows that the line is high or low, and allows you to assign a different dimmer setting to each state, without ever interpreting what that state actually means. The stock kernel doesn't attempt to interpret it.

The button LED code in Hijack assumes that 12V means that the headlights are on, and 0V means that they are off. I'm confident that this will bite us at some point if the button LED hack becomes popular. At some point I'm looking to rework the button LED code anyway - and I'll probably add a Hijack option Dimmer_line_is_inverted or similar. Once that happens then doing stuff like "if (headlights && accessory_line_is_low) {beep}" becomes more feasible.

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#93780 - 15/05/2002 11:22 Re: Wish: Headlight warner [Re: eternalsun]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Why can't it use the headlight sense?

Argh, you're not listening!

Because the headlight sense doesn't know the difference between "off" and "on". It just knows "line is high" and "line is low" and adjusts the dimmer to two user-controlled presets accordingly. Different cars do it opposite of each other.

Okay, the above thing could be handled with an INI setting. But here is the other problem with using the empeg as your headlight-warner: Headlight warning is only useful if the key is out of the ignition. But if the key is pulled out of the ignition, then the empeg goes into sleep mode and the amplifier is turned off, hence no way for the empeg to make a warning sound.
_________________________
Tony Fabris

Top
#93781 - 15/05/2002 11:33 Re: Wish: Headlight warner [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411

But if the key is pulled out of the ignition, then the empeg goes into sleep mode and the amplifier is turned off, hence no way for the empeg to make a warning sound.


That wouldn't be too hard to deal with - we'd delay standby until both accessory and the 'normalised' headlight line were both low. And the feature would be off by default too so that it would be totally backwards compatible.

The biggest problem is the time taken to do this. Both Mark and I are working at the moment, and other stuff has a higher priority. (Such as fixing the button LEDs for everyone, extending the range of bass/treble controls, AC mode display dimming etc).

Actually, I'd really like to see beta13...I'd hate to work on stuff only to see it obsoleted.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#93782 - 15/05/2002 11:41 Re: Wish: Headlight warner [Re: genixia]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Actually, I'd really like to see beta13...I'd hate to work on stuff only to see it obsoleted.

I wouldn't worry too much about that. The next beta will only be bug fixes. Internal Beta12 hasn't made your stuff break, I don't see any reason why the next one should.
_________________________
Tony Fabris

Top
#93783 - 15/05/2002 11:50 Re: Wish: Headlight warner [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hey how come he has Internal beta 12? No fair!
_________________________
- Tony C
my empeg stuff

Top
#93784 - 15/05/2002 11:52 Re: Wish: Headlight warner [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Because the alpha team gets all internal betas.
_________________________
Tony Fabris

Top
#93785 - 15/05/2002 11:57 Re: Wish: Headlight warner [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Ah, didn't know genixia was also on the alpha team. Nevermind.
_________________________
- Tony C
my empeg stuff

Top
#93786 - 15/05/2002 11:59 Re: Wish: Headlight warner [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
He isn't, that's why he's worried about the next beta breaking things.

He didn't say he had beta 12. I did.
_________________________
Tony Fabris

Top
#93787 - 15/05/2002 12:00 Re: Wish: Headlight warner [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
I'm not. (Yet!!?????????????? beg???) So the news that internal beta12 hasn't broken any of my code is reassuring
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#93788 - 15/05/2002 12:01 Re: Wish: Headlight warner [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Oh, I get it. YOU tested his stuff on the betas. I think I missed a pronoun somewhere. Move along, nothing to see here.
_________________________
- Tony C
my empeg stuff

Top
#93789 - 15/05/2002 12:11 Re: Wish: Headlight warner [Re: tfabris]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
oops, that's what I get for reading this thread in "flat" mode. The replies are disconnected from their contexts. Oh well.

Calvin

Top
#93790 - 15/05/2002 12:13 Re: Wish: Headlight warner [Re: tonyc]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
Tony has a habit of accusing innocent people of having the beta. :-) I've been the victim of that as well. :-D *razz*

Calvin

Top
#93791 - 15/05/2002 12:24 Re: Wish: Headlight warner [Re: eternalsun]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
A problem which could be solved by, gee, giving us these betas.
_________________________
- Tony C
my empeg stuff

Top
#93792 - 15/05/2002 13:10 Re: Wish: Headlight warner [Re: jane]
thinfourth2
Pooh-Bah

Registered: 13/04/2001
Posts: 1742
Loc: The land of the pale blue peop...
Most cars already do this if they were built after a certain date.

You may be able to retro fit a small electronics circuit to do the same for a whole lot less sodding around.

Two thyristors (i think) in line one being switched by the ignition and the second by the lights might work. I could do it in relays i understand relay. Thyrisitors my only experince of them is in diesel electric ships where we use them to control and power the main engines
_________________________
P.Allison fixer of big engines Mk2+Mk2a signed by God / Hacked by the Lord Aberdeen Scotland

Top
#93793 - 15/05/2002 15:27 Re: Wish: Headlight warner [Re: thinfourth2]
jane
enthusiast

Registered: 10/10/2000
Posts: 350
Loc: Copenhagen SW, Denmark
I want to do it with the empeg because it is *cool*
:-)

Marius (Escort Cab + Mark II)

Top
#93794 - 17/05/2002 13:26 Re: Wish: Headlight warner [Re: tfabris]
Ralyon
journeyman

Registered: 13/04/2002
Posts: 59
Loc: Florida, USA
My MkIIa by default when I got it continued to play for 1 minute after I turned off the ignition and took the keys out, left the car and didn't turn off until I was a good distance from it. I have since set it to only 30 seconds, but it keeps playing after my car is shut of. Is there something wrong with my unit or is this a feature specific to the MkIIa?
_________________________
Daniel [blue] 10G MkIIa [/blue] Quantum Mechanics: The Dreams Stuff are made of.

Top
#93795 - 17/05/2002 13:45 Re: Wish: Headlight warner [Re: Ralyon]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Click here for one possible explanation, but the "one minute" thing sounds like it could be more complicated than that.

Sounds like something is miswired, causing the ignition-switched wire on the player to maintain voltage after the car is shut off. For instance, if you connected it to something other than the ignition-swiched wire on the car. An example would be if you connected the Orange wire from the sled to the Orange wire on the car just because they were the same color (assuming that the color codes meant something without actually checking what each wire did). On many aftermarket harness adapters, the Orange wire is actually the headlight sense wire, not the ignition switched wire.
_________________________
Tony Fabris

Top
#93796 - 17/05/2002 13:46 Re: Wish: Headlight warner [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Or it could have been the known Jiffies bug in Beta11. Have you installed a recent Hijack (which fixes the bug)?
_________________________
Tony Fabris

Top
#93797 - 21/05/2002 14:36 Re: Wish: Headlight warner [Re: tfabris]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
The other day, when I turned off my car, the car unit kept playing for a good 20 seconds before it realized the power is out and it shut down. I wonder if this is related.

Calvin

Top
#93798 - 21/05/2002 14:41 Re: Wish: Headlight warner [Re: eternalsun]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Yeah, this bug seems to have several corrolaries, like how you sometimes have to hold the rewind button for 10 seconds before it responds to your press. I think they're the same bug. But I've never seen it go longer than that.
_________________________
Tony Fabris

Top
#93799 - 21/05/2002 14:59 Re: Wish: Headlight warner [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Bitt-warning. I suggest that manifestations would have been a better choice.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
Page 1 of 2 1 2 >