Unoffical empeg BBS

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

Topic Options
#152248 - 01/04/2003 09:51 Controling empeg via serial port
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland

Hello !

I am doing some inferfaces which should control the empeg via the serial port.

At
http://www.riocar.org/modules.php?op=modload&name=Developer_Info&file=index&myfaq=yes&id_cat=9&categories=The+Empeg+Player+App#25

i found a description how to control the empeg, but this semms to be outdated ???!!!

I have Mk1, 2.00 beta 13 hijacked.

Now the problems:

F : should do a fast forward. it does, but how to stop the fast forward and let is play again ???

the same about 'B', 'f' and 'b'.

'm' : sound go in menu. it does. then 'n' and 'p' shound let u go left and right in the menu. this does not work too.

in tuner mode '.' and ';' shoud do up and down tunig, it does not work too.

is there a up to date description how to do it ot is something wrong with my empeg ??
_________________________
MK I - 00158

Top
#152249 - 02/04/2003 01:58 Re: Controling empeg via serial port [Re: PKi]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
I have tried now with hijack and wothout hijack (latest). it does not work.
Not on AC power, not on DC power.
HELP ME !
_________________________
MK I - 00158

Top
#152250 - 02/04/2003 02:49 Re: Controling empeg via serial port [Re: PKi]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
is there a up to date description how to do it ot is something wrong with my empeg ??

No on both. There's no more up to date description, and no, there's nothing wrong with your empeg. Use space to stop the fast-forward.
_________________________
-- roger

Top
#152251 - 02/04/2003 03:24 Re: Controling empeg via serial port [Re: Roger]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
i have tried to use space to stop fast forward. IT DOES NOT WORK. now installed the newest software. 2.0 (final), the navigation in the menu works now, but the fast forward cound not be stopped.
_________________________
MK I - 00158

Top
#152252 - 02/04/2003 04:04 Re: Controling empeg via serial port [Re: PKi]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
IT DOES NOT WORK.

Chill. It's only software. Give me another 20 minutes, and I'll have something up on my website describing the serial commands in detail.
_________________________
-- roger

Top
#152253 - 02/04/2003 04:32 Re: Controling empeg via serial port [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
_________________________
-- roger

Top
#152254 - 02/04/2003 04:37 Re: Controling empeg via serial port [Re: Roger]
jarob10
enthusiast

Registered: 07/01/2002
Posts: 274
Loc: Stockport, UK
In reply to:

Give me another 20 minutes




From the time stamp on your website it took you 25 minutes (closer to 26 actually). THAT IS NOT GOOD ENOUGH.
_________________________
A coward you are, an expert on bulls you are not.

Top
#152255 - 02/04/2003 08:01 Re: Controling empeg via serial port [Re: jarob10]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
OK. Stopping the fast forward now works with 'A'. OK. But the ';' and '.' keys did not work. ; or . sets the radio frequency to 87.5MHz. nothing else.

How do u explain this ??

Empeh make 1, region setting is europe.
_________________________
MK I - 00158

Top
#152256 - 02/04/2003 08:09 Re: Controling empeg via serial port [Re: PKi]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
How do u explain this ??

Er, it's broken?
_________________________
-- roger

Top
#152257 - 02/04/2003 08:12 Re: Controling empeg via serial port [Re: Roger]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
but what can i do to get this working ???
_________________________
MK I - 00158

Top
#152258 - 02/04/2003 08:28 Re: Controling empeg via serial port [Re: PKi]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
but what can i do to get this working ???

Not a lot. There's nothing obvious in the code to suggest why it's not working. I wonder if it's actually supposed to work on mk1 players.

_________________________
-- roger

Top
#152259 - 02/04/2003 16:09 Re: Controling empeg via serial port [Re: PKi]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
You're acting like you paid for it! Lighten up.
_________________________
Brad B.

Top
#152260 - 02/04/2003 16:56 Re: Controling empeg via serial port [Re: SE_Sport_Driver]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
I need this feature ;-)
_________________________
MK I - 00158

Top
#152261 - 02/04/2003 21:24 Re: Controling empeg via serial port [Re: Roger]
shadow45
member

Registered: 19/03/2002
Posts: 144
Loc: Florida, USA
thanks for drawing that up, Roger!

_________________________
::: shadow45

Top
#152262 - 03/04/2003 02:17 Re: Controling empeg via serial port [Re: shadow45]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Can someone else confirm/deny that the tuner commands work? In particular on both mk1 and mk2 players? I don't have a tuner, so I couldn't test those. I did check most of the others.
_________________________
-- roger

Top
#152263 - 03/04/2003 02:57 Re: Controling empeg via serial port [Re: Roger]
number6
old hand

Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
Hi Roger,
I just checked this out on my Tuner [which is n the house to aid testing].
It works as PKi described, i.e. ; and . goto 87.5 and nowhere else no matter where you are (AM or FM).

I note that 0-9 in Tuner mode goto Preset N within current preset bank)

Edit: #1 Oh yeah I have a Mark2 running 2.0 Final and Hijack 325

Edit: #2 The . and ; commands in AM mode go to the lowest AM frequency for your location [i.e. 522Khz for "European" (9Khz steps) areas].



Edited by number6 (03/04/2003 04:08)

Top
#152264 - 03/04/2003 08:17 Re: Controling empeg via serial port [Re: Roger]
Chimaera
enthusiast

Registered: 10/09/2002
Posts: 285
Loc: DFW Area, Texas, US
Roger,

just tested with a MK1. The tuner . and ; commands don't appear to do anything (I stay on the same frequency I am on), but if I am tuned to a preset (A4 for example) then issuing either of those commands appears to move it off preset (only A displayed) but the frequency displayed doesn't change. I only tested on FM, I can retest on AM if it helps.

I also tried all the other commands (except the misc ones) and they all work with the exception of loudness up. loudness down works fine though.

Tests done with V2.00Final, no HiJack
_________________________
Mark. [blue]MKI, MKII & MKIIa, all Blue, and all Mine![/blue]

Top
#152265 - 10/04/2003 00:53 Re: Controling empeg via serial port [Re: Chimaera]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
Now there is the next problem coming up. With HiJack installed (over the 2.00 final) the feature of controlling the empeg via serial COMPLETLY DOESNT WORK !
Not at DC, not at AC, not at 115k, not at 4k8. Not setting in the config.ini notify=1, supress... car_rate....

_________________________
MK I - 00158

Top
#152266 - 10/04/2003 06:25 Re: Controling empeg via serial port [Re: PKi]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
Mmm.. works fine for me here.

But do note that the past 20 or so Hijack versions have been deliberately disabling the player's use of the serial port in DC/Car mode ONLY. This is to make things easier for GPSapp and similar add-ons.

Not perfect, and I know it breaks things for two or three people, so we'll do something better about it eventually.

Cheers

Top
#152267 - 10/04/2003 08:37 Re: Controling empeg via serial port [Re: Chimaera]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
The tuner . and ; commands don't appear to do anything

I ran this one past Toby last week, and he thinks that he's fixed it. It'll be in the next 2.0 release, if there is one (v2.01?).
_________________________
-- roger

Top
#152268 - 10/04/2003 08:52 Re: Controling empeg via serial port [Re: Roger]
Chimaera
enthusiast

Registered: 10/09/2002
Posts: 285
Loc: DFW Area, Texas, US
Thanks,

And to be honest it is not a problem for me, as I don't control any of mine using serial, it's just I happened to have the MK1 on the desk connected via serial at the time, so I thought I would test them out for you.
_________________________
Mark. [blue]MKI, MKII & MKIIa, all Blue, and all Mine![/blue]

Top
#152269 - 10/04/2003 12:41 Re: Controling empeg via serial port [Re: Chimaera]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
I suppose we ought to have Hijack take over the serial port too, and allow *any* buttons to be fed in via that route..

Cheers

Top
#152270 - 28/05/2003 12:32 Re: Controling empeg via serial port [Re: mlord]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
Hi Mark !
Can u modify the next hijack version so i can set it in the config file if the hijack takes control of the serial port ot dont touch it ?

And what about the tuner commands ? can u fix it so that '.' and ',' can be used to tune frequency ??

Talking about 2.0 final now... ;-)
_________________________
MK I - 00158

Top
#152271 - 28/05/2003 16:14 Re: Controling empeg via serial port [Re: PKi]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
Can u modify the next hijack version so i can set it in the config file if the hijack takes control of the serial port ot dont touch it ?


Oh yeah, I keep forgetting to do this.

Part of the reason is that Hijack doesn't read the config file until AFTER the player has started, and by then it's too late. But we'll have to work it out somehow..

Cheers

Top
#152272 - 29/05/2003 04:16 Re: Controling empeg via serial port [Re: mlord]
PKi
stranger

Registered: 22/12/2002
Posts: 35
Loc: Poland
I think u can do it ;-)
_________________________
MK I - 00158

Top