Messages in this thread | | | Date | Thu, 16 Jun 2016 00:43:08 +0200 | From | Pavel Machek <> | Subject | Bluetooth on N900 status |
| |
Hi!
(I added l-k to cc list).
> Pavel, while we are at it, could you briefly explain what has happened with > bluetooth patches you were trying to upstream? I can take over those, but it > is not clear to me what exactly needs to be done.
I thought they stopped working and some ugly bisect would be needed, but I tried again, and it seems they still work in v4.7:
root@n900:/my/modules# ./run hci0 Set Public Address complete, options: Inquiring ... 6C:23:B9:9B:57:7D clock offset: 0x5074 class: 0x0020fc hci0: Type: BR/EDR Bus: UART BD Address: 01:02:03:04:05:06 ACL MTU: 1017:4 SCO MTU: 64:1 DOWN RX bytes:1652 acl:0 sco:0 events:101 errors:0 TX bytes:10692 acl:0 sco:0 commands:99 errors:0
root@n900:/my/modules# cat run #!/bin/bash chvt 1 insmod nokia_h4p.ko rmmod nokia_h4p insmod nokia_h4p.ko hciconfig hci0 up hciconfig hci0 down rmmod nokia_h4p insmod nokia_h4p.ko hciconfig hci0 up hciconfig hci0 down ../bluez-5.26/tools/btmgmt public-addr 01:02:03:04:05:06 hciconfig hci0 up hcitool inq hciconfig hci0 down hciconfig hci0 rmmod nokia_h4p root@n900:/my/modules#
...which is kind of interesting given the dmesg:
[ 206.219451] Bluetooth: hci0 command 0xfc4c tx timeout [ 209.219482] nokia_h4p 4806c000.serial: ...sending cmd fc4c len 255 failed -110 [ 209.219543] nokia_h4p 4806c000.serial: Cannot read firmware [ 209.219573] Bluetooth: hci_setup: something failed, should do the clean up [ 219.272918] nokia_h4p 4806c000.serial: Registering HCI H4P device
Patch is attached. Probably contains some unneccessary changes. Config does not work with video, so you may want to supply working config or fix it.
So that's the latest version, if you want to play. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/gzip] | |