Unoffical empeg BBS

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

Topic Options
#208111 - 04/03/2004 00:21 Has hijack @EXEC changed? Cant get apps to work
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Havent had third party apps on my player for a little bit and was just trying to put some back on. Im having trouble getting it to work though. Has something changed from v2 to v3 that would cause this, or have the hijack execs changed recently? I've got notify=1 and the proper @EXEC_ONCE commands in my config.ini, and I think I have the correct executable permissions assigned to the apps but they still aren't showing up in hijack. I used to see "hijack removed menu entry for <app name here>" or something close to that in my boot logs but I'm not seeing any of that now. I think I've done everything exactly like I used to do but its not working now. Any ideas?

Top
#208112 - 04/03/2004 08:39 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: kswish0]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
Yes, it changed slightly. Hijack now uses /bin/sh to exec the commands, and inserts an "exec " prefix in front of the command. This shouldn't break much, if anything at all.

But there is supposed to be a ; character in front, so a line would look like this:

;@EXEC someprogram arg1 arg2 ...


Edited by mlord (04/03/2004 08:40)

Top
#208113 - 04/03/2004 10:13 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: mlord]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Ok, so just as an example, I used to have emphatic run like this....

;@DC ;@EXEC_ONCE /drive0/var/emphatic

and everything was just fine and dandy. What exactly do I have to change now because this isn't working anymore? Do I just take away the "_ONCE"? What are those arg's on the end there?

Top
#208114 - 04/03/2004 10:27 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: kswish0]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Figured it out. I didn't have a space beween the ;@DC and the ;@EXEC. So I now have access to emphatic in the hijack menu again but have run into another problem. When I run it, the screen goes blank and the serial log goes into an infinite loop of displaying this...

line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452
rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setge
om: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1,
line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452
rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setge
om: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1,
line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452
rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setge
om: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1,
line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452
rc setgeom: -1, line 452rc setgeom: -1, line 452rc setgeom: -1, line 452rc setge
om: -1, line 452rc setgeom: -1, line 452Oops! Info FID 151 not found!
Oops! Music FID 150 not found!

Pressing the top button stops this and the display comes back on. It also says something about FID 150 not found when I press the top button as you can see in the last 2 lines of it there. Do I somehow have a corrupt emphatic file or something?

Top
#208115 - 04/03/2004 10:28 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: kswish0]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Assuming emphatic is indeed in /drive0/var, is executable, and is starting up without any errors, that exact syntax (with one space in between ;@DC and ;@EXEC_ONCE) should work just fine. If it's not, then please attach a boot log (from the serial console) showing what's going on when you boot your empeg in DC mode. Force it into DC mode using Hijack's "force AC/DC" menu option if you can only get a boot log on AC power.
_________________________
- Tony C
my empeg stuff

Top
#208116 - 04/03/2004 10:32 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: kswish0]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Pressing the top button stops this and the display comes back on. It also says something about FID 150 not found when I press the top button as you can see in the last 2 lines of it there. Do I somehow have a corrupt emphatic file or something?
The "oops" stuff is likely because you upgraded from v2 to v3 and the FID file layout has changed. Change your config.ini entry to the following:

;@DC ;@EXEC_ONCE /drive0/var/emphatic -N

.

The -N switch will tell it to use the new FID file layout, which should pick up your fids okay. As for the setgeom stuff, I'm not sure if that's a problem or a symptom from some other problem, so try this suggestion first. In any event, there's a new emphatic coming out in the very near future that will auto-detect the FID directory structure, and will come with an install script that should take care of config.ini for you.
_________________________
- Tony C
my empeg stuff

Top
#208117 - 04/03/2004 20:50 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
I'm having a problem with emphatic and V2 also.Emphatic shows up in the Hijack menu but when I select it,only a blank space shows up where the lyrics should be.Then I can't even get the emphatic screen to show up.Have to reboot to get back to normal operation.
All this started happening after I upgraded to V2 and hijack 379.It was working with beta 13 and hijack 360.
_________________________
MIKE 80Gb RIO

Top
#208118 - 04/03/2004 20:59 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Do you have a mk2 or mk2a? How many tunes you have? More tunes = less memory for emphatic. If memory is low, stuff like this can happen. See if you see messages on your serial port when this happens...

Best thing I can recommend is adding ReserveCache=XX to your [Startup] section of config.ini, where XX is some number... Start with 8 or 16 and increase it if things don't get better. That will steal some memory from the player's cache and give it to emphatic.

The new version should be much better about a lot of this stuff, but, quite simply, the player doesn't leave much memory for apps, so we need to steal some back sometimes.
_________________________
- Tony C
my empeg stuff

Top
#208119 - 04/03/2004 21:05 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Ive got an mk2a.30g drive thats half full.I do have the reserve cache set to 48,same as I had with b13.How high can I set that number?
_________________________
MIKE 80Gb RIO

Top
#208120 - 04/03/2004 21:13 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
48 should be enough. I don't have those kind of problems on my Mk2a and I have about 6500 tunes (3/4 full 80GB player.)

Wait for the new version, then tell me if you still have problems... Shouldn't be too much longer.
_________________________
- Tony C
my empeg stuff

Top
#208121 - 04/03/2004 21:29 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Oh boy Ive been looking forward for a new version. (anxiously awaiting the new release) Without revealing too much will the new version have an easier way to add lyrics to songs?
_________________________
MIKE 80Gb RIO

Top
#208122 - 04/03/2004 22:55 Re: Has hijack @EXEC changed? Cant get apps to wo [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Without revealing too much will the new version have an easier way to add lyrics to songs?
Well, emphatic doesn't get involved in adding lyrics to songs, and I am personally not releasing anything in that regard. But I do think there might be a few things in the works that might make adding lyrics easier. If I look into my crystal ball, I see an image of dozens, maybe hundreds of happy users adding lyrics to songs with a new Winamp plugin that can add lyrics to the ID3v2 tags directly. And, if I focus in real closely, I can see them clicking a button to have those lyrics auto-submitted to some kind of central lyrics database, where people can go to search for lyrics that others have done. Of course, I'm no Nostradamus, but I do get a good feeling that all these things will be possible in the future...

But something tells me that just emphatic itself will keep people quite busy when it comes out.. So, let's not get ahead of ourselves.
_________________________
- Tony C
my empeg stuff

Top