Jump to content

haajee

Members
  • Posts

    117
  • Joined

  • Last visited

Posts posted by haajee

  1. On 3/13/2022 at 2:23 PM, firedgje said:

    I have the same issue since the update of kernel version 5.15. I have no network and no HDMI during the boot...

    I'm using the first version of Orange PI 4 B.

    Is it a way to solve by replacing only the kernel (or other file) on SD ?

     

    I hope it would. But didn't get any anwser. So i did al full reinstall from zero. Sadly today again a update what brokes the whole thing down...!

     

    On 3/13/2022 at 9:54 PM, laurentppol said:

    I have "plain" OPi4 (not B, nor LTS), after todays update to 5.15.25 #22.02.1 Armbian Buster, network works fine. Didn't tested BT / WiFi / HDMI (during boot) as I don't use then on this box. May test later if someone needs.

    \

    Got exactly the same but with Focal. Today this update broke the whole system again after reboot:

     

    Bezig met uitpakken van armbian-config (22.02.2) over (22.02.0-trunk.0004) ...
    Uitpakken van .../armbian-firmware-full_22.02.2_all.deb wordt voorbereid...
    Bezig met uitpakken van armbian-firmware-full (22.02.2) over (21.08.6) ...
    Uitpakken van .../armbian-zsh_22.02.2_all.deb wordt voorbereid...
    Bezig met uitpakken van armbian-zsh (22.02.2) over (22.02.1) ...

     

    So i should install from scratch again... This time buster and hopefully the next updates would not broke the system again and again and again

     

    I think that it maybe has to do something that my OS is on the USB drive...

     

    Edit: ok, i know a lot more. Also if i enable I2C on armbian-config the system NIC stops working. Also on Focal and Bullseye and it doesn't make sense if i use a usb disk or not.

  2. On 11/4/2021 at 5:47 PM, ScottP said:

    The method to install home assistant supervised in the armbian script does not work any more, even if you have a version of their script there are assets it tries to pull from web locations which have been removed so you have to use their new method.

    This part of the Armbian script:

    debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates \
    	dbus jq network-manager socat software-properties-common
    
    curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | \
    	bash -s -- -m  ${machine}

    should be replaced with:

    apt-get install \
    jq \
    wget \
    curl \
    udisks2 \
    libglib2.0-bin \
    network-manager \
    dbus -y
    #next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits
    wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
    dpkg -i os-agent_1.0.0_linux_x86_64.deb
    wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
    dpkg -i homeassistant-supervised.deb

    I would not advise using armbian-config to do this since it it very easy to miss error messages since when the installer finishes the screen instantly refreshes and errors are lost, then you have to hunt for a log file if one exists.

     

    You made some fault in your script for the os agent. You download the aarch64 but dpkg the x86_64 what is not dowloaded. Correct script should be complete:

     

    apt-get install \
    jq \
    wget \
    curl \
    udisks2 \
    libglib2.0-bin \
    network-manager \
    dbus -y
    #next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits
    wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
    dpkg -i os-agent_1.2.2_linux_aarch64.deb
    wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
    dpkg -i homeassistant-supervised.deb

     

    Or for people who want a littlebit simple in three commands:

     

    sudo apt-get install jq wget curl udisks2 libglib2.0-bin network-manager dbus -y
    
    #next line is for 64bit platforms, need arm7 instead of aarch64 for 32bits. You need to run this command in SU mode!
    sudo su
    wget https://github.com/home-assistant/os-agent/releases/download/1.2.2/os-agent_1.2.2_linux_aarch64.deb
    dpkg -i os-agent_1.2.2_linux_aarch64.deb
    
    wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
    dpkg -i homeassistant-supervised.deb

     

    The supervised version has a lot more functions than the standard home assistant but is not officially supported to run on Armbian. But my experience is that it wil run awesome and stable!

  3. By plugging in the USB NIC i could ssh to the Orange Pi 4 again but did not a working internet connection. Probaply because the DNS server was not correct or something. Anyway i made the following change to got it working.

     

    I did go to the dir /etc/NetworkManager/SystemConnections/

    I renamed the file 'default' to '_old_default'.

     

    There where also 2 files for the builtin NIC i think and my external NIC. So i renamed the internal NIC file to 'default' In the file edited the interfacename eth0 to the USB NIC enx000ec6c13633

     

    After a reboot it works for now with the external NIC.

     

    Maybe is the Internal NIC broken because there is a new Orange Pi 4 LTS with another ethernet chip?

     

    I see also now that wifi and bluetooth doesn't work anymore after the update...

  4. Hi everyone,

     

    After the last armbian update with a new kernel does the internal networkcard not work anymore! Luckely does a USB NIC work and can i run everything but on only 100Mbps iwonstead of 1Gb of the internal NIC. What i remember did this problem also a few years ago happen. I have pasted all the required info to pastebin because armbianmonitor -u does not work. I got an error that network is not availble.

     

    Thank you all for you support! :)

  5. I read a few instructions for building a kernel. But because better safe than sorry. ;)

     

    I want to upgrade the kernel of my Orange Pi 4 to a newer one. it runs now:

    4-OrangePi:~:# uname -a
    Linux 4-OrangePi 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

     

    So, for me as beginner with my headless setup it's:

    1. run compile.sh

    2. Choose U-boot and kernel packages

    3. Do not change the kernel configuration

    4. Choose the board. Orange Pi 4

    5. There we go. Output goes to output/debs/

    6. Copy all the debs files to my Orange Pi 4 and run sudo dpkg -i *.deb

     

     

  6. Hi all,

     

    I think i have made a mistake but i don't know what. Do someone know what goes wrong?

     

    Yesterday i have played with the PCIe port on the Orange Pi 4 with the original extension module. Plugged in a Dell (Ericsson) 5560 HSPA in the board and it works all fine. It was detected. Did not get the connection working with sim tray but ok. It works and reacts on AT commands. So far so good. Then i tries to plugin a wifi card (doesn't know exactly wich one. I thought Intel 6230) but didn't want to boot and a green led lights up on the PCIe board what i has never seen before. After that i thought: ''hmm, there is here laying a old Dell Latitude D630. There is a PCIe wifi card inside'' so i removed the WLAN board from the laptop (Intel 4965 MM2) and disconnect the 3 cables and plugged the standard wifi cable back that is delivered with the Orange Pi. Boot up but when i was just sitting did hear *pop* and smells like electronics leave there magic smoke.

     

    Clearly a chip on the Intel 4965 MM2 board is fried up. Luckely the PCIe and the Orange Pi 4 works normally. But i don't know what happen! Maybe i pushed on the reset button what broke it? I don't really know! Has someone a suggestion? Are the mini PCIe cards what you should not put in?

  7. Hi all,

     

    Maybe there are a lot people who got this working but for me was today the day. I buyed a time a go a cheap but fast NVME SSD from Aliexpress. The smallest one a 128GB. I have also a 512GB in my laptop and for the price they are really good. :) But i needed also a USB-NVME external housing. That is the Ugreen NVME 10GBps to USB adapter.

     

    In very short but i will explain more in the future.

     

    1. Flash a MicroSD card with your favourite Armbian to the MicroSD. Update with sudo apt-get update.  Also with a SSH session not a problem.

    2. Place the USB disk in a USB 3.0 port of the Orange Pi. By the OrangePi 4 it´s the blue one on the top.

    3. run the command lsusb

    4. Notice the dev id. In my situation it´s 174c:2362

    5. Run the command with off course your dev id. Notice the :u at the end that must be added.

    echo "174c:2362:u" | sudo tee /sys/module/usb_storage/parameters/quirks

    6. Replug the USB drive. I see the activity led on the drive short flashing.

    7. Run the following command

    sudo nano /boot/armbianEnv.txt

    8. Add the dev id after usbstoragequirks and close and save the file. By my system is the complete row:

    usbstoragequirks=174c:2362:u,0x2537:0x1066:u,0x2537:0x1068:u

    7. Logout and in with your root account! This is very important. With sudo is this not possible.

    8. Open armbian-config. Select System->Update Bootloader-> Boot from SD, root from NVME/eMMC etc.

    9. The tool will ask you the directory to the disk. Most of time is this standard correct. You get a question about the filesystem. Select EXT4. You get a warning that the disk would be erased. Click on Ok.

    10. Wait patiently to finish

    11. And without failures you could click reboot and boot from USB/NVME! :)

     

    By my is the Orange:Pi a  lot faster! Booting, updating copy files. Everything. I am really happy with this! :)

  8. On 8/8/2020 at 11:47 AM, firedgje said:

    Another solution to avoid noise and fan management for orange pi 4 is to use a big heatsink (fanless solution):

     

    Orange Pi 4 Heatsink

     

    I tried it and it works well.

     

    The temperature can rise to 85°C in peak (and 82°C in average) when I tried to stress the cpu with benchmark or with high resolution youtube video, but I never stayed stuck due to a overheat.

    In normal use, I have more something between 58 to 65 °C.

     

    IMHO is 85 celsius really hot. I don´t also know how a big themalpad could work. Is the heatsink warm when you run?

     

    On 8/3/2020 at 2:04 PM, VyacheslavS said:

     

    I also bought the same one, about 15 Euros.  I configured the script and now it starts to rotate from +35, the rotation speed is floating. The maximum spin speed starts at +60 . This cooler is really quiet and worth it money.

     

    Mine have i running really slow and the temperature is arround 32 degrees on normal day with normal load. Full speed about 50 degrees. But i need to say that i have also a heatsink on the CPU from an old Fritzbox router. But even on fullspeed is the fan really quiet and you need to listen very well to here it run. In my opinion is 15 euros a really good deal when i compare with a lot of noisie fans i have. The only problem is that the fan is a little bit bigger than the fan opening of the Geekworm case... So i din´t have the original cover on the case...

     

    temperatuur-laatste-maan.thumb.jpeg.681e4f8d8484fd9b70a60660060cc496.jpeg

  9. On 7/11/2020 at 2:25 PM, VyacheslavS said:

    @haajee , This is a problem with my cooler.  It starts rotating with 3.3 V. If the tension is less, then silence.

    I took voltage measurements from 7 pin.  The voltage on this pin is: min=1.0 V, max=2.9 V.

    Tell me please did you connect Noctua NF-A4x20 5V PWM directly or via MOSFET?

    In Noctua cooler with 4 pins or 3 pins?

     

    Very sorry for my always late anwsers. I have my nf-a4x20-5v-pwm directly connected to gnd and 5V pin on the orange pi. The PWM pin do i have connected to pin 7. The RPM pin did i have not connected. I have bought the Noctua in a local internet store for arround €12,- without shipping. The fan is also on full speed so much silent than al the fans i got. I am a really Fanboy now of Noctua ;) I could advice you to buy. :) more specifications are here https://noctua.at/en/products/fan/nf-a4x20-5v-pwm

     

    All what you post is exactly the same what i have... I don´t see a different.

     

  10. Oh i found just the solution in this topic: https://unix.stackexchange.com/questions/239782/connection-problem-with-usb3-external-storage-on-linux-uas-driver-problem

     

    i need to run

    
    echo "174c:2362:u" | sudo tee /sys/module/usb_storage/parameters/quirks
    
    

     

    And after reinsert it works and i could mount the drive! :)

     

    And for the people who are interested. A small test on the disk:

    
    sudo hdparm -tT /dev/disk/by-label/WinToUSB /dev/disk/by-label/WinToUSB
    
    
    /dev/disk/by-label/WinToUSB:
     Timing cached reads:   2662 MB in  2.00 seconds = 1331.48 MB/sec
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     Timing buffered disk reads: 1034 MB in  3.00 seconds = 344.54 MB/sec
    
    /dev/disk/by-label/WinToUSB:
     Timing cached reads:   2764 MB in  2.00 seconds = 1382.84 MB/sec
    SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     Timing buffered disk reads: 1028 MB in  3.01 seconds = 341.88 MB/sec
    
    
  11. Hmm, sorry for the kick of this topic. But i trie to connect a USB 3.0 to NVME adapter on the USB 3.0 port. But just after insert it´s detected, But when i trie lsusb -v i got errors and lsusb hangs. After that the nvme disk is not detected anymore. On USB 2.0 it works ok but slow. When i connect on a USB 3.0 hub with external power the same problem happen.

     

    When the USB 3.0 lsusb -v hangs:

    
    $ sudo lsusb -v
    
    Bus 004 Device 030: ID 174c:2362 ASMedia Technology Inc.
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               3.20
      bDeviceClass            0
      bDeviceSubClass         0
      bDeviceProtocol         0
      bMaxPacketSize0         9
      idVendor           0x174c ASMedia Technology Inc.
      idProduct          0x2362
      bcdDevice            1.00
      iManufacturer           2 (error)
      iProduct                3 (error)
      iSerial                 1 (error)
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength       0x0079
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xc0
          Self Powered
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk-Only
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst              15
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst              15
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       1
          bNumEndpoints           4
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     98
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst              15
            MaxStreams             32
            Data-in pipe (0x03)
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst              15
            MaxStreams             32
            Data-out pipe (0x04)
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x83  EP 3 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst              15
            MaxStreams             32
            Status pipe (0x02)
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x04  EP 4 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0400  1x 1024 bytes
            bInterval               0
            bMaxBurst               0
            Command pipe (0x01)
    can't get debug descriptor: Resource temporarily unavailable
    
    

     

    On USB 2.0 port:

    
    Bus 002 Device 002: ID 174c:2362 ASMedia Technology Inc.
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.10
      bDeviceClass            0
      bDeviceSubClass         0
      bDeviceProtocol         0
      bMaxPacketSize0        64
      idVendor           0x174c ASMedia Technology Inc.
      idProduct          0x2362
      bcdDevice            1.00
      iManufacturer           2 Ugreen
      iProduct                3 Ugreen Storage Device
      iSerial                 1
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength       0x0020
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xc0
          Self Powered
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk-Only
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x02  EP 2 OUT
            bmAttributes            2
              Transfer Type            Bulk
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0040  1x 64 bytes
            bInterval               0
    Binary Object Store Descriptor:
      bLength                 5
      bDescriptorType        15
      wTotalLength       0x002a
      bNumDeviceCaps          3
      USB 2.0 Extension Device Capability:
        bLength                 7
        bDescriptorType        16
        bDevCapabilityType      2
        bmAttributes   0x0000f41e
          BESL Link Power Management (LPM) Supported
        BESL value     1024 us
        Deep BESL value    61440 us
      SuperSpeed USB Device Capability:
        bLength                10
        bDescriptorType        16
        bDevCapabilityType      3
        bmAttributes         0x00
        wSpeedsSupported   0x000e
          Device can operate at Full Speed (12Mbps)
          Device can operate at High Speed (480Mbps)
          Device can operate at SuperSpeed (5Gbps)
        bFunctionalitySupport   1
          Lowest fully-functional device speed is Full Speed (12Mbps)
        bU1DevExitLat          10 micro seconds
        bU2DevExitLat        2047 micro seconds
      SuperSpeedPlus USB Device Capability:
        bLength                20
        bDescriptorType        16
        bDevCapabilityType     10
        bmAttributes         0x00000001
          Sublink Speed Attribute count 1
          Sublink Speed ID count 0
        wFunctionalitySupport   0x1100
        bmSublinkSpeedAttr[0]   0x000a4030
          Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
        bmSublinkSpeedAttr[1]   0x000a40b0
          Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
    can't get debug descriptor: Resource temporarily unavailable
    Device Status:     0x0001
      Self Powered
    
    

  12. On 4/19/2020 at 6:25 AM, VyacheslavS said:

    @haajee,

    I have for some reason does not work, there is no signal from the 7 pin.

    Kernel 5.6.3 Buster.

    What else do I need to do to make it work?

     

    Oh sorry i didn´t saw your post. My fan script is now:

     

    #!/bin/bash
    
    if [ ! -d /sys/class/pwm/pwmchip1/pwm0 ]; then
        echo 0 > /sys/class/pwm/pwmchip1/export
    fi
    sleep 1
    while [ ! -d /sys/class/pwm/pwmchip1/pwm0 ];
    do
        sleep 1
    done
    ISENABLE=`cat /sys/class/pwm/pwmchip1/pwm0/enable`
    if [ $ISENABLE -eq 1 ]; then
        echo 0 > /sys/class/pwm/pwmchip1/pwm0/enable
    fi
    echo 50000 > /sys/class/pwm/pwmchip1/pwm0/period
    echo 1 > /sys/class/pwm/pwmchip1/pwm0/enable
    
    # max speed run 60s
    echo 0 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    sleep 5
    echo 50000 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    
    declare -a CpuTemps=(45000 40000 38000 30000 28000 0)
    declare -a PwmDutyCycles=(1000 5000 10000 15000 30000)
    
    while true
    do
            temp=$(cat /sys/class/thermal/thermal_zone0/temp)
            for i in 0 1 2 3 4 5; do
                    if [ $temp -gt ${CpuTemps[$i]} ]; then
                            DUTY=${PwmDutyCycles[$i]}
                            echo $DUTY > "/sys/class/pwm/pwmchip1/pwm0/duty_cycle";
                            echo "temp: $temp, target: ${CpuTemps[$i]}, duty: $DUTY"
                            break
                    fi
            done
            sleep 1s;
    done

    Do you see something if you go to /sys/class/pwm/pwmchip1?  And do you have installed wiring orangepi from:  https://github.com/orangepi-xunlong/wiringOP ?? what does the command gpio readall shows?

  13. Hmm this week i thought i has restored the driver HCD file with the other mac adress. Restored again and it´s ok, But better: i have bluetooth now working i wanted. I stream from my orangepi music to a bluetooth device and it works like a charm. I have used this 2 site for reference:

    https://wiki.archlinux.org/index.php/Bluetooth_headset

    http://mygeeks014.blogspot.com/2017/05/audio-streaming-to-bluetooth-speaker.html

     

    Very very nice! Thank you all.

     

  14. On 6/2/2020 at 9:42 PM, piter75 said:

    It is fixed for some time already. It's just that there were no releases built for the board in the meantime.

    It is however part of v20.05.1 - after you upgrade you should not see it disappearing again.

     

    I has upgraded and even with a clean image Focal Desktop from here doesn´t Bluetooth works... Bleutoothctl list doesn´t show the bluetooth module also. hciconfig shows the adapter but with status down. When i try to start with hciconfig hci0 up i got the error messge: Can't init device hci0: Operation not supported (95).

  15. Hi all,

     

    I wanna try to use the hardware PWM on pin 7 of my orange pi one plus. Connect the fan. Toggle the SPI to enable, install wiring orangepi and all looks ok. But when in go to /sys/class/pwm i got a empty directory. I thought the should be a device pwmchip0 or something. I searched on the internet but can´t find a solution.

     

    This is what WiringOrangePi shows:

     

    pwm.png.3e4e7bb131575dea6836d7a43751e8d5.png

     

    Is there someone who knows what i do wrong or hwat i should do? Thank you! :)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines