Main Site Documentation

Following what USBClientController state changed?


#1

Hi,
I’m trying to run keyboard emulator that send some key every x seconds,
I saw that it’s work only when the USBClientController state is running.
usually the USBClientController is in attached state.

Do you know how can I change the state manually?

thanks,
Judith.


#2

I do not think you can


#3

Maybe I can cause state change somehow?
sometimes it’s in ‘Running’ state and I don’t know what is depends on.


#4

Isn’t it “attached” when USB is plugged in and “running” when the drivers are loaded? (When windows calls USBSetConfig).


#5

I thought so, but also after I ran:

kb = USBClientController.StandardDevices.StartKeyboard();

the USBClientController state is “attached”.


#6

What do you see on device manager where you have the USB plugged in?
What happens if you unplug and replug the cable back in?


#7

I work with rs232 for debugging and the USBClientDP connect to another PC.


#8

Yes, I know :slight_smile: What do you see on the “other” PC device manager.


#9

nothing changed in the device manager when I unplug and re plug the cable back in :frowning:


#10

Do you see a keyboard?


#11

yes.


#12

What board re you using?


#13

FezSpider


#14

We will look into this