webusb don't work after Suspend on Windows 7
up vote
0
down vote
favorite
The webusb works fine on my Windows 7 Chrome 70.
But after I suspend and resume, it don't work anymore until I pull out and insert my usb device and restart my browser.
I can't see any error in the console, just no output.
My code as well:
device.transferIn(1, 64)
.then(result => {
let decoder = new TextDecoder();
let message = decoder.decode(result.data);
console.log('Received: ' + message);
x();
});
webusb
add a comment |
up vote
0
down vote
favorite
The webusb works fine on my Windows 7 Chrome 70.
But after I suspend and resume, it don't work anymore until I pull out and insert my usb device and restart my browser.
I can't see any error in the console, just no output.
My code as well:
device.transferIn(1, 64)
.then(result => {
let decoder = new TextDecoder();
let message = decoder.decode(result.data);
console.log('Received: ' + message);
x();
});
webusb
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The webusb works fine on my Windows 7 Chrome 70.
But after I suspend and resume, it don't work anymore until I pull out and insert my usb device and restart my browser.
I can't see any error in the console, just no output.
My code as well:
device.transferIn(1, 64)
.then(result => {
let decoder = new TextDecoder();
let message = decoder.decode(result.data);
console.log('Received: ' + message);
x();
});
webusb
The webusb works fine on my Windows 7 Chrome 70.
But after I suspend and resume, it don't work anymore until I pull out and insert my usb device and restart my browser.
I can't see any error in the console, just no output.
My code as well:
device.transferIn(1, 64)
.then(result => {
let decoder = new TextDecoder();
let message = decoder.decode(result.data);
console.log('Received: ' + message);
x();
});
webusb
webusb
edited Nov 19 at 7:26
MatrixTai
1,887421
1,887421
asked Nov 19 at 7:16
linlin lin
12
12
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53369916%2fwebusb-dont-work-after-suspend-on-windows-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown