<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hid, branch v3.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/hid?h=v3.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/hid?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-09-16T21:09:19Z</updated>
<entry>
<title>Merge branch 'for-linus' of git://github.com/dtor/input</title>
<updated>2011-09-16T21:09:19Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-09-16T21:09:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=279b1e0fd90ef63c7acb34a5ca573f065a6fefb4'/>
<id>urn:sha1:279b1e0fd90ef63c7acb34a5ca573f065a6fefb4</id>
<content type='text'>
* 'for-linus' of git://github.com/dtor/input:
  Input: wacom - fix touch parsing on newer Bamboos
  Input: bcm5974 - add MacBookAir4,1 trackpad support
  Input: wacom - add POINTER and DIRECT device properties
  Input: adp5588-keys - remove incorrect modalias
  Input: cm109 - fix checking return value of usb_control_msg
  Input: wacom - advertise BTN_TOOL_PEN and BTN_STYLUS for PenPartner
  Input: wacom - remove pressure for touch devices
</content>
</entry>
<entry>
<title>Input: wacom - add POINTER and DIRECT device properties</title>
<updated>2011-09-08T16:42:28Z</updated>
<author>
<name>Jason Gerecke</name>
<email>killertofu@gmail.com</email>
</author>
<published>2011-09-08T16:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3512069eefd3c3424b12f21a68fd473c3fd57220'/>
<id>urn:sha1:3512069eefd3c3424b12f21a68fd473c3fd57220</id>
<content type='text'>
Adds INPUT_PROP_POINTER or INPUT_PROP_DIRECT as necessary to the
hardware supported by the Wacom driver. The DIRECT property is
assigned to devices with an embedded screen (i.e. touchscreens
and display tablets). The POINTER property is assigned to those
without embedded screens.

Signed-off-by: Jason Gerecke &lt;killertofu@gmail.com&gt;
Reviewed-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Merge branches 'upstream-fixes' and 'magicmouse' into for-linus</title>
<updated>2011-09-07T11:53:17Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2011-09-07T11:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=882aba01052476cbe3cd7339a3e6784b2437f18d'/>
<id>urn:sha1:882aba01052476cbe3cd7339a3e6784b2437f18d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HID: wacom: Unregister sysfs attributes on remove</title>
<updated>2011-09-07T11:32:35Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@googlemail.com</email>
</author>
<published>2011-09-05T16:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9086617ea3a7f3e574ca64392b827bdd56f607eb'/>
<id>urn:sha1:9086617ea3a7f3e574ca64392b827bdd56f607eb</id>
<content type='text'>
HID devices can be hotplugged so we should unregister all sysfs attributes when
removing a driver. Otherwise, manually unloading the wacom-driver will not
remove the sysfs attributes. Only when the device is disconnected, they are
removed, eventually.

Signed-off-by: David Herrmann &lt;dh.herrmann@googlemail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: wacom: Fix error path of power-supply initialization</title>
<updated>2011-09-07T11:32:34Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@googlemail.com</email>
</author>
<published>2011-09-05T16:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dde58cfcc3b6dd2f160ffd355f76ae526155a4df'/>
<id>urn:sha1:dde58cfcc3b6dd2f160ffd355f76ae526155a4df</id>
<content type='text'>
power_supply_unregister() must not be called if power_supply_register() failed.
The wdata-&gt;psy.dev pointer may point to invalid memory after a failed
power_supply_register() and hence wacom_remove() will fail while calling
power_supply_unregister().

This changes the wacom_probe function to fail if it cannot register the
power_supply devices. If we would want to keep the previous behaviour we had to
keep some flag about the power_supply state and check it on wacom_remove, but
this seems inappropriate here. Hence, we simply fail, too, if
power_supply_register fails.

Signed-off-by: David Herrmann &lt;dh.herrmann@googlemail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: add support for HuiJia USB Gamepad connector</title>
<updated>2011-08-25T13:35:14Z</updated>
<author>
<name>Clemens Werther</name>
<email>clemens.werther@gmail.com</email>
</author>
<published>2011-08-25T13:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6d1db0777981e1626ae71243984ac300b61789ff'/>
<id>urn:sha1:6d1db0777981e1626ae71243984ac300b61789ff</id>
<content type='text'>
Create each gamepad as a separate joystick

Signed-off-by: Clemens Werther &lt;clemens.werther@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: magicmouse: ignore 'ivalid report id' while switching modes, v2</title>
<updated>2011-08-25T12:21:37Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2011-08-25T12:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=35d851df23b093ee027f827fed2213ae5e88fc7a'/>
<id>urn:sha1:35d851df23b093ee027f827fed2213ae5e88fc7a</id>
<content type='text'>
This is basically a more generic respin of 23746a6 ("HID: magicmouse: ignore
'ivalid report id' while switching modes") which got reverted later by
c3a492.

It turns out that on some configurations, this is actually still the case
and we are not able to detect in runtime.

The device reponds with 'invalid report id' when feature report switching it
into multitouch mode is sent to it.

This has been silently ignored before 0825411ade ("HID: bt: Wait for ACK
on Sent Reports"), but since this commit, it propagates -EIO from the _raw
callback .

So let the driver ignore -EIO as response to 0xd7,0x01 report, as that's
how the device reacts in normal mode.

Sad, but following reality.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=35022

Reported-by: Chase Douglas &lt;chase.douglas@canonical.com&gt;
Reported-by: Jaikumar Ganesh &lt;jaikumarg@android.com&gt;
Tested-by: Chase Douglas &lt;chase.douglas@canonical.com&gt;
Tested-by: Jaikumar Ganesh &lt;jaikumarg@android.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branches 'wiimote' and 'upstream-fixes' into for-linus</title>
<updated>2011-08-24T14:41:52Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2011-08-24T14:41:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d446014162ed2ce1c5181b52c6d5f7492acbdade'/>
<id>urn:sha1:d446014162ed2ce1c5181b52c6d5f7492acbdade</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HID: wiimote: Add status and return request handlers</title>
<updated>2011-08-23T08:55:45Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@googlemail.com</email>
</author>
<published>2011-08-17T09:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c87019e41d61f3f972bd2f6a2380fc9896e4ab74'/>
<id>urn:sha1:c87019e41d61f3f972bd2f6a2380fc9896e4ab74</id>
<content type='text'>
The wiimote resets the current drm when an extension is plugged in.
Fortunately, it also sends a status report in this situation so we just
reset the drm on every status report to keep the drm consistent.

Also handle return reports from the wiimote which indicate success and
failure of requests that we've sent.

Signed-off-by: David Herrmann &lt;dh.herrmann@googlemail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: wiimote: Add drm request</title>
<updated>2011-08-23T08:55:34Z</updated>
<author>
<name>David Herrmann</name>
<email>dh.herrmann@googlemail.com</email>
</author>
<published>2011-08-17T09:43:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2cb5e4bc530471e9596cd32390bf70c8ada13d9a'/>
<id>urn:sha1:2cb5e4bc530471e9596cd32390bf70c8ada13d9a</id>
<content type='text'>
The wiimote reports data in several data reporting modes (DRM). The DRM
request makes the wiimote send data in the requested drm.

The DRM mode can be set explicitely or can be chosen by the driver. To let
the driver choose the DRM mode, pass WIIPROTO_REQ_NULL placeholder to it. This
is no valid request and is replaced with an appropriate DRM.

Currently, the driver always sets the basic DRM_K mode, but this will be
extended when further peripherals like accelerometer and IR are supported.

Signed-off-by: David Herrmann &lt;dh.herrmann@googlemail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
