DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th September 2020
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 68
Default Howto power off usb devices

Under FreeBSD, I can power off a usb device with usbconfig's "power_off" option. How can I do that under NetBSD?

Code:
# usbstats 
Controller /dev/usb0:
      1069 control
         0 isochronous
 154806725 bulk
   8954336 interrupt
Controller /dev/usb1:
       375 control
         0 isochronous
  33390421 bulk
         2 interrupt

# usbdevs 
addr 1: EHCI root hub, NetBSD
 addr 2: Rate Matching Hub, Intel
  addr 5: External USB 3.0, Toshiba
  addr 3: USB Optical Mouse, Primax Electronics
  addr 4: Kensington U+P Keyboard, NOVATEK
addr 1: EHCI root hub, NetBSD
 addr 2: Rate Matching Hub, Intel
  addr 3: USB2.0-CRW, Generic
I want to power off (and later on) External USB 3.0, Toshiba, which I believe is at usb0, addr 5.
Reply With Quote
Reply

Tags
power management, usb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio Devices Freyja OpenBSD General 1 21st March 2020 10:55 AM
Soft power button doesn't power down ffonz OpenBSD General 4 11th May 2015 02:55 PM
List RAID devices? raindog308 OpenBSD General 4 4th January 2015 06:09 PM
Permissions of drm or video devices for better fps npmaier OpenBSD General 1 22nd April 2014 08:13 PM
Automounting USB devices with HAL/KDE vinegaroon FreeBSD General 1 13th June 2008 02:16 PM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick