Sean Cross
Sean Cross
Here's the HWID for COM9, which shows up as Interface 0:  Similarly, here's COM8, which shows up as Interface 2:  On the Mac, they show up as Interface...
I think what's going on is that the Mac is reporting the CDC Data interface, whereas Linux and Windows are reporting the Communcations interface. So it's fundamentally different information. It...
For the record, the issue is in fact that the serial port is listed under the `AppleUSBACMData` node rather than the lowest-numbered descriptor, which is what the spec says it...
Here's the entire output from the Black Magic device: ``` | | | +-o AppleT8122USBXHCI@00000000 | | | | | { | | | | | "IOClass" = "AppleT8122USBXHCI" |...
pySerial doesn't report interface numbers: ```python from serial.tools import list_ports if __name__ == '__main__': for port in list_ports.comports(include_links=False): print(f"Port: {port.name} Interface: {port.interface}") ``` Windows: ``` Port: COM9 Interface: None Port:...
Ah okay, I found it. From https://www.usb.org/sites/default/files/iadclasscode_r10.pdf on the very last page: > The value in the bInterfaceCount field must include all of the interfaces in the intended set. For...
After thinking about it a bit more, it may just be that the answer is that the `Interface` can be either one of them, so users of the `serialport-rs` library...
Alright, I added a note. Again, I'm not even sure if macOs is in the wrong here. I do know it's different, but maybe it is the case where both...
My solution so far has been to add a fake key above the node in question called "comment" with a value that's the acutal comment content. It seems to do...
Isn't it the case where `bool` types will set the value to `true` if they exist? If so, it shouldn't matter whether the value is `1`, `true`, or something else....