embedded linux and powering usb stick

I have a trouble where I require to read a usb - stick or a usb keyboard: When I connect in the USB stick or keyboard I can not get power to the tool. dmesg claims absolutely nothing

I tried:

for device in $(ls /sys/bus/usb/devices/*/product); 
  do echo $device
  cat $device;
done

for obtaining details in console and also I get this output:

/sys/bus/usb/devices/usb1/product
Freescale On-Chip EHCI Host Controller 

I can not see any kind of kingston usb stick or keyboard.

Quesitons:

  1. How can I power my usb tool mdev or /sys/bus/usb/devices/*/power
  2. How to read information from keyboard or usb stick
0
2022-07-25 20:44:50
Source Share
Answers: 1

Solution had not been straightforward.

I require to configurate/ sys/class/gpio/ for making it possible for inner 5V action - up regulatory authority.

0
2022-07-25 21:58:17
Source