Nikolai Asparuhov

Members
  • Content Count

    22
  • Joined

  • Last visited

About Nikolai Asparuhov

  • Rank
    Member

Recent Profile Visitors

566 profile views
  1. Sorry my bad. ifconfig: wlan1 Link encap:Ethernet HWaddr 00:e0:5d:00:01:a7 inet addr:192.168.100.10 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:5dff:fe00:1a7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:50531 errors:0 dropped:26831 overruns:0 frame:0 TX packets:248 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13014020 (12 MiB) TX bytes:31587 (30.8 KiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 TX bytes:1064 (1.0 KiB) wlan0 Link encap:Ethernet HWaddr 42:2a:ec:a5:06:f6 ------- wlan0 is AP inet addr:192.168.42.1 Bcast:192.168.42.255 Mask:255.255.255.0 inet6 addr: fe80::402a:ecff:fea5:6f6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 lsusb: Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 058f:3822 Alcor Micro Corp. ------- this is usb camera module Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Driver is installed with dkms and with 2 other types of chips it work fine (mt7601 and rtl8188 and they have 0 droped packages) We have like 20 of these 8192cu dongles and with every single one of them the result is fail.....
  2. Hello, I'm using armbian 5.25 on OPI Lite and wifi dongle 8192cu, after instaling these drivers: https://github.com/pvaret/rtl8192cu-fixes I saw that the interface drop half of the packages.... Can someone provide better drivers or tell me how to fix that? wlan1 Link encap:Ethernet HWaddr 00:13:ef:6b:24:e2 inet addr:192.168.100.7 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::213:efff:fe6b:24e2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 -------->>>>>> RX packets:22255 errors:0 dropped:20602 overruns:0 frame:0 TX packets:22 errors:0 dropped:2 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3853233 (3.6 MiB) TX bytes:2734 (2.6 KiB) And not everytime it takes IP ?!?! Also whatever dongle i use it won't go up automatically and it's necessary to do ifconfig wlan1 down and after that ifconfig wlan1 up
  3. Hello I have a little problem with the usb devices, i use usb camera and if u plug the power supply to the OPI Lite board (5.25) it recognize the camera but it doesn't work well (stream with like 8-10 fps), after a software reboot, the device go to other Bus and the camera work fine with 15-30 fps stream. Before reboot, exact on first power of the board: Bus 006 Device 002: ID 058f:3822 Alcor Micro Corp. Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter After reboot: Bus 003 Device 002: ID 058f:3822 Alcor Micro Corp. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter I try to remove and after that load again uvcvideo driver, but nothing happened, i tried some scripts to restart the usb ports but the result was 0, only if i unplug and plug the camera again or reboot solve the problem. Also i tried with different power supplies and nothing changed. Currently we use chargers from the Orange Pi manufacture so this is the best power supply i guess. Any ideas how can i configure the camera to be on Bus 3 and tha wifi dongle to be on Bus 2 or some other solution to the problem?
  4. Could you give some more information, run: lsusb dmesg | grep usb sudo apt-get install v4l-utils, after that run v4l2-ctl --all
  5. It was about the mode, I'm so stupid, its regular libjpeg, not turbo, I'll try it on npm because there was the same problem, thanks a lot, and the same files compile without this mode problems on 5.23, is there any new changes on this direction in 5.25?
  6. Hello, I'm using OPI Lite with 5.25 armbian and there is a little problem with the permissions: root@orangepilite:~/Raws/libjpeg/jpeg-8c# ./configure -bash: ./configure: Permission denied root@orangepilite:~/Raws/libjpeg/jpeg-8c# sudo ./configure sudo: ./configure: command not found root@orangepilite:~/Raws/libjpeg/jpeg-8c# ls | grep configure configure configure.ac That appeared to me twice, first time i compile and install nodejs and npm was not recognized like a command (ask for permissions after use sudo just said command not found), this is my second hit to that problem, trying to compile libjpeg. I try to gi to root owners for that folder, same results, I try to cp the files and then compile it, same results and so on and so on. Can someone explain me from where these problems are coming?
  7. Hmmm i guess ill need other type of charger because this one is from Orange Pi factory and its without removable cable.... But some other news are on 5.25 clean distro with 8192cu-fixed driver from git hub the dongle work fine, may be the problem was during the upgrade from 5.23 to 5.25. But the problem with the camera is the same. Boot time is low because of hostap services (around 25 sec to load them all) and the camera just don't wanna
  8. 2000mA standard power supply, if it was the problem why after the reboot make changes. And the interesting here is on first use the camera is on bus 006 and the dongle is no 002 after the reboot camera goes to bus 002 and the dongle go to 003...
  9. The second problem is the usb camera. It require reboot to be ok, if i disconnect the power supply and plug it in, it doesn't recognize the usb camera properly (almost in 70-80% of the test cases) dmesg output: [ 1.230073] usb 3-1: new high-speed USB device number 2 using sunxi-ehci [ 5.198897] usbcore: registered new interface driver rtl8192cu [ 5.211860] usbcore: registered new interface driver uvcvideo lsusb output: Bus 003 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter Bus 006 Device 002: ID 058f:3822 Alcor Micro Corp. lsmod output: uvcvideo 58868 1 ir_lirc_codec 3650 0 lirc_dev 7834 1 ir_lirc_codec ir_mce_kbd_decoder 2885 0 ir_sanyo_decoder 1480 0 ir_sony_decoder 1422 0 8192cu 520861 0 But when i start mjpeg streamer: MJPG Streamer Version: svn rev: 3:172 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1280 x 720 i: Frames Per Second.: 15 i: Format............: MJPEG i: The format asked unavailable, so the width 640 height 480 o: www-folder-path...: /usr/local/www/ o: HTTP TCP port.....: 8080 o: username:password.: disabled o: commands..........: disabled and V4L output: v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'MJPG' (compressed) Name : MJPEG Size: Discrete 640x480 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 160x120 Interval: Discrete 0.033s (30.000 fps) So after a reboot wifi dongle may be work good may be not, the camera always is good after reboot. v4l output after a reboot: ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'MJPG' (compressed) Name : MJPEG Size: Discrete 1280x720 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 800x600 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 640x480 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 640x360 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 320x240 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 160x120 Interval: Discrete 0.033s (30.000 fps) Index : 1 Type : Video Capture Pixel Format: 'YUYV' Name : YUV 4:2:2 (YUYV) Size: Discrete 1280x720 Interval: Discrete 0.100s (10.000 fps) Size: Discrete 800x600 Interval: Discrete 0.100s (10.000 fps) Size: Discrete 640x480 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 640x360 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 320x240 Interval: Discrete 0.033s (30.000 fps) Size: Discrete 160x120 Interval: Discrete 0.033s (30.000 fps) So what is going on here, wifi dongle is shit ok, can u provide me a link to 5.20 distro for OPI Lite so i can check it if the drivers will be fine for the dongle and the camera and why the boot time is so high, because of the network services that starts ( we have ap on wlan0 and dongle on wlan1 who is connect to the internet)?
  10. I have dongle rtl8192cu it is so big garbage, until now i have some drivers for it but it crushes some times and have unstable connection. Try these drivers from git hub: https://github.com/pvaret/rtl8192cu-fixes and no improvement. Any suggestions?
  11. systemd-analyze blame output: 5.171s networking.service 5.171s networking.service 5.171s networking.service 5.171s networking.service 2.736s armhwinfo.service 2.422s isc-dhcp-server.service 1.782s systemd-logind.service 1.482s alsa-restore.service 1.193s rsyslog.service 1.159s systemd-user-sessions.service 1.156s rc-local.service 1.046s systemd-journal-flush.service 899ms loadcpufreq.service 809ms keyboard-setup.service 769ms motion.service 749ms systemd-udev-trigger.service 739ms fake-hwclock.service 709ms kmod-static-nodes.service 706ms ntp.service 689ms systemd-setup-dgram-qlen.service 602ms lirc.service 579ms systemd-modules-load.service 559ms sysstat.service 529ms hddtemp.service 505ms hostapd.service 429ms console-setup.service 394ms dev-mqueue.mount 379ms netfilter-persistent.service 359ms systemd-tmpfiles-setup.service 343ms sys-kernel-debug.mount 339ms keymap.service 309ms cpufrequtils.service 279ms kbd.service 279ms systemd-sysctl.service 249ms systemd-tmpfiles-setup-dev.service 249ms systemd-rfkill@rfkill0.service 239ms udev-finish.service 159ms hdparm.service 149ms sys-fs-fuse-connections.mount 146ms user@0.service 129ms systemd-random-seed.service 128ms var-swap.swap 99ms systemd-update-utmp.service 89ms systemd-remount-fs.service 79ms sysfsutils.service 72ms tmp.mount 18ms systemd-update-utmp-runlevel.service 15ms systemd-udevd.service
  12. Hello, greetings from Bulgaria and thanks for the OS. We use Orange Pi Lite and something may be is problem. Full boot time is around 1 min and 15 sec, how can we degree this time because it's so slow? When we was with 5.23 distro it was around 45 sec with same SD card and power supply.
  13. That's why i use esp-7 and it's work fine for now. Thanks for the japanese page, i'll take a look on it and will send you feedback about what i do. Thanks a lot for the solutions guys.
  14. Guys you do a great work with these distros, i get my respect and i admire you. Some little problem - i wanna to do automatic smart home and for my old devices that use Infra red signal i don't know how to transmit IR signal with Opi PC. I use ESP like middle-ware (send command to opi pc, that the opi pc send the command to esp which transmit it). Do someone know appropriate solution, because this one is sooo hard working and slow? Thanks in advance, for the time, support and the work you do!!!!!