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

Thread: cannot use teensy 3.1 on fedora 18

  1. #1

    cannot use teensy 3.1 on fedora 18

    hi!

    i'm trying to get a teensy 3.1 running on fedora 18 but im stuck. this is my first microcontroller.

    installed teensyloader, arduino ide, teensyduino, udev rule for teensy
    udev rule:
    ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{ID_MM_DEVICE_IGNORE}="1"
    ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{MTP_NO_PROBE}="1"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
    KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"

    when i plug in the usb cable the teensy led blinks, dmesg shows the device, /dev shows no ttyacm, but a device under /dev/usb/hiddev0
    [ 2237.632116] usb 6-2: new full-speed USB device number 12 using uhci_hcd
    [ 2237.787119] usb 6-2: New USB device found, idVendor=16c0, idProduct=0486
    [ 2237.787128] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 2237.787135] usb 6-2: Product: Teensyduino RawHID
    [ 2237.787140] usb 6-2: Manufacturer: Teensyduino
    [ 2237.787146] usb 6-2: SerialNumber: 30150
    [ 2237.796582] hid-generic 0003:16C0:0486.0011: hiddev0,hidraw0: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:00:1d.0-2/input0
    [ 2237.802301] hid-generic 0003:16C0:0486.0012: hidraw1: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-0000:00:1d.0-2/input1

    when i then press the button on the teensy, led stops blinking, dmesg shows another device, no tty in /dev
    2469.203145] usb 6-2: USB disconnect, device number 12
    [ 2469.781111] usb 6-2: new full-speed USB device number 13 using uhci_hcd
    [ 2469.918176] usb 6-2: New USB device found, idVendor=16c0, idProduct=0478
    [ 2469.918187] usb 6-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [ 2469.918194] usb 6-2: SerialNumber: 000075C6
    [ 2469.925706] hid-generic 0003:16C0:0478.0013: hidraw0: USB HID v1.11 Device [HID 16c0:0478] on usb-0000:00:1d.0-2/input0


    i also tried it with installing cdc-acm, but it didnt change anything

    i tried uploading the fast blink example with teensyloader alone, teensyduino/teensyloader, but it seems that the toolchain does not recognize my teensy - teensyloader does not recognize when the button on the teensy is pressed

    i googled for the last days and found no solution and im not pretty clueless what i should do/where i should look

    thx in advance for any hints


    edit:
    solved, udev rule's name ended with txt ... pebkac ftw!
    Last edited by karl.the.operator; 04-23-2014 at 05:44 PM. Reason: solved

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
  •