USB hub由self-powered 和bus-powered 两种模式.Bus-powered指Hub消耗的电能(hub本身和其下行端口对外提供的电能)全部来自上行端口的Vbus.Self-powered是指hub下行端口的对外供电全部来自本地外部供电而非上行端口的Vbus
public bool SelfPowered { get; } 屬性值 Boolean 如果裝置從本機來源繪製電源,則為 True;false 表示裝置只從匯流排繪製電源。 備註 如果SelfPowered 為true,則裝置會從本機來源繪製電源,以及來自匯流排的一些電源。 取得 MaxPowerMilliamps 屬性值,以判斷裝置從匯流排繪製的電源數量。 適用於 產品版本 WinRT...
所谓可见,即USB系统和主机可见的状态,其他状态属于USB设备内部而不可见。其中有关电源的,大致可分下面三类: 连接状态(Attached):设备连接,但未提供电源。 上电状态(Powered):设备被复位(Reset),或者说处于地址、配置状态。 挂起状态(Suspended):3 ms未见总线活动而处于省电状态,设备不可用,但仍然保持原有的USB地址...
例如,可以确定设备是从总线还是外部源中取电, (请参阅UsbConfigurationDescriptor.SelfPowered) 。 如果设备正在从总线供电,则) 消耗的功率 (以毫安为单位 (请参阅UsbConfigurationDescriptor.MaxPowerMilliamps) 。 此外,还可以通过获取UsbConfigurationDescriptor.RemoteWakeup值来确定设备是否能够从...
USB3.0中的三种Reset Events 1. PowerOn Reset PowerOn Reset被用来代指上电复位,当一个device接入到root hub或者外置hub的时候,该device检测到Vbus信号从无效变为有效,会自动执行复位。(注意,self powered device不
bmAttributes:位字段,包含配置特性标志,例如自供电(Self-powered)、远程唤醒能力(Remote Wakeup)等。 MaxPower:指定设备在工作于当前配置下从USB总线上请求的最大电流,以2mA为单位,并且转换为实际功率(瓦特)时需乘以5V(USB标准电压)。 配置描述符后面通常跟随一系列按顺序排列的数据结构,包括: ...
5W,一般也够用了。如果是电压不稳也可以考虑买个双供电的移动硬盘线,可能好一些。
A self-powered USB peripheral provides its own power, so is it okay to connect just D+, D- and GND to the host port, or do you always have to connect +5V as well, then wait for the negotiation phase for the device to tell the host that it is self-powered ...
isSelfPowered: true, maxPower: 0, name: "1-1", interfaces: [ { id: 0, protocol: 0, clazz: 9, subClass: 0, alternateSetting: 0, name: "1-1", endpoints: [ { address: 129, attributes: 3, interval: 12, maxPacketSize: 4, direction: 128, number: 1, type: 3, interfaceId: 0...
( &setupPacket, BmRequestToDevice,0); hr = SendControlTransferSynchronously( &(setupPacket.WinUsb), & deviceStatus,sizeof(USHORT), &bytesReturned );if(SUCCEEDED(hr)) {if(deviceStatus & USB_GETSTATUS_SELF_POWERED) { m_Self_Powered =true; }if(deviceStatus & USB_GETSTATUS_REMOTE_WAKEUP_...