-
Trying to passthrough SkyConnect and Sonoff 3.0 CC2652P + CP2102N to HA at the same time
Hi, I'm new to unraid and home server stuff in general. I've recently bought a Beelink s12 pro, played around a bit with Dockers and now tried setting up Home Assistant in a VM. For that I bought a SkyConnect and a Sonoff 3.0. The idea was to use the SkyConnect to handle Thread devices and the Sonoff for Zigbee devices since using Multiprotocol is not recommended. Using the SkyConnect alone worked fine, Unraid recognized it and passed it through to the VM. Once I connected the Sonoff however, it didn't work anymore. In the VM Settings I is now only one Device called: Silicon Labs CP210x UART Bridge instead of the two I was expecting. Grok is telling me this is because they have the same VID:PID (10c4:ea60), which might be because they both utilize a Silicon Labs CP210x USB-to-UART bridge chip. What I haven't tried yet (and want to know if it would even be a possible fix) Searching for and buying a new Zigbee dongle with a different VID:PID so that all the crap I tried isn't needed. Do they even exist though? Completely resetting Unraid to see if there was something corrupting something. What I tried (with help from Grok) Passing through the devices by Serial Number 1. USB Manager doesn't fix the problem I have tried with pretty much every possible combination of settings Not sure if this is relevant, but I noticed the setting "Connect as Serial Guest Port Number" keeps getting reset to 04 (and isn't in the USB Manager config file unlike all the other settings) With everything set up SkyConnect is (sometimes) showing as Connected(Serial), but not listed in Home Assistant Hardware Sonoff gets a Virsh Error in the USB Manager GUI from which I can only read "Error: Failed to attach device from /tmp/libvi.." before it's cut off by the screen. (and is also not listed in Home Assistant) 2. Editing the XML in unRAID GUI with: <hostdev mode='subsystem' type='usb' managed='yes'> <source> <serial>a6242bc8ad39ef11811957f454516304</serial> </source> <alias name='skyconnect'/> </hostdev> and similar for the Sonoff stick (and a Bluetooth dongle which I didn't need to use Serial Numbers for and was passed through fine) gets me the error: XML error: Hostdev already exists in the domain configuration -> Grok tells me the XML is fine and told me to delete some files that may have some configurations causing this error, but the error persists 3. Edit XML in with virsh edit "..." Same result. 4. Edit XML with nano Saves, can't define though. Same Error there. -> tried to virsh undefine "..." and then defining again, but that didn't help either. 5. Setting up a VM not toughing the GUI and just creating a xml file from scratch. Same Error again. I've tried to resolve this for hours upon hours of checking, changing, deleting and creating files and settings while being told "Great, now we're one step closer to figuring out this problem" in every conceivable way and really don't know what else to try. Does anyone have an idea what might help? I can't imagine there aren't people who got this same setup running. Edit: I am now trying to add the devices using their usb ports instead. I initially thought this was using "BUS001 DEVICE00X", saw the device number shifting after each reboot and thought this was not a viable way of assigning them. I'll check if using port numbers instead will let me update the XML without an error. Solution (somewhat) Edit2: Using ports didn't work. Another XML Error telling me I need to specify a device = 'XXX'. So I just gave up and did that. Using BUS = XXX Device = XXX works, and after rebooting a few times the device numbers seemed to stick, but I don't have anything else plugged in right now and who knows what happens if a device disconnects and reconnects for some reason. Grok is telling me to create an udev rule to lock device numbers based on serials, only to say that that isn't possible, but at least it is working for now. Seems like I'm going to have to be careful connecting other usb devices. What a pain lol. At least I learned a lot. (If somehow knows how to get the VM running using serial numbers I'm still all ear.)
DBeel
Members
-
Joined
-
Last visited