Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#38336 - 10/09/2001 09:39 gm steering wheel SG1 with radio module
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
I just got my radio module last week (HOORAY!!!) and also ordered the SG1 GM steering wheel to sony control stick interface to install in my 2000 pontiac grand prix. I got everything hooked up, but the controls don't seem to be working properly. The only control I have is track forward which is access using track down, and my volume up which is access using volume down. The play/pause button does seem to work though. Am I doing something wrong? I have a markII and upgraded to fw1.03 when I got the radio module, but don't know if there is something else I need to do to get the sony interface working.


Top
#38337 - 10/09/2001 10:04 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Since you are the first user to have done this (OEM->Sony OEM interface->Tuner), it's going to be fun diagnosing this one.

For starters, go into Emplode's "configure player" screen and try setting the stalk to the opposite "handed-ness" of what it's currently set at. For instance, if it's set to left side, set it to right side.

Let us know if that works. If not, we'll start looking at other possible issues.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#38338 - 10/09/2001 10:47 Re: gm steering wheel SG1 with radio module [Re: tfabris]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Ideally, if you can do this: (may be hard, you need to get a serial cable to the empeg when it's in car)

stty raw -echo 19200
od -txC -v -w4 /dev/ttyS0

...and press buttons, you should get a line of output for each buttonpress (and release). Annotate the text with the labelling of buttons on your dash and we can look at it. v1.03 does have very narrow ranges for buttonpresses, v1.04 will fix this but the data from the process above would be useful.

Hugo



Top
#38339 - 10/09/2001 11:34 Re: gm steering wheel SG1 with radio module [Re: altman]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
I'll break out the laptop and hook it up tonight and get those codes for you. Since my dash is still completly disassembled, this shouldn't be a big deal. Thanks for the speedy reply.


Top
#38340 - 10/09/2001 11:41 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Remember to throttle the baud rate to 4800 for in-car serial. Either that or edit the config file to bump up the in-car baud rate. Details about this can be found elsewhere on the BBS.

Do try the left/right thing, too, though. I'd be curious to know if it helped.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#38341 - 10/09/2001 16:23 Re: gm steering wheel SG1 with radio module [Re: tfabris]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
ok, i looked at my stalk config in emplode, and it was set for 'none'. i then tried both left and right. the only difference that made was the function of the volume down button on my steering wheel went from volume up, to volume down.. getting closer, but still no functionality on any other buttons. i'm getting the laptop read for a trip outside in the rain. have the results in a jiffy.


Top
#38342 - 10/09/2001 16:56 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
alright, here's the scoop so far... if i leave the stalk control on right, then i have proper control of volume down, previous track, play/mute, am/fm select. if i can only get the track next and volume up, i'll be all set... Now, i must be doing something really wrong with the debug thing. I'm not even sure where i need to be running those commands, on my laptop or logged into the empeg. also, which serial port do i use? the one on the player, or the one comming out of the harness? i'm really not all that new to linux, but the instructions were a little vague, or my head is still pounding from the moonshine last weekend.

cheers!

greg porras



Top
#38343 - 10/09/2001 17:04 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Instructions for connecting to the player with the serial port are in the FAQ section of the BBS. Here is a direct link.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#38344 - 10/09/2001 17:07 Re: gm steering wheel SG1 with radio module [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Oh, and although it probably goes without saying, Hugo's commands can only be entered at the shell prompt if you've got the Developer version of the empeg player software installed. If you downloaded and installed 1.03 consumer, you need to snag and install 1.03 developer instead.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#38345 - 11/09/2001 07:01 Re: gm steering wheel SG1 with radio module [Re: tfabris]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
i do have the dev. version loaded already, but i wasn't quite sure if i ran those commands at the empeg prompt, or on my laptop.

Is the serial port on the back of the empeg the same device as the one on the wiring harness or are they 2 seperate devices? I tried both lastnight, but wasn't sure which to use.

Now, I did get to a point where I issued the stty command, but after that, I couldn't type anything else at the empeg shell prompt. Did I do something wrong? If I had an idea on exactly what I'm trying to capture and from what device, it would make a lot more sense to me.


Top
#38346 - 11/09/2001 08:01 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Sorry, part of the command got lost, it should have been

stty -echo raw 19200 *** /dev/ttyS0

(replace *** with the less than sign)

Hugo



Top
#38347 - 12/09/2001 08:25 Re: gm steering wheel SG1 with radio module [Re: altman]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
Ahh ha! I really though I didn't know what the heck I was doing. I will give it another shot tonight.

I was thinking though... According the documentation that came with the SG1, there are 3 different configurations that can be found for the oem wiring harness. Mine I believe is the 37 pin version. The 20 pin version seem to use 2 wires for the steering control, while mine shows only 1 should be used. Maybe there is another wire that i need to connect, because, really, the only 2 button positions that aren't working right now are the track and volume up. I may throw the VM on there and do some poking around. I could also put the scope on the output of the SG1 to make sure I am or am not getting some sort of signal on the button positions that don't seem to be working. I'll post results tonight.

greg porras

ps. airplanes flying into big concrete structures really sucks. i pray for them all !!


Top
#38348 - 12/09/2001 11:14 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
If you're getting anything working, you have the right connection. One of the wires to the sony stalk is just for the "shift" button, which is activated when you push in the end - combined with twist this does disc+/disc-.

Hugo



Top
#38349 - 16/09/2001 09:14 Re: gm steering wheel SG1 with radio module [Re: altman]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
Whew! Finally, i have the debug values for the button presses. Sorry it took so long, I came down with the crud and have been feeling pretty bad.

Interestingly, I had ctrl-c from the player to get this to work. When I used 'q', the tuner would power off and I would never get the serial dump. Here goes:

seek up 02 00 4c 4c
seek dn 02 00 5b 5b
preset 02 01 4c 4d
am/fm 02 00 af af

vol up 02 00 71 71
vol dn 02 00 85 85
play 02 00 18 18
mute 02 00 28 28


cheers, greg



Top
#38350 - 16/09/2001 11:10 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Interestingly, I had ctrl-c from the player to get this to work. When I used 'q', the tuner would power off and I would never get the serial dump.

Nice catch. Good job. Hugo, you get those numbers?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#38351 - 16/09/2001 13:17 Re: gm steering wheel SG1 with radio module [Re: tfabris]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
Ooop, forgot one thing. I don't know if this is needed or not, but just in case. On any button release, the values I got back were: 02 00 ff ff

greg



Top
#38352 - 17/09/2001 10:21 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Yep, these are the values I was after. I can confirm that v1.04 will make your buttons work (though they may not do what they're labelled - eg, your "play" button is actually "source" on a real stalk). Thanks for taking the time to get me the list.

email me on hugo@empeg.com and I'll send you a beta to try (~4MB email). Nothing is different apart from the remote tweaks.

Hugo



Top
#38353 - 17/09/2001 10:33 Re: gm steering wheel SG1 with radio module [Re: altman]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi Hugo.

Would you tell us which values (ranges of values) are translated to which buttons?
This might
a) Help some people debug their problems
b) lead to the development of other remotes and/or interfaces for other remotes

cu,
sven

proud MkII owner (12GB blue/green/smoked, was #080000113 is #090001010)
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#38354 - 17/09/2001 11:05 Re: gm steering wheel SG1 with radio module [Re: smu]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Basically:

back/front - 0x3a
middle - 0xaf
front/back - 0x9a
att - 0x2a
back track - 0x5a
forward track - 0x48
source - 0x16
vol back - 0x84 (preset back has shift on - the byte before the adc value)
vol forward - 0x6e (preset forward has shift on)

There is a range of something like +-2 on v1.03 and +-6 or 8 on v1.04 as I remember. The back/forward stuff gets swapped depending if the stalk is left/right mounted.

Hugo



Top
#38355 - 17/09/2001 11:20 Re: gm steering wheel SG1 with radio module [Re: altman]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
What analogue inputs do the reported numbers correspond to?

--
Toby Speight - 040103385
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#38356 - 17/09/2001 13:40 Re: gm steering wheel SG1 with radio module [Re: altman]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi Hugo,

I'm just trying to make sure I understood correctly how the stalk interface on the tuner module works.
The Tuner module translates the analog values it gets from the stalk remote into binary values (named as ADCx below). It then transmits those values to the empeg via the RxD line of the empeg's serial port (the one that is also available on its back/the serial connector of the sled). The format it uses to transmit the values simple: a four character string that consists of the following characters:
0x02 - indicates a command from the stalk interface
0x00 / 0x01 - indicates that the shift switch is off / on
ADC1 first sample read from the remote
ADC2 second sample read from the remote
Right?

cu,
sven

proud MkII owner (12GB blue/green/smoked, was #080000113 is #090001010)
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#38357 - 17/09/2001 16:23 Re: gm steering wheel SG1 with radio module [Re: altman]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
Whohooo!! I eagerly await the beta. I will finally be able to go to a previous track and turn my volume down! Although turning the volume down does happen very often with this so excellent unit ;-)

greg



Top
#38358 - 17/09/2001 16:28 Re: gm steering wheel SG1 with radio module [Re: gogee2000]
gogee2000
new poster

Registered: 21/09/2000
Posts: 40
Oooops on the previous post. That should be "the volume does NOT go down very often."

"Just play it loud, OK?" Adrian Cronan, Goodmorning Vietnam

greg



Top
#38359 - 18/09/2001 03:22 Re: gm steering wheel SG1 with radio module [Re: smu]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
No, the 4th byte is the checksum, from adding the data bytes in the packet. The tuner module already samples multiple times until the ADC value has stabilised before sending the packet.

Hugo



Top
#38360 - 18/09/2001 03:25 Re: gm steering wheel SG1 with radio module [Re: smu]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
I think that at least one detail is wrong: it uses another serial port (/dev/ttyS0, the one on the back is ttyS1). It is, IIRC, 'normal' serial port, only using ttl levels (i.e. lacking converters shifting 0/5V to +/-12V). So, tuner does not interfere with external serial port use.

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#38361 - 18/09/2001 03:25 Re: gm steering wheel SG1 with radio module [Re: tms13]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
It does depend on what voltage you use across the stick. We (and sony) use 5v through 22k to the tip of the stalk connector. This means, if the stick puts 22k from the tip to ground, the tip will be at 2.5v and you'll get 0x80 (ie, half) out of the ADC.

If you want to know the voltages, just do (outputvalue/255)*5.0. If you want to know the resistor values, do (resvalue/(resvalue+22000))*255=outputvalue

Hugo



Top
#38362 - 18/09/2001 03:31 Re: gm steering wheel SG1 with radio module [Re: bonzi]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
It's *inverted* serial TTL, as it gets buffered from 3.3v to 5v on the way out of the box.

Correct, it is another serial port and does not affect the standard serial on the unit.

Hugo



Top
#38363 - 18/09/2001 05:08 Re: gm steering wheel SG1 with radio module [Re: altman]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Hi.

I added a section on the stalk interface to my empeg tweaking page at http://www-new.incase.de/framed/empeg/, and hope that I got all the info in there right.

cu,
sven

proud MkII owner (12GB blue/green/smoked, was #080000113 is #090001010)
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
#38364 - 18/09/2001 05:47 Re: gm steering wheel SG1 with radio module [Re: altman]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Does that mean a Mk2 without tuner could be adapted for 2 serial ports?

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#38365 - 18/09/2001 05:51 Re: gm steering wheel SG1 with radio module [Re: Dearing]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
With the correct buffering, yes. Not sure what the player software would do, though; it may keep the port open even if a tuner is not found (as the tuner power is connected via amp remote, ISTR it polls the tuner every time the screen/amp remote is turned on).

Hugo



Top
Page 1 of 2 1 2 >