Unoffical empeg BBS

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

Topic Options
#5977 - 15/09/1999 07:47 Button on remote to exit player
xml
journeyman

Registered: 06/09/1999
Posts: 71
It'd be nice if the developer versions would drop you into the shell if
you press a certain button on the remote control. Sometimes CTRL-C or q
don't get me in for some reason and I have to reboot.

Paul


Top
#5978 - 16/09/1999 06:36 Re: Button on remote to exit player [Re: xml]
mac
addict

Registered: 20/05/1999
Posts: 411
Loc: Cambridge, UK
The only time ctrl-C won't work is when the serial port is in raw mode. This happens when the protocol is started - either downloading or synchronizing.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe

Top
#5979 - 16/09/1999 06:49 Re: Button on remote to exit player [Re: mac]
xml
journeyman

Registered: 06/09/1999
Posts: 71
It never seems to work after I've used emptool. Until I reboot. I suppose
I could write my own program to kill player with the IR code that was
posted, if you don't want to add it.

Paul


Top
#5980 - 17/09/1999 05:55 Re: Button on remote to exit player [Re: xml]
mac
addict

Registered: 20/05/1999
Posts: 411
Loc: Cambridge, UK
It never seems to work after I've used emptool.

Exactly. The serial port has been used for the protocol so it is in raw mode.

You can use emptool to quit the player if you need to.

I'm not keen on using the remote to quit the player since there are far more important uses for all the buttons. Also, it would be useless on the consumer image.

It is possible that the port could be reset to cooked mode after synchronisation is complete but this is quite difficult to manage.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe

Top
#5981 - 17/09/1999 08:53 Re: Button on remote to exit player [Re: mac]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
I'd prefer an extension to the main menu to allow a Programs sub menu. This would be filled from a config file, and would allow us to run programs (or quit the player).
If the file isn't there, then the programs menu doesn't appear.
Just a thought.. =)

Jazz
(List 112, S/N 00030, 4 gig blue)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#5982 - 21/09/1999 07:24 Re: Button on remote to exit player [Re: Jazzwire]
mac
addict

Registered: 20/05/1999
Posts: 411
Loc: Cambridge, UK
I'd prefer an extension to the main menu to allow a Programs sub menu. This would be filled from a config file, and would allow us to run programs (or quit the player).

Not a bad idea. Something along those lines would certainly be sensible.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe

Top
#5983 - 11/10/1999 03:25 Re: Button on remote to exit player [Re: mac]
raphael
stranger

Registered: 09/06/1999
Posts: 33
Loc: Austria
The original /sbin/init seems to be essential to run the player. Killing the
player won't help as long as init is running and killing init is not a good
idea. :-(

Btw. empeg-init seems to trap kill signals. What signal handlers are
implemented? Since the empeg-init uses ttyS1, I need to kill it, so
I can run pilot-xfer.

--
Raphael Wegmann
[email protected]
_________________________
--
Raphael Wegmann
[email protected]

Top