Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#181996 - 30/09/2003 01:36 Hijack @dock macro?
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
I mentioned this in general, but it is buried in a thread that might not get read much. Is there a @dock or similar hijack macro? I have some config.ini settings that I would only like to apply when the unit is docked. Any way to do this?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#181997 - 30/09/2003 06:41 Re: Hijack @dock macro? [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
The ;@AC macro can be used for this, if the dock is the only place you normally use the player on AC power.

Cheers

Top
#181998 - 30/09/2003 10:31 Re: Hijack @dock macro? [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
It isn't. I only have a dock at work, but I frequently use the player on AC at home. The problem is that the empeg won't work with DHCP at work for whatever reason so I wanted to be able to give it a static IP at work and let it do DHCP everywhere else. So, any chance of a macro for the dock in some future release?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#181999 - 30/09/2003 12:54 Re: Hijack @dock macro? [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada

Okay, so why not just use the ;@WORK and ;@HOME macros, and use the Hijack menu HOME/WORK entry to switch between them?

-ml

Top
#182000 - 30/09/2003 14:06 Re: Hijack @dock macro? [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Because you have to manually select those. Hijack knows when it's in the dock just like it knows if it's on AC or DC, right? Why not add another config option? If the answer is because it's technically difficult, I'm sure that's a valid answer, but if it's as trivial as it seems, then why not?
_________________________
Bitt Faulk

Top
#182001 - 30/09/2003 16:21 Re: Hijack @dock macro? [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
>then why not?

Easy answer: I don't have any use for it.
And unless more than one or two others NEED it, there's no real justification for the blatent waste of kernel memory, taking away from the player's very limited caching space.

That's why not.

-ml

Top
#182002 - 30/09/2003 16:58 Re: Hijack @dock macro? [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31575
Loc: Seattle, WA
Aw, but what about the grand tradition of feature creep?
_________________________
Tony Fabris

Top
#182003 - 30/09/2003 17:31 Re: Hijack @dock macro? [Re: mlord]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I feel like I'm going to get slammed for asking this... but:

Could there be a "HiJack Lite" in the future that has all of the networking and advanced features stripped out? It would just have in-car stuff like VolAdjust, Bass/Treble, Screen Blank, etc. Maybe "HiJack Car" and "HiJack LAN"?

I know it would add too much to the workload, but I was thinking of the age old empeg question "To you, is the empeg an in-car Linux computer that just happens to play mp3's or is it an in-car mp3 player that just so happens to run on Linux?" Likewise, some people never connect their empeg to a computer except to upload tunes while others will never have their empeg in a car... Feature creep might bump heads with cache creep and database size creep too!

I'm not asking you to do this, I'm just tossing it out there as a "what if".
_________________________
Brad B.

Top
#182004 - 30/09/2003 18:02 Re: Hijack @dock macro? [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
That's why not

Fair enough, but I do wonder if anybody actually uses the @home/work stuff? Seems like more trouble than it is worth to switch.

Of course the right solution would be to figure out why DHCP doesn't work in the first place. Anybody have any guesses? As far as I can tell absolutely nothing changed on the network and DHCP had been working fine for a couple years (and still works fine on my home LAN). The DHCP server is a redhat 7.2 box that wasn't updated in any way on the day this stopped working. I have used tcpdump and the server is responding to the address requests, but the empeg just keeps requesting over and over.

-Mike

_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#182005 - 30/09/2003 19:25 Re: Hijack @dock macro? [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
I have the same problem here at home -- the empeg just plain has a bug of some kind in it's ethernet init code. Never resolved. So I use the ;@WORK/;@HOME thing to toggle between DHCP enabled and DHCP not enabled, for when I use it in a demo or something where it works.

Works fine, btw, when plugged into a 10mb/s hub; but not when on a 10/100 hub or a 10/100 switch. Just plain buggy.

Cheers

Top
#182006 - 30/09/2003 19:29 Re: Hijack @dock macro? [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I know it's been gone over again and again, but FWIW, my empeg is attached to a 10/100 hub and has never failed to work properly.
_________________________
Bitt Faulk

Top
#182007 - 30/09/2003 20:04 Re: Hijack @dock macro? [Re: wfaulk]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Mine is connected to a 10/100 switch which uplinks to a 10/100 router/hub that runs its own DHCP (Netgear) and I've never had any issues.
_________________________
Brad B.

Top
#182008 - 30/09/2003 22:04 Re: Hijack @dock macro? [Re: mcomb]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
I use the at home at work switch almost every other day. My home network is static addressed and my work is DHCP. =] So count that for one. I think i might have been the one that asked for it because of that reason, but i might just have illusions of granduer.
_________________________
|| loren ||

Top
#182009 - 14/10/2003 14:06 Re: Hijack @dock macro? [Re: mcomb]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
A ha! For the record I finally got DHCP working. In my case it was an auto-sensing 10/100 hub between me and the dhcp server that decided to stop working properly at 10mbit. Since my empeg is the only 10 megabit device on our network nobody else noticed. A power cycle of the hub fixed it.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#182010 - 14/10/2003 17:39 Re: Hijack @dock macro? [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
Okay, this is trivial.

Hijack v345 will be out shortly, with new macros based *soley* on detection of the loopback connector in a dock:

;@DOCKED
;@NOTDOCKED

Cheers

Top
#182011 - 14/10/2003 18:25 Re: Hijack @dock macro? [Re: mlord]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Okay, this is trivial

Uh, thanks Mark, but I don't really need it anymore.

However, as feature creep goes this does seem like it could be potentially useful at some point

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#182012 - 14/10/2003 18:51 Re: Hijack @dock macro? [Re: mcomb]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
Oh.

Well, okay then. I'll delete the three lines of code and not bother with v345 then.

Cheers

Top
#182013 - 14/10/2003 19:46 Re: Hijack @dock macro? [Re: mlord]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
Hello Mark,

mcomb may not have a need for @dock. However it would come in handy for some of the others who still use the empeg as a file taxi.

That sort feature in v344 is fantastic. Thanks very much,
_________________________
Joe Mumme

Top
#182014 - 14/10/2003 20:47 Re: Hijack @dock macro? [Re: jamville]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
I'd also be into the @dock addition. =]
_________________________
|| loren ||

Top
#182015 - 14/10/2003 21:03 Re: Hijack @dock macro? [Re: loren]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
Considering this further @tunerid-x would be more versatile.
_________________________
Joe Mumme

Top
#182016 - 15/10/2003 08:53 Re: Hijack @dock macro? [Re: jamville]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
Mmm.. There is already some AC/DC stuff based on tuner-ID in the Force AC/DC Powermode menu. Does that not do enough? But good idea for the macro, if it can be done cheaply enough.

Cheers

Top
#182017 - 15/10/2003 21:28 Re: Hijack @dock macro? [Re: mlord]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
The code that you refer to seems like it is merely a fix (a kludge if you will) around a broken 'ac' switch. @tunerid would permit those various vehicles and docking stations setups a method to select unique parameters for a particular setup without user intervention. (If memory serves; Loren has two or more docking stations.)

++++++++++++++++++++++++++++++++++++

The actual tuner id could be from a pic programmed similarly to the one in pca's tuner kit.
_________________________
Joe Mumme

Top
#182018 - 15/10/2003 23:22 Re: Hijack @dock macro? [Re: jamville]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
i DO have a couple, one at work and one at home, and i wouldn't minde a different ID for each, so i could have the passwords on at work and not at home, etc...

But how would each dock have it's own ID? Are you saying each would need a PIC chip programmed with a different ID?
_________________________
|| loren ||

Top
#182019 - 16/10/2003 06:25 Re: Hijack @dock macro? [Re: loren]
jamville
journeyman

Registered: 23/08/2002
Posts: 93
Loc: South Texas
Yes. Unfortunately, hardware is needed.


(Much less expensive than the whole tuner kit.)
_________________________
Joe Mumme

Top
#182020 - 26/11/2004 20:01 Re: Hijack @dock macro? [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
It looks like @DOCKED never got added. Still got those three lines of code lying around?
_________________________
Bitt Faulk

Top
#182021 - 01/12/2004 20:30 Re: Hijack @dock macro? [Re: wfaulk]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Oh, there it is. @LOOPBACK in v392.
_________________________
Bitt Faulk

Top
#182022 - 15/03/2005 13:19 Re: Hijack @dock macro? [Re: wfaulk]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
I think I could really do with this dock detection, but first can someone explain what is meant by a dock? Car mount frame? Doesn't this mean DC power, so why not use ;@DC.

Is @dock actually there in hijack 4...? Or by another name? Is there a comprehensive list somewhere of ALL these options?

Top
#182023 - 15/03/2005 13:26 Re: Hijack @dock macro? [Re: ukengb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Mark made some wooden docks for use in the home (or office or whatever) that are specially wired so that the empeg can detect when it's in one.
_________________________
Bitt Faulk

Top
#182024 - 15/03/2005 14:21 Re: Hijack @dock macro? [Re: wfaulk]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Quote:
...specially wired...


More specifically, IIRC, the dock connects the tuner serial port on loopback, and Hijack detects itself as a particular tuner ID (6, I think).

Most useful, if you're using the dock, because otherwise, the player doesn't know if it's in a dock or in the car.
_________________________
-- roger

Top
#182025 - 15/03/2005 14:45 Re: Hijack @dock macro? [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14483
Loc: Canada
No specific tuner ID, just the detection of the loopback wire.

But the Hijack menu can select AC/DC parameters based on Tuner-ID as well..

Cheers

Top
#182026 - 15/03/2005 14:52 Re: Hijack @dock macro? [Re: mlord]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
I'd forgotten - I kept trying to get this to work, but no matter what I did with the loopback I couldn't get it to recognise it was in a dock. Which is a pity, because the workaround is to have servers forced on always...which includes when the empeg is in the car...wasting valuable resource.

Can someone reiterate which pins should be connected, and where just so I can try and get this sorted, please.

(apologies for being more moronic than usual today)
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#182027 - 15/03/2005 15:14 Re: Hijack @dock macro? [Re: frog51]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528

Top
#182028 - 15/03/2005 15:53 Re: Hijack @dock macro? [Re: frog51]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31575
Loc: Seattle, WA
Quote:
I kept trying to get this to work, but no matter what I did with the loopback I couldn't get it to recognise it was in a dock.

Because it's important to me to be able to do a cold power upgrade from within the dock, I actually did the power plug mod on the dock I purchased from Mark.

So that way, every time I plug the player into the dock, it knows it's on AC power by default and I don't have to depend on the dock loopback connector.
_________________________
Tony Fabris

Top
#182029 - 15/03/2005 17:49 Re: Hijack @dock macro? [Re: tman]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Okay, that helps a bit - mine is built from a car sled, so I'll need to check my pins 6 and 7 to see I have things the right way round.

I might just follow Tony's idea and go for the power plug mod.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#182030 - 23/04/2005 11:31 Re: Hijack @dock macro? [Re: wfaulk]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
So does Hijack still/now include the ;@DOCKED option?

Top
#182031 - 23/04/2005 15:46 Re: Hijack @dock macro? [Re: ukengb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31575
Loc: Seattle, WA
I'm sure it does, but that doesn't help flash upgrades. The part of protected flash that waits on the serial port for an upgrade signal is executed before the kernel takes over. So if you are sled-docked and the AC sensor switch isn't tripped, there is no way for the player to listen for a serial port upgrade. No matter what tricks hijack does.
_________________________
Tony Fabris

Top
Page 1 of 2 1 2 >