debian/control: rename the libam7xxx-bin package to libam7xxx0.1-bin
[libam7xxx.git] / debian / patches / 0002-am7xxx-add-quirks-for-Philips-Sagemcom-PicoPix-2055.patch
1 From 03231a2b8d29e8cef1628cb25335f9583f067496 Mon Sep 17 00:00:00 2001
2 From: Antonio Ospite <ospite@studenti.unina.it>
3 Date: Sat, 3 Aug 2013 15:14:34 +0200
4 Subject: [PATCH] am7xxx: add quirks for Philips/Sagemcom PicoPix 2055
5 X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM<pyWR#k60!#=#>/Vb;]yA5<GWI5`6u&+
6  ;6b'@y|8w"wB;4/e!7wYYrcqdJFY,~%Gk_4]cq$Ei/7<j&N3ah(m`ku?pX.&+~:_/wC~dwn^)MizBG
7  !pE^+iDQQ1yC6^,)YDKkxDd!T>\I~93>J<_`<4)A{':UrE
8
9 The Philips/Sagemcom PicoPix 2055 does not support some operations:
10   - setting the power mode confuses the firmware
11   - setting the zoom mode has no effect whatsoever
12
13 Disable these operations.
14
15 Thanks-to: Luca Bompani
16 ---
17  src/am7xxx.c | 1 +
18  1 file changed, 1 insertion(+)
19
20 diff --git a/src/am7xxx.c b/src/am7xxx.c
21 index 5b1e35a..b66a4ee 100644
22 --- a/src/am7xxx.c
23 +++ b/src/am7xxx.c
24 @@ -111,6 +111,7 @@ static const struct am7xxx_usb_device_descriptor supported_devices[] = {
25                 .product_id = 0x0016,
26                 .configuration    = 2,
27                 .interface_number = 0,
28 +               .quirks = AM7XXX_QUIRK_NO_POWER_MODE | AM7XXX_QUIRK_NO_ZOOM_MODE,
29         },
30         {
31                 .name       = "Philips/Sagemcom PicoPix 2330",
32 -- 
33 1.8.4.rc1
34