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

Thread: Chromebook Linux Beta Teensy Upload

  1. #1

    Chromebook Linux Beta Teensy Upload

    ChromeOS running on some Chromebooks now have the option to install Linux Beta, a containerized Debian. Recently, Linux Beta was given the ability to support some additional USB devices including Arduino. Previously only Android devices were supported. Arduino IDE and Teensyduino install fine as detailed below https://www.stevencombs.com/arduino/...-chromeos.html
    Code:
    wget https://downloads.arduino.cc/arduino-1.8.13-linuxarm.tar.xz
    wget https://www.pjrc.com/teensy/td_153/TeensyduinoInstall.linuxarm
    wget https://www.pjrc.com/teensy/49-teensy.rules
    sudo cp 49-teensy.rules /etc/udev/rules.d/
    tar -xf arduino-1.8.13-linuxarm.tar.xz
    chmod 755 TeensyduinoInstall.linuxarm
    ./TeensyduinoInstall.linuxarm --dir=arduino-1.8.13
    cd arduino-1.8.13
    sudo ./install.sh
    arduino-linux-setup.sh $USER
    Plugging in an Arduino Uno, ChromeOS recognizes the device and prompts the user with a Notification to "Open Settings to connect USB device from Arduino to Linux". Clicking the Settings 'switch' allows the Uno to function with the IDE as expected including compiling and uploading code.

    Plugging in a Teensy does NOT produce the prompt or appearance of a corresponding 'switch' in Settings. Linux Beta does not have access to the device and cannot upload to it. The Arduino IDE does compile for Teensy. Clicking Upload invokes the GUI Teensy Loader but upload fails with
    Code:
    Arduino: 1.8.13 (Linux), TD: 1.53, Board: "Teensy 3.5, Serial, 120 MHz, Faster, US English"
    
    Opening Teensy Loader...
    Sketch uses 8548 bytes (1%) of program storage space. Maximum is 524288 bytes.
    Global variables use 3020 bytes (1%) of dynamic memory, leaving 259116 bytes for local variables. Maximum is 262136 bytes.
    /home/hanksmaki/arduino/arduino-1.8.13/hardware/teensy/../tools/teensy_post_compile -file=Blink.ino -path=/tmp/arduino_build_861034 -tools=/home/hanksmaki/arduino/arduino-1.8.13/hardware/teensy/../tools -board=TEENSY35 -reboot -port=/dev/ttyS0 -portlabel=/dev/ttyS0 -portprotocol=serial 
    No Teensy boards were found on any USB ports of your computer.
    An error occurred while uploading the sketch
    Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
    Of course pressing the PROGRAM MODE BUTTON stops the Teensy from blinking and enters program mode, but the IDE of course still does not recognize it because Linux Beta which the IDE is running on does not recognize the Teensy. HOWEVER, the underlying ChromeOS DOES recognize Teensy!

    Crosh Ctrl Alt T Teensy 3.5 running Blink disconnected then reconnected.
    dmesg
    Code:
    [ 6482.214702] usb 1-2.1: USB disconnect, device number 6
    [ 6482.312548] SELinux: initialized (dev proc, type proc), uses genfs_contexts
    [ 6482.315110] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6482.315767] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6482.315985] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6482.342708] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6484.614257] usb 1-2.1: new full-speed USB device number 7 using xhci-mtk
    [ 6484.703340] usb 1-2.1: New USB device found, idVendor=16c0, idProduct=0486, bcdDevice= 2.00
    [ 6484.703385] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 6484.703407] usb 1-2.1: Product: Teensyduino RawHID
    [ 6484.703428] usb 1-2.1: Manufacturer: Teensyduino
    [ 6484.703447] usb 1-2.1: SerialNumber: 6005510
    [ 6484.713955] hid-generic 0003:16C0:0486.0007: hiddev0,hidraw0: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-11270000.usb-2.1/input0
    [ 6484.719319] hid-generic 0003:16C0:0486.0008: hidraw1: USB HID v1.11 Device [Teensyduino Teensyduino RawHID] on usb-11270000.usb-2.1/input1
    [ 6484.765039] SELinux: initialized (dev proc, type proc), uses genfs_contexts
    [ 6484.768617] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6484.769210] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6484.769433] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6484.798518] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    Here Teensy 3.5 is disconnected and Uno is connected in its place.
    Code:
    [ 6668.838468] usb 1-2.1: USB disconnect, device number 7
    [ 6668.944039] SELinux: initialized (dev proc, type proc), uses genfs_contexts
    [ 6668.948598] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6668.949761] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6668.950257] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6668.982875] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
    [ 6674.694237] usb 1-2.1: new full-speed USB device number 8 using xhci-mtk
    [ 6674.788709] usb 1-2.1: New USB device found, idVendor=2341, idProduct=0043, bcdDevice= 0.01
    [ 6674.788747] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
    [ 6674.788769] usb 1-2.1: Manufacturer: Arduino (www.arduino.cc)
    dmesg In the Linux Beta Terminal for Uno. Teensy plug/unplug produces no dmesg events in Linux Beta Terminal.
    Code:
    [ 4610.845828] usb 1-1: new full-speed USB device number 2 using xhci_hcd
    [ 4611.123442] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
    [ 4616.500039] usb 1-1: USB disconnect, device number 2
    Earlier in dmesg in the Linux Beta Terminal support for USB devices is loaded.
    Code:
    [    1.697929] xhci_hcd 0000:00:0c.0: xHCI Host Controller
    [    1.702189] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 1
    [    1.705933] xhci_hcd 0000:00:0c.0: hcc params 0x30000501 hci version 0x110 quirks 0x0000000000080452
    [    1.709685] hub 1-0:1.0: USB hub found
    [    1.710995] hub 1-0:1.0: 8 ports detected
    [    1.715060] xhci_hcd 0000:00:0c.0: xHCI Host Controller
    [    1.715705] xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 2
    [    1.716309] xhci_hcd 0000:00:0c.0: Host supports USB 3.0 SuperSpeed
    [    1.717244] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.718457] hub 2-0:1.0: USB hub found
    [    1.719543] hub 2-0:1.0: 8 ports detected
    [    1.724073] usbcore: registered new interface driver cdc_acm
    [    1.724740] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.725316] usbcore: registered new interface driver usb-storage
    [    1.726000] usbcore: registered new interface driver usbserial_generic
    [    1.726648] usbserial: USB Serial support registered for generic
    [    1.727244] usbcore: registered new interface driver ch341
    [    1.727748] usbserial: USB Serial support registered for ch341-uart
    [    1.728426] usbcore: registered new interface driver cp210x
    [    1.728903] usbserial: USB Serial support registered for cp210x
    [    1.729397] usbcore: registered new interface driver ftdi_sio
    [    1.729910] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    1.730506] usbcore: registered new interface driver keyspan
    [    1.731127] usbserial: USB Serial support registered for Keyspan - (without firmware)
    [    1.731685] usbserial: USB Serial support registered for Keyspan 1 port adapter
    [    1.732201] usbserial: USB Serial support registered for Keyspan 2 port adapter
    [    1.732692] usbserial: USB Serial support registered for Keyspan 4 port adapter
    [    1.733199] usbcore: registered new interface driver pl2303
    [    1.733642] usbserial: USB Serial support registered for pl2303
    [    1.734135] usbcore: registered new interface driver usb_serial_simple
    [    1.734734] usbserial: USB Serial support registered for carelink
    [    1.735233] usbserial: USB Serial support registered for zio
    [    1.735737] usbserial: USB Serial support registered for funsoft
    [    1.736133] usbserial: USB Serial support registered for flashloader
    [    1.736363] usbserial: USB Serial support registered for google
    [    1.736552] usbserial: USB Serial support registered for libtransistor
    [    1.736898] usbserial: USB Serial support registered for vivopay
    [    1.737222] usbserial: USB Serial support registered for moto_modem
    [    1.737658] usbserial: USB Serial support registered for motorola_tetra
    [    1.738006] usbserial: USB Serial support registered for novatel_gps
    [    1.738263] usbserial: USB Serial support registered for hp4x
    [    1.738518] usbserial: USB Serial support registered for suunto
    [    1.738879] usbserial: USB Serial support registered for siemens_mpi
    [    1.739695] rtc-pl030 2000.rtc: registered as rtc0
    [    1.740134] IR NEC protocol handler initialized
    [    1.740416] IR RC5(x/sz) protocol handler initialized
    [    1.740683] IR RC6 protocol handler initialized
    [    1.740929] IR JVC protocol handler initialized
    [    1.741045] IR Sony protocol handler initialized
    [    1.741150] IR SANYO protocol handler initialized
    [    1.741253] IR Sharp protocol handler initialized
    [    1.741354] IR MCE Keyboard/mouse protocol handler initialized
    [    1.741474] IR XMP protocol handler initialized
    [    1.749140] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
    [    1.750303] device-mapper: verity-chromeos: dm-verity-chromeos registered
    [    1.750898] hidraw: raw HID events driver (C) Jiri Kosina
    [    1.751607] usbcore: registered new interface driver usbhid
    [    1.751869] usbhid: USB HID core driver
    [    1.753976] snd_intel8x0 0000:00:0b.0: enabling device (0000 -> 0002)
    [    1.754492] snd_intel8x0 0000:00:0b.0: enable (forced) VM optimization
    So, any idea why Uno works and Teensy doesn't? Could it be related to https://forum.pjrc.com/threads/63346...hlight=ttyACM0

    Do we need to petition Google to add some specific support, or is it already there with the generic ACM support?

    To further confuse things I just tried to upload Blink to the Uno again and the IDE did not recognize the Uno was connected. Only change that comes to mind is a ChromeOS update Version 85.0.4183.133 (Official Build) (32-bit)
    Code:
    [ 4610.845828] usb 1-1: new full-speed USB device number 2 using xhci_hcd
    [ 4611.123442] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
    [ 4616.500039] usb 1-1: USB disconnect, device number 2
    [ 6306.989833] usb 1-1: new full-speed USB device number 3 using xhci_hcd
    [ 6307.204131] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
    [ 6312.245400] usb 1-1: USB disconnect, device number 3
    [ 6328.613793] usb 1-1: new full-speed USB device number 4 using xhci_hcd
    [ 6328.829842] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
    [ 6334.258955] usb 1-1: USB disconnect, device number 4
    ~/.avrduderc contains only
    Code:
    default_serial     = "/dev/ttyACM0";
    but it does not appear in IDE as an option any more. only /dev/ttyS0 - /dev/ttyS3

    Edit: Chromebook model is Lenovo e100 2nd gen MTK
    Last edited by slomobile; 10-02-2020 at 06:43 PM. Reason: Add Chromebook model

  2. #2
    Senior Member
    Join Date
    Jul 2020
    Posts
    174
    Have you tried switching the ChromeOS channel to beta?

    In the Linux terminal, what is the output of lsusb before and after pressing the Program button?

    Does it make a difference if you run the IDE with sudo?

  3. #3
    Quote Originally Posted by Pilot View Post
    Have you tried switching the ChromeOS channel to beta?

    In the Linux terminal, what is the output of lsusb before and after pressing the Program button?

    Does it make a difference if you run the IDE with sudo?
    The difference in lsusb seems to be that Teensy invokes the chrome usbhid driver but Uno invokes the chrome cdc-acm driver.

    I have not switched to Beta channel. Its my kid's chromebook he uses for homework. I'd like to keep it stable. But if there is a reason beyond a shot in the dark, I'll give it a try.

    Linux Beta terminal before Teensy plugged in, after plugged in running blink, and after program button remain unchanged.
    Currently, with Version 85.0.4183.133 (Official Build) (32-bit) it looks the same with Uno plugged in also, where previously it showed up.
    Code:
    user@penguin:~$ lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    chrome://system/ lsusb section
    before plugging in Teensy
    Code:
    Bus 002 Device 002: ID 0bda:0416 Realtek Semiconductor Corp. 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 0bda:5416 Realtek Semiconductor Corp. 
    Bus 001 Device 002: ID 04ca:707c Lite-On Technology Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/2p, 480M
    After plugging in Teensy 3.5 running blink
    Code:
    Bus 002 Device 002: ID 0bda:0416 Realtek Semiconductor Corp. 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 16c0:0486 Van Ooijen Technische Informatica Teensyduino RawHID
    Bus 001 Device 003: ID 0bda:5416 Realtek Semiconductor Corp. 
    Bus 001 Device 002: ID 04ca:707c Lite-On Technology Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/2p, 480M
            |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    After pressing program button on Teensy 3.5
    Code:
    Bus 002 Device 002: ID 0bda:0416 Realtek Semiconductor Corp. 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 16c0:0478 Van Ooijen Technische Informatica Teensy Halfkay Bootloader
    Bus 001 Device 003: ID 0bda:5416 Realtek Semiconductor Corp. 
    Bus 001 Device 002: ID 04ca:707c Lite-On Technology Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/2p, 480M
            |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    For comparison, this is Uno
    Code:
    Bus 002 Device 002: ID 0bda:0416 Realtek Semiconductor Corp. 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 006: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
    Bus 001 Device 003: ID 0bda:5416 Realtek Semiconductor Corp. 
    Bus 001 Device 002: ID 04ca:707c Lite-On Technology Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M
        |__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/2p, 480M
            |__ Port 1: Dev 6, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 6, If 1, Class=CDC Data, Driver=cdc_acm, 12M
    Launching Arduino with sudo from command line fails. Graphically launching from Chrome launcher works fine.
    Code:
    user@penguin:~/arduino/arduino-1.8.13$ sudo ./arduino ~/Arduino/blink.ino
    No protocol specified
    Picked up JAVA_TOOL_OPTIONS: 
    Set log4j store directory /root/.arduino15
    No protocol specified
    java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
            at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
            at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
            at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
            at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at java.awt.Toolkit$2.run(Toolkit.java:860)
            at java.awt.Toolkit$2.run(Toolkit.java:855)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
            at java.awt.SystemColor.updateSystemColors(SystemColor.java:473)
            at java.awt.SystemColor.<clinit>(SystemColor.java:465)
            at processing.app.Theme.init(Theme.java:343)
            at processing.app.Base.<init>(Base.java:250)
            at processing.app.Base.main(Base.java:150)

  4. #4
    Minor correction to launching with sudo. The one I showed has an invalid path to the sketch. Here is one with valid path. Launching as regular user, no problem. Sudo, fails to launch.
    Code:
    user@penguin:~/arduino/arduino-1.8.13$ ./arduino ~/Arduino/Blink/Blink.ino
    Picked up JAVA_TOOL_OPTIONS: 
    Set log4j store directory /home/user/.arduino15
    java.io.IOException: Stream closed
            at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
            at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
            at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.ensureLoaded(ByteSourceJsonBootstrapper.java:522)
            at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.detectEncoding(ByteSourceJsonBootstrapper.java:150)
            at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.constructParser(ByteSourceJsonBootstrapper.java:246)
            at com.fasterxml.jackson.core.JsonFactory._createParser(JsonFactory.java:1315)user@penguin:~/arduino/arduino-1.8.13$ sudo ./arduino ~/Arduino/Blink/Blink.ino
    No protocol specified
    Picked up JAVA_TOOL_OPTIONS: 
    Set log4j store directory /root/.arduino15
    No protocol specified
    java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
            at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
            at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
            at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
            at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at java.awt.Toolkit$2.run(Toolkit.java:860)
            at java.awt.Toolkit$2.run(Toolkit.java:855)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
            at java.awt.SystemColor.updateSystemColors(SystemColor.java:473)
            at java.awt.SystemColor.<clinit>(SystemColor.java:465)
            at processing.app.Theme.init(Theme.java:343)
            at processing.app.Base.<init>(Base.java:250)
            at processing.app.Base.main(Base.java:150)
    user@penguin:~/arduino/arduino-1.8.13$

  5. #5
    Senior Member
    Join Date
    Jul 2020
    Posts
    174
    The sudo thing actually makes sense since root is not authorized to talk to the X server (not sure whether it's xorg or wayland.)

    When you plug it in, do you get any new entries under /dev, like /dev/tty* or /dev/hid*?

  6. #6
    Its wayland.
    Code:
    user@penguin:~$ ls -la /dev/tty*
    crw-rw-rw- 1 nobody nogroup 5, 0 Dec 31  1969 /dev/tty
    user@penguin:~$ ls -la /dev/
    total 12
    drwxr-xr-x 12 root   root         620 Oct  5 18:05 .
    drwxrwxrwx  1 root   root         122 Jun 17 00:28 ..
    drwxr-xr-x  3 root   root          60 Oct  5 18:05 bus
    crw--w----  1 root   tty     136,   0 Oct  5 18:05 console
    -rw-r--r--  1 nobody nogroup       36 Oct  5 18:05 .container_token
    -rw-r--r--  1 nobody nogroup        2 Oct  5 18:05 .cros_milestone
    drwxr-xr-x  2 root   root          80 Oct  5 18:05 dri
    lrwxrwxrwx  1 root   root          13 Oct  5 18:05 fd -> /proc/self/fd
    crw-rw-rw-  1 nobody nogroup   1,   7 Dec 31  1969 full
    crw-rw-rw-  1 root   root     10, 229 Oct  5 18:05 fuse
    -rw-r--r--  1 nobody nogroup       13 Oct  5 18:05 .host_ip
    lrwxrwxrwx  1 root   root          12 Oct  5 18:05 initctl -> /run/initctl
    lrwxrwxrwx  1 root   root          28 Oct  5 18:05 log -> /run/systemd/journal/dev-log
    drwxr-xr-x  2 nobody nogroup       60 Oct  5 18:05 lxd
    drwx--x--x  2 nobody nogroup       40 Oct  5 18:05 .lxd-mounts
    drwxrwxrwt  2 nobody nogroup       40 Oct  5 18:05 mqueue
    drwxr-xr-x  2 root   root          60 Oct  5 18:05 net
    crw-rw-rw-  1 nobody nogroup   1,   3 Dec 31  1969 null
    crw-rw-rw-  1 root   root      5,   2 Oct  5 18:19 ptmx
    drwxr-xr-x  2 root   root           0 Oct  5 18:05 pts
    crw-rw-rw-  1 nobody nogroup   1,   8 Dec 31  1969 random
    drwxrwxrwt  2 root   root          40 Oct  5 18:05 shm
    drwxr-xr-x  2 root   root         160 Oct  5 18:05 snd
    drwxr-xr-x  2 root   root         100 Oct  5 18:05 .ssh
    lrwxrwxrwx  1 root   root          15 Oct  5 18:05 stderr -> /proc/self/fd/2
    lrwxrwxrwx  1 root   root          15 Oct  5 18:05 stdin -> /proc/self/fd/0
    lrwxrwxrwx  1 root   root          15 Oct  5 18:05 stdout -> /proc/self/fd/1
    crw-rw-rw-  1 nobody nogroup   5,   0 Dec 31  1969 tty
    crw-rw-rw-  1 nobody nogroup   1,   9 Dec 31  1969 urandom
    crw-rw-rw-  1 root   root    247,   0 Oct  5 18:05 wl0
    crw-rw-rw-  1 nobody nogroup   1,   5 Dec 31  1969 zero
    user@penguin:~$ ls -la /dev/hid*
    ls: cannot access '/dev/hid*': No such file or directory
    under chrome://system/ crostini
    Code:
    VM: termina
    	Container: penguin
    		Installed Crostini Packages:
    			cros-adapta-0.3
    			cros-apt-config-0.20
    			cros-garcon-0.23
    			cros-gpu-10.6
    			cros-guest-tools-0.28
    			cros-host-fonts-0.1
    			cros-notificationd-0.1
    			cros-pulse-config-0.2.0
    			cros-sftp-0.14
    			cros-sommelier-0.25
    			cros-sommelier-config-0.14
    			cros-sudo-config-0.11
    			cros-systemd-overrides-0.11
    			cros-ui-config-0.12
    			cros-wayland-0.10
    		systemctl status:
    			dev-vda.device                      loaded activating tentative /dev/vda
    			dev-vdb.device                      loaded activating tentative /dev/vdb
    			dev-vdc.device                      loaded activating tentative /dev/vdc
    			-.mount                             loaded active     mounted   /
    			dev-.container_token.mount          loaded active     mounted   /dev/.container_token
    			dev-.cros_milestone.mount           loaded active     mounted   /dev/.cros_milestone
    			dev-.host_ip.mount                  loaded active     mounted   /dev/.host_ip
    			dev-.lxd\x2dmounts.mount            loaded active     mounted   /dev/.lxd-mounts
    			dev-.ssh-ssh_authorized_keys.mount  loaded active     mounted   /dev/.ssh/ssh_authorized_keys
    			dev-.ssh-ssh_host_key.mount         loaded active     mounted   /dev/.ssh/ssh_host_key
    			dev-.ssh-sshd_config.mount          loaded active     mounted   /dev/.ssh/sshd_config
    			dev-bus-usb-001-001.mount           loaded active     mounted   /dev/bus/usb/001/001
    			dev-bus-usb-002-001.mount           loaded active     mounted   /dev/bus/usb/002/001
    			dev-dri-card0.mount                 loaded active     mounted   /dev/dri/card0
    			dev-dri-renderD128.mount            loaded active     mounted   /dev/dri/renderD128
    			dev-full.mount                      loaded active     mounted   /dev/full
    			dev-fuse.mount                      loaded active     mounted   /dev/fuse
    			dev-lxd.mount                       loaded active     mounted   /dev/lxd
    			dev-mqueue.mount                    loaded active     mounted   POSIX Message Queue File System
    			dev-net-tun.mount                   loaded active     mounted   /dev/net/tun
    			dev-null.mount                      loaded active     mounted   /dev/null
    			dev-ptmx.mount                      loaded active     mounted   /dev/ptmx
    			dev-random.mount                    loaded active     mounted   /dev/random
    			dev-snd-controlC0.mount             loaded active     mounted   /dev/snd/controlC0
    			dev-snd-pcmC0D0c.mount              loaded active     mounted   /dev/snd/pcmC0D0c
    			dev-snd-pcmC0D0p.mount              loaded active     mounted   /dev/snd/pcmC0D0p
    			dev-snd-pcmC0D1c.mount              loaded active     mounted   /dev/snd/pcmC0D1c
    			dev-snd-seq.mount                   loaded active     mounted   /dev/snd/seq
    			dev-snd-timer.mount                 loaded active     mounted   /dev/snd/timer
    			dev-tty.mount                       loaded active     mounted   /dev/tty
    			dev-urandom.mount                   loaded active     mounted   /dev/urandom
    			dev-wl0.mount                       loaded active     mounted   /dev/wl0
    			dev-zero.mount                      loaded active     mounted   /dev/zero
    			mnt-chromeos.mount                  loaded active     mounted   /mnt/chromeos
    			opt-google-cros\x2dcontainers.mount loaded active     mounted   /opt/google/cros-containers
    			proc-cpuinfo.mount                  loaded active     mounted   /proc/cpuinfo
    			proc-diskstats.mount                loaded active     mounted   /proc/diskstats
    			proc-meminfo.mount                  loaded active     mounted   /proc/meminfo
    			proc-stat.mount                     loaded active     mounted   /proc/stat
    			proc-sys-fs-binfmt_misc.mount       loaded active     mounted   Arbitrary Executable File Formats File System
    			proc-uptime.mount                   loaded active     mounted   /proc/uptime
    			run-user-1000.mount                 loaded active     mounted   /run/user/1000
    			sys-fs-fuse-connections.mount       loaded active     mounted   FUSE Control File System
    			sys-kernel-debug.mount              loaded active     mounted   Kernel Debug File System
    			systemd-ask-password-console.path   loaded active     waiting   Dispatch Password Requests to Console Directory Watch
    			systemd-ask-password-wall.path      loaded active     waiting   Forward Password Requests to Wall Directory Watch
    			init.scope                          loaded active     running   System and Service Manager
    			session-2.scope                     loaded active     running   Session 2 of user hanksmaki
    			console-getty.service               loaded active     running   Console Getty
    			cros-sftp.service                   loaded active     running   CrOS SFTP service
    			dbus.service                        loaded active     running   D-Bus System Message Bus
    			ifupdown-pre.service                loaded active     exited    Helper to synchronize boot up for ifupdown
    			networking.service                  loaded active     exited    Raise network interfaces
    			packagekit.service                  loaded active     running   PackageKit Daemon
    			polkit.service                      loaded active     running   Authorization Manager
    			systemd-journal-flush.service       loaded active     exited    Flush Journal to Persistent Storage
    			systemd-journald.service            loaded active     running   Journal Service
    			systemd-logind.service              loaded active     running   Login Service
    			systemd-modules-load.service        loaded active     exited    Load Kernel Modules
    			systemd-remount-fs.service          loaded active     exited    Remount Root and Kernel File Systems
    			systemd-sysctl.service              loaded active     exited    Apply Kernel Variables
    			systemd-sysusers.service            loaded active     exited    Create System Users
    			systemd-tmpfiles-setup-dev.service  loaded active     exited    Create Static Device Nodes in /dev
    			systemd-tmpfiles-setup.service      loaded active     exited    Create Volatile Files and Directories
    			systemd-udev-trigger.service        loaded active     exited    udev Coldplug all Devices
    			systemd-udevd.service               loaded active     running   udev Kernel Device Manager
    			systemd-update-utmp.service         loaded active     exited    Update UTMP about System Boot/Shutdown
    			systemd-user-sessions.service       loaded active     exited    Permit User Sessions
    			user-runtime-dir@1000.service       loaded active     exited    User Runtime Directory /run/user/1000
    			user@1000.service                   loaded active     running   User Manager for UID 1000
    			-.slice                             loaded active     active    Root Slice
    			system-getty.slice                  loaded active     active    system-getty.slice
    			system.slice                        loaded active     active    System Slice
    			user-1000.slice                     loaded active     active    User Slice of UID 1000
    			user.slice                          loaded active     active    User and Session Slice
    			dbus.socket                         loaded active     running   D-Bus System Message Bus Socket
    			systemd-initctl.socket              loaded active     listening initctl Compatibility Named Pipe
    			systemd-journald-dev-log.socket     loaded active     running   Journal Socket (/dev/log)
    			systemd-journald.socket             loaded active     running   Journal Socket
    			systemd-udevd-control.socket        loaded active     running   udev Control Socket
    			systemd-udevd-kernel.socket         loaded active     running   udev Kernel Socket
    			basic.target                        loaded active     active    Basic System
    			cryptsetup.target                   loaded active     active    Local Encrypted Volumes
    			getty.target                        loaded active     active    Login Prompts
    			graphical.target                    loaded active     active    Graphical Interface
    			local-fs-pre.target                 loaded active     active    Local File Systems (Pre)
    			local-fs.target                     loaded active     active    Local File Systems
    			multi-user.target                   loaded active     active    Multi-User System
    			network.target                      loaded active     active    Network
    			paths.target                        loaded active     active    Paths
    			remote-fs.target                    loaded active     active    Remote File Systems
    			slices.target                       loaded active     active    Slices
    			sockets.target                      loaded active     active    Sockets
    			swap.target                         loaded active     active    Swap
    			sysinit.target                      loaded active     active    System Initialization
    			time-sync.target                    loaded active     active    System Time Synchronized
    			timers.target                       loaded active     active    Timers
    			apt-daily-upgrade.timer             loaded active     waiting   Daily apt upgrade and clean activities
    			apt-daily.timer                     loaded active     waiting   Daily apt download activities
    			man-db.timer                        loaded active     waiting   Daily man-db regeneration
    			systemd-tmpfiles-clean.timer        loaded active     waiting   Daily Cleanup of Temporary Directories
    		systemctl user status:
    			dev-vda.device                      loaded activating tentative /dev/vda
    			dev-vdb.device                      loaded activating tentative /dev/vdb
    			dev-vdc.device                      loaded activating tentative /dev/vdc
    			-.mount                             loaded active     mounted   /
    			dev-.container_token.mount          loaded active     mounted   /dev/.container_token
    			dev-.cros_milestone.mount           loaded active     mounted   /dev/.cros_milestone
    			dev-.host_ip.mount                  loaded active     mounted   /dev/.host_ip
    			dev-.lxd\x2dmounts.mount            loaded active     mounted   /dev/.lxd-mounts
    			dev-.ssh-ssh_authorized_keys.mount  loaded active     mounted   /dev/.ssh/ssh_authorized_keys
    			dev-.ssh-ssh_host_key.mount         loaded active     mounted   /dev/.ssh/ssh_host_key
    			dev-.ssh-sshd_config.mount          loaded active     mounted   /dev/.ssh/sshd_config
    			dev-bus-usb-001-001.mount           loaded active     mounted   /dev/bus/usb/001/001
    			dev-bus-usb-002-001.mount           loaded active     mounted   /dev/bus/usb/002/001
    			dev-dri-card0.mount                 loaded active     mounted   /dev/dri/card0
    			dev-dri-renderD128.mount            loaded active     mounted   /dev/dri/renderD128
    			dev-full.mount                      loaded active     mounted   /dev/full
    			dev-fuse.mount                      loaded active     mounted   /dev/fuse
    			dev-lxd.mount                       loaded active     mounted   /dev/lxd
    			dev-mqueue.mount                    loaded active     mounted   /dev/mqueue
    			dev-net-tun.mount                   loaded active     mounted   /dev/net/tun
    			dev-null.mount                      loaded active     mounted   /dev/null
    			dev-ptmx.mount                      loaded active     mounted   /dev/ptmx
    			dev-random.mount                    loaded active     mounted   /dev/random
    			dev-snd-controlC0.mount             loaded active     mounted   /dev/snd/controlC0
    			dev-snd-pcmC0D0c.mount              loaded active     mounted   /dev/snd/pcmC0D0c
    			dev-snd-pcmC0D0p.mount              loaded active     mounted   /dev/snd/pcmC0D0p
    			dev-snd-pcmC0D1c.mount              loaded active     mounted   /dev/snd/pcmC0D1c
    			dev-snd-seq.mount                   loaded active     mounted   /dev/snd/seq
    			dev-snd-timer.mount                 loaded active     mounted   /dev/snd/timer
    			dev-tty.mount                       loaded active     mounted   /dev/tty
    			dev-urandom.mount                   loaded active     mounted   /dev/urandom
    			dev-wl0.mount                       loaded active     mounted   /dev/wl0
    			dev-zero.mount                      loaded active     mounted   /dev/zero
    			mnt-chromeos.mount                  loaded active     mounted   /mnt/chromeos
    			opt-google-cros\x2dcontainers.mount loaded active     mounted   /opt/google/cros-containers
    			proc-cpuinfo.mount                  loaded active     mounted   /proc/cpuinfo
    			proc-diskstats.mount                loaded active     mounted   /proc/diskstats
    			proc-meminfo.mount                  loaded active     mounted   /proc/meminfo
    			proc-stat.mount                     loaded active     mounted   /proc/stat
    			proc-sys-fs-binfmt_misc.mount       loaded active     mounted   /proc/sys/fs/binfmt_misc
    			proc-uptime.mount                   loaded active     mounted   /proc/uptime
    			run-user-1000.mount                 loaded active     mounted   /run/user/1000
    			sys-fs-fuse-connections.mount       loaded active     mounted   /sys/fs/fuse/connections
    			sys-kernel-debug.mount              loaded active     mounted   /sys/kernel/debug
    			init.scope                          loaded active     running   System and Service Manager
    			cros-garcon.service                 loaded active     running   Chromium OS Garcon Bridge
    			sommelier-x@0.service               loaded active     running   X11 sommelier at display 0
    			sommelier-x@1.service               loaded active     running   X11 sommelier at display 1
    			sommelier@0.service                 loaded active     running   Master sommelier listening on socket wayland-0
    			sommelier@1.service                 loaded active     running   Master sommelier listening on socket wayland-1
    			-.slice                             loaded active     active    Root Slice
    			sommelier.slice                     loaded active     active    sommelier.slice
    			sommelier\x2dx.slice                loaded active     active    sommelier\x2dx.slice
    			dbus.socket                         loaded active     listening D-Bus User Message Bus Socket
    			dirmngr.socket                      loaded active     listening GnuPG network certificate management daemon
    			gpg-agent-browser.socket            loaded active     listening GnuPG cryptographic agent and passphrase cache (access for web browsers)
    			gpg-agent-extra.socket              loaded active     listening GnuPG cryptographic agent and passphrase cache (restricted)
    			gpg-agent-ssh.socket                loaded active     listening GnuPG cryptographic agent (ssh-agent emulation)
    			gpg-agent.socket                    loaded active     listening GnuPG cryptographic agent and passphrase cache
    			pulseaudio.socket                   loaded active     listening Sound System
    			basic.target                        loaded active     active    Basic System
    			default.target                      loaded active     active    Default
    			paths.target                        loaded active     active    Paths
    			sockets.target                      loaded active     active    Sockets
    			timers.target                       loaded active     active    Timers

  7. #7
    Senior Member
    Join Date
    Jul 2020
    Posts
    174
    My guess is that your earlier post about petitioning Google would be the way to go, although I would be amazed if they did anything.

    The other option (not sure if possible) would be for Teensy to start supporting the ACM-type connection.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •