Thank you Freddy for your prompt response! You made me so happy provided
that most reported bugs stay unassigned for ages with no attention from
Ubuntu team (I think that is because of the tight release cycle that
leaves no room for bug fixing, forcing developers to bend over backwards
to deliver new version on time).

Anyhow, you hint was of great help, as I am not a developer myself and
would not figure out what to do without your help. Would you be so kind
to review syslog output before I propose a patch to linux-usb mailing
list. What worries me is that it became way too verbose with both FTDI
and Prolific cables where it used to be just two lines, first saying
that device was detected, and the second informing that it has been
attached to /dev/ttyUSB0.

Do I need to reference specific patch in ftdi_sio.c or just leave it as
it is? Please advise.

/var/log/syslog:

1. When cable is being plugged in
Jul 30 21:41:34 mars kernel: [52322.424986] usb 4-3: new full speed USB device 
using ohci_hcd and address 5
Jul 30 21:41:35 mars kernel: [52322.462913] usb 4-3: configuration #1 chosen 
from 1 choice
Jul 30 21:41:35 mars kernel: [52322.464134] ftdi_sio 4-3:1.0: FTDI USB Serial 
Device converter detected
Jul 30 21:41:35 mars kernel: [52322.464158] drivers/usb/serial/ftdi_sio.c: 
Detected FT232BM
Jul 30 21:41:35 mars kernel: [52322.464245] usb 4-3: FTDI USB Serial Device 
converter now attached to ttyUSB0
Jul 30 21:41:35 mars NetworkManager: <debug> [1217439695.084204] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8'). 
Jul 30 21:41:35 mars NetworkManager: <debug> [1217439695.231275] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8_if0'). 
Jul 30 21:41:35 mars NetworkManager: <debug> [1217439695.252065] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8_if0_serial_usb_0'). 

==================================================
2. After cable has been unplugged

Jul 30 21:42:00 mars kernel: [52333.255274] usb 4-3: USB disconnect, address 5
Jul 30 21:42:00 mars kernel: [52333.255619] ftdi_sio ttyUSB0: FTDI USB Serial 
Device converter now disconnected from ttyUSB0
Jul 30 21:42:00 mars kernel: [52333.255635] ftdi_sio 4-3:1.0: device 
disconnected
Jul 30 21:42:00 mars NetworkManager: <debug> [1217439720.756023] 
nm_hal_device_removed(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8_if0_serial_usb_0'). 
Jul 30 21:42:00 mars NetworkManager: <debug> [1217439720.765858] 
nm_hal_device_removed(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8_if0'). 
Jul 30 21:42:00 mars NetworkManager: <debug> [1217439720.779818] 
nm_hal_device_removed(): Device removed (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_403_e40b_FTOXAIJ8'). 

===================================================

What went into ftdi_sio.c structure was the line:
 { USB_DEVICE(FTDI_VID, FTDI_PHI_FISCO_PID) },

And into ftdi_sio.h went this one:
#define FTDI_PHI_FISCO_PID      0xE40B  /* PHI Fisco USB to Serial cable */

The question is, do I need extra options in ftdi_sio.c

Thanks in advance!

P.S. And if you could direct me to instructions on how to create a
patch, that would be of great help, too. I'd love to be of help to the
community.

-- 
[Hardy] FTDI based USB to Serial Converter not recognized
https://bugs.launchpad.net/bugs/251952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to