GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 2.GQ Geiger Muller Counter
 What kmod-usb driver for gmc300e
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwr

United Kingdom
2 Posts

Posted - 12/15/2018 :  17:58:35  Show Profile  Reply with Quote
What kmod-usb driver for gmc300e

trying to get it to work on linux need to know what kmod-usb-whatever driver to load for the usb device 1a86/7523/254 latest usb serial driver chip on the gmc300e devices
Reply #1

ullix

Germany
1171 Posts

Posted - 12/16/2018 :  01:19:27  Show Profile  Reply with Quote
This USB-to-Serial device is recognized by the kernel since very long. So, unless you use a very strange Linux distribution, the device should be available right after connection without any further installation.

Do these steps:

Connect the GMC-300E and type "dmesg" in a terminal window. At the end it should say similar to:
[...] usb 3-10.3: new full-speed USB device number 87 using xhci_hcd
[...] usb 3-10.3: New USB device found, idVendor=1a86, idProduct=7523
[...] usb 3-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[...] usb 3-10.3: Product: USB2.0-Serial
[...] ch341 3-10.3:1.0: ch341-uart converter detected
[...] usb 3-10.3: ch341-uart converter now attached to ttyUSB2


Verify with command "lsusb":
Bus XXX Device YYY: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter


Check available devices with "ls -al /dev/ttyU*" to get something like:
crw-rw---- 1 root dialout 188, 0 Dez 16 10:13 /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 2 Dez 16 10:05 /dev/ttyUSB2


If you get more than 1 line, you need to determine which one it is. The dmesg command tells you the device is /dev/ttyUSB2.

Alternatively, install GeigerLog https://sourceforge.net/projects/geigerlog/ and run its Help --> Autodiscover connected USB port.
Go to Top of Page
Reply #2

pwr

United Kingdom
2 Posts

Posted - 12/16/2018 :  04:08:56  Show Profile  Reply with Quote
Thanks for the reply. I can get it working OK on general linux no problem.

The author of gqgmc shows how to set up a udev rule for standard linux, which maps the device to a /dev/name you specify which is cool!

On openwrt it works differently, for anyone who might want to use it the driver required for my gmc300e on raspberry pi is:

opkg install kmod-usb2
opkg install kmod-usb-serial-ch341
opkg install kmod-usb-serial
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.16 sec. Snitz's Forums 2000