LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-01-2019, 04:43 PM   #1
MALDATA
Member
 
Registered: Mar 2005
Posts: 157

Rep: Reputation: 19
dmesg error, "probe fails with error -5," device does not work, but module still loads


I added a Moxa 1150I (USB serial adapter) to my PC, running Debian Stretch (kernel 4.9.0-8 on x86_64). When I first plugged it in, I got an error in dmesg implying that the firmware was missing, so I installed the firmware-linux-nonfree package, and it gave me /lib/firmware/moxa/moxa-1151.fw.

Now when I plug it in, I get
Code:
# lsmod | grep usb
ti_usb_3410_5052       28672  0
usbserial              49152  2 cp210x,ti_usb_3410_5052
usb_storage            73728  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
usbcore               253952  7 cp210x,usbhid,usb_storage,usbserial,xhci_pci,ti_usb_3410_5052,xhci_hcd
usb_common             16384  1 usbcore
scsi_mod              225280  5 sd_mod,usb_storage,libata,sr_mod,sg

# lsusb
Bus 001 Device 004: ID 110a:1151 Moxa Technologies Co., Ltd.
So it looks like the kernel module gets inserted correctly, but in dmesg, I get

Code:
[  139.547568] usb 1-2: Product: UPort 1150I
[  139.547569] usb 1-2: Manufacturer: Moxa Technologies Co., Ltd.
[  139.550404] ti_usb_3410_5052 1-2:1.0: TI USB 3410 1 port adapter converter detected
[  139.550451] usb 1-2: firmware: direct-loading firmware moxa/moxa-1151.fw
[  140.302361] usb 1-2: reset full-speed USB device number 5 using xhci_hcd
[  140.659254] usb 1-2: device firmware changed
[  140.659282] ti_usb_3410_5052: probe of 1-2:1.0 failed with error -5
[  140.659335] usb 1-2: USB disconnect, device number 5
[  140.973957] usb 1-2: new full-speed USB device number 6 using xhci_hcd
[  141.355938] usb 1-2: New USB device found, idVendor=110a, idProduct=1151
[  141.355940] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  141.355941] usb 1-2: Product: UPort 1151
[  141.355941] usb 1-2: Manufacturer: Moxa Technologies Co., Ltd.
[  141.356518] usb 1-2: can't set config #2, error -32
I don't really know what to do with this. The device doesn't work, so those errors obviously mean something, but I don't know what errors -5 and -32 are, so I have no direction.

Anyone got any insight on how to diagnose or fix this issue? Thanks!
 
Old 03-02-2019, 02:18 AM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Is ti_usb_3410_5052 the proper driver?
There is a Linux driver available at the Moxa site that applies to that device, release date Jan 14 2019, Linux kernel 4x, release notes mention fixes for kernel 4.11, so should work for 4.9
Look at resources tab and from OS dropdown select Linux kernel 4x
EDIT: To install everything needed for building drivers I usually issue command below, needs aptitude though.
Code:
aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') build-essential

Last edited by Brains; 03-02-2019 at 02:24 AM.
 
  


Reply

Tags
serial, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
google nexus 4 does not show up as usb device (not even dmesg) but charging ok. ondoho Linux - Mobile 4 02-02-2016 12:44 AM
Printk won't "print" from probe() ::::A hello world module-pci device knockout_artist Linux - Kernel 1 08-14-2008 03:41 AM
dmesg repeats "Intel ISA PCIC probe: not found." slacard Slackware 17 05-08-2007 04:13 PM
dmesg showing "Intel ISA PCIC probe: not found." error riodeuno Slackware 2 02-09-2007 06:51 AM
Nvidia problem - module loads but fails to initialise the adapter MadCactus Mandriva 3 12-14-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration