Git Product home page Git Product logo

Comments (6)

dlech avatar dlech commented on June 12, 2024 3

Also reported by @bittner on Gitter:

The connection is somewhat "unstable", though, with the USB cable (or it "goes to sleep" quickly?), compared to the WLAN connection, which is super-reliable.

from vscode-ev3dev-browser.

WasabiFan avatar WasabiFan commented on June 12, 2024

I've been running into this for the past several months (at least) as well. My dongle is ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 [Atheros AR9271] and the vscode connection dies every, perhaps, five to fifteen minutes. I suspect this is a timeout-related issue, as I notice extreme lag come-and-go intermittently with both vscode and PuTTY connections. I'm not sure what causes the lag, but there isn't anything in dmesg relating to it. Are there any timeouts that I might be able to adjust here?

========== ev3dev-sysinfo ==========
Image file:         ev3dev-stretch-ev3-generic-2018-07-15
Kernel version:     4.14.55-ev3dev-2.2.0-ev3
Brickman:           0.10.0
BogoMIPS:           148.88
Board:              board0
BOARD_INFO_HW_REV=7
BOARD_INFO_MODEL=LEGO MINDSTORMS EV3
BOARD_INFO_ROM_REV=6
BOARD_INFO_SERIAL_NUM=00165340720B
BOARD_INFO_TYPE=main

from vscode-ev3dev-browser.

dlech avatar dlech commented on June 12, 2024

@WasabiFan, this issue is about Ethernet over USB. It sounds like you are using Wi-Fi. If you have connection problems in PuTTY as well, then this isn't a VS Code issue. You can run modinfo <name> on the kernel module to see if there are any parameters you can tweak (use lsmod to see what <name> might be).

from vscode-ev3dev-browser.

WasabiFan avatar WasabiFan commented on June 12, 2024

I have two problems here:

  1. The Wi-Fi connection lags frequently
  2. The vscode extension disconnects sometimes

My theory is that the former causes the latter, and while I've been under the assumption that fixing the dongle lag is hard (I'll look into that suggestion), the fact that PuTTY handles it fine (lags but doesn't drop) while the vscode extension often dies makes me think that there's a timeout that should be increased on our side. It seemed to me that this was on-topic for the thread, but maybe I'm misinterpreting it.

from vscode-ev3dev-browser.

dlech avatar dlech commented on June 12, 2024

I misunderstood you previous comment to mean that PuTTY had the exact same issues as VS Code, but I see now that is not the case. There are some old issue about the timeout setting if you want to play around with it.

from vscode-ev3dev-browser.

dlech avatar dlech commented on June 12, 2024

I'm going to guess this was fixed by 9e67909. Haven't logged any complaints for quite some time.

from vscode-ev3dev-browser.

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.