*Cough* http://www.raspberrypi.org/phpBB3/viewt ... 96#p159641karlkiste wrote:Act as a USB device: Impossible. The USB hardware cannot be set to client mode.
From that link: "Yes, Model-A should be able to work in slave mode."piglet wrote:*Cough* http://www.raspberrypi.org/phpBB3/viewt ... 96#p159641karlkiste wrote:Act as a USB device: Impossible. The USB hardware cannot be set to client mode.
Which is the "crossover cable" I imagined having to create. With such a cable can the model B accomplish this task since it wouldn't need to go into client mode?Yes, The model A will come with a HOST port. So you need a Host to Host cable, which is non standard.
As part of that you must make sure there is no power going over the cable so either (or both) host power wires need to be not connected.
Welp, that answers my questions pretty definitively. I will just have to wait for something to evolve that will suit my needs.mahjongg wrote:There is no software to make the PI act as an USB slave device, and there probably never will be.
I'm not really trying to get a situation where I can connect to Windows myself via my pi, I'm trying to get a situation where my pi can operate a windows computer based on optically recognizing patterns on the screen. I wanted to essentially build a Windows technician in my pocket.karlkiste wrote:Those cables do exist (e.g. http://www.datapro.net/products/usb-2-0 ... cable.html ), but you can't simulate keyboard and/or mouse using them afaik.
Why don't you want to use rdesktop via network? It does all you're asking for.
I think you can split this into (at least) two separate tasks. One would be to capture/recognize PC screen, the other to control this PC over mouse/keyboard data. Third is SD content sharing. These are very separate things, so you could investigate each of them independently.veraVita wrote:My objective here is to have a situation where my rpi can watch data visually on the screen (decode it with OCR if able) and interact with keyboard/mouse.
You don't need to sacrifice mouse or anything. On the PC side you can have attached both mouse and keyboard next to this USB "thing". Also on the RasPi side, you could use GPIO, so both USB ports also remain available...veraVita wrote:I'd even sacrifice the mouse for that.
means that the software in the device is written to do three kinds of "UB endpoint devices", namely "Legacy serial", (UART) "legacy printer port" (parallel FIFO) or it can emulate the SPI port as used in a micro controller. It doesn't have the ability to act like a keyboard, although you can use it to send a serial data stream, and that could be ASCII (or key code) data, or even mouse data. (just like the older mice that connect to a serial port). Without special software to accept those data as keyboard input its not really useful.Jumper selectable UART, parallel FIFO or SPI MCU interfaces