* Bluetooth fixes for 2.6.20-rc5
@ 2007-01-22 21:42 Marcel Holtmann
2007-01-24 6:03 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-01-22 21:42 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
Hi Dave,
here are two additional fixes for the Bluetooth subsystem that should go
in before the final 2.6.20 release. It was possible that the well known
PSM could be bound by anybody. That should not be possible like TCP/IP
ports below 1024 are also restricted. The other one is a simple endian
fix. Please forward them to Linus as soon as possible.
Regards
Marcel
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git
This will update the following files:
net/bluetooth/l2cap.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
through these ChangeSets:
Commit: 847641d7db15ac3f18b3d4aa05479812abdf397a
Author: Marcel Holtmann <marcel@holtmann.org> Mon, 22 Jan 2007 22:00:45 +0100
[Bluetooth] Restrict well known PSM to privileged users
The PSM values below 0x1001 of L2CAP are reserved for well known
services. Restrict the possibility to bind them to privileged
users.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Commit: 7386397636d49cd5f03da29432467d3e98cbad35
Author: Marcel Holtmann <marcel@holtmann.org> Mon, 22 Jan 2007 22:00:40 +0100
[Bluetooth] Missing endian swapping for L2CAP socket list
The PSM value in the L2CAP socket list must be converted to host
order before printing it.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Bluetooth fixes for 2.6.20-rc5
2007-01-22 21:42 Bluetooth fixes for 2.6.20-rc5 Marcel Holtmann
@ 2007-01-24 6:03 ` David Miller
2007-01-24 7:38 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2007-01-24 6:03 UTC (permalink / raw)
To: marcel; +Cc: netdev
From: Marcel Holtmann <marcel@holtmann.org>
Date: Mon, 22 Jan 2007 22:42:14 +0100
> Hi Dave,
>
> here are two additional fixes for the Bluetooth subsystem that should go
> in before the final 2.6.20 release. It was possible that the well known
> PSM could be bound by anybody. That should not be possible like TCP/IP
> ports below 1024 are also restricted. The other one is a simple endian
> fix. Please forward them to Linus as soon as possible.
Pulled, thanks Marcel.
BTW, do you know if anyone has successfully used the Linux
Bluetooth stack to communicate with the Nintendo Wii
controllers? I am under the impression that they speak
bluetooth. :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bluetooth fixes for 2.6.20-rc5
2007-01-24 6:03 ` David Miller
@ 2007-01-24 7:38 ` Marcel Holtmann
2007-01-24 6:44 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-01-24 7:38 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Hi Dave,
> BTW, do you know if anyone has successfully used the Linux
> Bluetooth stack to communicate with the Nintendo Wii
> controllers? I am under the impression that they speak
> bluetooth. :)
I have one of these and I played with it. They use HID over Bluetooth as
protocol, but all reports are vendor specific. So you need a specific
driver to make something useful out of these events.
However it is fun to switch on the leds and play with rumble pack or
motion sensor.
Regards
Marcel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bluetooth fixes for 2.6.20-rc5
2007-01-24 7:38 ` Marcel Holtmann
@ 2007-01-24 6:44 ` David Miller
2007-01-24 8:33 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2007-01-24 6:44 UTC (permalink / raw)
To: marcel; +Cc: netdev
From: Marcel Holtmann <marcel@holtmann.org>
Date: Wed, 24 Jan 2007 08:38:53 +0100
> I have one of these and I played with it. They use HID over Bluetooth as
> protocol, but all reports are vendor specific. So you need a specific
> driver to make something useful out of these events.
It really shouldn't be hard to reverse engineer this right?
Just press a button and see what it spits out?
Sure, the rotational events from the motion sensor et al. might take a
little time to figure out, but it should be doable.
> However it is fun to switch on the leds and play with rumble pack or
> motion sensor.
Hehe :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bluetooth fixes for 2.6.20-rc5
2007-01-24 6:44 ` David Miller
@ 2007-01-24 8:33 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2007-01-24 8:33 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Hi Dave,
> > I have one of these and I played with it. They use HID over Bluetooth as
> > protocol, but all reports are vendor specific. So you need a specific
> > driver to make something useful out of these events.
>
> It really shouldn't be hard to reverse engineer this right?
> Just press a button and see what it spits out?
>
> Sure, the rotational events from the motion sensor et al. might take a
> little time to figure out, but it should be doable.
some stuff has already been done in this area. I put some information
and a link to it on my page:
http://www.holtmann.org/linux/bluetooth/wiimote.html
The hardest part at the moment is to get the speaker on the Wiimote
doing something useful and I personally wanna get to the internal flash
area of the Bluetooth chip.
Regards
Marcel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-24 7:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 21:42 Bluetooth fixes for 2.6.20-rc5 Marcel Holtmann
2007-01-24 6:03 ` David Miller
2007-01-24 7:38 ` Marcel Holtmann
2007-01-24 6:44 ` David Miller
2007-01-24 8:33 ` Marcel Holtmann
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).