Home assistant running in a Jail usb passthrough

Jonus3000

Cadet
Joined
May 16, 2013
Messages
8
Running HA and it is setup but a zigbee/skyconnect stick is not showing up HA jail can see the USB but can not seem to pass it to be seen as the /dev/cuaU0 device

any help would be great , getting lost in the weed of posts
 
Joined
Mar 16, 2017
Messages
7
Hi @Jonus3000,

Here's how to make USB available in jails:
Code:
# What is the jail name?
jail="FreeBSD"

# Stop the jail.
iocage stop ${jail}

# Set jail properties.
iocage set allow_mount=1 ${jail}
iocage set allow_mount_devfs=1 ${jail}
iocage set allow_mount_procfs=1 ${jail}
iocage set devfs_ruleset=0 ${jail}
iocage set mount_devfs=1 ${jail}
iocage set mount_fdescfs=1 ${jail}
iocage set securelevel=0 ${jail}

# Start the jail.
iocage start ${jail}

# Login to the jail.
iocage console ${jail}

# List USB devices in the jail.
usbconfig list


HTH,
Daniel
 

Jonus3000

Cadet
Joined
May 16, 2013
Messages
8
Thank this has helped but can not get HA yo detect the usb it is shown in the list but HA can not see it
 
Top