Connect Arduino on GPIO as a USB device and monitor connection

Hello everyone,

I am looking at a solution to a quandry.

I have a 'blackbox' terminal that is locked and requires a password. It has a USB port which the supplier says is not active when the terminal is locked, only activating when someone inputs the correct password.

I would like to test and see if this claim is true but I am a little stuck as to how I can do this. My most promising idea was to use an arduino and to connect it as a USB device on the GPIO pins and then monitor/interrogate the connection through the USB serial connection.

Is this a viable idea?

gaffers:
Hello everyone,

I am looking at a solution to a quandry.

I have a 'blackbox' terminal that is locked and requires a password. It has a USB port which the supplier says is not active when the terminal is locked, only activating when someone inputs the correct password.

I would like to test and see if this claim is true but I am a little stuck as to how I can do this. My most promising idea was to use an arduino and to connect it as a USB device on the GPIO pins and then monitor/interrogate the connection through the USB serial connection.

Is this a viable idea?

"Not active" is a relative term. What happens when you plug your black box USB to a computer? Does the computer realize there is a new USB device? If so, then "not active" means the black box is not "usable", but is waiting for the password.

If the PC does not recognize a new USB device when you plug it in, then the USB port is not powered by the box and will be powered only with the correct password. If this is true, then as soon as the password is entered, the PC should recognize the new connection.

Paul