Skip to content
Hippie Hacker edited this page Apr 27, 2015 · 2 revisions

not enough power

If you plug in a device and you get 'insufficient available bus power' but you know your providing enough power (I connected 5.2 V out directly to the Kinesis usb +5V line), then you can over ride the limit.

[ 2084.896416] usb 1-1.4: Product: Apple USB Ethernet Adapter
[ 2084.896434] usb 1-1.4: Manufacturer: Apple Inc.      
[ 2084.896453] usb 1-1.4: SerialNumber: 1C3DC2
[ 2084.897290] usb 1-1.4: rejected 1 configuration due to insufficient available bus power
[ 2084.897318] usb 1-1.4: no configuration chosen from 1 choice
[ 2084.907804] usb 1-1.4: new config #1 exceeds power limit by 150mA

Just add a udev rule for that device.

# cat /etc/udev/rules.d/usbnet.rules 
ACTION=="add", ATTRS{product}=="Apple USB Ethernet Adapter", RUN+="/home/root/usbnet /sys%p/bConfigurationValue"
# cat /home/root/usbnet 
#!/bin/sh
echo 1 > $1

TODO: look at available power on the hub and decide in real time how much over the limit you want to go.

prefer ethernet

# cat /etc/connman/main.conf 
[General]
PreferredTechnologies=ethernet,wifi

Clone this wiki locally