<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/bluetooth/hidp/core.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-06-10T09:42:58Z</updated>
<entry>
<title>Bluetooth: Fix incorrect strncpy() in hidp_setup_hid()</title>
<updated>2013-06-10T09:42:58Z</updated>
<author>
<name>Anderson Lizardo</name>
</author>
<published>2013-01-06T22:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=326af266f7d2ce13c432292e3430fa022f3f8c5a'/>
<id>urn:sha1:326af266f7d2ce13c432292e3430fa022f3f8c5a</id>
<content type='text'>
commit 0a9ab9bdb3e891762553f667066190c1d22ad62b upstream

The length parameter should be sizeof(req-&gt;name) - 1 because there is no
guarantee that string provided by userspace will contain the trailing
'\0'.

Can be easily reproduced by manually setting req-&gt;name to 128 non-zero
bytes prior to ioctl(HIDPCONNADD) and checking the device name setup on
input subsystem:

$ cat /sys/devices/pnp0/00\:04/tty/ttyS0/hci0/hci0\:1/input8/name
AAAAAA[...]AAAAAAAAf0:af:f0:af:f0:af

("f0:af:f0:af:f0:af" is the device bluetooth address, taken from "phys"
field in struct hid_device due to overflow.)

Cc: stable@vger.kernel.org
Signed-off-by: Anderson Lizardo &lt;anderson.lizardo@openbossa.org&gt;
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;

[backported to 2.6.32 jmm]
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>HID: consolidate connect and disconnect into core code</title>
<updated>2009-09-17T13:15:11Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2009-09-15T14:27:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4c259bcc27c4242b012106afdba183622b1735f'/>
<id>urn:sha1:c4c259bcc27c4242b012106afdba183622b1735f</id>
<content type='text'>
HID core registers input, hidraw and hiddev devices, but leaves
unregistering it up to the individual driver, which is not really nice.
Let's move all the logic to the core.

Reported-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Reported-by: Brian Rogers &lt;brian@xyzw.org&gt;
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Let HIDP grab the device reference for connections</title>
<updated>2009-08-22T21:22:15Z</updated>
<author>
<name>Marcel Holtmann</name>
</author>
<published>2009-08-22T21:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edad63886993d18ab800c49f6587a93432ef8b35'/>
<id>urn:sha1:edad63886993d18ab800c49f6587a93432ef8b35</id>
<content type='text'>
The core exports the hci_conn_hold_device() and hci_conn_put_device()
functions for device reference of connections. Use this to ensure that
the uevents from the parent are send after the child ones.

Based on a report by Brian Rogers &lt;brian@xyzw.org&gt;

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Disconnect HIDRAW devices on disconnect</title>
<updated>2009-08-22T21:15:53Z</updated>
<author>
<name>Marcel Holtmann</name>
</author>
<published>2009-08-22T21:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=364f63519d94442ed373ac7da79033c8282df46a'/>
<id>urn:sha1:364f63519d94442ed373ac7da79033c8282df46a</id>
<content type='text'>
Currently the HID subsystem will create HIDRAW devices for the transport
driver, but it will not disconnect them. Until the HID subsytem gets
fixed, ensure that HIDRAW and HIDDEV devices are disconnected when the
Bluetooth HID device gets removed.

Based on a patch from Brian Rogers &lt;brian@xyzw.org&gt;

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Fix missing scheduling when VIRTUAL_CABLE_UNPLUG is received</title>
<updated>2009-08-22T21:12:17Z</updated>
<author>
<name>Vikram Kandukuri</name>
</author>
<published>2009-07-01T06:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=981b1414d78a7a42cab48b97d4de54a62d61db88'/>
<id>urn:sha1:981b1414d78a7a42cab48b97d4de54a62d61db88</id>
<content type='text'>
There is a test case in PTS tool; PTS will send the VIRTUAL_CABLE_UNPLUG
command to IUT. Then IUT should disconnect the channel and kill the HID
session when it receives the command. The VIRTUAL_CABLE_UNPLUG command
is parsed by HID transport, but it is not scheduled to do so. Add a
call to hidp_schedule() to kill the session.

Signed-off-by: Jothikumar Mothilal &lt;jothikumar.mothilal@atheros.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Enable per-module dynamic debug messages</title>
<updated>2008-11-30T11:17:28Z</updated>
<author>
<name>Marcel Holtmann</name>
</author>
<published>2008-11-30T11:17:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a418b893a6af11ae73c762ed5b76c1bad6dc19d8'/>
<id>urn:sha1:a418b893a6af11ae73c762ed5b76c1bad6dc19d8</id>
<content type='text'>
With the introduction of CONFIG_DYNAMIC_PRINTK_DEBUG it is possible to
allow debugging without having to recompile the kernel. This patch turns
all BT_DBG() calls into pr_debug() to support dynamic debug messages.

As a side effect all CONFIG_BT_*_DEBUG statements are now removed and
some broken debug entries have been fixed.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>HID: move connect quirks</title>
<updated>2008-10-14T21:50:56Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2008-06-26T22:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93c10132a7ac160df3175b53f7ee857625412165'/>
<id>urn:sha1:93c10132a7ac160df3175b53f7ee857625412165</id>
<content type='text'>
Move connecting from usbhid to the hid layer and fix also hidp in
that manner.
This removes all the ignore/force hidinput/hiddev connecting quirks.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: move apple quirks</title>
<updated>2008-10-14T21:50:49Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2008-06-18T21:36:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c19a51591d06f5226499972567f528cf6066bb7'/>
<id>urn:sha1:8c19a51591d06f5226499972567f528cf6066bb7</id>
<content type='text'>
Move them from the core code to a separate driver.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: move ignore quirks</title>
<updated>2008-10-14T21:50:49Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2008-05-16T09:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d458a9dfc4de24870b8c747484b1988726534bee'/>
<id>urn:sha1:d458a9dfc4de24870b8c747484b1988726534bee</id>
<content type='text'>
Move ignore quirks from usbhid-quirks into hid-core code. Also don't output
warning when ENODEV is error code in usbhid and try ordinal input in hidp
when that error is returned.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: hid, make parsing event driven</title>
<updated>2008-10-14T21:50:48Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2008-05-16T09:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c500c9714011edab021591340042787722db9cf0'/>
<id>urn:sha1:c500c9714011edab021591340042787722db9cf0</id>
<content type='text'>
Next step for complete hid bus, this patch includes:
- call parser either from probe or from hid-core if there is no probe.
- add ll_driver structure and centralize some stuff there (open, close...)
- split and merge usb_hid_configure and hid_probe into several functions
  to allow hooks/fixes between them

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
