From 18ee1770cc330d99b832f4f7c4d655eed851f418 Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Tue, 12 May 2026 15:41:00 +0800 Subject: [PATCH] Document M3Y USB-CDC setup for serial use The M3Y-W defaults to USB HID keyboard mode, so users trying this serial tool do not get a usable serial device until they scan the USB-CDC setup code. The README already documented the GM65 virtual serial setup, so this adds the equivalent M3Y-W setup path and vendors the QR asset from the included user guide. Constraint: Issue #2 reports the M3Y-W needs USB-CDC enabled before this tool works over serial Rejected: Changing scanner defaults in code | the scanner must be reconfigured by scanning a setup code before the host sees a serial device Confidence: high Scope-risk: narrow Tested: README image references exist; M3Y USB-CDC PNG is readable at 280x280; python3 -m py_compile serial-reader.py Not-tested: Physical M3Y-W scanner reconfiguration --- README.md | 13 +++++++++++-- utility_qr_codes/m3y/enable_usb_cdc.png | Bin 0 -> 1193 bytes 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 utility_qr_codes/m3y/enable_usb_cdc.png diff --git a/README.md b/README.md index 25dd878..c19a6ef 100644 --- a/README.md +++ b/README.md @@ -71,15 +71,24 @@ options: --test-baudrates Runs through a list of common baud rates to see what your device supports (Or finds out what BAUD it is currently using) -## GM65 & GM805 Barcode Scanner Specific Options +## USB Serial Setup -### Enabling USB Virtual Serial Port +### GM65 & GM805: Enabling USB Virtual Serial Port You can either connect the barcode scanner via a serial port or use the built-in virtual serial port function. To use this function, you need to scan the following QR code. (You may need to manually trigger scanning the first time to do this, but once enabled, this setting is persistant until reset) ![](utility_qr_codes/gm65/enable_virtual_usb.png) +### M3Y-W: Enabling USB-CDC +The M3Y-W defaults to USB HID keyboard mode, so it will not appear as a serial port for this tool until USB-CDC mode is enabled. + +Scan the following QR code from the M3Y-W user guide to switch the scanner to USB-CDC mode. After that, reconnect the scanner and run the tool against the serial device that appears on your system. + +![](utility_qr_codes/m3y/enable_usb_cdc.png) + +## GM65 & GM805 Barcode Scanner Specific Options + ### Factory Reset the Scanner To reset all of the settings back to their defaults, scan this code. diff --git a/utility_qr_codes/m3y/enable_usb_cdc.png b/utility_qr_codes/m3y/enable_usb_cdc.png new file mode 100644 index 0000000000000000000000000000000000000000..b1a89988be4b8a282067b78f3f622d801098ff09 GIT binary patch literal 1193 zcmeAS@N?(olHy`uVBq!ia0y~yV3Yu14kn-o$D6v_K#H@#BeIx*fm;ZK886+f`@_J% z67A{Y7*cWT?cKnv!wv#22Q^;&bLZRXutCAscyrm+`kcs*lUd}-*3X|mUti(#Taktd z4ju|BAS@un!6_hAa)*Cz?f&%4hc@mNQEB)8-budwr?t?XslN=Q0-~ygg@e=U-IIRv z_1^{l9r^d`{A&3>A5X;ZudaA3nBa(F>hc9@NxapvoTz!1qriabncJu$bq2FT-3@MN@u+qi}3_w37tj~Vy zbNr2hPes%rQ4hBBXC7=kdoFaT{GF{VHn(6w0P*3A9ceI=iHXl`72>bJ#f?cT0aeQ=Qv#d62vweJ?@|C_m|`eU@s?ts{d zX`h{J-+5ptJ9#+e@Uy?(lf>`ah;ID0r1t1%#^&EQL#~TsiQN{K)v;GuRTmvOeOTw@ z?(pzS8T^||^v|5-w>$Aj9o^)EQ?lQdI9b>V?5p^3?d0olcdJ*~4LN_8Z#nLGXCfqJ zA*Y*z-{t=B)_r6DcQ!kg=iMHo8gI_FVdQ&MBb@00+_A+5i9m literal 0 HcmV?d00001