On Sun 2014-12-14 00:30:13, Marcel Holtmann wrote:
> Hi Pavel,
>
> > Add hci_h4p bluetooth driver to staging tree. This device is used
> > for example on Nokia N900 cell phone.
> >
> > Signed-off-by: Pavel Machek <[email protected]>
> > Thanks-to: Sebastian Reichel <[email protected]>
> > Thanks-to: Joe Perches <[email protected]>
> >
> > ---
> >
> >
> > I'd prefer to resurect the driver in staging/ in order not to lose
> > history, but Marcel wanted to treat it as new submission, so I'm doing
> > that.
>
> that history is in linux.git now for all times. No need to repeat it. I
> rather not play around with that again. Lets get a minimal driver merged so
> we can give people something to improve.
>
> >
> > Firmware load was converted to hci_cmd_sync(). Unfortunately, the
> > firmware is needed after every open/close, so the setup mechanism does
> > not quite fit. (But code is now way cleaner).
>
> What is the reason for that? Does it mean that the device will always loose
> all its settings when powering it down. Do we know why that is that way and
> can we maybe change it?
>
> If there is no way around this, we can introduce a quirk that will always run
> hdev->setup. However if the device keeps forgetting all settings all the
> time, that means it will also keep forgetting its address. So that power on
> procedure will be wasting time. We would need to check if we can make it so
> that it only has unconfigured state once and then keeps remembering the
> address even if we have to re-program it every time.
>
> > Device tree bindings work for me, but they are not yet official and I
> > expect some more fun there.
> >
> > Hacks surrounding bluetooth address were removed; this results in
> > working driver with address that is probably not unique.
>
> Just set HCI_QUIRK_INVALID_BDADDR and let someone deal with that in
>userspace. You can use the btmgmt public-addr command for testing.
Hmm. So I installed bluez-5.36, then libudev-dev, then libical-dev,
libreadline-dev. I'm glad I have debian and not maemo, and nfsroot and
not limited flash. I had to turn off systemd support.
It still compiles..
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/