Unoffical empeg BBS

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

Topic Options
#81667 - 17/03/2002 15:23 Hijack v245: Sony Stalk Support!
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Okay, at long last..

Announcing.. Hijack v245, with Sony Stalk Support!

Well, actually, the stalk works with any version of Hijack, but as of v245 it is now fully supported for [ir_translate]. Details are on the Hijack site.

Also new in v245: the tone control init sequence has been adjusted, to hopefully allow it to work correctly in DC mode. bugs >genixia

Enjoy, keep track of the bugs, but don't bug me for the next week. Waaayyyyy too busy with important ($$) stuff for the next five days.

Cheers

-ml

Top
#81668 - 17/03/2002 16:02 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
HeHe, I've got a whole week to implement the volume boost stuff without the baseline shifting.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#81669 - 17/03/2002 18:14 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
spider
member

Registered: 31/12/2001
Posts: 121
thanks for the stalk support mark.

see you in a week or so..........

Top
#81670 - 18/03/2002 01:26 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
brabax22
new poster

Registered: 15/02/2002
Posts: 27
Is there a chance (perhaps in future) to connect the stalk without the tuner module (serial port) ???

Top
#81671 - 18/03/2002 02:01 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
ninti
old hand

Registered: 28/12/2001
Posts: 868
Loc: Los Angeles
Does this mean I can make my remote control do the previous visual command yet?
_________________________
Ninti - MK IIa 60GB Smoke, 30GB, 10GB

Top
#81672 - 18/03/2002 05:53 Re: Hijack v245: Sony Stalk Support! [Re: brabax22]
rtundo
addict

Registered: 27/02/2001
Posts: 569
Loc: Albany, NY
I think mlord mentioned in a previous thread eventually implementing serial support.

Top
#81673 - 18/03/2002 08:05 Re: Hijack v245: Sony Stalk Support! [Re: brabax22]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
The stalk is (amazingly) an analog device, not digital. So, I cannot see it plugging into the serial port without some custom A/D conversion hardware.

But perhaps the microphone port..

Top
#81674 - 18/03/2002 08:09 Re: Hijack v245: Sony Stalk Support! [Re: ninti]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Yes, in theory. The default mapping for "Visual-" is "KSPrev", so if you map a Rio button (or popup) to "KSPrev", it should work.

-ml

Top
#81675 - 18/03/2002 08:20 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Ooops. I got that backwards. KSPrev == Visuals+, so what you want here is "KSNext" which does Visuals- .

If you don't have a Tuner, you'll need to use fake_tuner=1 as well.

This gives:

[ir_translate]
;; make the '6' button act as "Visual-":
Six.L=Six.L,null
Six=Six.U,KSNext.N

[Hijack]
fake_tuner=1


I'll add a "Visual-" name alias to Hijack v246.

-ml


Top
#81676 - 18/03/2002 08:24 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Oh.. and "Visual-" doesn't actually work when the Tuner is active, it's treated as "Seek Down" by the player software in that mode. So I guess the translation might become this:

[ir_translate]
Six.L=Six.L,null
Six.T=Six
Six=Six.U,KSNext.N

-ml

Top
#81677 - 18/03/2002 11:56 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
ninti
old hand

Registered: 28/12/2001
Posts: 868
Loc: Los Angeles
Doh, putting that in my config.ini and hitting 6 causes the player to completely lock and I have to power cycle. I put it in PopUp0 as well with the same results. I was using 246, so I tried visual- too with no difference. I tried it at home, would that make a difference since I added the fake_tuner line as well? I did force it to DC mode once as well to try that too.
_________________________
Ninti - MK IIa 60GB Smoke, 30GB, 10GB

Top
#81678 - 18/03/2002 17:14 Re: Hijack v245: Sony Stalk Support! [Re: ninti]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Well, I've never tried it (yet) without a real tuner attached. But fake_tuner=1 should work. If not, it'll get fixed someday.

Cheers

Top
#81679 - 19/03/2002 21:43 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
spider
member

Registered: 31/12/2001
Posts: 121
detail also needs to be remapped.. it currently acts as info.. detail.L shows details.. at least thats my experience with it in popup0 menu..

Top
#81680 - 20/03/2002 07:21 Re: Hijack v245: Sony Stalk Support! [Re: spider]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Okay. That's it.

I'm removing all of the "convenience labels" for buttons from Hijack. From now on, only "Info" will work, not "Details". Same thing for "Zero" vs. "Shuffle", and "Cancel" vs. "Mark", and "Seven" vs. "Repeat", and "Eight" vs. "Swap" etc..

Too many people assume too much about the current convenience labels. So out they go!

Cheers

Top
#81681 - 20/03/2002 11:13 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Nooooo!!! And i JUST did up that nice table too.
Well, not that it matters much... but i'd REALLY like them to stay Mark. I use them all over the place. Just because a couple of people don't get it, don't remove them for the rest of us who do! I'll edit the FAQ to be clear about having to add .L to the convenience buttons.
_________________________
|| loren ||

Top
#81682 - 20/03/2002 15:17 Re: Hijack v245: Sony Stalk Support! [Re: loren]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Personally, for the sake of consistency, I'd like to to see them go. That is of course unless they change to really mean what they say. Like, for example, details is the same as info.L
_________________________
-Aaron

Top
#81683 - 23/03/2002 14:12 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
So.. is anyone with a Stalk actually using this feature yet?

Cheers

Top
#81684 - 23/03/2002 14:50 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
Mark, the only ones that are misleading are the ones where you have to modify with a long press (detail for instance). So most of the ones you mentioned are fine as convenience labels. They just work. It also makes it more intuitive to read the translation section of a config file. The remote itself is inconsistent as to whether a subscripted label applies to a long press or not.

Hmmm... Didn't your IR translate page used to mention that PopUps didn't support the .L modifier? I'm next to positive I had read that. Seems to be working fine. So I figure it's either something you've changed or something that's worked forever.

Bruno
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#81685 - 23/03/2002 16:26 Re: Hijack v245: Sony Stalk Support! [Re: hybrid8]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Mmmm.. I know that I meant to say that popups don't support macros. But from looking at the code, they definitely DO support .L for longpresses.

Mm...

Top
#81686 - 25/03/2002 00:09 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Mark, could you explain the following?

;; Min/max A/D pairs for all ten buttons on a Right mounted Stalk
;; Button order is: KOff,KSource,KAtt,KFront,KNext,KPrev,KVolUp,KVolDown,KRear,KBottom
stalk_rhs=aa,aa,bb,bb,cc,cc,dd,dd,ee,ee,ff,ff,gg,gg,hh,hh,ii,ii,jj,jj

;; min/max A/D pairs for all ten buttons on a Left mounted Stalk
stalk_lhs=aa,aa,bb,bb,cc,cc,dd,dd,ee,ee,ff,ff,gg,gg,hh,hh,ii,ii,jj,jj

i wanna add it to the FAQ, but i don't get it... at all....
_________________________
|| loren ||

Top
#81687 - 25/03/2002 08:03 Re: Hijack v245: Sony Stalk Support! [Re: loren]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
In reply to:

Mark, could you explain the following?

;; Min/max A/D pairs for all ten buttons on a Right mounted Stalk
;; Button order is: KOff,KSource,KAtt,KFront,KNext,KPrev,KVolUp,KVolDown,KRear,KBottom

;; min/max A/D pairs for all ten buttons on a Left mounted Stalk
stalk_lhs=aa,aa,bb,bb,cc,cc,dd,dd,ee,ee,ff,ff,gg,gg,hh,hh,ii,ii,jj,jj




Each of those labelled buttons (KOff,KSource,...) on the Stalk are implemented in hardware with a simple resistor and a switch. The stalk interface consists of three wires: Power supply out, and two returns: one return from the "Shift" switch, and another from all of the buttons wired together. What the software sees, is an A/D conversion value based on the size of resistor attached to the button that is being pressed. This gives a number in the range 00..255. Different resistors give different numbers. Even the same resistors can give different numbers, depending upon component variations, and environmental conditions (temperature), quality of the electrical connections, etc..

There is a default "range" of acceptable A/D values from each button, wired into the player software, and also now in Hijack (the same for both).

The stalk_lhs and stalk_rhs parameters in config.ini allow the advanced user to override the built-in A/D values with a custom set of ranges, two numbers (low,high) per button. This allows compensating for an out-of-spec Stalk, or even use of a third-party (or hacked together) stalk-style control that plugs into the same hardware interface.

The reason for separate stalk_lhs (Left Hand Side) and stalk_rhs (Right Hand Side) values is just a coding convenience within Hijack.

Here is the default (built-in) setting for stalk_rhs:

stalk_rhs=0x00,0x07,0x10,0x1c,0x24,0x30,0x34,0x40,0x42,0x4e,0x54,0x60,0x68,0x74,0x7e,0x8a,0x94,0xa0,0xa0,0xb5


Note that the final two buttons listed overlap -- which is an error, but that's what the documentation on RioCar.Org claims for the player software, so the bug is faithfully duplicated in Hijack.

Cheers

Top
#81688 - 25/03/2002 11:02 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
okay... thanks. I've got all that. Now if i just new what A/D meant.... =]
_________________________
|| loren ||

Top
#81689 - 25/03/2002 11:37 Re: Hijack v245: Sony Stalk Support! [Re: loren]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
I'd guess Analog/Digital..

Top
#81690 - 25/08/2004 10:56 Re: Hijack v245: Sony Stalk Support! [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5681
Loc: London, UK
What values should I put in for buttons that don't exist on my stalk? 0xff,0xff?
_________________________
-- roger

Top
#81691 - 31/08/2004 00:09 Re: Hijack v245: Sony Stalk Support! [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
Yeah, 0xff or I suppose even 0x00 would be the best.

Cheers

Top