diff options
author | pancake <pancake@dazo> | 2008-02-18 01:25:00 +0100 |
---|---|---|
committer | pancake <pancake@dazo> | 2008-02-18 01:25:00 +0100 |
commit | 32a59f4279e1d72abc2b60f08d6e32e2a0b32478 (patch) | |
tree | 51781cbaae88009bceac47406ce526abe17bbafc /src/main.c | |
parent | fc6bacdb9495391912c55946c3b895bf4523e243 (diff) | |
download | 0xFFFF-32a59f4279e1d72abc2b60f08d6e32e2a0b32478.tar.bz2 |
* Initial support for n8100.3.2
- Fix set_altinterface workaround which seems to be checked by nolo 1.7
- n810 has the same USBID than n770
* Define some nolo commands used in query.c in nolo.h
* Get SW version with -i too
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -175,8 +175,8 @@ int connect_via_usb() return 1; } - if ( usb_claim_interface(dev, - device->config->interface->altsetting->bInterfaceNumber) < 0) { // 2 or 0 + if ( usb_claim_interface(dev, 2) < 0) { + //device->config->interface->altsetting->bInterfaceNumber) < 0) { // 2 or 0 D perror("usb_claim_interface"); // Something is broken if closing fails. @@ -191,7 +191,7 @@ int connect_via_usb() continue; } - if (usb_set_altinterface(dev, device->config->interface->altsetting->bAlternateSetting) < 0) { + if (usb_set_altinterface(dev, 1) <0) { //device->config->interface->altsetting->bAlternateSetting) < 0) { D perror("usb_set_altinterface"); // Something is broken if closing fails. |