LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-11-2014, 03:28 AM   #1
Lil_fish
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
ftdi_sio connects and disconnects forever


hello,

I'm pulling my hair out on this one...
I have slack 14.1, kernel 3.14.3, on a 64bit HP Envy m6

i am trying to get a serial device working. it worked great before i upgraded from slack 14 to 14.1, so i don't know what may have changed.

the symptoms are these:

Code:
# tail -f /var/adm/messages
May 11 01:04:53 tink kernel: [11307.038650] usb 7-1: new full-speed USB device number 87 using xhci_hcd
May 11 01:04:53 tink kernel: [11307.177838] usb 7-1: New USB device found, idVendor=2730, idProduct=0fff
May 11 01:04:53 tink kernel: [11307.177847] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 11 01:04:53 tink kernel: [11307.177852] usb 7-1: Product: Barcode Printer 
May 11 01:04:53 tink kernel: [11307.177856] usb 7-1: Manufacturer: Cerner 
May 11 01:04:53 tink kernel: [11307.177859] usb 7-1: SerialNumber: 00000000
May 11 01:04:53 tink kernel: [11307.179997] ftdi_sio 7-1:1.0: FTDI USB Serial Device converter detected
May 11 01:04:53 tink kernel: [11307.180051] usb 7-1: Detected FT232BM
May 11 01:04:53 tink kernel: [11307.180057] usb 7-1: Number of endpoints 2
May 11 01:04:53 tink kernel: [11307.180062] usb 7-1: Endpoint 1 MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.180067] usb 7-1: Endpoint 2 MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.180071] usb 7-1: Setting MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.185043] usb 7-1: FTDI USB Serial Device converter now attached to ttyUSB0
May 11 01:04:53 tink mtp-probe: checking bus 7, device 87: "/sys/devices/pci0000:00/0000:00:10.1/usb7/7-1"
May 11 01:04:53 tink mtp-probe: bus: 7, device: 87 was not an MTP device
May 11 01:04:53 tink kernel: [11307.197403] usb 7-1: USB disconnect, device number 87
May 11 01:04:53 tink kernel: [11307.197616] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
May 11 01:04:53 tink kernel: [11307.197641] ftdi_sio 7-1:1.0: device disconnected
May 11 01:04:53 tink kernel: [11307.483598] usb 7-1: new full-speed USB device number 88 using xhci_hcd
May 11 01:04:53 tink kernel: [11307.622790] usb 7-1: New USB device found, idVendor=2730, idProduct=0fff
May 11 01:04:53 tink kernel: [11307.622799] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 11 01:04:53 tink kernel: [11307.622803] usb 7-1: Product: Barcode Printer
May 11 01:04:53 tink kernel: [11307.622807] usb 7-1: Manufacturer: Cerner
May 11 01:04:53 tink kernel: [11307.622810] usb 7-1: SerialNumber: 00000000
May 11 01:04:53 tink kernel: [11307.624950] ftdi_sio 7-1:1.0: FTDI USB Serial Device converter detected
May 11 01:04:53 tink kernel: [11307.625020] usb 7-1: Detected FT232BM
May 11 01:04:53 tink kernel: [11307.625026] usb 7-1: Number of endpoints 2
May 11 01:04:53 tink kernel: [11307.625032] usb 7-1: Endpoint 1 MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.625037] usb 7-1: Endpoint 2 MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.625041] usb 7-1: Setting MaxPacketSize 64
May 11 01:04:53 tink kernel: [11307.629917] usb 7-1: FTDI USB Serial Device converter now attached to ttyUSB0
May 11 01:04:53 tink mtp-probe: checking bus 7, device 88: "/sys/devices/pci0000:00/0000:00:10.1/usb7/7-1"
May 11 01:04:53 tink mtp-probe: bus: 7, device: 88 was not an MTP device
May 11 01:04:53 tink kernel: [11307.642306] usb 7-1: USB disconnect, device number 88
May 11 01:04:53 tink kernel: [11307.642517] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
May 11 01:04:53 tink kernel: [11307.642540] ftdi_sio 7-1:1.0: device disconnected
this happens forever.

It is not a udev problem. I turned of udev to isolate that.
One thing that's interesting, before i turn on ftdi,

Code:
# lsusb
Bus 002 Device 002: ID 1bcf:2c4a Sunplus Innovation Technology Inc.
Bus 004 Device 002: ID 138a:0018 Validity Sensors, Inc. Fingerprint scanner
Bus 007 Device 127: ID 2730:0fff Citizen
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
then I do:

Code:
# modprobe ftdi_sio
# echo 2730 0fff > /sys/bus/usb-serial/drivers/ftdi_sio/new_id
which gives me the endless connect/disconnect in the messages log, and the lsusb no longer shows the device, unless you can catch it during the brief time it is connected as /dev/ttyUSB0.

I also turned off the mtp-probe to see if that was triggering the disconnect: it was not. The problem still exists.

why did this start happening after my upgrades? this is mission critical for me... that Citizen is my money maker and if i can't talk to it, no money... any help is greatly appreciated! let me know if you need more info to debug this issue.

thanks

Edit: I got back tot he office and another device there, same manufacturer and FTDI adapter connected just fine. So this problem was with the peripheral device. There is some setting in it that I cannot locate causing the device to initiate the disconnect. I anyone else runs across this post, I put forth that the problem is with the device settings and not the FTDI driver.

Last edited by Lil_fish; 05-18-2014 at 02:05 PM. Reason: new info about the problem
 
  


Reply


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
Persistent connects and disconnects baldur2630 Linux - Security 4 12-04-2013 02:34 PM
USB mouse works on and off (disconnects and re-connects) mike11 Linux - Newbie 3 05-15-2012 04:25 AM
my mp3 player connects and disconnects all time alaios Linux - Hardware 3 09-17-2007 01:47 PM
wlan0 disconnecting when eth0 connects/disconnects Sammael Linux - Wireless Networking 0 08-15-2006 05:39 AM
ppp connects does nothing and disconnects jimdaworm Slackware 11 03-19-2004 01:59 PM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration