UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. 0xPIT
    0
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Groups 0

    0xPIT

    @0xPIT

    3
    Reputation
    3
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    0xPIT Unfollow Follow

    Best posts made by 0xPIT

    • USB Serial in libertine container

      Hi there,

      new user here, I've just installed ubtouch on my Nexus 7 and I try to setup a development box with PlatformIO.

      For that I require usb serial ports, which register as /dev/usbdev1.1

      What is the best way to get access to a serial port from within a container?

      I've tried adding this to /etc/lxc/default.conf (after issuing sudo mount -o remount,rw /😞

      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
      

      That seems to work, but I need to manually chmod 666 the device files.

      To automate that, I've tried to add a script that chmods...

      sudo echo "/sbin/hotplug" > /proc/sys/kernel/hotplug
      -bash: /proc/sys/kernel/hotplug: Permission denied
      

      but that does not work.

      Probably I'd need a user-serial kernel module, but I presume that would not work with the released kernel?
      Any advise hot to set that up properly?

      Thanks

      pit

      posted in Support
      0
      0xPIT
    • Alternative MT8163B tablets?

      Hi,

      as the BQ M10 tablets are quite hard to come by:
      has anyone tried to run the BQ10 port on a different tablet with the same MT8163B chipset?

      Cheers

      pit

      posted in Off topic
      0
      0xPIT

    Latest posts made by 0xPIT

    • RE: USB Serial in libertine container

      Reviving this: Anyone's got any input to this? Still have not found a solution. Thanks!

      posted in Support
      0
      0xPIT
    • RE: Delete unapplied update

      @Flohack thanks for clarifying!

      posted in Support
      0
      0xPIT
    • RE: OTA-12 Is Coming And We Need Your Help!

      @AppLee yep thanks. looked everywhere, there are no big files anywhere to be found. so maybe it's gone. Bueno.

      posted in News
      0
      0xPIT
    • RE: Delete unapplied update

      @Giiba said in Delete unapplied update:

      I've had that happen, and deleting the cache of the settings app using UT Tweak Tool has always solved the problem. I cannot say if the files are removed but I am not running out of space...

      The cache of the Settings App is just 4MB, but the downloaded update is much larger. I really want to get rid of it and also free the disk space.

      Deleted the cache anyways, the update is gone now. Thanks!
      I wonder if it's still on disk...

      posted in Support
      0
      0xPIT
    • RE: OTA-12 Is Coming And We Need Your Help!

      @Rondarius said in OTA-12 Is Coming And We Need Your Help!:

      @0xPIT swipe the update to the right, a trashcan is shown, press it and it is hopefully gone.

      Thanks.
      This works for e.g. "Recent updates", but not for "Updates Available" - those can't be swiped -> bug?

      posted in News
      0
      0xPIT
    • RE: OTA-12 Is Coming And We Need Your Help!

      @AppLee thaks man!

      posted in News
      0
      0xPIT
    • RE: OTA-12 Is Coming And We Need Your Help!

      @AppLee yep, DL was quick, but update got stuck on the boot screen for 10s of minutes. I had to force a reboot and everything seems to be fine now.

      However, the automatic download for version 304 of the non-RC channel is still downloaded and ready to install in Sys Settings -> Updates.

      How can I get rid of that?
      Where does the updater store the downloads?

      Thanks

      pit

      posted in News
      0
      0xPIT
    • RE: OTA-12 Is Coming And We Need Your Help!

      How long should the update take on a Nexus 7?

      posted in News
      0
      0xPIT
    • Alternative MT8163B tablets?

      Hi,

      as the BQ M10 tablets are quite hard to come by:
      has anyone tried to run the BQ10 port on a different tablet with the same MT8163B chipset?

      Cheers

      pit

      posted in Off topic
      0
      0xPIT
    • USB Serial in libertine container

      Hi there,

      new user here, I've just installed ubtouch on my Nexus 7 and I try to setup a development box with PlatformIO.

      For that I require usb serial ports, which register as /dev/usbdev1.1

      What is the best way to get access to a serial port from within a container?

      I've tried adding this to /etc/lxc/default.conf (after issuing sudo mount -o remount,rw /😞

      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
      

      That seems to work, but I need to manually chmod 666 the device files.

      To automate that, I've tried to add a script that chmods...

      sudo echo "/sbin/hotplug" > /proc/sys/kernel/hotplug
      -bash: /proc/sys/kernel/hotplug: Permission denied
      

      but that does not work.

      Probably I'd need a user-serial kernel module, but I presume that would not work with the released kernel?
      Any advise hot to set that up properly?

      Thanks

      pit

      posted in Support
      0
      0xPIT