-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to specify device to go on or off #1
Comments
Sorry it took me so long to get back to you. How did you compile this? What distribution are you using (Centos, Mint, Unbuntu, Debian, etc). When I compile this under debian I have no issues with the latest code (I did a git clone of this repos) |
Oh, I should read a bit more ;-) I added a few fprintf's to my copy of the code and I see this: $ ./br -c C -f 1,2,3 -vvv That looks pretty close |
any chance I get a copy of your changes to compare them? |
On 11/07/2016 08:27 PM, IAmTheRealGoof wrote:
Pretty much it's the most recent code posted to github and these changes: $ git status
Untracked files:
no changes added to commit (use "git add" and/or "git commit -a") $ git diff br.c
$ git diff br_cmd.c
Linux Home Automation Neil Cherry ncherry@linuxha.com |
Same problem here, testing on raspberry pi. |
I got it working by reverting to version 0.04c |
Weird, not sure why this would cause an issue. Unfortunately I no longer have any X10 in my house so I am no long able to test this. :( |
It works fine for specifying all devices
$ sudo /usr/local/bin/br -c C --ON
but not when specifying them
And more strangeness if I use -n=1 or -f=1 it act like its working, but doesn't
but telling it multiple devices doesnt
I'm no programmer, havent touched c in about 20 years, but am looking through br_cmd_engine.c , and having it print dev, it's zero.
Oh, and on centos 7.2 on raspberry pi 2 b. and gcc 4.8.5
The text was updated successfully, but these errors were encountered: