I do not believe you can do a device passthrough in a proxmox container. 
Proxmox uses LXC containers which do not have the ability to pass a device 
through. 

By default, USB will not passthrough to VMs in proxmox, you need to assign 
the USB device or port in your VM configuration in order for the VM to use 
it.

I recommend the following steps which I was able to do with Proxmox v7 and 
a Acurite 6037 console (Chaney instruments):

1. Create a VM in Proxmox. For my setup, I used ubuntu 20.04.03
2. I went on the shell of the proxmox host and ran lsusb. I looked for my 
weather station (eg Acurite) and recorded the usb address.
3. Started the VM and installed the O/S.
4. Stopped the VM and went under options and added new USB hardware. In 
Proxmox I selected the same weather station address and set it to 
passthrough.
5. started the VM and entered in the VM shell lsusb. I verified that my 
station was available.


On Wednesday, September 15, 2021 at 5:19:34 AM UTC-4 
1.spee...@googlemail.com wrote:

> Hello,
>
> I would like to install weewx in an Ubuntu Linux container under Proxmox. 
> The installation worked. Now I would like to set up the driver for the 
> TE923 station.
> If I connect the station to a normal Linux PC, weewx can read out the 
> station. This is not yet possible with the Linux container. To do this, I 
> have to forward the USB device from the server to the container.
>
> But I have not yet understood how the driver can find the station via USB. 
> Which device do I have to forward to the container?
>
> Can someone explain to me how the driver finds the station under Linux?

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b9867df7-2258-4528-a986-ecb9fd2002b2n%40googlegroups.com.

Reply via email to