Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a remote usb modem needs reboot. how?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
klim888
n00b
n00b


Joined: 04 Feb 2013
Posts: 2

PostPosted: Mon Feb 04, 2013 5:15 pm    Post subject: a remote usb modem needs reboot. how? Reply with quote

Hi! The modem on my remote server hangs time to time.
The problem is that it has no console, web interface or other ways control.
In Ubuntu I do something like: sudo echo off|on > /sys/bus/usb/devices/usb1/power/level
Could anyone help me to do the same in Gentoo? Thanks
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Feb 04, 2013 6:03 pm    Post subject: Reply with quote

Quote:
sudo echo off|on > /sys/bus/usb/devices/usb1/power/level


why/how does that fail in gentoo?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
klim888
n00b
n00b


Joined: 04 Feb 2013
Posts: 2

PostPosted: Tue Feb 05, 2013 1:09 pm    Post subject: Reply with quote

albright wrote:
Quote:
sudo echo off|on > /sys/bus/usb/devices/usb1/power/level

why/how does that fail in gentoo?


Thanks for your answer
As far as I know, such path doesn't exist in gentoo.
At least, there is no a folder "power", just like a file "level".
I've used "find" to seek for them without any results.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Tue Feb 05, 2013 1:27 pm    Post subject: Reply with quote

Quote:
/sys/bus/usb/devices/usb1/power/level


exists on my system - do you have all the usb stuff in
the kernel built?

(look for pappy's kernel seeds for advice if needed
http://kernel-seeds.org/)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum