Comment 253 for bug 1189721

Revision history for this message
Jan Vodochalek (kukulo2011) wrote :

@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 firmware from windows bluetooth driver: I shortened the file by three bytes and used the update-driver.sh in the tools directory, then used sudo make install. Unfortunately the windows firmware is working the same way - I cannot pair in simple secure mode. The rtbt user space driver is doing the pin comparison and rejecting the connection. I guess the rtbt user space driver needs to be corrected. In the later kernels the data structures were changing, but the rtbt binary remained unchanged and thus some structures are failing to get processed by rtbt binary. If we would have source then the thing would be straight forward, but without source modifying the rtbt binary really depends on how lucky is the one, who is tracing the binary. The rtbt binary is possible to trace with edb debugger in user space, but the tracing is complicated in the timeout routines, where the other bluetooth party is setting timeout on communication channel and thus making the tracing difficult.