usb-uart module not detected in linuxmint

Moderators: mdrjr, odroid

usb-uart module not detected in linuxmint

Unread postby metrolan » Sat Jul 14, 2018 3:59 am

Hi there!

I've been searching for this in the board but didn't found nothing. If I am in a mistake, please direct me to the topic.

I've bought the usb-uart module from Hardkernel, but I can't see ttyUSB0 in /dev. The data:
Using linuxmint. Tried sudo modprobe cp210x, no errors. Pluging the module I can see with dmesg: USB Serial support registered for cp210x
But no ttyUSBx apears.

I've tried with putty in ttyS0 but didn't catch anything.

Any help on this?

Thanks in advance.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby rooted » Sat Jul 14, 2018 9:25 am

In mint I have to use sudo to run minicom by default otherwise you would need to setup a udev rule.
User avatar
rooted
 
Posts: 5183
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: usb-uart module not detected in linuxmint

Unread postby odroid » Sat Jul 14, 2018 11:14 am

Can you show us "dmesg | grep usb" output?
User avatar
odroid
Site Admin
 
Posts: 28303
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sat Jul 14, 2018 4:59 pm

rooted wrote:In mint I have to use sudo to run minicom by default otherwise you would need to setup a udev rule.

It doesn't works, l have tried it
I have been using Putty for a long time with a Mirabox without problems and without sudo (of course, user added to dialout gruop).
As I plugged Mirabox to the USB, the ttyUSB0 appears.
Obviously, I have no other board attached to my desktop now, only Odroid-XU4
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sat Jul 14, 2018 5:04 pm

odroid wrote:Can you show us "dmesg | grep usb" output?

Sure, here it is (after modprobe cp210x):

Code: Select all
[    0.108035] usbcore: registered new interface driver usbfs
[    0.108039] usbcore: registered new interface driver hub
[    0.108046] usbcore: registered new device driver usb
[    0.768742] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.768743] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.768744] usb usb1: Product: xHCI Host Controller
[    0.768745] usb usb1: Manufacturer: Linux 4.15.0-24-generic xhci-hcd
[    0.768745] usb usb1: SerialNumber: 0000:00:14.0
[    0.769053] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    0.769054] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.769055] usb usb2: Product: xHCI Host Controller
[    0.769056] usb usb2: Manufacturer: Linux 4.15.0-24-generic xhci-hcd
[    0.769057] usb usb2: SerialNumber: 0000:00:14.0
[    1.108304] usb 1-3: new full-speed USB device number 2 using xhci_hcd
[    3.500879] usb 1-3: New USB device found, idVendor=1b1c, idProduct=1b36
[    3.500880] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.500882] usb 1-3: Product: Corsair Gaming K70 LUX Keyboard
[    3.500882] usb 1-3: Manufacturer: Corsair
[    3.500883] usb 1-3: SerialNumber: 1002A042AF0A8CA558D17430F5001945
[    3.506889] usbhid 1-3:1.2: couldn't find an input interrupt endpoint
[    3.506899] usbcore: registered new interface driver usbhid
[    3.506899] usbhid: USB HID core driver
[    3.507862] input: Corsair Corsair Gaming K70 LUX Keyboard  as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:1B1C:1B36.0001/input/input6
[    3.564263] hid-generic 0003:1B1C:1B36.0001: input,hidraw0: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 LUX Keyboard ] on usb-0000:00:14.0-3/input0
[    3.564537] input: Corsair Corsair Gaming K70 LUX Keyboard  as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:1B1C:1B36.0002/input/input7
[    3.624369] hid-generic 0003:1B1C:1B36.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 LUX Keyboard ] on usb-0000:00:14.0-3/input1
[    3.628023] usb 1-5: new full-speed USB device number 3 using xhci_hcd
[    3.778878] usb 1-5: New USB device found, idVendor=072f, idProduct=90cc
[    3.778879] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.778880] usb 1-5: Product: CCID USB Reader
[    3.778881] usb 1-5: Manufacturer: ACS
[    3.904123] usb 1-6: new high-speed USB device number 4 using xhci_hcd
[    4.149512] usb 1-6: New USB device found, idVendor=041e, idProduct=4095
[    4.149513] usb 1-6: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    4.149514] usb 1-6: Product: Live! Cam Sync HD VF0770
[    4.149515] usb 1-6: Manufacturer: Creative Technology Ltd.
[    4.149516] usb 1-6: SerialNumber: 
[    4.280033] usb 1-8: new full-speed USB device number 5 using xhci_hcd
[    4.429924] usb 1-8: New USB device found, idVendor=062a, idProduct=5918
[    4.429925] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.429926] usb 1-8: Product: 2.4G Keyboard Mouse
[    4.429927] usb 1-8: Manufacturer: MOSART Semi.
[    4.431343] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:062A:5918.0003/input/input16
[    4.521036] hid-generic 0003:062A:5918.0003: input,hidraw2: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-8/input0
[    4.522774] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:062A:5918.0004/input/input17
[    4.580478] hid-generic 0003:062A:5918.0004: input,hiddev1,hidraw3: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:00:14.0-8/input1
[    4.708010] usb 1-11: new full-speed USB device number 6 using xhci_hcd
[    4.858292] usb 1-11: New USB device found, idVendor=058f, idProduct=9360
[    4.858293] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.858294] usb 1-11: Product: USB Reader
[    4.858295] usb 1-11: Manufacturer: 
[    4.858296] usb 1-11: SerialNumber: 2004888
[    4.911555] usbcore: registered new interface driver snd-usb-audio
[    4.923961] input: Live! Cam Sync HD VF0770: Live! as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input18
[    4.924011] usbcore: registered new interface driver uvcvideo
[    4.959341] usb-storage 1-11:1.0: USB Mass Storage device detected
[    4.961067] scsi host6: usb-storage 1-11:1.0
[    4.961124] usbcore: registered new interface driver usb-storage
[    4.962625] usbcore: registered new interface driver uas
[  595.669509] usbcore: registered new interface driver usbserial_generic
[  595.669518] usbserial: USB Serial support registered for generic
[  595.672202] usbcore: registered new interface driver cp210x
[  595.672211] usbserial: USB Serial support registered for cp210x
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby odroid » Sat Jul 14, 2018 9:53 pm

The driver seems to be loaded well.
Code: Select all
[  595.669509] usbcore: registered new interface driver usbserial_generic
[  595.669518] usbserial: USB Serial support registered for generic
[  595.672202] usbcore: registered new interface driver cp210x
[  595.672211] usbserial: USB Serial support registered for cp210x


But I have no idea why there is no /dev/ttyUSB0 in your system. As @rooted mentioned, something could be wrong with udev configuration in Mint.

Can you check VID:PID of USB-UART module?
It must be 10c4:ea60 in "lsusb" output.
User avatar
odroid
Site Admin
 
Posts: 28303
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sun Jul 15, 2018 12:14 am

Can you check VID:PID of USB-UART module?
It must be 10c4:ea60 in "lsusb" output.


The point is that there is no usb-uart module:
Code: Select all
Bus 002 Device 002: ID 05e3:0749 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 062a:5918 Creative Labs
Bus 001 Device 004: ID 041e:4095 Creative Technology, Ltd Live! Cam Sync HD [VF0770]
Bus 001 Device 003: ID 072f:90cc Advanced Card Systems, Ltd ACR38 SmartCard Reader
Bus 001 Device 002: ID 1b1c:1b36 Corsair
Bus 001 Device 006: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


I've plugged the module to a Windows desktop and it is no detected by W. Don't know if it should displayed some message, but nothing happens. I've tried 3 usb cables, both in my Mint desktop and in my son's windows desktop.

Maybe a faulty module?
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby rooted » Sun Jul 15, 2018 12:37 am

I think it must be, does a red light come on the module when plugged into USB?

Are you plugged into USB 3 or 2? Try 2 if you can.
User avatar
rooted
 
Posts: 5183
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sun Jul 15, 2018 1:50 am

rooted wrote:I think it must be, does a red light come on the module when plugged into USB?

Are you plugged into USB 3 or 2? Try 2 if you can.


Thank you for your help, @odroid and @rooted, but still no results.
I've tested the module in USB3 and USB2, with 3 distinct cables, and no ttyUSB* yet.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby rooted » Sun Jul 15, 2018 1:53 am

No red light?
User avatar
rooted
 
Posts: 5183
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sun Jul 15, 2018 2:26 am

rooted wrote:No red light?


yes, red led lights. The other two leds doesn't.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby moon.linux » Sun Jul 15, 2018 2:58 am

disconnect the usb cable connected between the pc and board, after that reconnect them,
you will find that new uart port is registered to /dev/ttyUSB*
moon.linux
 
Posts: 1110
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Sun Jul 15, 2018 3:10 am

moon.linux wrote:disconnect the usb cable connected between the pc and board, after that reconnect them,
you will find that new uart port is registered to /dev/ttyUSB*


Well, I've already did that, with 3 cables, with two ports (usb 3 and 2)..... maybe 10 to 15 times.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby odroid » Mon Jul 16, 2018 9:52 am

I think your USB-UART module seems to have a hardware issue.
Please contact "odroid at hardkernel dot com" with a link of my post.
She will help your RMA process if you purchased the board from us directly.
Otherwise, contact your local distributor.
User avatar
odroid
Site Admin
 
Posts: 28303
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: usb-uart module not detected in linuxmint

Unread postby moon.linux » Mon Jul 16, 2018 12:32 pm

On my ubuntu dev pc ttyUSB registered it shows like this.

Code: Select all
[   29.345428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   29.462681] usbcore: registered new interface driver usbserial_generic
[   29.462693] usbserial: USB Serial support registered for generic
[   29.464253] usbcore: registered new interface driver cp210x
[   29.464263] usbserial: USB Serial support registered for cp210x
[   29.532344] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   29.535756] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.668329] cp210x 2-1.1:1.0: cp210x converter detected
[   29.669477] usb 2-1.1: cp210x converter now attached to ttyUSB0
[   29.756396] cp210x 2-1.3:1.0: cp210x converter detected
[   29.757656] usb 2-1.3: cp210x converter now attached to ttyUSB1
[   29.764162] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.843351] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


lsmod shows
Code: Select all
amoon@amoon-T440s:~$ lsmod
Module                  Size  Used by
cp210x                 28672  0
usbserial              45056  1 cp210x
uvcvideo               86016  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc


ls /dev/tty* shows
Code: Select all
amoon@amoon-T440s:~$ ls /dev/tty
Display all 100 possibilities? (y or n)
tty        tty15      tty22      tty3       tty37      tty44      tty51      tty59      tty9       ttyS14     ttyS21     ttyS29     ttyS8
tty0       tty16      tty23      tty30      tty38      tty45      tty52      tty6       ttyprintk  ttyS15     ttyS22     ttyS3      ttyS9
tty1       tty17      tty24      tty31      tty39      tty46      tty53      tty60      ttyS0      ttyS16     ttyS23     ttyS30     ttyUSB0
tty10      tty18      tty25      tty32      tty4       tty47      tty54      tty61      ttyS1      ttyS17     ttyS24     ttyS31     ttyUSB1
tty11      tty19      tty26      tty33      tty40      tty48      tty55      tty62      ttyS10     ttyS18     ttyS25     ttyS4
tty12      tty2       tty27      tty34      tty41      tty49      tty56      tty63      ttyS11     ttyS19     ttyS26     ttyS5
tty13      tty20      tty28      tty35      tty42      tty5       tty57      tty7       ttyS12     ttyS2      ttyS27     ttyS6
tty14      tty21      tty29      tty36      tty43      tty50      tty58      tty8       ttyS13     ttyS20     ttyS28     ttyS7
moon.linux
 
Posts: 1110
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Tue Jul 17, 2018 3:06 am

Thanks @moon.linux

Same results here for dmesg and lsmod, but no ttyUSB?

So I'll contact hardkernel for an RMA, as @odroid said.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Tue Jul 17, 2018 3:08 am

odroid wrote:She will help your RMA process if you purchased the board from us directly.


Thanks Odroid, so I'll do.

Yes, I purchased directly to hardkernel.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4

Re: usb-uart module not detected in linuxmint

Unread postby odroid » Tue Jul 17, 2018 8:52 am

Ok.
Please try this Windows 10 driver on your son's PC and let me know the result to narrow down root causes.
https://www.silabs.com/products/develop ... cp-drivers
User avatar
odroid
Site Admin
 
Posts: 28303
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: usb-uart module not detected in linuxmint

Unread postby metrolan » Wed Jul 18, 2018 3:26 am

odroid wrote:Ok.
Please try this Windows 10 driver on your son's PC and let me know the result to narrow down root causes.
https://www.silabs.com/products/develop ... cp-drivers


Sorry, I've just sent the module. The RMA gives me 3 days to do that, so I did fast.
metrolan
 
Posts: 10
Joined: Sat Jul 14, 2018 3:46 am
languages_spoken: english, spanish
ODROIDs: Odroid-XU4


Return to Hardware and peripherals

Who is online

Users browsing this forum: No registered users and 3 guests