USB Powerlinc (v1) and extended codes

View: New views
1 Messages — Rating Filter:   Alert me  

USB Powerlinc (v1) and extended codes

by pg gbls :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

Resending this since I sent it with the wrong orig.
address the first time:

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




 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wish-info mailing list
wish-info@...
https://lists.sourceforge.net/lists/listinfo/wish-info
LightInTheBox - Buy quality products at wholesale price