thanks for the advice but I'm not very skilled in linux, so eacess or eperm don't ring a bell.<div>Before I used an OpenZV container and that worked fine. Unfortunately Proxmox decided to switch to lxc........</div><div><br></div><div><br><br>Op di, 13 okt 2015 om 3:55 , schreef Serge Hallyn <serge.hallyn@ubuntu.com>:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Don't know anything about it, but I'd try stracing the software
to see whether there are any EACESS or EPERMs or whether there
are any other paths under /dev or /sys which get ENOENT and
should be bind-mounted in.
Quoting JPS (<a href="mailto:mailbox@jsierink.nl">mailbox@jsierink.nl</a>):
<blockquote> I have a rfxcom 433 mHz transceiver (<a href="http://www.rfxcom.com/epages/78165469.sf/nl_NL/?ObjectPath=/Shops/78165469/Products/14103">http://www.rfxcom.com/epages/78165469.sf/nl_NL/?ObjectPath=/Shops/78165469/Products/14103</a>).
It is connected via usb and controls some domotica switches on the
433mHz frequency.
In the domotica software is shows up as serial device on /dev/ttyUSB0
I can't get it to work properly in a lxc container running debian
jessie.
I added this to the lxc.conf, but with no luck:
lxc.cgroup.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/002 dev/bus/usb/002 none
bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
Then i gave following command on the host (debian jessie):
lxc-device add -n 112 /dev/ttyUSB0 /dev/ttyUSB0
Now the device shows up in the lxc container, but now the domotica
software can only transmit signals, not receive.
On the host:
root@server:~# lsusb
Bus 002 Device 005: ID 0403:6001 Future Technology Devices
International, Ltd FT232 USB-Serial (UART) ICroot@proxmox:~# ls -l
root@server:~/dev/bus/usb/002/005
crw-rw-r-- 1 root root 189, 132 Oct 10 14:09 /dev/bus/usb/002/005
Any idea how to solve this?
Regards, Jasper
</blockquote>
<blockquote> _______________________________________________
lxc-users mailing list
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</blockquote>
_______________________________________________
lxc-users mailing list
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></div></blockquote></div>