GQ Electronics Technical Support Forum


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

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

T O P I C    R E V I E W
pwr Posted - 12/15/2018 : 17:58:35
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
2   L A T E S T    R E P L I E S    (Newest First)
pwr Posted - 12/16/2018 : 04:08:56
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
ullix Posted - 12/16/2018 : 01:19:27
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.

GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.08 sec. Snitz Forums 2000