• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. roberts_lando
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 25
    • Posts 67
    • Best 2
    • Controversial 1
    • Groups 0

    Posts made by roberts_lando

    • `cdc_acm` driver not present

      I need to connect an Aeotec Z-stick gen 5 (USB stick for zwave) but it is not recognized by my unipi G-110. Here is the output that confirms the kernel module needed is not present. Could someone help me with this?

      root@G110-sn597:/home/unipi# lsmod | grep cdc_acm
      root@G110-sn597:/home/unipi# modprobe cdc-acm
      modprobe: FATAL: Module cdc-acm not found in directory /lib/modules/5.10.77
      
      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • RE: Patron stucked after some hours

      @Martin-Kudláček After the upgrade with latest firmware the stucked problem is solved but now RS485 ports are no longer working and keep return timeout error.

      Any updates?

      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • RE: Patron stucked after some hours

      @administrators

      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • Patron stucked after some hours

      Hi everyone. I have many Patron units out there, seems that after some hours or at most a day they gets stuck. I have checked the RAM/CPU usage, network status, I/O status and I cannot identify the root cause of the problem. Does anyone know what could be the root cause of this?

      When I say stuck I mean I cannot connect it via ssh or webserver, before getting completely stucked it starts becoming slow. Suggestions?

      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • RE: Bugs In Latest Axons

      @PhilesG The steps (if done correctly) only resize the partition so no data is lost. BTW is something goes wrong it could. I know @Martin-Kudláček also proposed me to create a script to automatically fix the partition problem, I think that would be the safer way

      posted in Ubuntu Core
      roberts_lando
      roberts_lando
    • RE: Unipi G100 Setup static ip on both interfaces eth0 eth1

      I fixed by simply removing gateway and dns-nameservers definitions from the eth1 file.

      If anyone is interested in this the solution to make this working with also the gateway check: https://www.thomas-krenn.com/en/wiki/Two_Default_Gateways_on_One_System

      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • Unipi G100 Setup static ip on both interfaces eth0 eth1

      Hi, I would like to setup both eth interfaces with a static ip. By default the content of /etc/network/interfaces.d/ directory is:

      root@G100-sn26:/etc/network/interfaces.d# ls
      br0  eth0  eth1
      root@G100-sn26:/etc/network/interfaces.d# cat br0 
      
      auto br0
      iface br0 inet dhcp
          bridge_ports eth0 eth1
      
      root@G100-sn26:/etc/network/interfaces.d# cat eth1
      
      allow-hotplug eth1
      iface eth1 inet manual
      
      root@G100-sn26:/etc/network/interfaces.d# cat eth0
      
      allow-hotplug eth0
      iface eth0 inet manual
      
      

      This means that there will be an interface br0 with DHCP enabled and all traffic from both interfaces is bridged from one to the other (like a switch).

      What I would like to do is have both interfaces setted up with a static ip (in 2 differents networks). What I tried is to remove the br0 interface and then setup eth0 like follow:

      root@G100-sn26:/etc/network/interfaces.d# rm br0 
      root@G100-sn26:/etc/network/interfaces.d# cat eth0
      allow-hotplug eth0
      iface eth0 inet static
      address 192.168.1.60
      netmask 255.255.255.0
      gateway 192.168.1.1
      dns-nameservers 8.8.8.8 8.8.4.4
      

      If I restart the network service the eth0 interface is working correctly but now If I do the same with eth1:

      root@G100-sn26:/etc/network/interfaces.d# cat eth1
      allow-hotplug eth1
      iface eth1 inet static
      address 192.168.2.60
      netmask 255.255.255.0
      gateway 192.168.2.1
      dns-nameservers 192.168.2.1
      

      the device stops responding and I have to put it in service mode to restore the default interfaces configuration. How can I do this?

      posted in Other Peripherals
      roberts_lando
      roberts_lando
    • RE: Bugs In Latest Axons

      If anyone got this issue the main problem was caused by the wrong partition table on some new Axons units.

      In order to be able to restore your backups you have to:

      1. Flash a valid image like https://kb.unipi.technology/en:files:software:os-images:00-start?redirect=1#axon_opensource_os
      2. Connect using ssh to the Axon and follow the steps on my previous comment to resize the partitions correctly (remember, once you fix the partition table to reboot and use the resize2fs command to expand the filesystem
      3. Shutdown your axon and restore the backup

      @Martin-Kudláček I hope that next Axons units will have this bug fixed as it becomes very difficult (and time loss) for me do all this steps in multiple axons

      posted in Ubuntu Core
      roberts_lando
      roberts_lando
    • RE: Bugs In Latest Axons

      @Martin-Kudláček I'm using a customized image of the axon, that was my only way to backup/restore multiple devices in a quick way. How can I do it now?

      I really need this or for me it's almost impossible to work with them. I have spent two days tring to figure out what's happened. I have then created a "restore usb" using this image: https://kb.unipi.technology/en:files:software:os-images:00-start?redirect=1#axon_opensource_os

      Starting from that I have installed all the software needed and created a backup of that but I'm not able to restore it anyway in other axons.

      Also there is a bug in all latest models I have received as no one is able to go in service mode, the run led keeps blink every second and the raws leds never switch on. In able to restore that I have to reset them using the image I previously linked here.

      I will do a refund of all axons I bought If I can't find a fix of this

      posted in Ubuntu Core
      roberts_lando
      roberts_lando
    • RE: Bugs In Latest Axons

      Actually what I have done is:

      sudo /sbin/fdisk /dev/mmcblk0
      
      Welcome to fdisk (util-linux 2.29.2).
      Changes will remain in memory only, until you decide to write them.
      Be careful before using the write command.
      
      
      Command (m for help): p
      Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: dos
      Disk identifier: 0x92824060
      
      Device         Boot   Start      End  Sectors  Size Id Type
      /dev/mmcblk0p1        49152   253951   204800  100M 83 Linux
      /dev/mmcblk0p2       253952  3098623  2844672  1.4G 83 Linux
      /dev/mmcblk0p3      3098624 15269887 12171264  5.8G 83 Linux
      
      Command (m for help): d
      Partition number (1-3, default 3): 3
      
      Partition 3 has been deleted.
      
      Command (m for help): d
      Partition number (1,2, default 2): 2
      
      Partition 2 has been deleted.
      
      Command (m for help): n
      Partition type
         p   primary (1 primary, 0 extended, 3 free)
         e   extended (container for logical partitions)
      Select (default p): 1
      Value out of range.
         p   primary (1 primary, 0 extended, 3 free)
         e   extended (container for logical partitions)
      Select (default p): p
      Partition number (2-4, default 2): 2
      First sector (2048-15269887, default 2048): 253952
      Last sector, +sectors or +size{K,M,G,T,P} (253952-15269887, default 15269887): 15269887
      
      Created a new partition 2 of type 'Linux' and of size 7.2 GiB.
      Partition #2 contains a ext4 signature.
      
      Do you want to remove the signature? [Y]es/[N]o: N
      
      Command (m for help): p
      
      Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: dos
      Disk identifier: 0x92824060
      
      Device         Boot  Start      End  Sectors  Size Id Type
      /dev/mmcblk0p1       49152   253951   204800  100M 83 Linux
      /dev/mmcblk0p2      253952 15269887 15015936  7.2G 83 Linux
      
      Command (m for help): w
      The partition table has been altered.
      Calling ioctl() to re-read partition table.
      Re-reading the partition table failed.: Device or resource busy
      
      The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
      
      unipi@S105-sn470:~$ sudo reboot
      
      

      Reboot then:

      unipi@S105-sn470:~$ sudo /sbin/resize2fs /dev/mmcblk0p2 
      resize2fs 1.43.4 (31-Jan-2017)
      Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
      old_desc_blocks = 1, new_desc_blocks = 1
      The filesystem on /dev/mmcblk0p2 is now 1876992 (4k) blocks long.
      

      Now the partition seems to be ok but some thing aren't working as expected.

      posted in Ubuntu Core
      roberts_lando
      roberts_lando
    • Bugs In Latest Axons

      Hi everyone. I have just restored an image that I made some months ago using your backup tool. I have made many different axons starting from this USB backup but the new one arrived seems to have some problems. After I restore the backup from the usb the filesystem is not resized and is stucked at 100% use so I cannot do anything.

      How can I fix this?

      Filesystem                                    Size  Used Avail Use% Mounted on
      udev                                          450M     0  450M   0% /dev
      tmpfs                                         100M  2.9M   97M   3% /run
      /dev/disk/by-path/platform-1c11000.mmc-part2  1.4G  1.3G  476K 100% /
      tmpfs                                         498M     0  498M   0% /dev/shm
      tmpfs                                         5.0M     0  5.0M   0% /run/lock
      tmpfs                                         498M     0  498M   0% /sys/fs/cgroup
      tmpfs                                         150M  2.0M  149M   2% /tmp
      tmpfs                                          50M     0   50M   0% /tftpboot
      /dev/mmcblk0p1                                100M   55M   46M  55% /boot
      tmpfs                                         100M     0  100M   0% /run/user/1000
      

      Also when I try to run a firmware update I get:

      unipi@S105-sn470:~$ /opt/unipi/tools/fwspi -i 0
      Unable to create the arm[0] context
      unipi@S105-sn470:~$ /opt/unipi/tools/fwspi -v --auto
      ARMINIT: Cannot open device /dev/unipispi
      ARMINIT: Cannot open device /dev/unipispi
      ARMINIT: Cannot open device /dev/unipispi
      Firmware autoupdate finished
      unipi@S105-sn470:~$ 
      

      Also I'm not able to start the axon in Service Web Interface mode (by keep pressing the button while starting). It remains stucked. This also happens with all other axons so the problem is not caused by the restore process but affetcts all axons

      Other info:

      unipi@S105-sn470:~$ sudo fdisk -l
      Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disklabel type: dos
      Disk identifier: 0x92824060
      
      Device         Boot   Start      End  Sectors  Size Id Type
      /dev/mmcblk0p1        49152   253951   204800  100M 83 Linux
      /dev/mmcblk0p2       253952  3098623  2844672  1.4G 83 Linux
      /dev/mmcblk0p3      3098624 15269887 12171264  5.8G 83 Linux
      
      
      Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      
      
      Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
      Units: sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      unipi@S105-sn470:~$ 
      
      
      posted in Ubuntu Core
      roberts_lando
      roberts_lando
    • RS485 tty on Neuron S103

      Hi I have a modbus RTU device connected to the RS485 but I cannot figure out which tty I should use to read it.

      Any help?

      pi@raspberrypi:~ $ ls /dev -l
      total 0
      crw-r--r-- 1 root root     10, 235 Mar  4 15:54 autofs
      drwxr-xr-x 2 root root         620 Mar  4 15:54 block
      crw------- 1 root root     10, 234 Mar  4 15:54 btrfs-control
      drwxr-xr-x 3 root root          60 Jan  1  1970 bus
      crw------- 1 root root     10,  63 Mar  4 15:54 cachefiles
      drwxr-xr-x 2 root root        2780 Mar  4 15:54 char
      crw------- 1 root root      5,   1 Mar  4 15:54 console
      crw------- 1 root root     10,  62 Mar  4 15:54 cpu_dma_latency
      crw------- 1 root root     10, 203 Mar  4 15:54 cuse
      drwxr-xr-x 7 root root         140 Mar  4 15:54 disk
      crw-rw---- 1 root video    29,   0 Mar  4 15:54 fb0
      lrwxrwxrwx 1 root root          13 Feb 14  2019 fd -> /proc/self/fd
      crw-rw-rw- 1 root root      1,   7 Mar  4 15:54 full
      crw-rw-rw- 1 root root     10, 229 Mar  4 15:54 fuse
      crw-rw---- 1 root gpio    254,   0 Mar  4 15:54 gpiochip0
      crw-rw---- 1 root gpio    254,   1 Mar  4 15:54 gpiochip1
      crw-rw---- 1 root gpio    254,   2 Mar  4 15:54 gpiochip2
      crw-rw---- 1 root gpio    247,   0 Mar  4 15:54 gpiomem
      crw------- 1 root root     10, 183 Mar  4 15:54 hwrng
      crw-rw---- 1 root i2c      89,   1 Mar  4 15:54 i2c-1
      lrwxrwxrwx 1 root root          12 Feb 14  2019 initctl -> /run/initctl
      drwxr-xr-x 2 root root          60 Jan  1  1970 input
      crw-r--r-- 1 root root      1,  11 Mar  4 15:54 kmsg
      lrwxrwxrwx 1 root root          28 Feb 14  2019 log -> /run/systemd/journal/dev-log
      brw-rw---- 1 root disk      7,   0 Mar  4 15:54 loop0
      brw-rw---- 1 root disk      7,   1 Mar  4 15:54 loop1
      brw-rw---- 1 root disk      7,   2 Mar  4 15:54 loop2
      brw-rw---- 1 root disk      7,   3 Mar  4 15:54 loop3
      brw-rw---- 1 root disk      7,   4 Mar  4 15:54 loop4
      brw-rw---- 1 root disk      7,   5 Mar  4 15:54 loop5
      brw-rw---- 1 root disk      7,   6 Mar  4 15:54 loop6
      brw-rw---- 1 root disk      7,   7 Mar  4 15:54 loop7
      crw-rw---- 1 root disk     10, 237 Mar  4 15:54 loop-control
      drwxr-xr-x 2 root root          60 Mar  4 15:54 mapper
      crw-rw---- 1 root video   241,   0 Mar  4 15:54 media0
      crw-r----- 1 root kmem      1,   1 Mar  4 15:54 mem
      crw------- 1 root root     10,  59 Mar  4 15:54 memory_bandwidth
      brw-rw---- 1 root disk    179,   0 Mar  4 15:54 mmcblk0
      brw-rw---- 1 root disk    179,  32 Mar  4 15:54 mmcblk0boot0
      brw-rw---- 1 root disk    179,  64 Mar  4 15:54 mmcblk0boot1
      brw-rw---- 1 root disk    179,   1 Mar  4 15:54 mmcblk0p1
      brw-rw---- 1 root disk    179,   2 Mar  4 15:54 mmcblk0p2
      crw------- 1 root root    246,   0 Mar  4 15:54 mmcblk0rpmb
      drwxrwxrwt 2 root root          40 Jan  1  1970 mqueue
      drwxr-xr-x 2 root root          60 Mar  4 15:54 net
      crw------- 1 root root     10,  61 Mar  4 15:54 network_latency
      crw------- 1 root root     10,  60 Mar  4 15:54 network_throughput
      crw-rw-rw- 1 root root      1,   3 Mar  4 15:54 null
      crw------- 1 root root    108,   0 Mar  4 15:54 ppp
      crw-rw-rw- 1 root tty       5,   2 Mar  4 15:59 ptmx
      drwxr-xr-x 2 root root           0 Feb 14  2019 pts
      brw-rw---- 1 root disk      1,   0 Mar  4 15:54 ram0
      brw-rw---- 1 root disk      1,   1 Mar  4 15:54 ram1
      brw-rw---- 1 root disk      1,  10 Mar  4 15:54 ram10
      brw-rw---- 1 root disk      1,  11 Mar  4 15:54 ram11
      brw-rw---- 1 root disk      1,  12 Mar  4 15:54 ram12
      brw-rw---- 1 root disk      1,  13 Mar  4 15:54 ram13
      brw-rw---- 1 root disk      1,  14 Mar  4 15:54 ram14
      brw-rw---- 1 root disk      1,  15 Mar  4 15:54 ram15
      brw-rw---- 1 root disk      1,   2 Mar  4 15:54 ram2
      brw-rw---- 1 root disk      1,   3 Mar  4 15:54 ram3
      brw-rw---- 1 root disk      1,   4 Mar  4 15:54 ram4
      brw-rw---- 1 root disk      1,   5 Mar  4 15:54 ram5
      brw-rw---- 1 root disk      1,   6 Mar  4 15:54 ram6
      brw-rw---- 1 root disk      1,   7 Mar  4 15:54 ram7
      brw-rw---- 1 root disk      1,   8 Mar  4 15:54 ram8
      brw-rw---- 1 root disk      1,   9 Mar  4 15:54 ram9
      crw-rw-rw- 1 root root      1,   8 Mar  4 15:54 random
      drwxr-xr-x 2 root root          60 Jan  1  1970 raw
      crw-rw-r-- 1 root netdev   10, 242 Mar  4 15:54 rfkill
      lrwxrwxrwx 1 root root           5 Mar  4 15:54 serial0 -> ttyS0
      lrwxrwxrwx 1 root root           7 Mar  4 15:54 serial1 -> ttyAMA0
      drwxrwxrwt 2 root root          40 Feb 14  2019 shm
      drwxr-xr-x 3 root root         180 Mar  4 15:54 snd
      crw-rw---- 1 root spi     153,   0 Mar  4 15:54 spidev0.0
      crw-rw---- 1 root spi     153,   1 Mar  4 15:54 spidev0.1
      lrwxrwxrwx 1 root root          15 Feb 14  2019 stderr -> /proc/self/fd/2
      lrwxrwxrwx 1 root root          15 Feb 14  2019 stdin -> /proc/self/fd/0
      lrwxrwxrwx 1 root root          15 Feb 14  2019 stdout -> /proc/self/fd/1
      crw-rw-rw- 1 root tty       5,   0 Mar  4 15:54 tty
      crw--w---- 1 root tty       4,   0 Mar  4 15:54 tty0
      crw--w---- 1 root tty       4,   1 Mar  4 15:54 tty1
      crw--w---- 1 root tty       4,  10 Mar  4 15:54 tty10
      crw--w---- 1 root tty       4,  11 Mar  4 15:54 tty11
      crw--w---- 1 root tty       4,  12 Mar  4 15:54 tty12
      crw--w---- 1 root tty       4,  13 Mar  4 15:54 tty13
      crw--w---- 1 root tty       4,  14 Mar  4 15:54 tty14
      crw--w---- 1 root tty       4,  15 Mar  4 15:54 tty15
      crw--w---- 1 root tty       4,  16 Mar  4 15:54 tty16
      crw--w---- 1 root tty       4,  17 Mar  4 15:54 tty17
      crw--w---- 1 root tty       4,  18 Mar  4 15:54 tty18
      crw--w---- 1 root tty       4,  19 Mar  4 15:54 tty19
      crw--w---- 1 root tty       4,   2 Mar  4 15:54 tty2
      crw--w---- 1 root tty       4,  20 Mar  4 15:54 tty20
      crw--w---- 1 root tty       4,  21 Mar  4 15:54 tty21
      crw--w---- 1 root tty       4,  22 Mar  4 15:54 tty22
      crw--w---- 1 root tty       4,  23 Mar  4 15:54 tty23
      crw--w---- 1 root tty       4,  24 Mar  4 15:54 tty24
      crw--w---- 1 root tty       4,  25 Mar  4 15:54 tty25
      crw--w---- 1 root tty       4,  26 Mar  4 15:54 tty26
      crw--w---- 1 root tty       4,  27 Mar  4 15:54 tty27
      crw--w---- 1 root tty       4,  28 Mar  4 15:54 tty28
      crw--w---- 1 root tty       4,  29 Mar  4 15:54 tty29
      crw--w---- 1 root tty       4,   3 Mar  4 15:54 tty3
      crw--w---- 1 root tty       4,  30 Mar  4 15:54 tty30
      crw--w---- 1 root tty       4,  31 Mar  4 15:54 tty31
      crw--w---- 1 root tty       4,  32 Mar  4 15:54 tty32
      crw--w---- 1 root tty       4,  33 Mar  4 15:54 tty33
      crw--w---- 1 root tty       4,  34 Mar  4 15:54 tty34
      crw--w---- 1 root tty       4,  35 Mar  4 15:54 tty35
      crw--w---- 1 root tty       4,  36 Mar  4 15:54 tty36
      crw--w---- 1 root tty       4,  37 Mar  4 15:54 tty37
      crw--w---- 1 root tty       4,  38 Mar  4 15:54 tty38
      crw--w---- 1 root tty       4,  39 Mar  4 15:54 tty39
      crw--w---- 1 root tty       4,   4 Mar  4 15:54 tty4
      crw--w---- 1 root tty       4,  40 Mar  4 15:54 tty40
      crw--w---- 1 root tty       4,  41 Mar  4 15:54 tty41
      crw--w---- 1 root tty       4,  42 Mar  4 15:54 tty42
      crw--w---- 1 root tty       4,  43 Mar  4 15:54 tty43
      crw--w---- 1 root tty       4,  44 Mar  4 15:54 tty44
      crw--w---- 1 root tty       4,  45 Mar  4 15:54 tty45
      crw--w---- 1 root tty       4,  46 Mar  4 15:54 tty46
      crw--w---- 1 root tty       4,  47 Mar  4 15:54 tty47
      crw--w---- 1 root tty       4,  48 Mar  4 15:54 tty48
      crw--w---- 1 root tty       4,  49 Mar  4 15:54 tty49
      crw--w---- 1 root tty       4,   5 Mar  4 15:54 tty5
      crw--w---- 1 root tty       4,  50 Mar  4 15:54 tty50
      crw--w---- 1 root tty       4,  51 Mar  4 15:54 tty51
      crw--w---- 1 root tty       4,  52 Mar  4 15:54 tty52
      crw--w---- 1 root tty       4,  53 Mar  4 15:54 tty53
      crw--w---- 1 root tty       4,  54 Mar  4 15:54 tty54
      crw--w---- 1 root tty       4,  55 Mar  4 15:54 tty55
      crw--w---- 1 root tty       4,  56 Mar  4 15:54 tty56
      crw--w---- 1 root tty       4,  57 Mar  4 15:54 tty57
      crw--w---- 1 root tty       4,  58 Mar  4 15:54 tty58
      crw--w---- 1 root tty       4,  59 Mar  4 15:54 tty59
      crw--w---- 1 root tty       4,   6 Mar  4 15:54 tty6
      crw--w---- 1 root tty       4,  60 Mar  4 15:54 tty60
      crw--w---- 1 root tty       4,  61 Mar  4 15:54 tty61
      crw--w---- 1 root tty       4,  62 Mar  4 15:54 tty62
      crw--w---- 1 root tty       4,  63 Mar  4 15:54 tty63
      crw--w---- 1 root tty       4,   7 Mar  4 15:54 tty7
      crw--w---- 1 root tty       4,   8 Mar  4 15:54 tty8
      crw--w---- 1 root tty       4,   9 Mar  4 15:54 tty9
      crw-rw---- 1 root dialout 204,  64 Mar  4 15:54 ttyAMA0
      crw------- 1 root root      5,   3 Mar  4 15:54 ttyprintk
      crw-rw---- 1 root dialout   4,  64 Mar  4 15:57 ttyS0
      crw------- 1 root root     10, 239 Mar  4 15:54 uhid
      crw------- 1 root root     10, 223 Mar  4 15:54 uinput
      crw-rw-rw- 1 root root      1,   9 Mar  4 15:54 urandom
      drwxr-xr-x 3 root root          60 Mar  4 15:54 v4l
      crw-rw---- 1 root video   243,   0 Mar  4 15:54 vchiq
      crw-rw---- 1 root video   248,   0 Mar  4 15:54 vcio
      crw------- 1 root root    249,   0 Mar  4 15:54 vc-mem
      crw-rw---- 1 root tty       7,   0 Mar  4 15:54 vcs
      crw-rw---- 1 root tty       7,   1 Mar  4 15:54 vcs1
      crw-rw---- 1 root tty       7,   2 Mar  4 15:54 vcs2
      crw-rw---- 1 root tty       7,   3 Mar  4 15:54 vcs3
      crw-rw---- 1 root tty       7,   4 Mar  4 15:54 vcs4
      crw-rw---- 1 root tty       7,   5 Mar  4 15:54 vcs5
      crw-rw---- 1 root tty       7,   6 Mar  4 15:54 vcs6
      crw-rw---- 1 root tty       7, 128 Mar  4 15:54 vcsa
      crw-rw---- 1 root tty       7, 129 Mar  4 15:54 vcsa1
      crw-rw---- 1 root tty       7, 130 Mar  4 15:54 vcsa2
      crw-rw---- 1 root tty       7, 131 Mar  4 15:54 vcsa3
      crw-rw---- 1 root tty       7, 132 Mar  4 15:54 vcsa4
      crw-rw---- 1 root tty       7, 133 Mar  4 15:54 vcsa5
      crw-rw---- 1 root tty       7, 134 Mar  4 15:54 vcsa6
      crw-rw---- 1 root video   244,   0 Mar  4 15:54 vcsm
      crw-rw-rw- 1 root root     10,  58 Mar  4 15:54 vcsm-cma
      crw-rw---- 1 root tty       7,  64 Mar  4 15:54 vcsu
      crw-rw---- 1 root tty       7,  65 Mar  4 15:54 vcsu1
      crw-rw---- 1 root tty       7,  66 Mar  4 15:54 vcsu2
      crw-rw---- 1 root tty       7,  67 Mar  4 15:54 vcsu3
      crw-rw---- 1 root tty       7,  68 Mar  4 15:54 vcsu4
      crw-rw---- 1 root tty       7,  69 Mar  4 15:54 vcsu5
      crw-rw---- 1 root tty       7,  70 Mar  4 15:54 vcsu6
      crw------- 1 root root     10, 137 Mar  4 15:54 vhci
      crw-rw---- 1 root video    81,   0 Mar  4 15:54 video10
      crw-rw---- 1 root video    81,   1 Mar  4 15:54 video11
      crw-rw---- 1 root video    81,   2 Mar  4 15:54 video12
      crw------- 1 root root     10, 130 Mar  4 15:54 watchdog
      crw------- 1 root root    251,   0 Mar  4 15:54 watchdog0
      crw-rw-rw- 1 root root      1,   5 Mar  4 15:54 zero
      
      
      posted in UniPi Neuron Series
      roberts_lando
      roberts_lando
    • RE: RS485 GND

      Do you have some USB-RS485 converter to test the communication

      @martin-kudláček the only way to make this working is using a converter that also has GND, it's strange Unipi doesn't support this.

      posted in Axon series
      roberts_lando
      roberts_lando
    • RE: RS485 GND

      @administrators

      posted in Axon series
      roberts_lando
      roberts_lando
    • RS485 GND

      Hi, I need to read an Inverter using modbus RTU connecting it directly to the Axon in his RS485 port, the inverter has 3 cables A, B and GND, if I don't connect the GND it doesn't work, the same happen when connecting GND to the Axon GND screw (the one on the power adapter side).

      What am I doing wrong?

      posted in Axon series
      roberts_lando
      roberts_lando
    • RE: I2C bus stopped working on Axon after apt upgrade

      @administrators any news?

      posted in Axon series
      roberts_lando
      roberts_lando
    • RE: Disable unipi modbus tcp service

      @tomas_hora it's not a security issue but as I'm using another plc runtime with a local modbus tcp master running on port 502 unipitcp service was blocking it. I have disabled it and modbus has started working correctly

      posted in Axon series
      roberts_lando
      roberts_lando
    • I2C bus stopped working on Axon after apt upgrade

      After running apt-get update && apt-get upgrade axon kernel modules have been updated but i2c seems not working because /sys/bus/w1 is not present. How can I enable i2c? How can I fix this?

      Additional info:

      Seems i2c-dev module is not present

      unipi@S105-sn244:/etc/modules-load.d$ sudo modinfo i2c-dev
      modinfo: ERROR: Module i2c-dev not found.
      

      Manually loading the module also isn't working:

      unipi@S105-sn244:/etc/modules-load.d$ sudo modprobe i2c-dev
      unipi@S105-sn244:/etc/modules-load.d$ lsmod
      Module                  Size  Used by
      tun                    36864  2
      unipi                 102400  0
      industrialio           53248  1 unipi
      rtc_unipi              16384  0
      rtc_ds1307             24576  0
      at24                   20480  0
      

      Other tries:

      unipi@S105-sn244:~$ sudo fdtget /boot/sun50i-h5-unipi-axon.dtb /soc/i2c@01c2ac00 status
      okay
      unipi@S105-sn244:/sys/devices$ head /sys/firmware/devicetree/base/soc/i2c*/status
      ==> /sys/firmware/devicetree/base/soc/i2c@01c2ac00/status <==
      okay
      ==> /sys/firmware/devicetree/base/soc/i2c@01c2b000/status <==
      disabled
      ==> /sys/firmware/devicetree/base/soc/i2c@01c2b400/status <==
      okay
      ==> /sys/firmware/devicetree/base/soc/i2c@01f02400/status <==
      disabled
      unipi@S105-sn244:~$ ls /dev/i2c*                                               
      /dev/i2c-0  /dev/i2c-2
      unipi@S105-sn244:~$ i2cdetect -y 0
      -bash: i2cdetect: command not found
      unipi@S105-sn244:~$ sudo i2cdetect -y 0
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
      00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
      10: -- -- -- -- -- -- -- -- 18 -- -- -- -- -- -- -- 
      20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
      50: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- 
      60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU 
      70: -- -- -- -- -- -- -- --                         
      unipi@S105-sn244:~$ ls /sys/devices/w1
      ls: cannot access '/sys/devices/w1': No such file or directory
      unipi@S105-sn244:~$ cd /sys/devices/
      unipi@S105-sn244:/sys/devices$ ls
      breakpoint  platform  software  system  virtual
      

      I2C seems working but something is wrong...

      posted in Axon series
      roberts_lando
      roberts_lando
    • RE: 1 Wire devices

      @tomas_hora Any news about this?

      posted in Axon series
      roberts_lando
      roberts_lando
    • Disable unipi modbus tcp service

      Hi, I have disable evok and mervis from the axon web interface but the unipi tcp service is still up.

       session-29.scope                                                                               loaded active running   Session 29 of user unipi                                                                
      unipicheck.service                                                                             loaded active exited    Check Unipi/Neuron/Axon version                                                         
      unipihostname.service                                                                          loaded active exited    Set default hostname on Neuron and Axon                                                 
      unipitcp.service                                                                               loaded active running   Unipi Neuron/Axon Modbus/Tcp Server                                                     
      user-1000.slice                                                                                loaded active active    User Slice of unipi                                                                     
      unipispi.target                                                                                loaded active active    Neuron/Axon Target                                                                    
      

      I have disabled it using sudo systemctl disable unipitcp.service, I think there should be a way to disable it using the web interface or disable it when disabling evok/mervis

      I also would like to know what is unipispi.target service used for and also unipicheck.service and If I can disable them If I'm not using mervis

      posted in Axon series
      roberts_lando
      roberts_lando