Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Onda V919 3G Dual Os 64Gb : H5 sync timed out #7
Comments
jon1012
commented
Jan 8, 2016
|
no idea ? :( |
|
I do not. On the TW100 that I have, BT just worked. You might check the output of 'dmesg | grep tty' to see what tty's are created. |
jon1012
commented
Jan 8, 2016
|
I just pasted the output of that command on the ticket, ttyS4 and ttyS5 are created. But the bluetooth module doesn't answer on any of them. I am running the sdio patched kernel with the rtl8723bs module for wifi. |
|
I would think that ttyS4 is the correct unit. From the dmesg output, a baud rate of 2764800 would be suggested; however, that is a strange number. I would also try 115200, 230400, 460800, 921600, and 1843200. |
jon1012
commented
Jan 8, 2016
|
Thanks for your insights. I used this command with all the values you suggested : Le ven. 8 janv. 2016 à 18:24, lwfinger notifications@github.com a écrit :
|
|
Does the hardware work with Windows? |
jon1012
commented
Jan 10, 2016
|
Didn't have a windows on the tablet to check anymore, so it took a bit of time. |
|
Do you know where the source is for the version of Android that you checked? |
jon1012
commented
Jan 11, 2016
|
I didn't find a source code sorry :( |
TobleMiner
commented
Jan 31, 2016
|
I'm having the exact same issue on a TrekStor SurtTab wintron 7.0. The kernel reports this:
But unluckily the H5 sync times out on both ttyS1 and ttyS2. When the sync pattern is sent no data can be recieved at the stty. I'm totally stuck because I have no idea how to tackle this problem. You seem to have quite some insight in the operation of realtek chipsets. Do you have any hints for further debugging? Any help is greatly appreciated. |
|
I know very little about the BT devices; however, most of the Realtek serial BT devices are not connected to ttyS1 or ttyS2. These devices are usually real serial ports even though there is no external connector for them. Every Realtek BT device that I know about uses ttyS4. |
TobleMiner
commented
Jan 31, 2016
|
Hm, ok. Thanks for the info. Bluetooth somewhat works under Windows so there must be some serial connection. Maybe my tablet uses some strange seial interface that's not recognized by Linux? There are only ttyS0-2. I'm quite puzzled about that. |
jasonabele
commented
Feb 1, 2016
|
I am not at all familiar with the Onda devices, but on the NextThingCo CHIP boards, the rtl8723bs bluetooth device is wired to the second UART of the SoC and appears at /dev/ttyS1 ... the attachment to something like ttyS[0-4] is specific to how the Onda device is physically constructed. One thing that may help get people going a little better is a small observation that I made while getting the rtl8723bs bluetooth working on CHIP was: The bluetooth firmware is downloaded to the rtl8723bs at 115200bps by the rtk_hciattach command. After firmware download, the rtk_hciattach command sends an H5 command to change the UART rate to something higher than 115200bps. However, the rtk_hciattach command does nothing to probe the UART before attempting to send the bluetooth firmware at 11520bps. This leads to a strange fault where the second attempt to run an rtk_hciattach will fail because the firmware has already been downloaded an the rtl8723bs device is set to a higher communication rate. Warm reboots can also exhibit this same issue as the rtl8723bs may still be configured for the higher bitrate and thus the new attempt to download firmware at 115200bps will fail and thus all of the hciattach fails. At NextThing, we are carrying a hack for now that toggles the reset line of the rtl8723bs before calling rtk_hciattach, but this would be hard to do on other devices without knowledge of how the rtl8723bs is wired to the SoC. I am working on a better solution where the firmware download is skipped if the UART is detected to be in a higher bitrate and I will try to remember to ping this issue/repo when we have a better fix. Hope that helps someone fix this up for other rtl8723bs devices. |
lwfinger
referenced this issue
Feb 23, 2016
Open
MeeGoPad T02 with Ubuntu 15.10, WiFi works, Bluetooth dont #9
pcercuei
commented
Mar 9, 2016
|
Same issue on a Teclast x89. |
youling257
commented
Mar 30, 2016
|
onda v891w ,same problem |
BotCyborg
commented
Jun 4, 2016
•
|
I had identical issue on a no-name baytrail device in laptop form factor from alibaba. The following resolved it --> I added the lines from here. (had to edit by hand, patch didn't work, since there are other changes on 4.5 kernel in rfkill). Then enabled CONFIG_RFKILL_GPIO=m in kernel config and recompiled kernel. Re-installed rtl8723bs and rtl8723bs_bt and it worked. Hope it helps someone else. |
pcercuei
commented
Jun 7, 2016
|
That was it! Bluetooth is now working here. Thanks! |
MalakiLab
commented
Jun 8, 2016
|
Adding { "OBDA8723", RFKILL_TYPE_BLUETOOTH }, in rfkill-gpio.c did the trick for me too. |
jon1012
commented
Jun 8, 2016
|
Wow, nice ! I'll try it, maybe that tablet won't sit in a drawer anymore :) Le mer. 8 juin 2016 à 16:22, Simon-Pierre Dubé notifications@github.com a
|
|
Even though adding that line works, that is NOT the long-term solution for the kernel. The RFKILL_TYPE_BLUETOOTH entries from that table have been moved. I have tried to find the "correct and approved" way to make this change, but no luck so far. If anyone out there has any suggestions, then please post them. |
MalakiLab
commented
Jun 8, 2016
|
To what i see in the in the .c, it wasn't moved, it was replaced by an automatic detection based on the ACPI properties of the device. Not completely sure though. As of kernel 3.19, the kernel use the Unified Device Properties Interface. http://events.linuxfoundation.org/sites/events/files/slides/unified_properties_API_0.pdf I'm pretty sure the ACPI table don't contain the type of device it is, and is not recognized as RFKILL_TYPE_BLUETOOTH, and skipped. Those still in the hardcoded table seems like similar exceptions. I can be wrong. I stopped following and reading kernel sources when they moved to 3.x, now i will be honest, i am lost in new implementations. |
MatejKovacic
commented
Jun 27, 2016
|
I have PCG02U Ubuntu Stick PC (bought from AliExpress), running Ubuntu 14.04.4 LTS and kernel 3.16.0-71. I run Any idea how to solve this? @BotCyborg, how exactly did you solve the problem? |
protectivedad
commented
Jun 28, 2016
•
|
Thanks for the solution. Just for anyone who also has this problem. I got the bluetooth working with the patch described here with RFKILL_TYPE_BLUETOOTH (I using 4.6.2 kernel). I'm using HP Stream 7 and the ACPI identification is OBDA8723 (rtl8923bs). I also noticed this ACPI being discussed in hadess work on the rtl8723bs driver. |
ghost
commented
Jul 7, 2016
|
where exactly did you add those lines? |
BotCyborg
commented
Jul 7, 2016
|
@kahrloz add it in the in the rfkill-gpio.c file, in the linux kernel source and then recompile the kernel. @MatejKovacic I have already mentioned the 4 things that I did, in my last post. I'm afraid you would have to ask google if you need detailed help with applying patches and recompiling the kernel. My apologies, but describing everything here would be beyond the scope of this thread. |
ghost
commented
Jul 8, 2016
|
i looked for that file, but couldn't find it |
ghost
commented
Jul 10, 2016
|
@BotCyborg where is that file located? Can't find it |
BotCyborg
commented
Jul 10, 2016
|
@kahrloz Hi! Here it is, in the kernel source |
ghost
commented
Jul 10, 2016
•
|
@BotCyborg i found a rfkill-gpio.h file, is that it? I'm using kernel 4.4.0 |
BotCyborg
commented
Jul 10, 2016
•
|
@kahrloz You should be able to see these files in the net/rfkill/ directory as shown here, You must be looking at the headers, if you are seeing rfkill-gpio.h. That's not the one. |
ghost
commented
Jul 10, 2016
|
@BotCyborg what if those files are not there? |
BotCyborg
commented
Jul 10, 2016
•
|
@kahrloz Then most likely you are looking at the wrong place or using some custom kernel source. Where did you download the kernel source from? Also are you very sure you are not looking at the linux-header sources or the include directory? |
pietrushnic
commented
Aug 13, 2016
•
|
@lwfinger it looks like I have very similar problem with Allwinner A20 custom board. I was able to integrated driver with buildroot and build it with 4.7 kernel. I'm sure that I'm using correct
@jasonabele if I read CHIP schematics correctly BTW WiFi works to some extent, so I assume hardware is connected correctly in this area. |
pietrushnic
commented
Aug 14, 2016
•
|
@lwfinger @jasonabele I managed to make some progress by toggling
I tried both firmwares Full @hadess do you have any insights about BT part of this chip ? |
jharrison022
commented
Aug 15, 2016
|
Same problem here, even with OBDA patch. I have ttyS1 and ttyS2, neither work. H5 sync time out |
|
Devices ttyS1 and ttys2 are real serial ports, not the one created by the Bluetooth device. If you are not seeing other ttySx devices, then your BT device is not being found. I have no idea what errors there might be in the kernel configuration, but I would suspect that as the problem. |
pietrushnic
commented
Aug 16, 2016
|
No. I have no hardware that shows this problem, and I have no plans to buy anything new. |
RussianNeuroMancer
referenced this issue
Nov 19, 2016
Open
Bluetooth doesn't work on Ubuntu 16.10 on Acer One 10 S1002 #17
madivak
commented
Feb 17, 2017
•
|
@pietrushnic i got the BT device to wake up and scanned for available bluetooth signals. Am using Allwinner A20 and the RTL8723bs on a custorm board. i used the Makefile from https://github.com/NextThingCo/rtl8723bs_bt to cross compile this driver for Sun7i.
i have managed to pair with my phone but now trying to figure out how i can do file transfer. For some reason i can "pair" but i cant "connect" to the phone. |
pietrushnic
commented
Mar 12, 2017
|
@madivak according to our email discussion you managed to solve that issues. It would be great if you can leave here a note for community benefit. |
madivak
commented
Mar 13, 2017
•
|
@pietrushnic sorry about that. 1st script is to initialize BT_WAKE and BT_WAKE_HOST, here is the script, run this after boot.
2nd script runs the BT driver
So after this, i could now use the Bluetoothctl to do all Bluetooth functionalities. NOTE: My wifi worked with Kernel 4.3.2 as shown in an earlier comment so proceeded to working with 4.3.2 for BT. (i had tried 4.4.27 and 4.6 but the mmc-sdhci patches from https://github.com/hadess/rtl8723bs failed) |
madivak
commented
Apr 6, 2017
•
|
@pietrushnic I managed to connect and send files via Bluetooth using rfcomm. sudo rfcomm connect [bluetooth host device] [Target bluetooth device MAC] [channel] |
xchetah
commented
May 2, 2017
•
|
@madivak hi , I have a23 tablet I followed your steps and got bluetooth to work , but after a while all commands return timeout : |
madivak
commented
May 3, 2017
•
|
@xchetah that's strange. I have never encountered the "timeout" ever since i scripted the 2 Scripts listed above. If your issue involves scanning and u r using "Bluetoothctl" you can try and leave the "scan on/off" option "ON" and see whether there is timeout. You can go ahead and remove the "hcitool scan" from the script and do it withing "Bluetoothctl". Am not sure whether that will solve your problem. |
xchetah
commented
May 3, 2017
|
@madivak thanks for your reply , anyway that didn't fix the problem I think it's either rtk_hciattach or tty problem , the problem happens if i delay any command , for example if I delay hci0 up after hciattach , it wont bring the interface up , so all i have to do is to keep the device busy with commands which is not practical , btw I'm using allwinner kernel 3.4 , got problems with mainline kernel |
madivak
commented
May 3, 2017
•
|
@xchetah have u tried re-compiling it. Were the mainline issues linked with compiling this driver? Because that wasn't my case. Either try recompiling the kernel and the driver and see what happens. Are u using buildroot with 3.4? |
xchetah
commented
May 3, 2017
|
@madivak in mainline kernel rtk_hciattach fails with : |
madivak
commented
May 3, 2017
•
|
yikes! which kernel version is that? |
xchetah
commented
May 3, 2017
|
@madivak main kernel 4.11-rc1 works now , i missed a regulator enable in the dts file , works perfectly thanks for your effort |
madivak
commented
May 3, 2017
|
The mmc section? |
xchetah
commented
May 3, 2017
|
@madivak [bt_para] I didnt enable wifi_power_ext1 = "axp22_dldo2" in the dtsi , which resulted in the errors mentioned earlier |
emelcher
commented
Jul 17, 2017
|
With kernel 4.8 Bluetoooth worked with this patch: |
madivak
commented
Jul 17, 2017
|
With that issue I suspect its something to do with your DTS file. Check previous comments above and see guys had the same issue. Make sure your DTS file is properly configured. Check my comment above u will find a link for my DTS file and kernel. Properly look at the DTS file. |
emelcher
commented
Jul 17, 2017
|
I forgot to enable CONFIG_RFKILL_GPIO in the kernel .config, Sorry for the silly mistake. |
youyudedasan
commented
Oct 3, 2017
•
|
I drive rtl8723ds with rtk_h5 protocol on ARM 9,kernel 3.10.65,bluez5.38. Realtek Bluetooth :3-wire sync pattern resend : 1, len: 8 Realtek Bluetooth :Get SYNC Resp Pkt Realtek Bluetooth :Get SYNC pkt-active mode Realtek Bluetooth :3-wire config pattern resend : 1 , len: 10 Realtek Bluetooth :Get CONFG resp pkt-active mode Realtek Bluetooth :H5 init finished Realtek Bluetooth :RTK send HCI_VENDOR_READ_RTK_ROM_VERISION_Command Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :Read Local Version Information with Status:0 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :Read RTK rom version with Status:0 Realtek Bluetooth :Firmware/config: rtl8723d_fw, rtl8723d_config Realtek Bluetooth :config offset(00f4),length(01) Realtek Bluetooth :Coexistence: BTCOEX_20161108-1010 Realtek Bluetooth :fw: exists, config file: exists Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :Change BD Rate with status:0 Realtek Bluetooth :hw flow control enable Realtek Bluetooth :hci_download_patch tx_index:0 rx_index: -1 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:1 rx_index: 0 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:2 rx_index: 1 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:3 rx_index: 2 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:4 rx_index: 3 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:5 rx_index: 4 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:6 rx_index: 5 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:7 rx_index: 6 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:8 rx_index: 7 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:9 rx_index: 8 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:10 rx_index: 9 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:11 rx_index: 10 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:12 rx_index: 11 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:13 rx_index: 12 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:14 rx_index: 13 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:15 rx_index: 14 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:16 rx_index: 15 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:17 rx_index: 16 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:18 rx_index: 17 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:19 rx_index: 18 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:20 rx_index: 19 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:21 rx_index: 20 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:22 rx_index: 21 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:23 rx_index: 22 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:24 rx_index: 23 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:25 rx_index: 24 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:26 rx_index: 25 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:27 rx_index: 26 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:28 rx_index: 27 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:29 rx_index: 28 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:30 rx_index: 29 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:31 rx_index: 30 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:32 rx_index: 31 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:33 rx_index: 32 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:34 rx_index: 33 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:35 rx_index: 34 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:36 rx_index: 35 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:37 rx_index: 36 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:38 rx_index: 37 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:39 rx_index: 38 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:40 rx_index: 39 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:41 rx_index: 40 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:42 rx_index: 41 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:43 rx_index: 42 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:44 rx_index: 43 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:45 rx_index: 44 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:46 rx_index: 45 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:47 rx_index: 46 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:48 rx_index: 47 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:49 rx_index: 48 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:50 rx_index: 49 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:51 rx_index: 50 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:52 rx_index: 51 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:53 rx_index: 52 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:54 rx_index: 53 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:55 rx_index: 54 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:56 rx_index: 55 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:57 rx_index: 56 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:58 rx_index: 57 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:59 rx_index: 58 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:60 rx_index: 59 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:61 rx_index: 60 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:62 rx_index: 61 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:63 rx_index: 62 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:64 rx_index: 63 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:65 rx_index: 64 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:66 rx_index: 65 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:67 rx_index: 66 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:68 rx_index: 67 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:69 rx_index: 68 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:70 rx_index: 69 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:71 rx_index: 70 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:72 rx_index: 71 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:73 rx_index: 72 Realtek Bluetooth :Received reliable seqno 4 from card able seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:74 rx_index: 73 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:75 rx_index: 74 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:76 rx_index: 75 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:77 rx_index: 76 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:78 rx_index: 77 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:79 rx_index: 78 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:80 rx_index: 79 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:81 rx_index: 80 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:82 rx_index: 81 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:83 rx_index: 82 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:84 rx_index: 83 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:85 rx_index: 84 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:86 rx_index: 85 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:87 rx_index: 86 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:88 rx_index: 87 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:89 rx_index: 88 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:90 rx_index: 89 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:91 rx_index: 90 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:92 rx_index: 91 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:93 rx_index: 92 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:94 rx_index: 93 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:95 rx_index: 94 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:96 rx_index: 95 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:97 rx_index: 96 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:98 rx_index: 97 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:99 rx_index: 98 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:100 rx_index: 99 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:101 rx_index: 100 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:102 rx_index: 101 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:103 rx_index: 102 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:104 rx_index: 103 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:105 rx_index: 104 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:106 rx_index: 105 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:107 rx_index: 106 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:108 rx_index: 107 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:109 rx_index: 108 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :hci_download_patch tx_index:110 rx_index: 109 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:111 rx_index: 110 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :hci_download_patch tx_index:112 rx_index: 111 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth :hci_download_patch tx_index:113 rx_index: 112 Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :hci_download_patch tx_index:114 rx_index: 113 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :hci_download_patch tx_index:115 rx_index: 114 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :hci_download_patch tx_index:116 rx_index: 115 Realtek Bluetooth :Received reliable seqno 7 from card Realtek Bluetooth :hci_download_patch tx_index:117 rx_index: 116 Realtek Bluetooth :Received reliable seqno 0 from card Realtek Bluetooth :proto:2 Realtek Bluetooth :Received reliable seqno 1 from card Realtek Bluetooth :hci_download_patch tx_index:119 rx_index: 118 Realtek Bluetooth :Received reliable seqno 2 from card Realtek Bluetooth :Send additional packet 120 Realtek Bluetooth :Received reliable seqno 3 from card Realtek Bluetooth ERROR: Out-of-order packet arrived, got(3)expected(4) Realtek Bluetooth :Received reliable seqno 4 from card Realtek Bluetooth :Send additional packet 122 Realtek Bluetooth :Received reliable seqno 5 from card Realtek Bluetooth :Send additional packet 123 Realtek Bluetooth :Received reliable seqno 6 from card Realtek Bluetooth :Send end packet 252 Realtek Bluetooth ERROR: h5 hdr checksum error!!! Realtek Bluetooth :3-wire download patch re send:0 PS:i show the uart speed to 115200.i set alarm timer to 10s in case of alarming in downloading patch |
dmarkey
commented
Nov 26, 2017
Anyone seen this happen before? |
jon1012 commentedDec 21, 2015
Hi,
I tried all the ttyS* on my device and none works.
Wifi is working perfectly (recompiled kernel with fixes from the patch/ directory of rtl8723bs repo), but no way to get the bluetooth work.
Command outputs :
$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.672313] 00:02: ttyS0 at I/O 0x3f8 (irq = 199, base_baud = 115200) is a 16550A
[ 6.740893] systemd[1]: Created slice system-getty.slice.
[ 7.103121] 80860F0A:00: ttyS4 at MMIO 0x90913000 (irq = 191, base_baud = 2764800) is a 16550A
[ 7.103517] 80860F0A:01: ttyS5 at MMIO 0x90919000 (irq = 192, base_baud = 2764800) is a 16550A
hciattach.txt:
Realtek Bluetooth init uart with init speed:115200, final_speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 2.5
Realtek Bluetooth :3-wire sync pattern resend : 1, len: 8
Realtek Bluetooth :3-wire sync pattern resend : 2, len: 8
Realtek Bluetooth :3-wire sync pattern resend : 3, len: 8
[... cut for brievety]
Realtek Bluetooth :3-wire sync pattern resend : 40, len: 8
Realtek Bluetooth ERROR: H5 sync timed out
I tried to use it on all the tty (not just ttyS4), change the baudrate, even ried rtk_h4 with no luck.
Any idea why it might happen ?
Thanks,
Jonathan