Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Simple method for communicating with Teensy2++ from Linux PC

  1. #1

    Question Simple method for communicating with Teensy2++ from Linux PC

    My problem is this:
    I need to send simple commands from (a quite outdated) RedHat Linux 5.1 machine and Teensy 2++.
    Some of the standard drivers do not exist in this edition.

    One thing I was able to accomplish was to build the Teensy command line loader, load and run compiled hex file. That worked just fine.

    But now I'm not sure how to actually control the board.
    I've assumed a serial connection would be the easiest, but there's not /dev/ttyUSB device.

    I don't really care about the implementation (serial, usb, midi) as long as I can send simple control messages to the Teensy.
    Perhaps use something similar to what the teensy_loader_cli is doing?

    I'd love to hear some ideas
    Thank you.

  2. #2
    - cdc_acm is loaded
    - no /dev/ttyACM0
    - cli loader works fine
    - dmesg shows:
    usb 1-1: USB disconnect, address 18
    usb 1-1: new full speed USB device using uhci_hcd and address 19
    usb 1-1: configuration #1 chosen from 1 choice
    hiddev96: USB HID v1.11 Device [Teensyduino RawHID Device] on usb-0000:00:1d.0-1
    HID device not claimed by input or hiddev

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