Giter Club home page Giter Club logo

Comments (5)

qwandor avatar qwandor commented on July 23, 2024

Or maybe it would be possible to support both WebSerial and WebUSB, using the WebUSB polyfill? I don't really know Javascript unfortunately, so I'm probably not the best person to do this.

from la104.

gabonator avatar gabonator commented on July 23, 2024

It should work on Mac, I am using it regularly (not directly the rf analyser, but other projects that use webusb). After starting the app try reconnecting the usb cable (both ends) - the system needs to re enumerate the device. This could be done by software resetting the USB peripheral, but I did not know how to do it on STM32F103. Regarding the webserial - I need to do some research on this, I haven't tried it. Webusb seems more suitable for such applications, because it will directly open the right web application.

Please try reconnecting the usb cable more times... and let me know if it helped (on osx). On osx use "lsusb" utility to check whether the device was properly enumerated:

$ lsusb
Bus 001 Device 001: ID 1209:db42 1209 DS213 Gabuino  Serial: 155412434D57343039FFD50
Bus 000 Device 000: ID 1209:db42 1209 USB 3.1 Bus
Bus 000 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

from la104.

qwandor avatar qwandor commented on July 23, 2024

Huh, interesting. I started the app before plugging it into my Mac and it definitely didn't work, but when I unplugged it and plugged it back again it did work. So I guess it's just ChromeOS that's not working (and Linux, unless I add custom udev rules).

from la104.

wormyrocks avatar wormyrocks commented on July 23, 2024

Also not enumerating on macOS, M1 pro, latest macOS Montery (device stays on "Connect the device to computer" screen).
All firmware built from latest commit (980270baf...)

lsusb output:
Bus 002 Device 001: ID 1209:db42 1209 DS203 Oscilloscope Serial: 257005434E55393136FFD50
(I should add that I have a DS213, not a DS203.)

edit: LA104 webusb stuff fails too.

from la104.

gabonator avatar gabonator commented on July 23, 2024

@wormyrocks, what application are you using? What is shown in chrome's console? Please try 117_gabuino, the most recent version works well on my M1 (bigsur 11.6). If it won't work I will try updating my mac

from la104.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.