)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"59ee2531c2bbe4ad510b02adcf7ec9815eef366b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"3e436b0f_3b3d741a","updated":"2026-04-23 13:35:16.000000000","message":"Thanks, this was definitively in my wish list.\nAgree to have an initial simple implementation limited at 16 pairs, it could be improved later if needed.\nIt\u0027s missing the display with command `adapter usb vid_pid` without arguments.","commit_id":"cf53fbd49d8d166917bf5e0ea6ed78fac92b08b6"}],"doc/openocd.texi":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"fe703d7cb25c5d3bfa5d98fdc5453bf6189529b7","unresolved":true,"context_lines":[{"line_number":2496,"context_line":"Returns the name of the debug adapter driver being used."},{"line_number":2497,"context_line":"@end deffn"},{"line_number":2498,"context_line":""},{"line_number":2499,"context_line":"@deffn {Config Command} {adapter usb vid_pid} [vid pid]+"},{"line_number":2500,"context_line":"Specifies the USB vendor and product IDs of the adapter to use."},{"line_number":2501,"context_line":"Currently, up to 16 [@var{vid}, @var{pid}] pairs may be given, e.g."},{"line_number":2502,"context_line":"@example"}],"source_content_type":"text/x-texinfo","patch_set":2,"id":"d925d2de_30da80ae","line":2499,"updated":"2026-04-23 14:58:48.000000000","message":"If vid pid pair is not optional, the syntax here is incorrect.\n`@deffn {Config Command} {adapter usb vid_pid} (vid pid)+`","commit_id":"bb7226fdedf3d498e30e61f94601f8409f13f4f5"}],"src/jtag/adapter.c":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"59ee2531c2bbe4ad510b02adcf7ec9815eef366b","unresolved":true,"context_lines":[{"line_number":1148,"context_line":"\t\t.name \u003d \"vid_pid\","},{"line_number":1149,"context_line":"\t\t.handler \u003d \u0026handle_usb_vid_pid_command,"},{"line_number":1150,"context_line":"\t\t.mode \u003d COMMAND_CONFIG,"},{"line_number":1151,"context_line":"\t\t.help \u003d \"display or set the USB VID and PID of the USB device\","},{"line_number":1152,"context_line":"\t\t.usage \u003d \"(vid pid)*\","},{"line_number":1153,"context_line":"\t},"},{"line_number":1154,"context_line":"#ifdef HAVE_LIBUSB_GET_PORT_NUMBERS"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"4e6d3073_74d2efb7","line":1151,"updated":"2026-04-23 13:35:16.000000000","message":"Actually the `display` part is missing in the code. Only `set` is available.\nI think it could be nice to have the display too, so we could append new vid/pid pairs to existing ones.","commit_id":"cf53fbd49d8d166917bf5e0ea6ed78fac92b08b6"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"fe703d7cb25c5d3bfa5d98fdc5453bf6189529b7","unresolved":false,"context_lines":[{"line_number":1148,"context_line":"\t\t.name \u003d \"vid_pid\","},{"line_number":1149,"context_line":"\t\t.handler \u003d \u0026handle_usb_vid_pid_command,"},{"line_number":1150,"context_line":"\t\t.mode \u003d COMMAND_CONFIG,"},{"line_number":1151,"context_line":"\t\t.help \u003d \"display or set the USB VID and PID of the USB device\","},{"line_number":1152,"context_line":"\t\t.usage \u003d \"(vid pid)*\","},{"line_number":1153,"context_line":"\t},"},{"line_number":1154,"context_line":"#ifdef HAVE_LIBUSB_GET_PORT_NUMBERS"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"cdb9c95a_2eaa97ea","line":1151,"in_reply_to":"2c6380d5_2eeee34d","updated":"2026-04-23 14:58:48.000000000","message":"ok, agree","commit_id":"cf53fbd49d8d166917bf5e0ea6ed78fac92b08b6"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"610cb3de0186d1cffbf80a6bccd14e2053aa3973","unresolved":false,"context_lines":[{"line_number":1148,"context_line":"\t\t.name \u003d \"vid_pid\","},{"line_number":1149,"context_line":"\t\t.handler \u003d \u0026handle_usb_vid_pid_command,"},{"line_number":1150,"context_line":"\t\t.mode \u003d COMMAND_CONFIG,"},{"line_number":1151,"context_line":"\t\t.help \u003d \"display or set the USB VID and PID of the USB device\","},{"line_number":1152,"context_line":"\t\t.usage \u003d \"(vid pid)*\","},{"line_number":1153,"context_line":"\t},"},{"line_number":1154,"context_line":"#ifdef HAVE_LIBUSB_GET_PORT_NUMBERS"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"2c6380d5_2eeee34d","line":1151,"in_reply_to":"4e6d3073_74d2efb7","updated":"2026-04-23 14:13:42.000000000","message":"No, actually this is a copy/paste error from the `usb location` command description. The documentation has the correct description. Let\u0027s keep it simple for now and implement the \u0027display\u0027 feature in a separate patch.\nHere, and in general, we have an issue with displaying `COMMAND_CONFIG` commands, because they cannot be executed after initialization.","commit_id":"cf53fbd49d8d166917bf5e0ea6ed78fac92b08b6"}]}
