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

    jumbs

    @jumbs

    0
    Reputation
    138
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jumbs Unfollow Follow

    Latest posts made by jumbs

    • RE: Use USB as serial port on OPO

      Hi,

      @Doniks, Thanks.
      Indeed, I also get the response: 'config_modules is not set'.

      Do I understand correctly, that compiling a Kernel with the required driver linked into the Kernel, means, compiling on seperate computer starting from source code, and loading a new ROM on the OPO? Or can this still be done in some way within the existing ROM ...

      kind regards,
      Jumbs

      posted in Support
      J
      jumbs
    • Use USB as serial port on OPO

      Hi,

      Hope someone can help me with following?

      I'm trying to use my OnePlus One phone as linux server, with the aim to use the USB interface as serial port to control an i2c bus.

      I'm not sure if this is feasible at all, or that I'm here facing intrinsic limitations of running ubuntu on an 'android' phone .. Please your feedback.

      So far I did the following:

      • rooted the phone and installed Ubuntu via theUBPorts installation.
      • created a chroot using the procedure in below link:
        https://accu.org/index.php/journals/2158
      • In the chroot I could succesfully install programs in the expected manner with apt-get install ...; Python2.7 and pyserial are working.
      • When I connect the USB-I2C device I can see the device with lsusb
      • However, no ttyUSBx is created. Reading some posts on the internet, I think, for that the ftdi-sio module (usb driver) needs to be loaded in the kernel.
      • Further reading shows that one can enable that module with:
        modprobe ftdi_sio vendor=0x0403 product=0x6001
      • Then I get the error that proc/modules does not exist. Indeed I cannot find such directory and files in the chroot, nor in the regular file system.

      Questions:

      • Why cant I find the proc/modules ? Are the loaded kernel modules listed in another directory ?
      • Can I use commands like lsmod, insmod, modprobe etc ?
      • How to enable the ftdi-sio module ?

      Thanks,
      Jumbs

      posted in Support
      J
      jumbs