[PLUG] Setting serial parameters

Denis Heidtmann denish at dslnorthwest.net
Wed Apr 30 20:44:33 UTC 2008


Denis Heidtmann wrote:
> Wil Cooley wrote:
>> On Sat, 2008-04-26 at 18:25 -0700, Denis Heidtmann wrote:
>>
>>> The docs for my program mention the symlink to set the serial port, as well as 
>>> setting an environment variable X10_PORTNAME.  I chose the latter.  But here is 
>>> what I get with various settings:
>>>
>>>
>>> parents at R2D2:~$ X10_PORTNAME=/dev/ttys0
>>> parents at R2D2:~$ x10 -t
>>> Could not access serial port /dev/ttys0
>>> Please set environment variable X10_PORTNAME to proper serial device
>>> or else make the appropriate soft link as superuser.
>> You have to export the environment variable for processes other than the
>> current shell to see it:
>>
>> $ X10_PORTNAME=/dev/ttyS0
>> $ export X10_PORTNAME
>>
>> or just:
>>
>> $ export X10_PORTNAME=/dev/ttyS0
>>
>> Wil
> 
> Still nothing.  I am going to try a windows program just in case my memory of 
> x10 working last year is faulty.
> 
> -Denis

Well, it turns out the problem IS in the Linux program (or the system).  I was 
able to communicate with the CP290 from the Windows program.  The windows 
program is also called X10 (no surprise) v. 1.31 by D. Huras.

I would still like to get Linux to do this job.

-Denis



More information about the PLUG mailing list