-
Notifications
You must be signed in to change notification settings - Fork 19
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
Windows 10 support #13
Comments
I will try to take a look. I only have Windows 10 in a VM, though. Did you build concordance yourself, or are you using the provided binaries? |
I'm using the provided 1.2 binary from SourceForge. |
I can't reproduce the issue. I tried a couple of remotes and I was able to run The only thing I can think of is that there is a problem with hidapi on Windows 10. They have made one fix in that area. I built a new copy of hidapi from latest git - do you mind trying it? Just unzip and |
Thanks for looking into the issue. The newer In fact I noticed that the Windows driver dialog doesn't seem to play any role at all. The problem seems to be related to time(outs?). If I keep spamming |
No, I cannot reproduce that. That is starting to sound maybe like a USB power management issue. Can you check and see if you can turn off USB power management for the Harmony device and see if that changes things? |
No dice, it still behaves as previously. I turned off the "Allow the computer to turn off this device to save power" for the "USB Input Device". The "HID-compliant vendor-defined device" does not seem to have a power management tab. As far as I know, there are no other entries related to the remote in device manager. |
I tested the remote on another laptop (Windows 10 x64 version 1703 build 15063.483 also), two different cables and another remote (the same model, Harmony 885) and they all yield the same results. I also tested the remote in a VM, Windows 10 x86 version 1703 build 15063.483 in VirtualBox 5.1.22 on the very same Windows 10 host where the lockup occurs.. And it works without any hiccups. I also downloaded Windows 10 x64 version 1703 build 15063.0 from here and it seems to work fine also. So, the issue seems to exhibit only on bare metal Windows 10 installation. Any thoughts? |
Unfortunately, I don't have a bare metal Windows 10 machine to try to reproduce myself. Can you run a debug build of concordance and provide the output from that? |
Sorry for late reply, I was travelling. Sure, do you have prebuilt binaries somewhere or do I need to setup an environment? I'd prefer the former if possible. |
Yeah, I can build you some debug binaries. |
Here's an installer for a debug version: |
Thanks. Okay, here's an output I got when I ran concordance instantly after connecting the remote:
And here's one after letting 15 seconds pass:
(Ctrl-C at this point) Doesn't seem to be much help, are there any hidden switches I should toggle or how else I could help more? |
Yeah, I was hoping that would be more helpful. Unfortunately, it doesn't help much. I'm a bit at a loss at the moment. My next step would probably be to put a USB analyzer in place and take a look at the packets. I don't suppose you have a USB analyzer, do you? :-) You could try some of the software-based USB capture tools for Windows. Unfortunately, they are not very good, or weren't at least the last time I tried them. Also, have you tried the official software? Does it have any sort of problems on this system? |
Good point about testing the official application. I have some mixed results with it:
I seem to be able to capture USB traffic using Wireshark and USBPcap, but I didn't notice any keep-alives when the official software is running. I'm a little puzzled, it seems that the original software does something, but not keep-alives. I also wonder why the VM works without the official software. I'll send you some USB captures along with their descriptions to you over email I found from your recent commits in a bit as I do not want to post them here publicly if they contain any personal information. You should be able to open them on any OS with Wireshark 2. I think the email is correct, but just in case please let me know if you didn't receive them. Now there's at least a little better workaround than just being quick. Feel free to close this issue when you think we've hit a dead end. Thank you for taking your time with this! PS. The official application does sit in the taskbar when closed if I do not exit it explicity from the taskbar. |
I got the captures - thanks! They are interesting. Can you please perform one more capture without the official software running where you perform two sequential runs of |
Sure thing! Let me capture one right now and I'll email you it in a bit. |
Thanks for the new capture. So a few thoughts:
|
|
Sure enough, when the official software is running, that SET_IDLE request doesn't seem to come. So, it seems like that must be relevant. I don't know whether that SET_IDLE request causes the device to go offline, or whether that's just a side effect of something else that's happening that causes the device to go offline. |
I see. If I understand correctly, initially One way to ease this would be to add a Another interesting fact seems to be that if I close the official software and run Concordance after a while, Anyway, I'll be travelling for a week or so, talk to you later. Thank you for taking your time with this! EDIT: the real fix is of course that there is no |
FYI, there seems to be some magic dance involved with Windows 10 and Concordance:
concordance.exe -v -i
works fineconcordance.exe -v -c test.EZHex
), concordance just freezes until I unplug my remote when it fails with:^C
, even the-i
command won't work anymore, nothing just happensUSB Input Device
and/orHID-compliant vendor-defined device
withVID_046D&PID_C110
) from the Device Manager and everything goes to the initial state before theSetting up device
promptUSB CONNECTED
and Windows has not configured the device yet, everything works including flashingSo, it seems there's something funky going on with Windows and USB.
Thank you for your work!
The text was updated successfully, but these errors were encountered: