mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-31 16:21:11 +03:00
usb_id: add "image" class
This commit is contained in:
parent
12dda308d9
commit
e6fa87a11f
@ -54,22 +54,24 @@ static void set_usb_iftype(char *to, int if_class_num, size_t len)
|
|||||||
case 1:
|
case 1:
|
||||||
type = "audio";
|
type = "audio";
|
||||||
break;
|
break;
|
||||||
|
case 2: /* CDC-Control */
|
||||||
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
type = "hid";
|
type = "hid";
|
||||||
break;
|
break;
|
||||||
|
case 5: /* Physical */
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
type = "image";
|
||||||
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
type = "printer";
|
type = "printer";
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
type = "storage";
|
type = "storage";
|
||||||
break;
|
break;
|
||||||
case 2: /* CDC-Control */
|
case 9:
|
||||||
break;
|
type = "hub";
|
||||||
case 5: /* Physical */
|
|
||||||
break;
|
|
||||||
case 6: /* Image */
|
|
||||||
break;
|
|
||||||
case 9: /* HUB */
|
|
||||||
break;
|
break;
|
||||||
case 0x0a: /* CDC-Data */
|
case 0x0a: /* CDC-Data */
|
||||||
break;
|
break;
|
||||||
@ -84,7 +86,7 @@ static void set_usb_iftype(char *to, int if_class_num, size_t len)
|
|||||||
break;
|
break;
|
||||||
case 0xe0: /* Wireless Controller */
|
case 0xe0: /* Wireless Controller */
|
||||||
break;
|
break;
|
||||||
case 0xf2: /* Application-specific */
|
case 0xfe: /* Application-specific */
|
||||||
break;
|
break;
|
||||||
case 0xff: /* Vendor-specific */
|
case 0xff: /* Vendor-specific */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user