linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bluetooth on N900 status
       [not found]   ` <575F0176.2060609@gmail.com>
@ 2016-06-15 22:43     ` Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2016-06-15 22:43 UTC (permalink / raw)
  To: Ivaylo Dimitrov, kernel list; +Cc: Pali Rohár, sre

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

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

[-- Attachment #2: delme.gz --]
[-- Type: application/gzip, Size: 59160 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-15 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20160613144022.GE29844@pali>
     [not found] ` <20160613171937.GA23448@amd>
     [not found]   ` <575F0176.2060609@gmail.com>
2016-06-15 22:43     ` Bluetooth on N900 status Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).