BBB debian problems with USB


I’m using beaglebone black A6 with external power supply , and microSD with debian-7.4-console-armhf-2014-03-27

when I do “lsusb” my uwn200 doesn’t appear , and this is a dmesg : , with dongle plugged(unppluged is the same).

I have 2 dongles and tried both , but I couldn’t run any. I suspected this the problem hub 2-0:1.0: hub_suspend

anybody can help me or shed some light on how to solve




lsusb needs to see a directory in existence, else it goes quietly into the night. I devised this script fragment to solve the problem.
Run it early in one of your boot scripts, it can be added as part of en existing script.

for i in /sys/bus/usb/devices/usb*; do
echo $i
if [ -d $i ]; then
mm=cat $i/dev

major=$(echo “$mm” | sed ‘s/:.//’)
minor=$(echo “$mm” | sed 's/.

busnum=$(printf “%03d” cat $i/busnum)
devnum=$(printf “%03d” cat $i/devnum)

mkdir -p /dev/bus/usb/$busnum
mknod /dev/bus/usb/$busnum/$devnum c $major $minor

I think /dev/bus/usb is a directory that must exist for lsusb to happy.


El dijous 10 d’abril de 2014 2:40:47 UTC+2, dickelbeck va escriure: