Jump to content

dony71

Members
  • Posts

    128
  • Joined

  • Last visited

Everything posted by dony71

  1. Also notice "Service Classes: Unspecified" Try changing device class in /etc/bluetooth/main.conf as following: # Default device class. Only the major and minor device class bits are # considered. #Class = 0x000100 (from default config) Class = 0x100100 But does not help, still "Service Classes: Unspecified" pi@bananapim2plus:~$ hciconfig -a hci0 hci0: Type: BR/EDR Bus: UART BD Address: 43:43:A0:12:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:758 acl:0 sco:0 events:20 errors:0 TX bytes:343 acl:0 sco:0 commands:20 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'BCM4343A0 26MHz AP6212_CL1-0061' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0xf2 LMP Version: 4.1 (0x7) Subversion: 0x2122 Manufacturer: Broadcom Corporation (15)
  2. bluetooth daemon is running (see below) the problem is bluetoothctl which suppose to control BT controller does not recognize BT controller device ------------------------------------------------------------------------------ pi@bananapim2plus:~$ sudo systemctl status bluetooth ◠bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled) Active: active (running) since Wed 2016-06-08 12:17:16 EDT; 13min ago Docs: man:bluetoothd(8) Main PID: 652 (bluetoothd) Status: "Running" CGroup: /system.slice/bluetooth.service └─652 /usr/lib/bluetooth/bluetoothd Jun 08 12:17:16 bananapim2plus bluetoothd[652]: Bluetooth daemon 5.23 Jun 08 12:17:16 bananapim2plus bluetoothd[652]: Starting SDP server Jun 08 12:17:16 bananapim2plus systemd[1]: Started Bluetooth service. Jun 08 12:17:16 bananapim2plus bluetoothd[652]: Bluetooth management interfa...d Jun 08 12:17:19 bananapim2plus systemd[1]: Started Bluetooth service. Hint: Some lines were ellipsized, use -l to show in full.
  3. I found "bluetoothctl" cannot recognize BT controller Under bluetoothctl > list, does not show any controller Could it be still driver missing? I check raspberry pi 3 which using same AP6212 module, lsmod has btbcm bnep 10336 2 btbcm 4196 1 hci_uart bluetooth 317981 7 bnep,btbcm,hci_uart rfkill 16036 6 cfg80211,bluetooth However "modprobe btbcm" modprobe: FATAL: Module btbcm not found. Also I checkout nanopi2 patch which using AP6212 module as well (git clone https://github.com/jrspruitt/FriendlyARM_NanoPi_Buildroot_Ext.git) In ~/FriendlyARM_NanoPi_Buildroot_Ext/package/broadcom-bluetooth/Config.in ----------------------- if BR2_INIT_SYSV || BR2_INIT_BUSYBOX config BR2_PACKAGE_BROADCOM_BLUETOOTH bool "brcm_patchram_plus" select BR2_PACKAGE_BLUEZ5_UTILS help Broadcom utility for loading firmware to Bluetooth devices. https://code.google.com/p/broadcom-bluetooth/ endif ----------------------------- But cannot find this BR2_PACKAGE_BROADCOM_BLUETOOTH in Armbian source Maybe Armbian source needs this patch?
  4. how you get pair in OpenELEC ? maybe i can follow the same method in armbian
  5. apt-get install bluez blueman after installed, bluetooth monitor in desktop also cannot find devices what do you mean by using daemons?
  6. I got the answer .... need to do "hciconfig hci0 up" then "hciconfig -a" will show hci0: Type: BR/EDR Bus: UART BD Address: 43:43:A0:12:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:7391 acl:0 sco:0 events:83 errors:0 TX bytes:596 acl:0 sco:0 commands:37 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'BCM4343A0 26MHz AP6212_CL1-0061' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0xf2 LMP Version: 4.1 (0x7) Subversion: 0x2122 Manufacturer: Broadcom Corporation (15) However I don't know how to do pairing for next step I'm doing "hcitool scan" then can see Scanning ... 00:07:61:EE:CE:50 Dell BT Travel Mouse Then I'm doing following sudo bluetoothctl agent on default-agent pair 00:07:61:EE:CE:50 then get Device 00:07:61:EE:CE:50 not available I thought BT controller already found "00:07:61:EE:CE:50 Dell BT Travel Mouse" but why not available?
  7. Nothing shows in devices.... anything else I'm missing? pi@bananapim2plus:~$ hcitool dev Devices:
  8. how about on-board bluetooth? anybody get it working?
  9. running h.265 is no problem at all in armbian (to install, follow this http://forum.armbian.com/index.php/topic/1129-h265/) core utilization is pretty good also ~20% i think kodi should be working fine in armbian, but so far nobody has good recipe to install kodi in armbian
  10. i have banana pi m2plus and compile latest armbian after starting x11, i get "could not connect to wicd's d-bus interface..." no error shown in /var/log/wicd/wicd.log and wicd seems to be working also bcmdhd loaded, but when trying to connect wifi, cannot get ip any idea?
  11. I try to compile again, try this time using x64 machine Got repository error this time Repo down? ----------------------------------------------------------------------------------------------------- fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. [ o.k. ] Starting Armbian build script [ @host ] [ o.k. ] Building [ Armbian 5.12 Bananapim2plus Debian jessie default ] [ o.k. ] Syncing clock [ host ] [ o.k. ] source downloading [ @host ] fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. [ o.k. ] ... creating a shallow clone [ u-boot ] Cloning into '/home/user/Armbian/sources/u-boot/v'... fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. /home/user/Armbian/lib/general.sh: line 162: cd: /home/user/Armbian/sources/u-boot/v: No such file or directory [ o.k. ] ... creating a shallow clone [ linux-sun8i sun8i ] Cloning into '/home/user/Armbian/sources/linux-sun8i/sun8i'... remote: Counting objects: 45250, done. remote: Compressing objects: 100% (40065/40065), done. remote: Total 45250 (delta 4576), reused 45249 (delta 4576), pack-reused 0 Receiving objects: 100% (45250/45250), 126.32 MiB | 1.40 MiB/s, done. Resolving deltas: 100% (4576/4576), done. Checking connectivity... done. [ o.k. ] ... creating a shallow clone [ sunxi-tools ] Cloning into '/home/user/Armbian/sources/sunxi-tools'... remote: Counting objects: 55, done. remote: Compressing objects: 100% (49/49), done. remote: Total 55 (delta 18), reused 27 (delta 5), pack-reused 0 Unpacking objects: 100% (55/55), done. Checking connectivity... done. [ o.k. ] ... creating a shallow clone [ sunxi-display-changer ] Cloning into '/home/user/Armbian/sources/sunxi-display-changer'... remote: Counting objects: 9, done. remote: Compressing objects: 100% (8/8), done. remote: Total 9 (delta 0), reused 7 (delta 0), pack-reused 0 Unpacking objects: 100% (9/9), done. Checking connectivity... done. [ o.k. ] Compiling sunxi tools [ @host & target ] [ o.k. ] Cleaning [ linux-sun8i/sun8i ] /home/user/Armbian/lib/main.sh: line 212: cd: /home/user/Armbian/sources/u-boot/v: No such file or directory cat: /home/user/Armbian/sources/u-boot/v/Makefile: No such file or directory cat: /home/user/Armbian/sources/u-boot/v/Makefile: No such file or directory cat: /home/user/Armbian/sources/u-boot/v/Makefile: No such file or directory cat: /home/user/Armbian/sources/u-boot/v/Makefile: No such file or directory [ o.k. ] Started patching process for [ u-boot u-boot-default ] [ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-default ] [ o.k. ] ... add-awsom-uboot.patch [ succeeded ] [ o.k. ] ... add-cubieboard4.patch [ succeeded ] [ warn ] ... bananapi-enable-ldo4.patch [ failed ] [ warn ] ... u-boot-02-support-cheap-mmc.patch [ failed ] [ o.k. ] ... u-boot-99-add-missing-boards.patch [ succeeded ] [ error ] ERROR in function compile_uboot [ common.sh:29 ] [ error ] Error building u-boot: source directory does not exist [ u-boot/v ]
  12. compile finished, however cannot boot with image burnt into sdcard mount image "sudo mount -o offset=1048576 -t ext4 /media/sdcard" shows failure image wrong format what is the format of image?
  13. I delete all and redo git which means compile from clean But still same problem My host Ubuntu 14.04 x86 not x64, is it matters? │ arch/arm/mach-sunxi/power/brom/gen_check_code: 1: arch/arm/mach-sunxi/power/ │ │ make[3]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 │ │ make[2]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 │ │ make[1]: *** [arch/arm/mach-sunxi/power] Error 2 │ │ make: *** [arch/arm/mach-sunxi] Error 2 │ └──────────────────────────────────────────────────────────────────────────────┘ [ error ] ERROR in function compile_kernel [ common.sh:179 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated # user@ubuntuvm:~/Armbian$
  14. Ubuntu 14.4 LTS as follow armbian suggestion No change in configuration Btw, build process could finish without any problem from git source a week ago I notice you update source couple days ago, maybe because of that some code broken?
  15. Hi Igor, I have build error based on latest source on github Target platform banana pi m2+ Anything I'm missing? │ AS arch/arm/mach-sunxi/power/brom/resumes.o │ │ CC arch/arm/mach-sunxi/power/brom/resume_head.o │ │ arch/arm/mach-sunxi/power/brom/gen_check_code: 1: arch/arm/mach-sunxi/power/ │ │ make[3]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 │ │ make[2]: *** [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 │ │ make[1]: *** [arch/arm/mach-sunxi/power] Error 2 │ │ make: *** [arch/arm/mach-sunxi] Error 2 │ └──────────────────────────────────────────────────────────────────────────────┘ [ error ] ERROR in function compile_kernel [ common.sh:184 ] [ error ] Kernel was not built [ @host ] [ o.k. ] Process terminated #
  16. sorry, i'm newbie on this where can i find the log file to check cooler_state value? on rpi monitor, it shows core went to 3 while hit ~98C but it never come back to 4 core
  17. seems no way to do -vo vdpau remotely, but -vo x11 has video, but off course slow since not hw accel
  18. Did you try to play mpv video remotely using x2goclient? I have mpv blank video display from remote side Any idea what's I'm missing?
  19. dony71

    h.265

    Add those permission in 50-mali.rules in /etc/udev/rules.d helps. Now mpv working when playing locally Now I try to play mpv via remote using X2GO mpv is executing well, but no video (blank) I don't see any error message either .... You have any idea what's I'm missing? pi@bananapim2plus:~/Videos$ mpv Wildlife.wmv Playing: Wildlife.wmv (+) Video --vid=1 (vc1) (+) Audio --aid=1 --alang=eng (wmav2) File tags: Comment: Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball Title: Wildlife in HD [VDPAU SUNXI] VE version 0x1680 opened [VDPAU SUNXI] OSD enabled, using pixman AO: [alsa] 44100Hz stereo 2ch s32 Using software decoding. VO: [vdpau] 1280x720 yuv420p [osd/libass] PlayResX undefined, setting to -1 [VDPAU SUNXI] Presentation time not supported AV: 00:00:10 / 00:00:30 (33%) A-V: -0.012
  20. dony71

    h.265

    Hi Kaiser, I have desktop image from armbian.com for banana pi m2 plus platform and mpv is not working with that fresh image Since not working, then try apt-get update and apt-get upgrade, but still not working That's why I'm trying different things
  21. dony71

    h.265

    I manage to get it working What I did, comment out in x265/source/common/primitives.cpp /* #if X265_ARCH_ARM void PFX(cpu_neon_test)(void) {} int PFX(cpu_fast_neon_mrc_test)(void) { return 0; } #endif // X265_ARCH_ARM */ then after execute ./make-Makefiles.bash, need to choose "ENABLE_PIC = ON" then press c, g everything compile OKhowever now I have problem execute mpv, got this error below any idea? pi@bananapim2plus:~/Videos$ mpv Wildlife.wmv Playing: Wildlife.wmv (+) Video --vid=1 (vc1) (+) Audio --aid=1 --alang=eng (wmav2) File tags: Comment: Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball Title: Wildlife in HD [vo/vdpau] Error when calling vdp_device_create_x11: 25 Error opening/initializing the selected video_out (-vo) device. Video: no video
  22. dony71

    h.265

    RagnerBG, I couldn't find - #if ENABLE_ASSEMBLY && X265_ARCH_ARM == 0 in x265/source/common/primitives.cpp but I find #if X265_ARCH_ARM so I remove this. However while "make -j4", I have this error Scanning dependencies of target common [ 21%] Built target encoder [ 22%] Building CXX object common/CMakeFiles/common.dir/primitives.cpp.o [ 56%] Built target common Linking CXX shared library libx265.so Linking CXX static library libx265.a /usr/bin/ld: encoder/CMakeFiles/encoder.dir/analysis.cpp.o: relocation R_ARM_MOVW_ABS_NC against `_ZN4x26510g_log2SizeE' can not be used when making a shared object; recompile with -fPIC encoder/CMakeFiles/encoder.dir/analysis.cpp.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status CMakeFiles/x265-shared.dir/build.make:220: recipe for target 'libx265.so.84' failed make[2]: *** [libx265.so.84] Error 1 CMakeFiles/Makefile2:158: recipe for target 'CMakeFiles/x265-shared.dir/all' failed make[1]: *** [CMakeFiles/x265-shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 77%] Built target x265-static Makefile:117: recipe for target 'all' failed make: *** [all] Error 2
  23. source is there now https://github.com/BPI-SINOVOIP/BPI-M2P-bsp/tree/master/linux-sunxi/drivers/net/wireless/bcmdhd
  24. which directory is the best for mounting usb hdd under /media or /tmp ? my understanding /tmp is mounted to memory while /media is mounted to sdcard which mean when mounting to /media then can reduce life time of sdcard while often writing am i understanding correctly?
×
×
  • Create New...