Your Universal Remote Control Center
RemoteCentral.com
RS-232 & IP Control Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Controlling Sony STR-DA3500ES via RS-232 using linux (Ubuntu) HTPC
This thread has 1 response. Displaying all posts.
Post 1 made on Sunday December 5, 2010 at 16:58
morge
Lurking Member
Joined:
Posts:
December 2010
2
I'm hoping you local RS-232 gurus can give me some pointers how to get my HTPC<->receiver setup working the way it should. My goal is to use HTPC to send on/off signals to receiver when suspending/resuming. Additionally I'd like to query receivers current input and if needed, switch to proper HDMI.

Some info: I've connected my Mythtv-running Ubuntu-based HTPC to Sony STR-DE3500ES AV-receiver using null-modem (female-female) serial cable. Receiver is set up to use serial port (installer mode or something like that it was called) and I can see some sort of communication going on as I run minicom from HTPC and switch receiver on and off. Minicom is set up to use proper settings (9600 baud, 8N1) but all the info coming from the receiver and shown on the minicom screen is garbled. I've tried echoing some of the Sony-specific commands found here to /dev/ttyS0 but receiver doesn't react to those in any way. I've tried to figure stty out to setup the serial interface to correct settings, but without any luck so far. Only way to see any communication to actually happening is to use minicom (so far).

Any tips how to debug this one?
OP | Post 2 made on Tuesday December 7, 2010 at 14:10
morge
Lurking Member
Joined:
Posts:
December 2010
2
Managed to solve this one out by my self using cutecom. Results:

POWER OFF: 02 04 A0 60 00 00 FC
POWER ON: 02 04 A0 60 00 01 FB

INPUT:
PHONO: 02 04 A0 42 00 01 19
SA-CD/CD: 02 04 A0 42 00 02 18
MD/TAPE: 02 04 A0 42 00 04 16
VIDEO 1: 02 04 A0 42 00 10 0A
VIDEO 2: 02 04 A0 42 00 11 09
SAT: 02 04 A0 42 00 16 04
DVD: 02 04 A0 42 00 19 01
MULTI-IN: 02 04 A0 42 00 20 FA
HDMI 1 (PS3): 02 04 A0 42 00 21 F9
HDMI 2 (HTPC): 02 04 A0 42 00 22 F8
HDMI 3: 02 04 A0 42 00 23 F7
HDMI 4: 02 04 A0 42 00 24 F6

Cutecom settings: 9600 8N1, Hex input, Char delay 1ms

Any idea how to use these from Linux command line? Echoing these to /dev/ttyS0 didn't do anything. Some form of binary translation perhaps?

Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse