reset USB port, how to obtain same effect of physical disconnection or poweroff

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question






















  • 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














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.







share|improve this question






















  • 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












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.







share|improve this question














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.









share|improve this question













share|improve this question




share|improve this question








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










  • 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
















  • 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?