<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[USB Serial in libertine container]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">new user here, I've just installed ubtouch on my Nexus 7 and I try to setup a development box with PlatformIO.</p>
<p dir="auto">For that I require usb serial ports, which register as <code>/dev/usbdev1.1</code></p>
<p dir="auto">What is the best way to get access to a serial port from within a container?</p>
<p dir="auto">I've tried adding this to <code>/etc/lxc/default.conf</code> (after issuing <code>sudo mount -o remount,rw /</code><img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title="):" alt="😞" /></p>
<pre><code>lxc.mount.entry = /dev/bus/usb dev/bus/usb  none bind,optional,create=dir 0 0

lxc.cgroup.devices.allow = c 189:* rwm
lxc.mount.entry = /dev/usbdev1.1 dev/usbdev1.1 none bind,optional,create=file 0 0
lxc.mount.entry = /dev/usbdev1.2 dev/usbdev1.2 none bind,optional,create=file 0 0
</code></pre>
<p dir="auto">That seems to work, but I need to manually <code>chmod 666</code> the device files.</p>
<p dir="auto">To automate that, I've tried to add a script that chmods...</p>
<pre><code>sudo echo "/sbin/hotplug" &gt; /proc/sys/kernel/hotplug
-bash: /proc/sys/kernel/hotplug: Permission denied
</code></pre>
<p dir="auto">but that does not work.</p>
<p dir="auto">Probably I'd need a user-serial kernel module, but I presume that would not work with the released kernel?<br />
Any advise hot to set that up properly?</p>
<p dir="auto">Thanks</p>
<p dir="auto">pit</p>
]]></description><link>https://forums.ubports.com/topic/4082/usb-serial-in-libertine-container</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 22:23:19 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/4082.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Apr 2020 10:04:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to USB Serial in libertine container on Fri, 06 Nov 2020 14:37:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm pretty sure the kernel is lacking the FTDI or whatever usb-serial driver your peripheral needs.</p>
]]></description><link>https://forums.ubports.com/post/42392</link><guid isPermaLink="true">https://forums.ubports.com/post/42392</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Fri, 06 Nov 2020 14:37:29 GMT</pubDate></item><item><title><![CDATA[Reply to USB Serial in libertine container on Fri, 06 Nov 2020 11:28:44 GMT]]></title><description><![CDATA[<p dir="auto">Reviving this: Anyone's got any input to this? Still have not found a solution. Thanks!</p>
]]></description><link>https://forums.ubports.com/post/42386</link><guid isPermaLink="true">https://forums.ubports.com/post/42386</guid><dc:creator><![CDATA[0xPIT]]></dc:creator><pubDate>Fri, 06 Nov 2020 11:28:44 GMT</pubDate></item></channel></rss>