Teensy USB driver

Hello all,

this is a question/feature request.

I have built a Lighthack-Box with 8 encoders for my element. This box uses a teensy 3.5 to send OSC via USB.

Unfortunately EOS does not recognize my teensy - eos on my PC does recognize it.

Only after I install the teensy serial driver from the teensy Homepage on my console, I can use the Box.

However, when I updated to 2.8 this driver seems to have been removed...

I will install it again before the next programming session starts and hope it works again.

It would be very helpful, if not only the arduino usb driver but also the teensy usb driver would be included into the eos software...

Or am I missing something?

Parents
  • Please, can you share the project as a .zip file attached, including the libraries you use (are they downloaded with the Arduino Library Manager,
    or Teensy libs ?).
    I tried using my Teensy 3.5 with PlatformIO on macOS with v2.8 without problems.

  • box_8_src.zip

    I use all the same libraries as the box1.

    additionally:

    #include <LiquidCrystalFast.h> because my display is 80x4
    #include <Bounce2.h> for debouncing....

    All downloaded within Arduino Lib Manager.

  • I just tried again initializing with LiquidCrystal () (not Fast).

    Still no handshake, so I guess this is not the problem...

  • I have the seem display, but not used yet, so I will investigate further.

  • I think it has nothing to do with the display.
    As I wrote in my other thread, even the original ubs_test_sketch provided by etc (or etclabs or whoever) does not get me a handshake....

  • Can you try to change the USB PID and VID numbers in the board.txt from Teensy ! (don't forget to make an backup) to following:
    PID 0x0043 VID 0x2341, this emulates an UNO, which normally works on consoles.

  • The board is recognized.

    In Tab99 it says:
    IoCard "OSC USB Device connected (Handshake Required)"

    and later:

    IoCard "OSC USB Device Handshake initiated [ETCOSC?]"

    But after that nothing....

    But I will try the change you suggested....

  • If the the device is detected the boards vid/pid seems ok. It is a workaround for boards which are not detected by console/nomad.

  • somehow the board does either not get the "ETCOSC?" or does not send the "OK".

    Maybe it has something to do with the SerialUSB?

  • Get you the startup messages on your lcd starting at line 1758?

  • Yes I do get them.

  • I just commented out the part

    #ifdef BOARD_HAS_USB_SERIAL
      while (!SerialUSB);
    #else
      while (!Serial);
    #endif

    now it works!

    Thank you sstaub for your patience and your help!!!

Reply
  • I just commented out the part

    #ifdef BOARD_HAS_USB_SERIAL
      while (!SerialUSB);
    #else
      while (!Serial);
    #endif

    now it works!

    Thank you sstaub for your patience and your help!!!

Children