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.