LinHES Forums
http://forum.linhes.org/

recstat and R6
http://forum.linhes.org/viewtopic.php?f=21&t=20797
Page 1 of 1

Author:  jimdoc [ Sat Jan 23, 2010 11:14 am ]
Post subject:  recstat and R6

OOPS, originally posted this in the Knoppmyth section.


Last week I did a clean install (was running R5.5) of R6.
So far so good. Working great.
The only thing I'm missing is recstat (LED encoder status).

I believe that it was included in R5.5 but needed to be enabled.
Is it installed with R6? If so, how do I enable it?
If not, what is needed? I've got the original recstat script (code can also be found elsewhere in this forum).
I also remember needing to install serial port files (pyserial) to get it working. Is this installed?

Author:  cecil [ Mon Feb 22, 2010 1:12 am ]
Post subject: 

I cannot seem to remember implement this for KnoppMyth. Provide details and open a ticket in Flyspray.

Author:  jimdoc [ Sun Feb 28, 2010 7:39 pm ]
Post subject: 

I posted a feature request on flyspray.

The original post about recstat can be found here....
http://knoppmyth.net/phpBB2/viewtopic.php?t=12786

Author:  Martian [ Mon Mar 01, 2010 9:20 am ]
Post subject: 

I did a search for "recstat" in the Arch repos and the AUR and came up blank in both.

Martian

Author:  mattbatt [ Wed Sep 01, 2010 11:36 pm ]
Post subject: 

were you looking for this?
http://www.mythtv.org/wiki/Using_System ... ing_Status

Author:  nbdwt73 [ Fri Sep 03, 2010 2:00 pm ]
Post subject: 

I have been trying to get this to work under Arch for awhile - not to control lights but to programmatically control external USB drives for automated backups (see http://linux.die.net/man/1/pport ). I have had this working before (Knoppmyth releases) but cannot get it to work here. The scripts run (altered to simply set pin to high or low (12 V+ or 12 V-)) but the pin states do not change (I suspect pyserial is not really working but I do not know how to confirm). Does anybody have this working (lights or otherwise)?

    To turn off...
    #!/usr/bin/python

    import commands
    import serial,time

    #Open COM1
    s = serial.Serial(0)
    #Turn off all pins
    s.setRTS(0)
    s.setDTR(0)

    To turn on
    #!/usr/bin/python

    import commands
    import serial,time

    #Open COM1
    s = serial.Serial(0)
    #Turn of all pins
    s.setRTS(1)
    s.setDTR(1)


Oh, you do have to install pyserial but it is simple - go to http://pyserial.sourceforge.net/pyseria ... stallation

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/