Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

uClinux usb power budget

this is what happens when i tried to connect a usb barcode scanner... this scanner requires 400mA.

usb 1-1: new full speed USB device using address 7

usb 1-1: Product: Symbol Bar Code Scanner

usb 1-1: Manufacturer: ?Symbol Technologies, Inc, 2002

usb 1-1: SerialNumber: S/N:924B061B46E3634AB7A931F6D3743777 Rev:NBRMIAAA3

input: USB HID v1.10 Keyboard [?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner] on usb-9001-hcd-1

usb 1-1: 300mA over 100mA budget!

usb 1-1: USB disconnect, address 7

my question is... if the host driver sets the hub power budget...

if (ohs9001->board && ohs9001->board->power)

hub_set_power_budget(udev, ohs9001->board->power * 2); // ohs9001->board->power=250

why i'm having this error.... if hey hub power budget is supposed to be 500mA

Regards

Jimmy
No RepliesBe the first to reply