From 85e8fad16f36fa487b6e03640852193cc5dc5d91 Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Tue, 1 Feb 2022 17:18:05 -0800 Subject: [PATCH] add T-Echo info --- info/mac/techo.txt | 32 ++++ info/ubuntu/techo.txt | 141 +++++++++++++++ info/ubuntu/tlora.txt | 3 +- info/windows/techo.txt | 302 +++++++++++++++++++++++++++++++++ info/windows/tlora.txt | 6 +- meshtastic/supported_device.py | 6 +- 6 files changed, 484 insertions(+), 6 deletions(-) create mode 100644 info/mac/techo.txt create mode 100644 info/ubuntu/techo.txt create mode 100644 info/windows/techo.txt diff --git a/info/mac/techo.txt b/info/mac/techo.txt new file mode 100644 index 0000000..ab2b12a --- /dev/null +++ b/info/mac/techo.txt @@ -0,0 +1,32 @@ + +in boot mode: + +% mount + +/dev/disk122 on /Volumes/TECHOBOOT (msdos, local, nodev, nosuid, noowners) + +% ls -al /Volumes/TECHOBOOT +total 3735 +drwxrwxrwx@ 1 bob staff 2048 Feb 1 16:47 . +drwxr-xr-x 5 root wheel 160 Feb 1 16:47 .. +drwxrwxrwx 1 bob staff 512 Feb 1 16:47 .fseventsd +-rwxrwxrwx 1 bob staff 1908736 Oct 13 08:37 CURRENT.UF2 +-rwxrwxrwx 1 bob staff 129 Oct 13 08:37 INDEX.HTM +-rwxrwxrwx 1 bob staff 237 Oct 13 08:37 INFO_UF2.TXT + + +# nothing plugged in +% ioreg -p IOUSB > /tmp/a +# not boot mode +% ioreg -p IOUSB > /tmp/b +# bootmode +% ioreg -p IOUSB > /tmp/c + + +% diff /tmp/a /tmp/b + +> | +-o TTGO_eink@14300000 + +% diff /tmp/a /tmp/c + +> | +-o T-Echo v1@14300000 diff --git a/info/ubuntu/techo.txt b/info/ubuntu/techo.txt new file mode 100644 index 0000000..b1676c1 --- /dev/null +++ b/info/ubuntu/techo.txt @@ -0,0 +1,141 @@ + +$ lsusb +Bus 002 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120 +Bus 002 Device 002: ID 8087:8000 Intel Corp. +Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub +Bus 001 Device 107: ID 239a:0029 +Bus 001 Device 002: ID 8087:8008 Intel Corp. +Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub +Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub +Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + +$ lsusb -d 239a: -v + +Bus 001 Device 107: ID 239a:0029 +Couldn't open device, some information will be missing +Device Descriptor: + bLength 18 + bDescriptorType 1 + bcdUSB 2.00 + bDeviceClass 239 Miscellaneous Device + bDeviceSubClass 2 + bDeviceProtocol 1 Interface Association + bMaxPacketSize0 64 + idVendor 0x239a + idProduct 0x0029 + bcdDevice 1.00 + iManufacturer 1 + iProduct 2 + iSerial 3 + bNumConfigurations 1 + Configuration Descriptor: + bLength 9 + bDescriptorType 2 + wTotalLength 0x0062 + bNumInterfaces 3 + bConfigurationValue 1 + iConfiguration 0 + bmAttributes 0xa0 + (Bus Powered) + Remote Wakeup + MaxPower 100mA + Interface Association: + bLength 8 + bDescriptorType 11 + bFirstInterface 0 + bInterfaceCount 2 + bFunctionClass 2 Communications + bFunctionSubClass 2 Abstract (modem) + bFunctionProtocol 0 + iFunction 0 + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 0 + bAlternateSetting 0 + bNumEndpoints 1 + bInterfaceClass 2 Communications + bInterfaceSubClass 2 Abstract (modem) + bInterfaceProtocol 0 + iInterface 4 + CDC Header: + bcdCDC 1.20 + CDC Call Management: + bmCapabilities 0x00 + bDataInterface 1 + CDC ACM: + bmCapabilities 0x02 + 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 0x0008 1x 8 bytes + bInterval 16 + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 1 + bAlternateSetting 0 + bNumEndpoints 2 + bInterfaceClass 10 CDC Data + bInterfaceSubClass 0 + 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 0x82 EP 2 IN + bmAttributes 2 + Transfer Type Bulk + Synch Type None + Usage Type Data + wMaxPacketSize 0x0040 1x 64 bytes + bInterval 0 + Interface Descriptor: + bLength 9 + bDescriptorType 4 + bInterfaceNumber 2 + bAlternateSetting 0 + bNumEndpoints 2 + bInterfaceClass 8 Mass Storage + bInterfaceSubClass 6 SCSI + bInterfaceProtocol 80 Bulk-Only + iInterface 5 + Endpoint Descriptor: + bLength 7 + bDescriptorType 5 + bEndpointAddress 0x03 EP 3 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 diff --git a/info/ubuntu/tlora.txt b/info/ubuntu/tlora.txt index 131aa65..3d577cb 100644 --- a/info/ubuntu/tlora.txt +++ b/info/ubuntu/tlora.txt @@ -13,7 +13,8 @@ Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -(venv) mikekinney@top:~/Meshtastic-python/info/ubuntu$ lsusb -d 1a86: -v + +$ lsusb -d 1a86: -v Bus 001 Device 099: ID 1a86:55d4 QinHeng Electronics Couldn't open device, some information will be missing diff --git a/info/windows/techo.txt b/info/windows/techo.txt new file mode 100644 index 0000000..fb68aa2 --- /dev/null +++ b/info/windows/techo.txt @@ -0,0 +1,302 @@ +PS > Get-PnpDevice -PresentOnly | Format-List >a +PS > Get-PnpDevice -PresentOnly | Format-List >b +PS > Compare-Object (get-content a) (get-content b) + + +Note: Not in boot mode + +InputObject Side + Indi + cato + r +----------- ---- +DeviceID : USB\VID_239A&PID_4405\D02012062C578951 => +PNPDeviceID : USB\VID_239A&PID_4405\D02012062C578951 => +HardwareID : {USB\VID_239A&PID_4405&REV_0100, USB\VID_239A&PID_4405} => +InstanceId : USB\VID_239A&PID_4405\D02012062C578951 => +Caption : USB Composite Device => +Description : USB Composite Device => +Name : USB Composite Device => +ClassGuid : {36fc9e60-c465-11cf-8056-444553540000} => +CompatibleID : {USB\DevClass_00&SubClass_00&Prot_00, USB\DevClass_00&SubClass_00, USB\DevClass_00, => + USB\COMPOSITE} => +Manufacturer : (Standard USB Host Controller) => +PNPClass : USB => +Service : usbccgp => +Class : USB => +FriendlyName : USB Composite Device => +Caption : USB Serial Device (COM10) => +Description : USB Serial Device => +Name : USB Serial Device (COM10) => +DeviceID : USB\VID_239A&PID_4405&MI_00\6&1B68A3E6&0&0000 => +PNPDeviceID : USB\VID_239A&PID_4405&MI_00\6&1B68A3E6&0&0000 => +ClassGuid : {4d36e978-e325-11ce-bfc1-08002be10318} => +CompatibleID : {USB\Class_02&SubClass_02&Prot_00, USB\Class_02&SubClass_02, USB\Class_02} => +HardwareID : {USB\VID_239A&PID_4405&REV_0100&MI_00, USB\VID_239A&PID_4405&MI_00} => +PNPClass : Ports => +Service : usbser => +Class : Ports => +FriendlyName : USB Serial Device (COM10) => +InstanceId : USB\VID_239A&PID_4405&MI_00\6&1B68A3E6&0&0000 => +InstallDate : => +Status : OK => +Availability : => +ConfigManagerErrorCode : CM_PROB_NONE => +ConfigManagerUserConfig : False => +CreationClassName : Win32_PnPEntity => +ErrorCleared : => +ErrorDescription : => +LastErrorCode : => +PowerManagementCapabilities : => +PowerManagementSupported : => +StatusInfo : => +SystemCreationClassName : Win32_ComputerSystem => +SystemName : DESKTOP-FRFQN8H => +Present : True => +PSComputerName : => +Problem : CM_PROB_NONE => +ProblemDescription : => +InstallDate : => +Status : OK => +Availability : => +ConfigManagerErrorCode : CM_PROB_NONE => +ConfigManagerUserConfig : False => +CreationClassName : Win32_PnPEntity => +ErrorCleared : => +ErrorDescription : => +LastErrorCode : => +PowerManagementCapabilities : => +PowerManagementSupported : => +StatusInfo : => +SystemCreationClassName : Win32_ComputerSystem => +SystemName : DESKTOP-FRFQN8H => +Manufacturer : Microsoft => +Present : True => +PSComputerName : => +Problem : CM_PROB_NONE => +ProblemDescription : => + => + +in boot mode + +PS > Get-PnpDevice -PresentOnly | Format-List >c +PS > Compare-Object (get-content a) (get-content c) + +InputObject +----------- +Caption : Adafruit nRF UF2 USB Device +Name : Adafruit nRF UF2 USB Device +DeviceID : USBSTOR\DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0\7&10304CB2&0&D02012062C578951&0 +PNPDeviceID : USBSTOR\DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0\7&10304CB2&0&D02012062C578951&0 +CompatibleID : {USBSTOR\Disk, USBSTOR\RAW, GenDisk} +HardwareID : {USBSTOR\DiskAdafruitnRF_UF2_________1.0_, USBSTOR\DiskAdafruitnRF_UF2_________, + USBSTOR\DiskAdafruit, USBSTOR\AdafruitnRF_UF2_________1...} +FriendlyName : Adafruit nRF UF2 USB Device +InstanceId : USBSTOR\DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0\7&10304CB2&0&D02012062C578951&0 +Caption : USB Mass Storage Device +Description : USB Mass Storage Device +Name : USB Mass Storage Device +DeviceID : USB\VID_239A&PID_0029&MI_02\6&2AE8D65&0&0002 +PNPDeviceID : USB\VID_239A&PID_0029&MI_02\6&2AE8D65&0&0002 +CompatibleID : {USB\Class_08&SubClass_06&Prot_50, USB\Class_08&SubClass_06, USB\Class_08} +HardwareID : {USB\VID_239A&PID_0029&REV_0100&MI_02, USB\VID_239A&PID_0029&MI_02} +Manufacturer : Compatible USB storage device +Service : USBSTOR +FriendlyName : USB Mass Storage Device +InstanceId : USB\VID_239A&PID_0029&MI_02\6&2AE8D65&0&0002 +Caption : USB Serial Device (COM11) +Description : USB Serial Device +Name : USB Serial Device (COM11) +DeviceID : USB\VID_239A&PID_0029&MI_00\6&2AE8D65&0&0000 +PNPDeviceID : USB\VID_239A&PID_0029&MI_00\6&2AE8D65&0&0000 +ClassGuid : {4d36e978-e325-11ce-bfc1-08002be10318} +CompatibleID : {USB\Class_02&SubClass_02&Prot_00, USB\Class_02&SubClass_02, USB\Class_02} +HardwareID : {USB\VID_239A&PID_0029&REV_0100&MI_00, USB\VID_239A&PID_0029&MI_00} +PNPClass : Ports +Service : usbser +Class : Ports +FriendlyName : USB Serial Device (COM11) +InstanceId : USB\VID_239A&PID_0029&MI_00\6&2AE8D65&0&0000 +ClassGuid : {36fc9e60-c465-11cf-8056-444553540000} +PNPClass : USB +Class : USB +Caption : USB Composite Device +Description : USB Composite Device +Name : USB Composite Device +DeviceID : USB\VID_239A&PID_0029\D02012062C578951 +PNPDeviceID : USB\VID_239A&PID_0029\D02012062C578951 +ClassGuid : {36fc9e60-c465-11cf-8056-444553540000} +CompatibleID : {USB\DevClass_00&SubClass_00&Prot_00, USB\DevClass_00&SubClass_00, USB\DevClass_00, + USB\COMPOSITE} +HardwareID : {USB\VID_239A&PID_0029&REV_0100, USB\VID_239A&PID_0029} +Manufacturer : (Standard USB Host Controller) +PNPClass : USB +Service : usbccgp +Class : USB +FriendlyName : USB Composite Device +InstanceId : USB\VID_239A&PID_0029\D02012062C578951 +DeviceID : STORAGE\VOLUME\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +PNPDeviceID : STORAGE\VOLUME\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +InstanceId : STORAGE\VOLUME\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +Caption : Volume +Description : Volume +Name : Volume +ClassGuid : {71a27cdd-812a-11d0-bec7-08002be2092f} +HardwareID : {STORAGE\Volume} +PNPClass : Volume +Service : volume +Class : Volume +FriendlyName : Volume +Description : Disk drive +ClassGuid : {4d36e967-e325-11ce-bfc1-08002be10318} +Manufacturer : (Standard disk drives) +PNPClass : DiskDrive +Service : disk +Class : DiskDrive +Caption : TECHOBOOT +Description : nRF UF2 +Name : TECHOBOOT +DeviceID : SWD\WPDBUSENUM\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +PNPDeviceID : SWD\WPDBUSENUM\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +ClassGuid : {eec5ad98-8080-425f-922a-dabf3de3f69a} +CompatibleID : {wpdbusenum\fs, SWD\Generic} +HardwareID : +Manufacturer : Adafruit +PNPClass : WPD +Service : WUDFWpdFs +Class : WPD +FriendlyName : TECHOBOOT +InstanceId : SWD\WPDBUSENUM\_??_USBSTOR#DISK&VEN_ADAFRUIT&PROD_NRF_UF2&REV_1.0#7&10304CB2&0&D02012062C + 578951&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B} +CompatibleID : +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : + +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Manufacturer : Microsoft +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : + +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : + +InstallDate : +Status : OK +Availability : +ConfigManagerErrorCode : CM_PROB_NONE +ConfigManagerUserConfig : False +CreationClassName : Win32_PnPEntity +ErrorCleared : +ErrorDescription : +LastErrorCode : +PowerManagementCapabilities : +PowerManagementSupported : +StatusInfo : +SystemCreationClassName : Win32_ComputerSystem +SystemName : DESKTOP-FRFQN8H +Manufacturer : Microsoft +Present : True +PSComputerName : +Problem : CM_PROB_NONE +ProblemDescription : + + + + + +PS > Get-Volume + +DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size +----------- ------------ -------------- --------- ------------ ----------------- ------------- ---- + Recovery NTFS Fixed Healthy OK 301.99 MB 854 MB +C NTFS Fixed Healthy OK 22.3 GB 56.67 GB +D TECHOBOOT FAT Removable Healthy OK 30.05 MB 31.88 MB + diff --git a/info/windows/tlora.txt b/info/windows/tlora.txt index 1b1741c..ddde128 100644 --- a/info/windows/tlora.txt +++ b/info/windows/tlora.txt @@ -1,8 +1,8 @@ Run from Windows 10 -PS C:\Users\mikekinney> Get-PnpDevice -PresentOnly | Format-List > a -PS C:\Users\mikekinney> Get-PnpDevice -PresentOnly | Format-List > b -PS C:\Users\mikekinney> Compare-Object (get-content a) (Get-Content b) +PS > Get-PnpDevice -PresentOnly | Format-List > a +PS > Get-PnpDevice -PresentOnly | Format-List > b +PS > Compare-Object (get-content a) (Get-Content b) InputObject SideIndicator ----------- ------------- diff --git a/meshtastic/supported_device.py b/meshtastic/supported_device.py index 0ae3d2c..306355e 100755 --- a/meshtastic/supported_device.py +++ b/meshtastic/supported_device.py @@ -69,8 +69,10 @@ heltec_v2_1 = SupportedDevice(name="Heltec", version="2.1", for_firmware="heltec meshtastic_diy_v1 = SupportedDevice(name="Meshtastic DIY", version="1", for_firmware="meshtastic-diy-v1", baseport_on_linux="ttyUSB", baseport_on_mac="cu.usbserial-", usb_vendor_id_in_hex="10c4", usb_product_id_in_hex="ea60") -# TODO: get info on TEcho -techo_1 = SupportedDevice(name="T-Echo", version="1", for_firmware="t-echo-1", device_class="nrf52") +# Note: The T-Echo reports product id in boot mode +techo_1 = SupportedDevice(name="T-Echo", version="1", for_firmware="t-echo-1", device_class="nrf52", + baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem", + usb_vendor_id_in_hex="239a", usb_product_id_in_hex="0029") rak4631_5005 = SupportedDevice(name="RAK 4631 5005", version="", for_firmware="rak4631_5005", device_class="nrf52", baseport_on_linux="ttyACM", baseport_on_mac="cu.usbmodem",