chronovu-la: Silence overly verbose log message.
This triggered all kinds of unrelated / confusing log messages for unrelated hardware devices, e.g.: sr: [00:00.613080] chronovu-la: Unknown iProduct string 'USB-based Instrument'. sr: [00:00.614374] chronovu-la: Unknown iProduct string 'GL3220 '. sr: [00:00.614907] chronovu-la: Unknown iProduct string 'USB 3.0 HUB '. sr: [00:00.615558] chronovu-la: Unknown iProduct string 'USB 2.0 HUB '. sr: [00:00.619846] chronovu-la: Unknown iProduct string 'Bluetooth USB Host Controller'. sr: [00:00.620411] chronovu-la: Unknown iProduct string 'USB 3.0 HUB '. sr: [00:00.624293] chronovu-la: Unknown iProduct string 'UAC1 DAC'. sr: [00:00.627849] chronovu-la: Unknown iProduct string 'BRCM20702 Hub'. sr: [00:00.628640] chronovu-la: Unknown iProduct string 'USB 2.0 HUB '. sr: [00:00.674777] chronovu-la: Unknown iProduct string 'USB2223'. sr: [00:00.675034] chronovu-la: Unknown iProduct string ''. sr: [00:00.675180] chronovu-la: Unknown iProduct string ''. sr: [00:00.675205] hwdriver: Scan found 0 devices (chronovu-la).
This commit is contained in:
parent
393375e1fe
commit
7bf81cb7a9
|
@ -196,14 +196,12 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
|
|||
|
||||
libusb_close(hdl);
|
||||
|
||||
if (!strcmp(product, "ChronoVu LA8")) {
|
||||
if (!strcmp(product, "ChronoVu LA8"))
|
||||
model = 0;
|
||||
} else if (!strcmp(product, "ChronoVu LA16")) {
|
||||
else if (!strcmp(product, "ChronoVu LA16"))
|
||||
model = 1;
|
||||
} else {
|
||||
sr_spew("Unknown iProduct string '%s'.", product);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
continue; /* Unknown iProduct string, ignore. */
|
||||
|
||||
sr_dbg("Found %s (%04x:%04x, %d.%d, %s).",
|
||||
product, des.idVendor, des.idProduct,
|
||||
|
|
Loading…
Reference in New Issue