Unoffical empeg BBS

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

Topic Options
#54867 - 04/01/2002 09:39 HiJack Qustion / Request.
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Hello

Just wondering if HiJack could add new commands to the serialport??
I would really love a serial command for the 'HUSH' feature.

Even better, one for 'Hush on' and one for 'Hush off'.

Don't know if this is possible at all but...

TommyE

Top
#54868 - 04/01/2002 09:57 Re: HiJack Qustion / Request. [Re: TommyE]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Well, that's certainly possible.

Specifically what byte(s) would you want to send into the Empeg over the serial link to indicate this action?

I suppose I could implement it using something like the [ir_translate] functionality..

-ml

Top
#54869 - 04/01/2002 10:04 Re: HiJack Qustion / Request. [Re: mlord]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
I have a MKI with the older remotecontroll and today
have remapped the number '9' on my remotecontroll
for the 'HUSH' feature. by this line in config.ini.

b94609=20df16.L ;hush

It would have been cool to have a serial command like
'hush on' and 'hush off'.

Not sure if this is feasible, as the hush command is a 'toggle' command.
Maybe just 'hush' for hush on/off relative to what mode it is in?!

The reason for asking is that I made this little PIC microcontroller program that I've
hooked up to my GSM handsfreeset, and it would be much cooler to have
the Empeg go into HUSH mode, rather than just off, like I do today.

TommyE

Top
#54870 - 04/01/2002 10:49 Re: HiJack Qustion / Request. [Re: TommyE]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Again, tell me very specifically what bytes you want to send into the serial port (and ensure they don't conflict with existing commands..), and perhaps I'll give it a trial run.

-ml

Top
#54871 - 04/01/2002 12:00 Re: HiJack Qustion / Request. [Re: mlord]
number6
old hand

Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
How difficult would it be to 'capture' all incoming serial bytes from the Serial port and then provide the ability to remap them to IR or whatever commands?

The problem with the current serial interface to the player software is that the currently known serial commands don't implement all the newer features [like hush] which the IR interface does - ocne you know the 'codes' you can add this code to the map and this to the serial port interface.

Being able to map incoming character X to command Y would mean that we wouldn't have to hard code them in the kernel and it would mean that I could have different serial commands from you that suit my devices better.
Some of the current serial commands are not that obvious as to their meaning and the set hasn't been extended since the mark 1 days AFAIK.

Of course the Serial 'remap' process should be optional - if I want a userland to be able to deal with the serial port directly then this translation should be disabled.

[this is similar to the concept behind the *notify=1 options in config.ini].


Top
#54872 - 04/01/2002 13:09 Re: HiJack Qustion / Request. [Re: mlord]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Hello again.

Just tried the serial port.
It seems that the letter 'H' is unused, so if 'H' + 'CR' would 'HUSH/UNHUSH'' the player it would be cool.

TommyE

Top
#54873 - 04/01/2002 17:13 Re: HiJack Qustion / Request. [Re: TommyE]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Okay, I'll think about it for a bit.

But I really want to get back to the FTPD work for the time being. Could you email a reminder to me in a week or so?

Thanks

Top
#54874 - 04/01/2002 17:17 Re: HiJack Qustion / Request. [Re: mlord]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
Sure no I'm in no hurry. Thanks.

TommyE

Top
#54875 - 04/01/2002 17:39 Re: HiJack Qustion / Request. [Re: mlord]
thenominous
member

Registered: 22/12/2001
Posts: 189
Loc: UK
If you dont mind I'll send you a wee email about this if it would be possible to do as well?

Cheers

Dave

Top
#54876 - 04/01/2002 17:42 Re: HiJack Qustion / Request. [Re: thenominous]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Yeah.. that does sound interesting.. in other ways than the current discussion, too. Sure, send me an email on it in a week or so.

Thanks

Top