reset USB port, how to obtain same effect of physical disconnection or poweroff
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have an headless system running Ubuntu 14, with a xtion pro live camera connected to do some live video elaboration.
Sometimes on boot (every morning is power on, but this is happening ramdomly) the camera is not recognized and dmesg shows:
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
The camera is not even listed in lsusb.
What I tried without any success is:
- Computer reboot
https://davidjb.com/blog/2012/06/restartreset-usb-in-ubuntu-12-04-without-rebooting/ (usb device it's not listed in lsusb)- https://askubuntu.com/a/661/373541
- on BIOS fast boot is disabled
- can't rmmod/modprobe xhci_hcd as it's builtin
- https://github.com/mvp/uhubctl
The only working solution is to poweroff/poweron the computer (not feasible as is an headless system, it poweroff every night, and poweron every morning but I'd avoid waiting next day when the problem occurs).
Is there any solution to simulate the physical disconnection of the device (I not even sure if this would work) or the poweroff for what USB concerns?
Any ideas will be appreciated, thank you.
ubuntu usb
add a comment |Â
up vote
0
down vote
favorite
I have an headless system running Ubuntu 14, with a xtion pro live camera connected to do some live video elaboration.
Sometimes on boot (every morning is power on, but this is happening ramdomly) the camera is not recognized and dmesg shows:
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
The camera is not even listed in lsusb.
What I tried without any success is:
- Computer reboot
https://davidjb.com/blog/2012/06/restartreset-usb-in-ubuntu-12-04-without-rebooting/ (usb device it's not listed in lsusb)- https://askubuntu.com/a/661/373541
- on BIOS fast boot is disabled
- can't rmmod/modprobe xhci_hcd as it's builtin
- https://github.com/mvp/uhubctl
The only working solution is to poweroff/poweron the computer (not feasible as is an headless system, it poweroff every night, and poweron every morning but I'd avoid waiting next day when the problem occurs).
Is there any solution to simulate the physical disconnection of the device (I not even sure if this would work) or the poweroff for what USB concerns?
Any ideas will be appreciated, thank you.
ubuntu usb
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
it doens't work
â rok
Jan 4 at 11:31
Tryuhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).
â mvp
Jan 21 at 7:45
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
@rok: did you try with-R
? Adding-R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).
â mvp
Feb 2 at 0:28
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have an headless system running Ubuntu 14, with a xtion pro live camera connected to do some live video elaboration.
Sometimes on boot (every morning is power on, but this is happening ramdomly) the camera is not recognized and dmesg shows:
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
The camera is not even listed in lsusb.
What I tried without any success is:
- Computer reboot
https://davidjb.com/blog/2012/06/restartreset-usb-in-ubuntu-12-04-without-rebooting/ (usb device it's not listed in lsusb)- https://askubuntu.com/a/661/373541
- on BIOS fast boot is disabled
- can't rmmod/modprobe xhci_hcd as it's builtin
- https://github.com/mvp/uhubctl
The only working solution is to poweroff/poweron the computer (not feasible as is an headless system, it poweroff every night, and poweron every morning but I'd avoid waiting next day when the problem occurs).
Is there any solution to simulate the physical disconnection of the device (I not even sure if this would work) or the poweroff for what USB concerns?
Any ideas will be appreciated, thank you.
ubuntu usb
I have an headless system running Ubuntu 14, with a xtion pro live camera connected to do some live video elaboration.
Sometimes on boot (every morning is power on, but this is happening ramdomly) the camera is not recognized and dmesg shows:
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
The camera is not even listed in lsusb.
What I tried without any success is:
- Computer reboot
https://davidjb.com/blog/2012/06/restartreset-usb-in-ubuntu-12-04-without-rebooting/ (usb device it's not listed in lsusb)- https://askubuntu.com/a/661/373541
- on BIOS fast boot is disabled
- can't rmmod/modprobe xhci_hcd as it's builtin
- https://github.com/mvp/uhubctl
The only working solution is to poweroff/poweron the computer (not feasible as is an headless system, it poweroff every night, and poweron every morning but I'd avoid waiting next day when the problem occurs).
Is there any solution to simulate the physical disconnection of the device (I not even sure if this would work) or the poweroff for what USB concerns?
Any ideas will be appreciated, thank you.
ubuntu usb
edited Jan 4 at 11:33
asked Jan 4 at 10:49
rok
7316
7316
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
it doens't work
â rok
Jan 4 at 11:31
Tryuhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).
â mvp
Jan 21 at 7:45
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
@rok: did you try with-R
? Adding-R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).
â mvp
Feb 2 at 0:28
add a comment |Â
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
it doens't work
â rok
Jan 4 at 11:31
Tryuhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).
â mvp
Jan 21 at 7:45
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
@rok: did you try with-R
? Adding-R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).
â mvp
Feb 2 at 0:28
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
it doens't work
â rok
Jan 4 at 11:31
it doens't work
â rok
Jan 4 at 11:31
Try
uhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).â mvp
Jan 21 at 7:45
Try
uhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).â mvp
Jan 21 at 7:45
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
@rok: did you try with
-R
? Adding -R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).â mvp
Feb 2 at 0:28
@rok: did you try with
-R
? Adding -R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).â mvp
Feb 2 at 0:28
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414746%2freset-usb-port-how-to-obtain-same-effect-of-physical-disconnection-or-poweroff%23new-answer', 'question_page');
);
Post as a guest
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
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
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
Here you might find your solution: stackoverflow.com/questions/4702216/â¦
â Petr
Jan 4 at 10:58
it doens't work
â rok
Jan 4 at 11:31
Try
uhubctl -R -a cycle
. But it will work only if your hub supports per port power switching (to be recognized by uhubctl).â mvp
Jan 21 at 7:45
it's already in the attempts list without any success..
â rok
Jan 24 at 14:02
@rok: did you try with
-R
? Adding-R
will try to use appropriate USB reset mechanism supported by your OS (Linux in this case).â mvp
Feb 2 at 0:28