Jump to content

Ultradrom

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello charlesrg1. Yes, have some directions ... Short answer: imho, wrong distro for your task. Long answer with variants: 1) tvbox versions: My tvbox is "V96mini 6k". Not "V96mini 4k". Not "V96mini". My tvbox and USB3-port location on photo above in this thread. 2) distro versions: You tested unknown for me distros: "Armbian 21.05.0-trunk Focal with Linux 5.10.27-aw-h6-tv and Armbian 22.05.0-trunk with Linux 5.15.27-station" I use Ubuntu-based Armbian distro from balbes150 released 2021-07-27. Image name "Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz". With added my custom DTB-file "sun50i-h6-tanix-tx6_v96mini6k_01.dtb". Newest distro versions from balbes150 not tested, but may be also work. You can try latest distro from balbes150: "balbes150: 2021-12-03: Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.82_xfce_desktop.img.xz" If latest distro not work for you, then try the distro i am using: "balbes150: 2021-07-27: Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz" You can donwload balbes150 releases here: here many versions: https://disk.yandex.ru/d/NdhF0c0iM0TnzQ/ArmbianTV?w=1 2021-07-27: (i use this) Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz 2021-09-07: Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.62_xfce_desktop.img.xz 2021-09-24: Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.68_xfce_desktop.img.xz 2021-12-03: (latest) Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.82_xfce_desktop.img.xz here only one version (not latest): https://users.armbian.com/balbes150/aw-h6-tv/ 2021-09-25: Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.68_xfce_desktop.img.xz 3) My USB3 fork at full speed. See above in this thread my speed tests for HDD and SD-card. Linux kernel version info: kernel version after install 2021-07-27: user@aw-h6-tv:~$ uname -a Linux aw-h6-tv 5.10.53-station #trunk SMP PREEMPT Mon Jul 26 14:23:22 MSK 2021 aarch64 aarch64 aarch64 GNU/Linux after update 2021-aug-07: user@aw-h6-tv:~$ uname -a Linux aw-h6-tv 5.10.52-station #21.08.1 SMP PREEMPT Sun Jul 25 09:44:48 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux USB3 stuff info: user@aw-h6-tv:~$ lsusb -t /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M |__ Port 1: Dev 8, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M user@aw-h6-tv:~$ sudo lsusb -vv ... Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ... idVendor 0x1d6b Linux Foundation idProduct 0x0003 3.0 root hub bcdDevice 5.10 iManufacturer 3 Linux 5.10.52-station xhci-hcd iProduct 2 xHCI Host Controller iSerial 1 xhci-hcd.1.auto ... Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 3 Lowest fully-functional device speed is SuperSpeed (5Gbps) ... 4) May be... May be your USB3-software part work, but USB3-hardware not. USB3-software part can be checked via commands : $ lsusb -t and $ sudo lsusb -vv USB3-hardware part: May be bad contacts problem between your USB3-cable and your USB3-port. Or mechanically incompatible pair of your USB3-cable and your USB3-port. Sometime USB3-cables have too long incompatible plug with bad compatibility. If not all of USB3-contacts connected inside your USB3-port, but connected all USB2-contacts - your device will work as USB2.0. USB 2.0 can deliver up to 500mA power. USB 3.0 can deliver up to 900mA power. If your webcam need more than 500mA but your USB-port deliver only 500mA - you can try "usb Y cable", which can deliver 2*500mA via 2*plugs to one device.
  2. Old distro from balbes150 "(2021-07-27) Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz" with DTB-file "sun50i-h6-tanix-tx6_v96mini6k_01.dtb" enables power for USB_3.0-port on tvbox "V96mini 6k". And all my USB_2.0-devices in USB_3.0-port works fine without any problems. But USB_3.0-devices in USB_3.0-port glitching so much. Devices constantly appear, disappear, and dmesg have many messages: "Device not responding to setup address." and "reset SuperSpeed Gen 1 USB device number 3 using xhci-hcd". Good news: Latest distro from balbes150 "(2021-09-24) Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.68_xfce_desktop.img.xz" with DTB-file "sun50i-h6-tanix-tx6_v96mini6k_01.dtb" works fine with my USB_3.0-devices in USB_3.0-port. Tested on usb3-cardreader and usb3-sata-adapter. Speed tests: WRITE TEST: SD-card "Transcend 330S SDXC 64 GB" inside USB3-CardReader "Transcend TS-RDF8K USB3.0": # dd if=/dev/urandom of=/media/user/9C33-6BBD/file500mb.bin bs=1048576 count=500 status=progress 511705088 bytes (512 MB, 488 MiB) copied, 13 s, 39.4 MB/s 500+0 records in 500+0 records out 524288000 bytes (524 MB, 500 MiB) copied, 13.5384 s, 38.7 MB/s READ TEST: SD-card "Transcend 330S SDXC 64 GB" inside USB3-CardReader "Transcend TS-RDF8K USB3.0": # sudo dd if=/dev/sdb of=/dev/zero bs=1048576 count=500 status=progress 456130560 bytes (456 MB, 435 MiB) copied, 5 s, 91.0 MB/s 500+0 records in 500+0 records out 524288000 bytes (524 MB, 500 MiB) copied, 5.75727 s, 91.1 MB/s =================== WRITE TEST: old sata-hdd in usb3-sata-adapter # dd if=/dev/urandom of=/media/user/1TB_HDD/file500mb.bin bs=1048576 count=500 status=progress 517996544 bytes (518 MB, 494 MiB) copied, 18 s, 28.8 MB/s 500+0 records in 500+0 records out 524288000 bytes (524 MB, 500 MiB) copied, 18.2126 s, 28.8 MB/s READ TEST: old sata-hdd in usb3-sata-adapter # sudo dd if=/dev/sda of=/dev/zero bs=1048576 count=500 status=progress [sudo] password for iuser: 386924544 bytes (387 MB, 369 MiB) copied, 3 s, 129 MB/s 500+0 records in 500+0 records out 524288000 bytes (524 MB, 500 MiB) copied, 3.95053 s, 133 MB/s P.S. Note: in latest distro from balbes150 "(2021-09-24) Armbian_21.11.0-trunk_Aw-h6-tv_hirsute_current_5.10.68_xfce_desktop.img.xz": DTB-file "sun50i-h6-tanix-tx6.dtb" changed and WiFi not work for my tvbox (cause wifi part is deleted from this DTS-source). But with my DTB-file "sun50i-h6-tanix-tx6_v96mini6k_01.dtb" (mod based on 2021-07-27 "sun50i-h6-tanix-tx6.dtb" from balbes150) everything works on tvbox "V96mini 6k": wifi, bt, usb3, usb2, lan. balbes150 distros downloaded from: https://disk.yandex.ru/d/NdhF0c0iM0TnzQ/ArmbianTV?w=1 https://users.armbian.com/balbes150/aw-h6-tv/
  3. Variant 2 (hardcore) : decompile dtb to dts, edit dts, compile new dtb. Step by step instructions for manual fix USB3-power and Bluetooth on tvbox "V96mini 6k": 1. Copy original dtb-file "sun50i-h6-tanix-tx6.dtb" from Armbian boot filesystem "/boot/dtb/allwinner/sun50i-h6-tanix-tx6.dtb" to empty work dir. 2. In work dir decompile original "sun50i-h6-tanix-tx6.dtb" to editable text: $ dtc -I dtb -O dts sun50i-h6-tanix-tx6.dtb -o decompiled.dts 3. Open in text editor file "decompiled.dts" for make changes. Insert new 6 text blocks exactly in places like showed in my example (spoiler below "SRC_DTS_TX6_MOD_FOR_V96MINI6K"). Note: All new 6 text blocks looks like : /* ADDON part1of3 BEGIN */ ... ... /* ADDON part1of3 END */ "SRC_DTS_TX6_MOD_FOR_V96MINI6K": Save modified file as "modified.dts". 4. Compile modified DTS to new DTB: $ dtc -I dts -O dtb modified.dts -o sun50i-h6-tanix-tx6_v96mini6k_0x.dtb 5. Copy new DTB-file to Armbian boot filesystem: /boot/dtb/allwinner/sun50i-h6-tanix-tx6_v96mini6k_0x.dtb 6. Edit boot config file "/boot/extlinux/extlinux.conf": ###commented orig line:###FDT /boot/dtb/allwinner/sun50i-h6-tanix-tx6.dtb FDT /boot/dtb/allwinner/sun50i-h6-tanix-tx6_v96mini6k_0x.dtb 7. Reboot.
  4. Problem: USB3-power and Bluetooth not work when use original dtb-file "sun50i-h6-tanix-tx6.dtb" on tvbox "V96mini 6k" (brother of TX6), with Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz (distro from Balbes150). All other stuff works fine: Ethernet100, HDMI+Audio, 2xUSB2.0, WiFi. Hardware info "V96mini 6k" : CPU : Allwinner H6; GPU : Mali-T720; RAM 4GB, MMC 64GB Power Management Unit (PMU) : A8038 ! (not AXP805 !) Wireless module : AP6256 ! (WiFi 2.5ghz and 5.0ghz, Bluetooth) Ethernet 100mbit; 1xUSB3.0, 2xUSB2.0; microSD Solution: (for fix USB3-power and Bluetooth on tvbox "V96mini 6k") Variant 1 (easy) : use attached "sun50i-h6-tanix-tx6_v96mini6k_01.dtb" for fix problem (this mod based on "sun50i-h6-tanix-tx6.dtb"). Variant 2 (hardcore) : read next message in this topic for instructions how to fix manually (decompile dtb to dts, edit dts, compile new dtb). sun50i-h6-tanix-tx6_v96mini6k_01.dtb
  5. Problem: Fullscreen black blinking-flickering on TVbox (H6: "V96 mini") with HDMI-VGA-adapter and Armbian. 10 seconds picture is ok, 5 seconds picture is black, repeat... More affected on white images. Details: TVbox : "V96 mini" (Allwinner H6) HDMI-VGA-adapter : 10cm cable with small square box (with audio jack, without power) Distro: (from Balbes150) Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz Monitor: any with resolution 1280x1024 (may be another) No problems with direct HDMI connection, and/or under Android. Solution: (fix for example 1280x1024 @ 60hz) In two words: change default refresh rate Hz to anoher value (for needed resolution). 1. Check current list of resolutions and refresh rates: Note: current mode marked by "*". $ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 HDMI-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 531mm x 298mm 1920x1080 60.00 + 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02* 1280x800 59.91 1152x864 75.00 1280x720 60.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 2. Prepare for adding new mode (Calculate VESA CVT mode lines for 1280x1024 , 60hz ): Note : some text output from last line of this command needed for next command. $ cvt 1280 1024 60 # 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync 3. Create new mode: Before run : need to copy all text from previous command after word "Modeline", and paste to this command after words "xrandr --newmode". $ xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync 4. Add new mode: $ xrandr --addmode HDMI-1 "1280x1024_60.00" 5. Check is new mode added to list: $ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 HDMI-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 531mm x 298mm 1920x1080 60.00 + 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02* 1280x800 59.91 1152x864 75.00 1280x720 60.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 1280x1024_60.00 59.89 6. Switch to new mode now: $ xrandr --output HDMI-1 --mode 1280x1024_60.00 7. Final check: Note: old bad hz value is "60.02", new good hz value is "59.89" $ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192 HDMI-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 531mm x 298mm 1920x1080 60.00 + 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1280x720 60.00 59.94 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 1280x1024_60.00 59.89* 8. If it works as expected, save new mode permanently (work after reboot). Add it to Xorg config by editing or creating file "/etc/X11/xorg.conf.d/40-monitor.conf": Section "Monitor" Identifier "HDMI-1" Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync Option "PreferredMode" "1280x1024" EndSection 9. Reboot ? 10. Check settings in your GUI (for XFCE : Settings / Display ) : ? 1280x1024* ? 59.9hz ? Apply, Reboot
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines