X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;h=7f62a19bf7e4f68068ff309de4851e3637f640ca;hb=05831781fb79ec7436280ccef6ef0fdabf105f33;hp=5fda2177cd33ee19e0630bdff3a049ab42f8c43e;hpb=e0837a17b5a497476d67237c768836e51f8a4ce7;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index 5fda217..7f62a19 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -1105,6 +1105,11 @@ void BMUSBCapture::configure_card() rc = libusb_set_interface_alt_setting(devh, /*interface=*/0, /*alternate_setting=*/1); if (rc < 0) { fprintf(stderr, "Error setting alternate 1: %s\n", libusb_error_name(rc)); + if (rc == LIBUSB_ERROR_NOT_FOUND) { + fprintf(stderr, "This is usually because the card came up in USB2 mode.\n"); + fprintf(stderr, "In particular, this tends to happen if you boot up with the\n"); + fprintf(stderr, "card plugged in; just unplug and replug it, and it usually works.\n"); + } exit(1); } rc = libusb_set_interface_alt_setting(devh, /*interface=*/0, /*alternate_setting=*/2);