LinuxMCE Forums
May 19, 2013, 02:25:32 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: chomoflex issue  (Read 458 times)
love2xlr8
Newbie
*
Posts: 4


View Profile
« on: August 13, 2012, 11:46:54 am »

Need some help with figuring out why MCE won't send commands to my chromoflex.

Code:
root@moon165:/home/ivo# ls -l /dev/ttyS1           
crw-rw---- 1 root dialout 4, 65 Aug 13 12:32 /dev/ttyS1

root@moon165:/home/ivo# ls -l /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Aug 13 12:31 /dev/ttyS0

did a test:

Code:
root@moon165:/home/ivo# echo "testing" > /dev/ttyS0

result is correct on the other end

did an other one

Code:
root@moon165:/home/ivo# echo "testing" > /dev/ttyS1

no result on the other end It just takes real long to finish

tested the chromoflex with same cable from win7 works fine

I would realy like to get it working from ttyS1 as this is an internal port but ttyS0 is also ok for now till I get MCE to controll it

Any ideas?
Logged
love2xlr8
Newbie
*
Posts: 4


View Profile
« Reply #1 on: August 13, 2012, 07:15:03 pm »

also did a tail /dev/ttyS0 while sending a command to the chromoflex from the admin page... no result
Logged
love2xlr8
Newbie
*
Posts: 4


View Profile
« Reply #2 on: August 13, 2012, 08:18:02 pm »

ok ruled out the comport.
I connected a usb->rs232 it got installed fine (it has rx and tx leds)
after installing the automatic detection script started running and I saw the tx leds light up as they should.
afterwards I tried resending the on/of commands from the admin page and nothing. it just isn't sending the commands.
I gues there are some people that have a chromoflex. can anyone share some info on how to set it up correctly?
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #3 on: August 14, 2012, 12:48:59 am »

This is a bit of a specialized request. You might give the gurus a minute to find it...

You might actually have more success dropping into #linuxmce on freenode.
Logged

I never quit... I just ping out.
love2xlr8
Newbie
*
Posts: 4


View Profile
« Reply #4 on: August 14, 2012, 12:47:18 pm »

Ok at least I got it working now.
got a hold of possy on IRC and he helpt me out to get it started.

here is what I did:
check if the com is working correctly.
install the chromoflex package manualy because there is only rx on the chromoflex so no autodetection possible.
removed the non working device
rebooted the md
added a new chomoflex
set the baudrate to B9600
tested it.

only thing I want to do is to be able to have the moodlight effects back and be able to turn it on and of with a switch connected to t-wires
anyone have an idea on how to do that.

I think the chromo  off command doesn't work as it should, but I have to talk to hari about that.
opening a new topic on that in the user section

« Last Edit: August 14, 2012, 01:39:44 pm by love2xlr8 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!