Jump to content

FredrikA

Members
  • Posts

    21
  • Joined

  • Last visited

Reputation Activity

  1. Like
    FredrikA reacted to guidol in c270 usb cam not recognized   
    My Logitech C270 is found by armbian as UVC-camera:
     
    # lsusb
    Bus 005 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270
     
    [70995.555217] usb 5-1: new high-speed USB device number 3 using ehci-platform
    [70995.931843] usb 5-1: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.12
    [70995.931859] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
    [70995.931867] usb 5-1: SerialNumber: 91E09A20
    [70996.019769] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
    [70996.133336] uvcvideo 5-1:1.0: Entity type for entity Extension 4 was not initialized!
    [70996.133361] uvcvideo 5-1:1.0: Entity type for entity Extension 6 was not initialized!
    [70996.133374] uvcvideo 5-1:1.0: Entity type for entity Extension 7 was not initialized!
    [70996.133388] uvcvideo 5-1:1.0: Entity type for entity Processing 2 was not initialized!
    [70996.133401] uvcvideo 5-1:1.0: Entity type for entity Extension 3 was not initialized!
    [70996.133413] uvcvideo 5-1:1.0: Entity type for entity Camera 1 was not initialized!
    [70996.133914] input: UVC Camera (046d:0825) as /devices/platform/soc/1c1d000.usb/usb5/5-1/5-1:1.0/input/input0
    [70996.134373] usbcore: registered new interface driver uvcvideo
    [70996.134383] USB Video Class driver (1.1.1)
    [70997.474714] usb 5-1: set resolution quirk: cval->res = 384
    [70997.476055] usbcore: registered new interface driver snd-usb-audio
     
    System diagnosis information has been uploaded to http://ix.io/2mBL
     
  2. Like
    FredrikA reacted to iamdrq in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    Oh,I fixed this problem spend 2 weeks,I finally heard sound from 3.5 mm jack (this jack is OMTP otherwise need keep press headphone button)
     
    I see this topic,and I compair https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5640.c and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5651.c,this rt5651 not enable mclk and orangepi4"s rt5651 linked i2s1,the i2s1's SCLK_I2S_8CH parent not SCLK_I2S1_8CH defult and need set alsamixer in following(also use alsactl save this alsamixer state):
    amixer set 'HPO L' on amixer set 'HPO R' on amixer set 'HPOVOL L' on amixer set 'HPOVOL R' on amixer set 'HPO MIX HPVOL' on amixer set 'OUT MIXL DAC L1' on amixer set 'OUT MIXR DAC R1' on amixer set 'Stereo DAC MIXL DAC L1' on amixer set 'Stereo DAC MIXR DAC R1' on And I not familiar with electronics,I did some patch and hope this can help armbian fix 
    fix-i2s1-clk.patch orangepi4-rt5651.patch orangepi4-i2s_8ch_mclk.dts
    Armbian applied this patch to 'Armbian build system' and with minor tweaks,you can use it by 'Armbian build system' latest branch.
  3. Like
    FredrikA reacted to iamdrq in Orange Pi 4 Kernel 5.x.x rt5651 sound and bluetooth fixed   
    Yes,the orange pi 4's bluetooth also fixed.
    the main line kernel support bcm bt chip,so I use the kernel driver  and not use brcm_patchram_plus file do this.
    the 'wireless-wlan' and 'wireless-bluetooth' in dts,it is from rockchip's net/rfkill/rfkill-bt.c and net/rfkill/rfkill-wlan.c and this not found in main line kernel,so  'wireless-wlan' and 'wireless-bluetooth' should remove or disable,and wifi be driver by sdio node in dts.
    the bluetooth will  be driver by uart->bluetooth->compatible = "brcm,bcm4345c5"(serial@ff180000->bluetooth->compatible = "brcm,bcm4345c5")
    and the kernel config should enable CONFIG_SERIAL_DEV_BUS=y CONFIG_SERIAL_DEV_CTRL_TTYPORT=y CONFIG_BT_HCIUART_BCM=y CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y
     
    but have a little problem,need  do 'btmgmt --index 0 public-addr 11:22:33:44:55:66' set bt mac after boot,otherwise hciconfig will show 'DOWN RAW',someone konw fix this?
     
    I did some dts over and hope this can help armbian fix 
    bluetooth-opi4.dts linux-rockchip64-current.config
  4. Like
    FredrikA reacted to Jack953 in Orange pi 4   
    Thank you, very usefull, I guess its safe to test, when doing nothing. But its a risk when both devices are on high load.
  5. Like
    FredrikA reacted to VyacheslavS in Orange pi 4   
    I measured the consumption of the OP4 board:
    1.Loading the operating system
     
    2.The system is loaded, there is no application load
     
    3. 7z benchmark. Maximum CPU load.
     
  6. Like
    FredrikA got a reaction from Jack953 in Orange pi 4   
    You can measure the power consumption and see if you are at risk. I can try to see if I can find my clamp ampere meter, I got it around somewhere, maybe I can make some measurement.
    If you are at risk, the processor cores draws a lot more when at high frequency, maybe you could implement a more restrictive throttling.
  7. Like
    FredrikA got a reaction from haajee in Orange pi 4   
    I have no stability problem, since I got a cooling fan.
    I am using an OKDO usb-c power supply (the company that makes the PSU for raspberry pi). It has real 3A supply.
    I had it halt twice before
    Once because overheating
    Once because memory was exhausted when I tried to build tensorflow.
  8. Like
    FredrikA got a reaction from gounthar in Orange pi 4   
    I will answer my own question. After adding voltage debug to statistics I have concluded that regulator 10 is for the four ARM A53 and regulator 23 is for the two ARM A72.

    if anyone interested files here https://github.com/Freddan-67/rpimonitor-armbian.git
  9. Like
    FredrikA got a reaction from gounthar in Orange pi 4   
    @IanHI am connected wireless (only), due to lacking ethernet in the living room. I still get some crashes on ethernet in dmesg.

    I am running:
    uname -a Linux orangepi4 4.4.213-rk3399 #15 SMP Thu Mar 19 21:33:44 CET 2020 aarch64 GNU/Linux
    (Armbian_20.02.5_Orangepi4_buster_legacy_4.4.213)
     
    I wonder if anyone knows how to get the Gyrfalcon Lightspeeur 2801S running in armbian?
    Also want to make the RPI monitor look nice, including core voltages, does anyone knows which voltage regulators go where?
    I found four regulators with suspected cpu voltages, but have no clue on how they are connected
    /sys/devices/platform/vdd-log/regulator/regulator.8/microvolts
    /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001b/regulator/regulator.9/microvolts
    /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001b/regulator/regulator.10/microvolts
    /sys/devices/platform/ff3c0000.i2c/i2c-0/0-0041/regulator/regulator.24/microvolts

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines