Skip to content

Document Linux udev setup in README.md #29

Open
@islemaster

Description

@islemaster

I'm attempting to get the RGB demo up and running with an Adafruit Circuit Playground board. I've already added Circuit Playground's VID and PID to serial.js as mentioned in #13. When I click the "Connect" button I can select my device, but then the error handler prints SecurityError: Access denied.

The only time SecurityError is mentioned in the WebUSB spec is in Section 4 - Device Enumeration under the section starting 'To request the "usb" permission...'

If the algorithm is not triggered by user activation, reject promise with a SecurityError and abort these steps.

I'm definitely interacting when this error occurs, so I'm not sure where my setup is going wrong.

  • Attempting at commit ff4aae6
  • On Ubuntu 17.04 64-bit
  • Using Google Chrome 58.0.3029.96 (Official Build) (64-bit) with flags --enable-experimental-web-platform-features and --enable-features=WebUSB
  • I've followed the README instructions, including editing USBCore.h to enable USB 2.1.
  • Uploaded sketch.ino to the Circuit Playground with no customizations, using Arduino IDE 1.8.1.
  • Using http-server to run the demo page at http://localhost:8000/rgb/index.html
  • Maybe notable: I don't get a notification from Chrome when I plug in the Circuit Playground.

Any ideas? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions