Re: lis3lv02d-add-axes-knowledge-of-hp-pavilion-dv5-models.patchremoved from -mm tree

From: Ãric Piel
Date: Wed Feb 11 2009 - 05:26:25 EST


akpm@xxxxxxxxxxxxxxxxxxxx schreef:
> The patch titled
> lis3lv02d: add axes knowledge of HP Pavilion dv5 models
> has been removed from the -mm tree. Its filename was
> lis3lv02d-add-axes-knowledge-of-hp-pavilion-dv5-models.patch
>
> This patch was dropped because an updated version will be merged

Hello Andrew,
With the patch "lis3lv02d: support both one- and two-byte sensors",
Giuseppe has confirmed that this patch is still correct. Would you mind
queuing it back for 2.6.29?

Palatis, if you could try this patch plus the patch "lis3lv02d: support
both one- and two-byte sensors" to confirm it does the right thing also
with your laptop, it would be great. Unfortunately, right now I think
they apply only on top of the -mm tree...

Thanks,
Eric


> ------------------------------------------------------
> Subject: lis3lv02d: add axes knowledge of HP Pavilion dv5 models
> From: Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx>
>
> Add support for HP Pavlion dv5 models, whose sensor has an inverted x
> axis.
>
> My HP Pavilion dv5 has an inverted x axis of the accelerometer, so this
> patch marks the inversion for all the dv5.
>
> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx>
> Acked-by: Eric Piel <Eric.Piel@xxxxxxxxxxxxxxxx>
> Cc: Pavel Machek <pavel@xxxxxxx>
> Cc: Palatis Tseng <palatis@xxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
>
> drivers/hwmon/hp_accel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -puN drivers/hwmon/hp_accel.c~lis3lv02d-add-axes-knowledge-of-hp-pavilion-dv5-models drivers/hwmon/hp_accel.c
> --- a/drivers/hwmon/hp_accel.c~lis3lv02d-add-axes-knowledge-of-hp-pavilion-dv5-models
> +++ a/drivers/hwmon/hp_accel.c
> @@ -179,6 +179,7 @@ static struct dmi_system_id lis3lv02d_dm
> AXIS_DMI_MATCH("NC673x", "HP Compaq 673", xy_rotated_left_usd),
> AXIS_DMI_MATCH("NC651xx", "HP Compaq 651", xy_rotated_right),
> AXIS_DMI_MATCH("NC671xx", "HP Compaq 671", xy_swap_yz_inverted),
> + AXIS_DMI_MATCH("HPDV5", "HP Pavilion dv5", x_inverted),
> { NULL, }
> /* Laptop models without axis info (yet):
> * "NC6910" "HP Compaq 6910"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/