Replies: 4 comments 34 replies
-
You should probably check /var/log/syslog it sounds like the device is disconnecting and reconnecting from the USB bus. |
Beta Was this translation helpful? Give feedback.
-
This seems to be along the same lines as issues #120 and #195, both closed inconclusively. Now, I use Ubuntu myself, so I'm sure this is not a universal issue. But somehow related to the combo of GW + maybe specific USB controller(s) + Linux kernel management of USB. Things to try:
|
Beta Was this translation helpful? Give feedback.
-
I am having exactly the same problem on Arch. Has there been any further investigation/result on this? Here is my config and troubleshooting.
Everything works on Windows. On Linux, I get the following:
When connecting the greaseweazle, this is the log:
Then running the command:
The log now shows that the board is reset and device enumerated again.
FYI, one in a while, say 1 in 20 times, I would actually get proper output from "gw info". However, trying "gw info" again would reset the board again.
Regards, Miki. |
Beta Was this translation helpful? Give feedback.
-
Please download and test the fixed firmware linked at the bottom of https://github.com/keirf/greaseweazle-firmware/actions/runs/4172267986 |
Beta Was this translation helpful? Give feedback.
-
I just received a V4 and am having difficulty with the software. I'm using Ubuntu 20.04. I installed the Greaseweazle V4 sofltware/utility.
My issue: When I connect the device, the first time I try gw info I get device: not found. If I wait a couple of seconds then it works. If I continue trying repeatedly every few seconds, it continues to work. If I wait 5 or so seconds, I get not found then if I wait a couple seconds and try again, it responds and will continue to respond until I wait again.
If I poll it too many times in a row I get a python error. The error persists even if I disconnect and re-connect the V4. I waited an hour and the error went away temporarily.
I have tried different cables and different ports on the computer with the same results.
Examples below.
Any thoughts or suggestions?
R
richard@richard-Inspiron-15-3511:
$ gw info$ gw infoHost Tools: 1.3
Device:
Not found
richard@richard-Inspiron-15-3511:
Host Tools: 1.3
Device:
Port: /dev/ttyACM0
Model: Greaseweazle V4
MCU: AT32F403, 144MHz, 96kB SRAM
Firmware: 1.2
Serial: GW135194F34205400002919705
USB Rate: Full Speed (12 Mbit/s)
richard@richard-Inspiron-15-3511:~$
ERROR: After polling about 6 times in a row.
richard@richard-Inspiron-15-3511:
$ gw info$Host Tools: 1.3
Device:
Port: /dev/ttyACM0
Model: Greaseweazle V4
MCU: AT32F403, 144MHz, 96kB SRAM
Firmware: 1.2
Serial: GW135194F34205400002919705
USB Rate: Full Speed (12 Mbit/s)
Traceback (most recent call last):
File "/usr/local/bin/gw", line 8, in
sys.exit(main())
File "/home/richard/.local/lib/python3.8/site-packages/greaseweazle/cli.py", line 69, in main
res = main(argv)
File "/home/richard/.local/lib/python3.8/site-packages/greaseweazle/tools/info.py", line 122, in main
latest_version = latest_firmware()
File "/home/richard/.local/lib/python3.8/site-packages/greaseweazle/tools/info.py", line 47, in latest_firmware
tag = rsp.json()['tag_name']
KeyError: 'tag_name'
richard@richard-Inspiron-15-3511:
Beta Was this translation helpful? Give feedback.
All reactions