Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19

Thread: Webserver and Temperature Sensor

  1. #16
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    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

  2. #17
    Quote Originally Posted by al37919 View Post
    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
    is your joystick analog or digital ?
    Analog joystick is an excellent input device on PC with game port.

    Darius

  3. #18
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by al37919 View Post
    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
    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
    they have a demo project for a mouse, but unfortunately it's not that stable to do with a joystick

  4. #19
    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

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •