[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2019-06-01 Thread Jan Vodochalek
I also changed: case RTBTH_IOCDMAC: do { struct rtbth_dmac dmac; if (copy_from_user(, (void *)arg, sizeof(dmac))) { retval = -EFAULT; DebugPrint(ERROR, DBG_INIT,"copy_from_user failed at %d\n",

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2019-06-01 Thread Jan Vodochalek
There is a fix for the pairing on https://github.com/loimu/rtbth- dkms/pull/4 for the RTBTH_IOCDMAC: dmac.dmac_op=2 Blaze, can you take look at this pull request and let it test? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-02-24 Thread Jan Vodochalek
Can you pair with BT V4 devices? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189721 Title: Ralink RT3290 doesn't have a bluetooth driver To manage notifications about this bug go to:

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-02-04 Thread Jan Vodochalek
I have got the same trace on Ubuntu 15.10. So LM_Find_Link_Table_Entry() returns a valid pointer value as it should. However I still haven't got pairing in 15.10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-02-04 Thread Jan Vodochalek
I traced the rtbt binary on 12.10. The result is: Ubuntu 12.10: 48609b - jump taken 4860b3 -jump 4860cc - no jump 486102 - jump 48615c - jump It means, that the _v16 value is zero on Ubuntu 12.10. So the function LM_Find_Link_Table_Entry() should return 0 value. For some reason the

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-28 Thread Jan Vodochalek
At the address 0x48615c I've got jump, so the memory at the address (_v16 + 220) & 255) equals 0, which is wrong. This way we never reach the _LMssp_Send_LMP_DH_Key_Check() routine. I would need to trace this on Ubuntu 12.10 where is the pairing successful. I could nop-out the jump at the

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-28 Thread Jan Vodochalek
@Host Can you trace with edb debugger this routine inside rtbt? LMssp_LM_User_Confirmation_Request_Reply() {// addr = 0x00486064 long long _v16;// _cfa_fff0 long long _v32;// _cfa_ffe0 long long _v40;//

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-25 Thread Jan Vodochalek
I would first get the source diff of bluez and when we have the root cause of the pin mismatch, then I would decide whether is reasonable to patch bluez or the rtbt binary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-24 Thread Jan Vodochalek
The default pin does not matter. In ssm both pins are shown up. Each time a new set of pins is generated. When I click on accept pin, the rtbt routine LMssp_LM_User_Confirmation_Request_Reply is being executed. When I traced the binary, for some reason the comparison routine is not reached. It can

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-24 Thread Jan Vodochalek
Is it possible that the changes to bluetooth package affect the driver pairing? What I have tested, the Bt v4 pairing on Ubuntu 12.04 and 12.10 succeeds, but on 14.04 and later not. The differences that could affect the functioning are kernel and bluetooth package - bluez. When I tried to pair

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-23 Thread Jan Vodochalek
The work was done previously, before you took over the source. Check the kernel macros in the source. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189721 Title: Ralink RT3290 doesn't have a

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-23 Thread Jan Vodochalek
It is quite hard, since I have no source for the rtbt. The kernel 3.18 was ok to pair, but the kernel 4.02 is not pairing in simple secure mode. When I compiled the wrapper rtbth some time ago, I checked the source and there are data structure changes between these two versions. You have this

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-22 Thread Jan Vodochalek
@Host The bluetooth driver I was using with Ubuntu 12.04 and 12.10 was the loimu's driver. The rtbth.ko was compiled without problems. Pairing with BT V2 possible, pairing with BT V4 as well, but I was unable to send data to BT V4 and the connection dropped after 2 seconds. I've tried the

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-17 Thread Jan Vodochalek
I tried the Ubuntu 12.10 with the rtbt driver, but the situation is the same as with the 12.04: The BT V4 device can pair, but cannot transfer files. Moreover the connection drops each 1-2 seconds, then reconnects. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-16 Thread Jan Vodochalek
When you want to patch the rtbt binary with newest firmware, you should do it befofe sudo make install. You can repeat the sudo make install after patching the binary. I will give it a try on 12.10 live system. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-15 Thread Jan Vodochalek
The problem is in the rtbt binary. The BT V4 and BT V2 pairing routines are completely different. I traced the rtbt binary with edb debugger and I could find the LMssp_LM_User_Confirmation_Request_Reply routine activated only with BT V4 devices. Eventually we could pair BT V4 devices with patched

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-13 Thread Jan Vodochalek
You will need following source files. I am attaching the list. ** Attachment added: "rtbt_file_list.txt" https://bugs.launchpad.net/bluetooth/+bug/1189721/+attachment/4803956/+files/rtbt_file_list.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-12 Thread Jan Vodochalek
I am wondering what the Mediatek is going to protect with NDA. The rt3290 combo card is a legacy product and moreover they abandoned the support of the card. Will be they selling this product in the future ? Anyway, there is only 64bit version out in the linux domain only for one platform. új --

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-11 Thread Jan Vodochalek
I can confirm successful pairing on Precise 12.04.5 with Bluetooth V4, but file sending is not working as the connection is dropping after 1 or 2 seconds and then reconnects. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-11 Thread Jan Vodochalek
Sure, but I have a problem with my computer which is using AMD graphics and that was not working with Raring, but I will give it a try. Meanwhile I decompiled the rtbt binary. I am attaching the output. Hopefully you can make a use of it. The syntax is C+, but I think it is far from being able

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-11 Thread Jan Vodochalek
Is the driver confirmed to work with BT V4? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1189721 Title: Ralink RT3290 doesn't have a bluetooth driver To manage notifications about this bug go to:

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-11 Thread Jan Vodochalek
Yes, I did it with sudo make install. Of course I modified the makefile, so I could use the make install command. I tried it yesterday again with the same result. Is the source for the rtbt available? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2017-01-10 Thread Jan Vodochalek
Strange, because I used the script in tools to update the firmware in the binary rtbth driver loader, then reloaded the driver with modprobe. Is the driver confirmed to work on other systems? Does it pair BT V4 devices as well? I can pair and transfer files with BT V2, but not cannot pair with BT

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2016-07-05 Thread Jan Vodochalek
The bug with not pairing is related to simple pairing mode for the bluetooth > V2.1. I tried to turn off the simple pairing mode with sudo hciconfig hci0 sspmode 0 but that is giving me this error: Can't set Simple Pairing mode on hci0: Input/output error (5) Is there another way to disable

[Bug 1189721] Re: Ralink RT3290 doesn't have a bluetooth driver

2016-07-03 Thread Jan Vodochalek
I was able to test the driver from https://github.com/f1u77y/rtbth on my RT3290LE Bluetooth adapter. The pairing with A2DP device - Nokia 5230 was successful, but pairing with an android device with BT ver 4 not. The hcitool reports lower version of BT - 2.1 than the device itself is capable.