Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMC-300: "ERROR: device not found or supported" #9

Open
auwsom opened this issue Dec 26, 2022 · 3 comments
Open

GMC-300: "ERROR: device not found or supported" #9

auwsom opened this issue Dec 26, 2022 · 3 comments

Comments

@auwsom
Copy link

auwsom commented Dec 26, 2022

Hello, I'm hoping the GMC-300 could be supported.

I'm using the latest Ubuntu 22.04 and Python2. I had to adjust several things in setup to appease the errors, but using the -i flag gives no device, and using the -l or -e flag gives this error (in the title).

How would I check further config? I do show the device with lsusb and ls /dev/ttyUSB0.

Are there any other packages for reading the device on Linux? Thank you

@auwsom
Copy link
Author

auwsom commented Dec 26, 2022

I did get the device to connect with this project: http://sourceforge.net/p/gqgmc/wiki/Home/

However, while I dont need the gui which doesnt compile because of an older qt4 lib, the CLI file is written in C. So I'll have to start learning that unless I can get this Python project working.

EDIT: nevermind, it does have a python file for control.

@jhyland87
Copy link

FYI - I'm on OSX, but since it's pretty similar to Linux, maybe the solution I had would have worked with you.
I had to find the serial port by using find:

$ find /dev -maxdepth 2 -iname '*usb*'
/dev/cu.wchusbserial1410
/dev/tty.wchusbserial1410
/dev/cu.usbserial-1410
/dev/tty.usbserial-1410

And the one that worked for me was /dev/cu.wchusbserial1410, which I set as the default by modifying the gq_gmc.py and setting the DEFAULT_PORT value on line 31 (as mentioned in the INSTALL file).

@takosalad
Copy link

takosalad commented Jun 4, 2024

EDIT: Disregard this comment, as it worked after I rebooted.

I have the same problem (GMC-300E).
--device-info gives an empty line.
--serial gives "ERROR: device not found or supported"

Here is the dmesg:
[38654.710684] usb 1-4.3.3: new full-speed USB device number 14 using xhci_hcd
[38654.847395] usb 1-4.3.3: device descriptor read/64, error -32
[38655.067394] usb 1-4.3.3: device descriptor read/64, error -32
[38655.290690] usb 1-4.3.3: new full-speed USB device number 15 using xhci_hcd
[38655.430726] usb 1-4.3.3: device descriptor read/64, error -32
[38655.650726] usb 1-4.3.3: device descriptor read/64, error -32
[38655.769980] usb 1-4.3-port3: attempt power cycle
[38656.434024] usb 1-4.3.3: new full-speed USB device number 16 using xhci_hcd
[38656.460976] usb 1-4.3.3: Device not responding to setup address.
[38656.700975] usb 1-4.3.3: Device not responding to setup address.
[38656.914022] usb 1-4.3.3: device not accepting address 16, error -71
[38656.916489] usb 1-4.3.3: WARN: invalid context state for evaluate context command.
[38657.024024] usb 1-4.3.3: new full-speed USB device number 17 using xhci_hcd
[38657.050973] usb 1-4.3.3: Device not responding to setup address.
[38657.294972] usb 1-4.3.3: Device not responding to setup address.
[38657.507357] usb 1-4.3.3: device not accepting address 17, error -71
[38657.509486] usb 1-4.3.3: WARN: invalid context state for evaluate context command.
[38657.515988] usb 1-4.3-port3: unable to enumerate USB device
[38657.634023] usb 1-4.3.4: new full-speed USB device number 18 using xhci_hcd
[38657.893420] usb 1-4.3.4: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.60
[38657.893424] usb 1-4.3.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[38657.893425] usb 1-4.3.4: Product: USB2.0-Serial
[38657.950986] usbcore: registered new interface driver ch341
[38657.950997] usbserial: USB Serial support registered for ch341-uart
[38657.951011] ch341 1-4.3.4:1.0: ch341-uart converter detected
[38657.951454] usb 1-4.3.4: ch341-uart converter now attached to ttyUSB0

and lsusb:
Bus 001 Device 018: ID 1a86:7523 QinHeng Electronics CH340 serial converter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants