Got my WIO LTE EU version and did a few tests. Flashing works and I can send SMS to my mobile phone. Now I would like to test the receiving of a SMS. Therefore I downloaded the corresponding example and started it. After reseting the module I can see the virtual COM port:
dmesg:
[ 485.981366] usb 3-2.3.4: new full-speed USB device number 12 using xhci_hcd
[ 486.113635] usb 3-2.3.4: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[ 486.113641] usb 3-2.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 486.113645] usb 3-2.3.4: Product: STM32 Virtual ComPort in FS Mode
[ 486.113648] usb 3-2.3.4: Manufacturer: STMicroelectronics
[ 486.113650] usb 3-2.3.4: SerialNumber: 00000000050C
[ 486.771896] cdc_acm 3-2.3.4:1.0: ttyACM0: USB ACM device
and lsusb:
Bus 003 Device 013: ID 0483:5740 STMicroelectronics Virtual COM Port
But when I try to open the port with minicom I see:
sudo minicom -D /dev/ttyACM0
minicom: cannot open /dev/ttyACM0: Input/output error
I tested this on two different computers with different USB ports and cables. Always the same problem. I stopped the ModemManager and tested several udev rules. No success.
Tested on manjaro linux (arch linux based).
What I’m doing wrong?
Thanks for help in advance
Salzi
Thanks @Baozhu for the reply. It looks like the module resets when I try to connect:
[85813.638457] usb 2-2.5.4: new full-speed USB device number 13 using xhci_hcd
[85813.779311] usb 2-2.5.4: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[85813.779317] usb 2-2.5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85813.779321] usb 2-2.5.4: Product: STM32 Virtual ComPort in FS Mode
[85813.779324] usb 2-2.5.4: Manufacturer: STMicroelectronics
[85813.779327] usb 2-2.5.4: SerialNumber: 00000000050C
[85813.783601] cdc_acm 2-2.5.4:1.0: ttyACM3: USB ACM device
At this point I try to connect and than this happen:
[85837.355250] audit: type=1100 audit(1590916859.953:520): pid=28416 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="jonas" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.355500] audit: type=1101 audit(1590916859.953:521): pid=28416 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="jonas" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.356053] audit: type=1110 audit(1590916859.953:522): pid=28416 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.358274] audit: type=1105 audit(1590916859.953:523): pid=28416 uid=0 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.560838] usb 2-2.5.4: reset full-speed USB device number 13 using xhci_hcd
[85837.699901] usb 2-2.5.4: device firmware changed
[85837.700986] usb 2-2.5.4: USB disconnect, device number 13
[85837.702151] audit: type=1106 audit(1590916860.303:524): pid=28416 uid=0 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.702558] audit: type=1104 audit(1590916860.303:525): pid=28416 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[85837.798769] usb 2-2.5.4: new full-speed USB device number 14 using xhci_hcd
[85837.938717] usb 2-2.5.4: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[85837.938718] usb 2-2.5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85837.938720] usb 2-2.5.4: Product: STM32 Virtual ComPort in FS Mode
[85837.938721] usb 2-2.5.4: Manufacturer: STMicroelectronics
[85837.938721] usb 2-2.5.4: SerialNumber: 00000000050C
[85837.942920] cdc_acm 2-2.5.4:1.0: ttyACM3: USB ACM device
But at the moment I do not know what the reason is. Any ideas?
Hmm than it looks more like a software problem on the WIO module itself. Just setup the arduino IDE on my other computer. But unluckily without success. Same error.
I installed Arduino 1.8.12
Added this https://raw.githubusercontent.com/Seeed-Studio/Seeed_Platform/master/package_seeeduino_boards_index.json to the Additional boards manager URLs in my preferences.