Is it possible to connect to the Rasberry Pi from my PC directly via USB? I would like to plug in a HID Barcode Scanner into a USB port on the Pi, and receive the scanned values via the Pi to a program on my PC via USB ?
It would be possible for slave mode on the A units but you get host or slave mode not both at the same time. You could write your own usb stack for the gpio pins but that seems like overkill. Best option is to deliver the scanned data via ethernet unless you are doing some type of mitm parsing of the barcode data in which case the rpi isn't the device for you.