Please add the Teensy 3.6 to the libmtp library. The device is simply not detected.
lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
mtp-detect
libmtp version: 1.1.16
Listing raw device(s)
No raw devices found.
The device appears in Nautilus as 'TeensyMTPDisk' with the following udev rule in 69-libmtp.rules, but cannot be mounted:
ATTR{idVendor}=="16c0", ATTR{idProduct}=="04d1", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
lsusb -v
Bus 006 Device 006: ID 16c0:04d1 Van Ooijen Technische Informatica
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x16c0 Van Ooijen Technische Informatica
idProduct 0x04d1
bcdDevice 2.77
iManufacturer 1 Teensyduino
iProduct 2 Teensy MTP Disk
iSerial 3 4777660
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 105
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 4 MTP
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x01
call management
bDataInterface 1
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 64
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Teensy website
https://www.pjrc.com/teensy/index.html
MTP library for Teensy
https://github.com/yoonghm/MTP
https://forum.pjrc.com/threads/43050-MTP-Responder-Contribution
Thank you for your help. If you require more information, please ask.
Anonymous
The lsusb looks like a serial device / modem.
Did you correctly activate the MTP software?
Hi Marcus
Thank you for your reply and assistance with this.
I believe the Teensy MTP software is working as it uploads successfully and communicates with the PC via the Serial monitor. However, I am trying to access the onboard SD card through the USB port and this is proving a problem.
Are there settings on the Ubuntu side that I should change from default? (Apologies if this is a dumb question.)
Thanks
Dean
This has now been solved. See:
https://forum.pjrc.com/threads/43050-MTP-Responder-Contribution
The problem was a bug in the Teensy library.
thanks! closing