Jiri Kosina | 1 Sep 12:42 2010
Picon

Re: [PATCH] HID: roccat: add driver for Roccat Pyra mouse

On Sun, 29 Aug 2010, Stefan Achatz wrote:

> This patch add support for Pyra mobile gaming mouse from Roccat.
> It provides access to profiles, settings, actual settings etc.
> through sysfs attributes.
> This driver is conceptual similar to the existing Kone driver.

Applied, thank you Stefan.

--

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Jiri Kosina | 1 Sep 12:43 2010
Picon

Re: [PATCH] HID: roccat: Normalized reported profile number for pyra button events.

On Mon, 30 Aug 2010, Stefan Achatz wrote:

> Pyra uses profile numbers in range 0-4 for everything except button
> events. Using range 1-5 consistent now.
> 
> Signed-off-by: Stefan Achatz <erazor_de <at> users.sourceforge.net>
> ---
>  drivers/hid/hid-roccat-pyra.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/hid/hid-roccat-pyra.c
> b/drivers/hid/hid-roccat-pyra.c
> index 6c09c15..9bf2304 100644
> --- a/drivers/hid/hid-roccat-pyra.c
> +++ b/drivers/hid/hid-roccat-pyra.c
>  <at>  <at>  -902,7 +902,11  <at>  <at>  static void pyra_report_to_chrdev(struct
> pyra_device const *pyra,
>  		if (button_event->data2 == PYRA_MOUSE_EVENT_BUTTON_PRESS) {
>  			roccat_report.type = button_event->type;
>  			roccat_report.key = button_event->data1;
> -			roccat_report.value = pyra->actual_profile;
> +			/*
> +			 * pyra reports profile numbers with range 1-5.
> +			 * Keeping this behaviour.
> +			 */
> +			roccat_report.value = pyra->actual_profile + 1;
>  			roccat_report_event(pyra->chrdev_minor,
>  					(uint8_t const *)&roccat_report,
>  					sizeof(struct pyra_roccat_report));

(Continue reading)

Geert Uytterhoeven | 4 Sep 17:11 2010

Re: [PATCH 28/28]Documentation/fb/framebuffer.txt update web address.

On Wed, Jul 21, 2010 at 06:52, Justin P. Mattock
<justinmattock <at> gmail.com> wrote:
> The patch below updates a broken web address.
>
> Signed-off-by: Justin P. Mattock <justinmattock <at> gmail.com>
>
> ---
>  Documentation/fb/framebuffer.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/fb/framebuffer.txt b/Documentation/fb/framebuffer.txt
> index fe79e3c..58c5ae2 100644
> --- a/Documentation/fb/framebuffer.txt
> +++ b/Documentation/fb/framebuffer.txt
>  <at>  <at>  -330,7 +330,7  <at>  <at>  and on its mirrors.
>
>  The latest version of fbset can be found at
>
> -    http://home.tvd.be/cr26864/Linux/fbdev/

FWIW, that exact same page has been at
http://users.telenet.be/geertu/Linux/fbdev/
for the last 4 years (when I had to change ISP). But the contents
haven't changed.

> +    http://www.linux-fbdev.org/

 Gr{oetje,eeting}s,

                        Geert
(Continue reading)

Justin P. Mattock | 4 Sep 17:57 2010
Picon

Re: [PATCH 28/28]Documentation/fb/framebuffer.txt update web address.

On 09/04/2010 08:11 AM, Geert Uytterhoeven wrote:
> On Wed, Jul 21, 2010 at 06:52, Justin P. Mattock
> <justinmattock <at> gmail.com>  wrote:
>> The patch below updates a broken web address.
>>
>> Signed-off-by: Justin P. Mattock<justinmattock <at> gmail.com>
>>
>> ---
>>   Documentation/fb/framebuffer.txt |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/Documentation/fb/framebuffer.txt b/Documentation/fb/framebuffer.txt
>> index fe79e3c..58c5ae2 100644
>> --- a/Documentation/fb/framebuffer.txt
>> +++ b/Documentation/fb/framebuffer.txt
>>  <at>  <at>  -330,7 +330,7  <at>  <at>  and on its mirrors.
>>
>>   The latest version of fbset can be found at
>>
>> -    http://home.tvd.be/cr26864/Linux/fbdev/
>
> FWIW, that exact same page has been at
> http://users.telenet.be/geertu/Linux/fbdev/
> for the last 4 years (when I had to change ISP). But the contents
> haven't changed.
>
>> +    http://www.linux-fbdev.org/
>
>   Gr{oetje,eeting}s,
>
(Continue reading)

Justin P. Mattock | 7 Sep 06:24 2010
Picon

[PATCH 1/2]Documentation/uml/UserModeLinux-HOWTO.txt Fix web address to one line instead of two.

As mentioned in other posts, it's better to just have the web address
as one long line instead of broken into two lines.

Signed-off-by: Justin P. Mattock <justinmattock <at> gmail.com>

---
 Documentation/uml/UserModeLinux-HOWTO.txt |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Documentation/uml/UserModeLinux-HOWTO.txt b/Documentation/uml/UserModeLinux-HOWTO.txt
index 9b7e190..a4b1ea4 100644
--- a/Documentation/uml/UserModeLinux-HOWTO.txt
+++ b/Documentation/uml/UserModeLinux-HOWTO.txt
 <at>  <at>  -1178,9 +1178,8  <at>  <at> 

 

-  Harald's original README is here <http://user-mode-linux.source-
-  forge.net/>  and explains these in detail, as well as
-  some other issues.
+  Harald's original README is here <http://user-mode-linux.source-forge.net/>
+  and explains these in detail, as well as some other issues.

 

 <at>  <at>  -1254,8 +1253,7  <at>  <at> 
   kernel.

   These were pointed out by Tim Robinson <timro at trkr dot net> in
-  <http://www.geocrawler.com/> name="this uml-
(Continue reading)

Justin P. Mattock | 7 Sep 06:24 2010
Picon

[PATCH 2/2]Documentation/w1/masters/mxc-w1 Fix web address to one line instead of two.

As mentioned in other posts, it's better to just have the web address
as one long line instead of broken into two lines.

 Signed-off-by: Justin P. Mattock <justinmattock <at> gmail.com>

---
 Documentation/w1/masters/mxc-w1 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Documentation/w1/masters/mxc-w1 b/Documentation/w1/masters/mxc-w1
index 38be1ad..be6a1c8 100644
--- a/Documentation/w1/masters/mxc-w1
+++ b/Documentation/w1/masters/mxc-w1
 <at>  <at>  -5,8 +5,7  <at>  <at>  Supported chips:
   * Freescale MX27, MX31 and probably other i.MX SoCs
     Datasheets:
         http://www.freescale.com/files/32bit/doc/data_sheet/MCIMX31.pdf?fpsp=1
-	http://cache.freescale.com/files/dsp/doc/archive/MCIMX27.pdf?fsrch=1&WT_TYPE=
-	Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation
+	http://cache.freescale.com/files/dsp/doc/archive/MCIMX27.pdf?fsrch=1&WT_TYPE=Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation

 Author: Originally based on Freescale code, prepared for mainline by
 	Sascha Hauer <s.hauer <at> pengutronix.de>
--

-- 
1.7.2.1

Guenter Roeck | 9 Sep 15:25 2010
Picon

[PATCH v2 0/7] hwmon: Add support for MAX6695/6696 to lm90 driver

This patchset cleans up the lm90 driver and adds support for
Maxim MAX6695/6696 temperature sensors.

In detail,
- Add support for tempX_emergency_alarm ABI attribute
- Introduce device feature bits to reduce runtime overhead
- Introduce function to delete sysfs files
- Simplify calculations in set_temp11()
- Introduce 3rd set of upper temperature limits (named 'emergency' limits)
- Add max6659 support for those limits, and add support for max6659 address 0x4e
- Add max6695/96 support

The patchset depends on the previously submitted lm90 driver cleanup patch.

v2 changes:
- Split patch into multiple parts
- Add support for max6659 address 0x4e and extra features
- Improved max6695/96 device detection code
- max6695/96 does not support extended external limits, so don't try to
  read them for the 3rd sensor
- Other changes to address review feedback
  - Updated Documentation/hwmon/lm90 and drivers/hwmon/Kconfig.
  - Fixed alert_alarms comment
  - remote offset register not supported on max6658 (fixed comment)
  - rewrote set_temp11()
  - Added tempX_emergency_alarm
  - Some code alignment fixes
Guenter Roeck | 9 Sep 15:25 2010
Picon

[PATCH v2 5/7] hwmon: (lm90) Introduce 3rd set of upper temperature limits

Signed-off-by: Guenter Roeck <guenter.roeck <at> ericsson.com>
---
 drivers/hwmon/lm90.c |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index 11b5701..d2bcb47 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
 <at>  <at>  -147,6 +147,7  <at>  <at>  enum chips { lm90, adm1032, lm99, lm86, max6657, adt7461, max6680, max6646,
 #define	LM90_HAVE_OFFSET	0x02	/* temperature offset register	*/
 #define	LM90_HAVE_LOCAL_EXT	0x04	/* extended local temperature	*/
 #define	LM90_HAVE_REM_LIMIT_EXT	0x08	/* extended remote limit	*/
+#define	LM90_HAVE_EMERGENCY	0x10	/* 3rd upper (emergency) limit	*/

 /*
  * Functions declaration
 <at>  <at>  -213,10 +214,12  <at>  <at>  struct lm90_data {
 	u8 alert_alarms;	/* Which alarm bits trigger ALERT# */

 	/* registers values */
-	s8 temp8[4];	/* 0: local low limit
+	s8 temp8[6];	/* 0: local low limit
 			   1: local high limit
 			   2: local critical limit
-			   3: remote critical limit */
+			   3: remote critical limit
+			   4: local emergency limit
+			   5: remote emergency limit */
 	s16 temp11[5];	/* 0: remote input
(Continue reading)

Guenter Roeck | 9 Sep 15:25 2010
Picon

[PATCH v2 4/7] hwmon: (lm90) Simplify set_temp11 register calculations

Signed-off-by: Guenter Roeck <guenter.roeck <at> ericsson.com>
---
 drivers/hwmon/lm90.c |   55 +++++++++++++++++++++++++------------------------
 1 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index f21dde5..11b5701 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
 <at>  <at>  -418,7 +418,7  <at>  <at>  static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr,
 static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr,
 			   char *buf)
 {
-	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
+	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
 	struct lm90_data *data = lm90_update_device(dev);
 	int temp;

 <at>  <at>  -439,19 +439,20  <at>  <at>  static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr,
 static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,
 			  const char *buf, size_t count)
 {
-	static const u8 reg[6] = {
-		LM90_REG_W_REMOTE_LOWH,
-		LM90_REG_W_REMOTE_LOWL,
-		LM90_REG_W_REMOTE_HIGHH,
-		LM90_REG_W_REMOTE_HIGHL,
-		LM90_REG_W_REMOTE_OFFSH,
-		LM90_REG_W_REMOTE_OFFSL,
+	struct {
(Continue reading)

Guenter Roeck | 9 Sep 15:25 2010
Picon

[PATCH v2 2/7] hwmon: (lm90) Introduce device feature bits

Signed-off-by: Guenter Roeck <guenter.roeck <at> ericsson.com>
---
 drivers/hwmon/lm90.c |   38 +++++++++++++++++++++++++-------------
 1 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index aafed28..a81a053 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
 <at>  <at>  -142,7 +142,11  <at>  <at>  enum chips { lm90, adm1032, lm99, lm86, max6657, adt7461, max6680, max6646,
 /*
  * Device flags
  */
-#define LM90_FLAG_ADT7461_EXT		0x01	/* ADT7461 extended mode */
+#define LM90_FLAG_ADT7461_EXT	0x01	/* ADT7461 extended mode	*/
+/* Device features */
+#define	LM90_HAVE_OFFSET	0x02	/* temperature offset register	*/
+#define	LM90_HAVE_LOCAL_EXT	0x04	/* extended local temperature	*/
+#define	LM90_HAVE_REM_LIMIT_EXT	0x08	/* extended remote limit	*/

 /*
  * Functions declaration
 <at>  <at>  -462,17 +466,16  <at>  <at>  static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,
 	mutex_lock(&data->update_lock);
 	if (data->kind == adt7461)
 		data->temp11[nr] = temp_to_u16_adt7461(data, val);
-	else if (data->kind == max6657 || data->kind == max6680)
-		data->temp11[nr] = temp_to_s8(val) << 8;
 	else if (data->kind == max6646)
 		data->temp11[nr] = temp_to_u8(val) << 8;
(Continue reading)


Gmane