Skip to content

Commit 61b1db5

Browse files
romanenkorJiri Kosina
authored andcommitted
HID: uclogic: Add pen support for XP-PEN Star 06
Similar to other UGEE pens, but the IDs were missing. Signed-off-by: Roman Romanenko <[email protected]> Signed-off-by: Nikolai Kondrashov <[email protected]> Signed-off-by: José Expósito <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 118dfde commit 61b1db5

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@
12721272
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540 0x0075
12731273
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640 0x0094
12741274
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042
1275+
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06 0x0078
12751276
#define USB_DEVICE_ID_UGEE_TABLET_G5 0x0074
12761277
#define USB_DEVICE_ID_UGEE_TABLET_EX07S 0x0071
12771278
#define USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720 0x0055

drivers/hid/hid-uclogic-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ static const struct hid_device_id uclogic_devices[] = {
521521
USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640) },
522522
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
523523
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01) },
524+
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
525+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06) },
524526
{ }
525527
};
526528
MODULE_DEVICE_TABLE(hid, uclogic_devices);

drivers/hid/hid-uclogic-params.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,8 @@ int uclogic_params_init(struct uclogic_params *params,
11951195
USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540):
11961196
case VID_PID(USB_VENDOR_ID_UGEE,
11971197
USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640):
1198+
case VID_PID(USB_VENDOR_ID_UGEE,
1199+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06):
11981200
case VID_PID(USB_VENDOR_ID_UGEE,
11991201
USB_DEVICE_ID_UGEE_TABLET_RAINBOW_CV720):
12001202
/* If this is the pen interface */

0 commit comments

Comments
 (0)