Skip to content

Commit

Permalink
driver: DTV02A-1T1S-U の2023年9月以降のロット (ISDB2056N) に暫定対応
Browse files Browse the repository at this point in the history
これで認識はするはずだが、実機を持っていないため動作するかは不明
  • Loading branch information
tsukumijima committed May 28, 2024
1 parent f5f1925 commit 3612f51
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions driver/px4_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,18 @@ static int px4_usb_probe(struct usb_interface *intf,
&ctx->quit_completion);
break;

case USB_PID_DIGIBEST_ISDB2056N:
ret = px4_usb_init_bridge(dev, usb_dev,
&ctx->ctx.isdb2056.it930x);
if (ret)
break;

ctx->type = ISDB2056_USB_DEVICE;
ret = isdb2056_device_init(&ctx->ctx.isdb2056, dev,
px4_usb_chrdev_ctx[ISDB2056_USB_DEVICE],
&ctx->quit_completion);
break;

case USB_PID_DIGIBEST_ISDB6014_4TS:
ret = px4_usb_init_bridge(dev, usb_dev,
&ctx->ctx.pxmlt.it930x);
Expand Down Expand Up @@ -332,6 +344,7 @@ static const struct usb_device_id px4_usb_ids[] = {
{ USB_DEVICE(0x0511, USB_PID_PX_MLT8PE3) },
{ USB_DEVICE(0x0511, USB_PID_PX_MLT8PE5) },
{ USB_DEVICE(0x0511, USB_PID_DIGIBEST_ISDB2056) },
{ USB_DEVICE(0x0511, USB_PID_DIGIBEST_ISDB2056N) },
{ USB_DEVICE(0x0511, USB_PID_DIGIBEST_ISDB6014_4TS) },
{ USB_DEVICE(0x0511, USB_PID_PX_M1UR) },
{ USB_DEVICE(0x0511, USB_PID_PX_S1UR) },
Expand Down
7 changes: 4 additions & 3 deletions driver/px4_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
#define USB_PID_PX_MLT5PE 0x024e
#define USB_PID_PX_MLT8PE3 0x0252
#define USB_PID_PX_MLT8PE5 0x0253
#define USB_PID_DIGIBEST_ISDB2056 0x004b
#define USB_PID_DIGIBEST_ISDB2056 0x004b
#define USB_PID_DIGIBEST_ISDB2056N 0x084b
#define USB_PID_DIGIBEST_ISDB6014_4TS 0x0254
#define USB_PID_PX_M1UR 0x0854
#define USB_PID_PX_S1UR 0x0855
#define USB_PID_PX_M1UR 0x0854
#define USB_PID_PX_S1UR 0x0855


enum px4_usb_device_type {
Expand Down

0 comments on commit 3612f51

Please sign in to comment.