I tested the following:
flashed LUFA demo CDC project with no any changes
insmoded usbserial with correct vendor i product ids
cat /dev/usb/tts/0 shows expected reaction on joystick events
Printable View
I tested the following:
flashed LUFA demo CDC project with no any changes
insmoded usbserial with correct vendor i product ids
cat /dev/usb/tts/0 shows expected reaction on joystick events
so you can read the direct stream of the data send by the usb-stick?
I read somewhere that it was possible to do it with insmod usbserial or with libusb.
But you're showing a file now, so that kinda builds up to a big file?
I already looked at the libusb, and it's really easy to program:)
with the joystick it would be possible to do like shortcuts under every direction, so you can launch like an app, change settings etc.
btw, maybe we should create a new tread :p
I'll post up the sources of the usb hid device... I tought I made it interrupt based..
@darius, look at this: http://wl500g.info/showpost.php?p=133654&postcount=13
the usb stick you see has a black square box with a white pin on the right side, that white pin is the joystick, and yes, it's digital:p
they have a demo project for a mouse, but unfortunately it's not that stable to do with a joystick:D
Hi,
another solution for webserver + temperature sensor.
Game port <-> usb cable
Game port can read analog inputs, so no problem to have analog temperature sensor connected as input.
Analog game port is supported by Linux
http://www.google.com/search?hl=en&q...earch&aq=f&oq=
http://forums.fedoraforum.org/showthread.php?t=212148
http://www.mjmwired.net/kernel/Docum...rogramming.txt
Darius