Scott Hiles
2007-07-01 12:00:50 UTC
Ardi,
Somehow this message was stuck in queue and I never approved it. I was just
checking through status of things and happened upon it.
I have been very inactive in development since I broke my back this year.
Just getting back into the swing of things now.
Anyhow, if you would like to contribute your code to the drivers, the
community would be very happy to have it and could probably improve on it.
Join the mailing list and apply to be a developer on the project and I will
add you to the project for you to make your changes.
As for the decoder...I know that the logic in the status mechanism is
difficult, but it all based on trying to queue things between the dev driver
and the usermode application. It isn't until the usermode application that
any translation is done and the raw data is spit into the status queue. The
x10log program decodes the raw messages into readable information.
Scott
-----Original Message-----
From: Ardian Dhrimaj [mailto:***@nc.rr.com]
Sent: Monday, May 07, 2007 9:05 PM
To: wish-***@lists.sourceforge.net
Subject: USB Powerlinc (V1) extended codes
Hi folks,
I have modified the 2.x drivers for the USB Powerlinc (I have an 1132U)
to add limited support for extended code commands (ext code 1 - for data
/control; NOT extended data). I'd like to submit the changes for
review/testing but am new to sourceforge in general and have no idea how.
I only have a couple of LM14s (2 way lamp dimmers by X10) and that is
all I could test with. The changes allow the user to send an extended
command directly to a unit address:
$ echo EXT 3F31 > /dev/x10/a1
where 3f is the data byte, 3 is the command type, and 1 is the extended
command itself. The data format is spelled out at
ftp://ftp.x10.com/pub/manuals/xtc798.doc. The command above for example,
means "Turn on immediate at 100% brightness".
I did this because I use the extended commands to setup a lamp as a
morning alarm. Turn on at minimum brightness no matter what the previous
state, then ramp up slowly to max.
I also implemented a decoder for extended code responses, but have only
tested this with the above mentioned LM14s. Also, given the way the WISH
drivers currently work, I have no idea how to report that status back to
user mode applications - it just generates some prints to /var/log/messages.
My work is based on Ubuntu Feisty.
/br,
Ardi
Somehow this message was stuck in queue and I never approved it. I was just
checking through status of things and happened upon it.
I have been very inactive in development since I broke my back this year.
Just getting back into the swing of things now.
Anyhow, if you would like to contribute your code to the drivers, the
community would be very happy to have it and could probably improve on it.
Join the mailing list and apply to be a developer on the project and I will
add you to the project for you to make your changes.
As for the decoder...I know that the logic in the status mechanism is
difficult, but it all based on trying to queue things between the dev driver
and the usermode application. It isn't until the usermode application that
any translation is done and the raw data is spit into the status queue. The
x10log program decodes the raw messages into readable information.
Scott
-----Original Message-----
From: Ardian Dhrimaj [mailto:***@nc.rr.com]
Sent: Monday, May 07, 2007 9:05 PM
To: wish-***@lists.sourceforge.net
Subject: USB Powerlinc (V1) extended codes
Hi folks,
I have modified the 2.x drivers for the USB Powerlinc (I have an 1132U)
to add limited support for extended code commands (ext code 1 - for data
/control; NOT extended data). I'd like to submit the changes for
review/testing but am new to sourceforge in general and have no idea how.
I only have a couple of LM14s (2 way lamp dimmers by X10) and that is
all I could test with. The changes allow the user to send an extended
command directly to a unit address:
$ echo EXT 3F31 > /dev/x10/a1
where 3f is the data byte, 3 is the command type, and 1 is the extended
command itself. The data format is spelled out at
ftp://ftp.x10.com/pub/manuals/xtc798.doc. The command above for example,
means "Turn on immediate at 100% brightness".
I did this because I use the extended commands to setup a lamp as a
morning alarm. Turn on at minimum brightness no matter what the previous
state, then ramp up slowly to max.
I also implemented a decoder for extended code responses, but have only
tested this with the above mentioned LM14s. Also, given the way the WISH
drivers currently work, I have no idea how to report that status back to
user mode applications - it just generates some prints to /var/log/messages.
My work is based on Ubuntu Feisty.
/br,
Ardi