Thread: [Ftdi-usb-sio-devel] Interleaved write/read operations on ftdi_sio seem to cause an error
Brought to you by:
bryder
From: David D. <dav...@ll...> - 2009-01-28 08:15:17
Attachments:
david_decotigny.vcf
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, In our setup, we have a PC with its USB connected to a FTDI245BL chip connected to a (hardware) FIFO: we (the PC) first write 128 bytes to the FTDI, and then we expect to read back the exact same bytes from the FTDI. That is: the fifo first stores all the 128 bytes we write, then immediatly (a few nanoseconds later) sends them back to us, all this via the FTDI of course. I am running intrepid with kernel 2.6.27-9 on an UP IA32 (Pentium 4) machine (2.4GHz). The problem I am reporting is also reproducible with the ftdi_sio module recompiled from a vanilla kernel.org's 2.6.27.9 kernel. My kernel is not tainted. So, our setup works "most" of the time: we can do thousands of such write/read sessions of 128 bytes in a row. But at some point the read() returns with a length of '0', even though we did have everything written to our FIFO device (we checked with a digital analyzer), and sent back by our FIFO device to the FTDI (likewise). So I guess the FTDI sent everything back to the host (at least the debug below seems to confirm). The problem seems to happen independently on the size of our FIFO device / the size of the data packets we are using (we tried 32, 128, 256, 2048 bytes); however, the larger they are, the easier we get the bug. Moreover, it seems related to the load on the PC: the more it is loaded, the more likely this bug is going to show up. All this tends to suggest this bug is some kind of driver (synchronization ?) problem. When I load the ftdi_sio module in debug mode, I get the following messages when the write/read *works*: - -------------------------------------------------------------------- [72206.672669] ftdi_sio ttyUSB0: ftdi_write - length = 128, data = be bf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd [72206.672744] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_write write returning: 128 [72206.673520] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_write_bulk_callback - port 0 [72206.688570] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_read_bulk_callback - port 0 [72206.688577] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_process_read - port 0 - -------------------------------------------------------------------- And when it *does not work* (ie. read() returns 0), we get: - -------------------------------------------------------------------- [72206.720802] ftdi_sio ttyUSB0: ftdi_write - length = 128, data = d9 da db dc dd de df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf d0 d1 d2 d3 d4 d5 d6 d7 d8 [72206.720875] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_write write returning: 128 [72206.721639] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_read_bulk_callback - port 0 [72206.721645] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: (this is ok on close) nonzero read bulk status received: -75 [72206.721652] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_write_bulk_callback - port 0 [72206.856067] hub 4-0:1.0: port 2 disabled by hub (EMI?), re-enabling... [72206.856076] usb 4-2: USB disconnect, address 43 [72206.859191] ftdi_sio 4-2:1.0: device disconnected [72206.859712] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_close [72206.859722] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_shutdown [72206.859748] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_sio_port_remove [72206.859752] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: remove_sysfs_attrs [72206.860121] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 - -------------------------------------------------------------------- When it fails, I always had the write callback called /after/ the read callback (as is the case above). But I am not sure it does NEVER happen when everything is fine too. I can send the full traces to whoever wants to analyze them. Code-wise, I do have a problem figuring out what this "-75" return value stands for. Maybe it could help, maybe it should be ignored in some cases. Looking at the code, it seems that the snippet involved is: - -------------------------------------------------------------------- static void ftdi_read_bulk_callback(struct urb *urb) { [...] int status = urb->status; [...] if (status) { /* This will happen at close every time so it is a dbg not an err */ dbg("(this is ok on close) nonzero read bulk status received: %d", status); return; } [...] } - -------------------------------------------------------------------- So, to summarize my thoughts: could it be that the write/read callbacks are not allowed to get interleaved ? Or is it something else ? What does a status of -75 mean ? I can provide any further information on request. Thanks a lot for any help ! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmAE/8ACgkQld7vhusVrCEhkgCfbOO0m4T00Qsc8FGHB31LSqee Qn0AoIyz7n2WS+XIqKtdWkCM2Qu2P1Wb =bWPC -----END PGP SIGNATURE----- |
From: Bill R. <bil...@gm...> - 2009-01-28 08:57:25
|
This bit is suspicious: [72206.721645] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: (this is ok on close) nonzero read bulk status received: -75 [72206.721652] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: ftdi_write_bulk_callback - port 0 [72206.856067] hub 4-0:1.0: port 2 disabled by hub (EMI?), re-enabling... [72206.856076] usb 4-2: USB disconnect, address 43 The write bulk callback gives an error then the usb stack says the hub has disabled the port - which is probably the cause of the error. You could try it without the hub in the way or maybe off another usb port. |
From: David D. <dav...@ll...> - 2009-01-28 17:57:18
Attachments:
david_decotigny.vcf
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Bill Ryder wrote: > You could try it without the hub in the way or maybe off another usb port. Indeed, it seems to have been something like this. I didn't use a hub, at least not one I plugged myself: I was using a usb port available in front of the PC box. However, it looks like this port was behind "something" (a hub ?) somewhere inside the PC box. Anyway, now I am using one of the usb ports on the back of the PC, and everything seems to work really well: we could perform at least 200000 write/read cycles [128 bytes] without any error. I don't know if it's a hub thing or not, but using this other port seems to have solved our problem. Now we're trying write/read cycles on a 16384-byte deep Fifo for the next 12h, and we'll see tomorrow morning if it worked... Thank you a lot ! Long live ftdi_sio ! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmAnHAACgkQld7vhusVrCF2/wCfSia+YWzf2kefq8+zQvx6ALFp U2gAnR9mF5RRbV5obqhYvzpLPZC7naqL =mJJh -----END PGP SIGNATURE----- |
From: Toan P. <tph...@gm...> - 2009-01-28 14:41:14
|
Bill Ryder, This bug seem very related to the bus disconnect and reconnect problem that I discussed to you about a month ago. What happened was: we had 4 keypads on a USB bus which sends and receive data to the linux host in relatively low bandwidth, approximately 4 bytes per Endpoint transaction per keypad per .3 second. Running at this rate, we experience approximately 5 disconnection-reconnection per day per system (usb bus). In many cases, our application is able to redetect and communicate with keypads with has been disconnected/reconnected. In some rare cases, physical disconnect and reconnect of a device is required for our application to talk to it. Here is a dmesg of one system running UBUNTU : -------------------------------------------------------------------------------------------------- [358472.160465] hub 3-0:1.0: port 2 disabled by hub (EMI?), re-enabling... [358472.160491] usb 3-2: USB disconnect, address 8 [358472.160494] usb 3-2.1: USB disconnect, address 15 [358472.160632] ftdi_sio 3-2.1:1.0: device disconnected [358472.160747] usb 3-2.2: USB disconnect, address 10 [358472.160839] ftdi_sio 3-2.2:1.0: device disconnected [358472.160942] usb 3-2.3: USB disconnect, address 11 [358472.161028] ftdi_sio 3-2.3:1.0: device disconnected [358472.161126] usb 3-2.4: USB disconnect, address 14 [358472.161209] ftdi_sio 3-2.4:1.0: device disconnected [358472.272338] usb 3-2: new full speed USB device using uhci_hcd and address 16 [358472.273327] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb [358472.273400] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW [358472.273794] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2 [358472.282327] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb [358472.282403] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW [358472.282781] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3 [358472.290235] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb [358472.290309] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW [358472.290691] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [358472.383373] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb [358472.383425] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW [358472.383809] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 [358472.415852] usb 3-2: configuration #1 chosen from 1 choice [358472.418784] hub 3-2:1.0: USB hub found [358472.420745] hub 3-2:1.0: 4 ports detected [358472.749410] usb 3-2.1: new full speed USB device using uhci_hcd and address 17 [358472.908371] usb 3-2.1: configuration #1 chosen from 1 choice [358472.911319] ftdi_sio 3-2.1:1.0: FTDI USB Serial Device converter detected [358472.911350] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected FT232RL [358472.911498] usb 3-2.1: FTDI USB Serial Device converter now attached to ttyUSB0 [358473.136029] usb 3-2.2: new full speed USB device using uhci_hcd and address 18 [358473.295999] usb 3-2.2: configuration #1 chosen from 1 choice [358473.298945] ftdi_sio 3-2.2:1.0: FTDI USB Serial Device converter detected [358473.298977] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected FT232RL [358473.299129] usb 3-2.2: FTDI USB Serial Device converter now attached to ttyUSB1 [358473.519654] usb 3-2.3: new full speed USB device using uhci_hcd and address 19 [358473.679628] usb 3-2.3: configuration #1 chosen from 1 choice [358473.682569] ftdi_sio 3-2.3:1.0: FTDI USB Serial Device converter detected [358473.682602] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected FT232RL [358473.682749] usb 3-2.3: FTDI USB Serial Device converter now attached to ttyUSB2 [358473.903279] usb 3-2.4: new full speed USB device using uhci_hcd and address 20 [358474.063248] usb 3-2.4: configuration #1 chosen from 1 choice [358474.066194] ftdi_sio 3-2.4:1.0: FTDI USB Serial Device converter detected [358474.066227] /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected FT232RL [358474.066374] usb 3-2.4: FTDI USB Serial Device converter now attached to ttyUSB3 ANOTHER DMESG OF A SYSTEM RUNNING T2 (OUR CUSTOMIZED EMBEDDED LINUX OS) ----------------------------------------------------------------------------------------------------------------- usb 2-1: USB disconnect, address 28 usb 2-1.1: USB disconnect, address 29 ftdi_sio 2-1.1:1.0: device disconnected usb 2-1.2: USB disconnect, address 30 drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW ftdi_sio 2-1.2:1.0: device disconnected usb 2-1.3: USB disconnect, address 31 ftdi_sio 2-1.3:1.0: device disconnected usb 2-1.4: USB disconnect, address 32 ftdi_sio 2-1.4:1.0: device disconnected usb 2-1: clear tt 1 (9201) error -108 usb 2-1: clear tt 1 (91f1) error -19 ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3 drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2 usb 2-1: new high speed USB device using ehci_hcd and address 33 usb 2-1: configuration #1 chosen from 1 choice hub 2-1:1.0: USB hub found hub 2-1:1.0: 4 ports detected usb 2-1.1: new full speed USB device using ehci_hcd and address 34 usb 2-1.1: configuration #1 chosen from 1 choice ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB0 usb 2-1.2: new full speed USB device using ehci_hcd and address 35 usb 2-1.2: configuration #1 chosen from 1 choice ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB1 usb 2-1.3: new full speed USB device using ehci_hcd and address 36 usb 2-1.3: configuration #1 chosen from 1 choice ftdi_sio 2-1.3:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.3: FTDI USB Serial Device converter now attached to ttyUSB2 usb 2-1.4: new full speed USB device using ehci_hcd and address 37 usb 2-1.4: configuration #1 chosen from 1 choice ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 usb 2-1.4: USB disconnect, address 37 ftdi_sio 2-1.4:1.0: device disconnected usb 2-1.4: new full speed USB device using ehci_hcd and address 38 drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3 usb 2-1.4: configuration #1 chosen from 1 choice ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 usb 2-1.4: USB disconnect, address 38 ftdi_sio 2-1.4:1.0: device disconnected drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: DTR LOW, RTS LOW ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from ttyUSB3 usb 2-1.4: new full speed USB device using ehci_hcd and address 39 usb 2-1.4: configuration #1 chosen from 1 choice ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected drivers/usb/serial/ftdi_sio.c: Detected FT232RL usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 I've just ordered the TOTAL PHASE Beagle USB 480 Protocol analyzer with hardware filtering. Hopefully in the next few days, I'd be able to findout what really happened. Toan On Wed, Jan 28, 2009 at 3:57 AM, Bill Ryder <bil...@gm...> wrote: > This bit is suspicious: > > [72206.721645] /tmp/linux-2.6.27.9/drivers/ > usb/serial/ftdi_sio.c: (this > is ok on close) nonzero read bulk status received: -75 > [72206.721652] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: > ftdi_write_bulk_callback - port 0 > [72206.856067] hub 4-0:1.0: port 2 disabled by hub (EMI?), re-enabling... > [72206.856076] usb 4-2: USB disconnect, address 43 > The write bulk callback gives an error then the usb stack says the hub has > disabled the port - which is probably the cause of the error. > > You could try it without the hub in the way or maybe off another usb port. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > > |
From: Bill R. <bil...@gm...> - 2009-01-28 18:05:47
|
That's a repeatable enough problem you should raise it with the linux usb developer folks. It's quite possibly a problem with the USB stack itself and if you get that many errors you'd be a great test case for them to try to fix it. Of course it could also be an actual hardware bug. At the very least it would help in making the error recovery in the stack better. On Thu, Jan 29, 2009 at 3:40 AM, Toan Pham <tph...@gm...> wrote: > Bill Ryder, > > This bug seem very related to the bus disconnect and reconnect problem > that I discussed to you about a month ago. > What happened was: we had 4 keypads on a USB bus which sends and > receive data to the linux host in relatively low bandwidth, > approximately 4 bytes per Endpoint transaction per keypad per .3 > second. Running at this rate, we experience approximately 5 > disconnection-reconnection per day per system (usb bus). In many > cases, our application is able to redetect and communicate with > keypads with has been disconnected/reconnected. In some rare cases, > physical disconnect and reconnect of a device is required for our > application to talk to it. > > Here is a dmesg of one system running UBUNTU : > > -------------------------------------------------------------------------------------------------- > [358472.160465] hub 3-0:1.0: port 2 disabled by hub (EMI?), re-enabling... > [358472.160491] usb 3-2: USB disconnect, address 8 > [358472.160494] usb 3-2.1: USB disconnect, address 15 > [358472.160632] ftdi_sio 3-2.1:1.0: device disconnected > [358472.160747] usb 3-2.2: USB disconnect, address 10 > [358472.160839] ftdi_sio 3-2.2:1.0: device disconnected > [358472.160942] usb 3-2.3: USB disconnect, address 11 > [358472.161028] ftdi_sio 3-2.3:1.0: device disconnected > [358472.161126] usb 3-2.4: USB disconnect, address 14 > [358472.161209] ftdi_sio 3-2.4:1.0: device disconnected > [358472.272338] usb 3-2: new full speed USB device using uhci_hcd and > address 16 > [358472.273327] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from > flowcontrol urb > [358472.273400] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl > Error from MODEM_CTRL urb: DTR LOW, RTS LOW > [358472.273794] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now > disconnected from ttyUSB2 > [358472.282327] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from > flowcontrol urb > [358472.282403] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl > Error from MODEM_CTRL urb: DTR LOW, RTS LOW > [358472.282781] ftdi_sio ttyUSB3: FTDI USB Serial Device converter now > disconnected from ttyUSB3 > [358472.290235] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from > flowcontrol urb > [358472.290309] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl > Error from MODEM_CTRL urb: DTR LOW, RTS LOW > [358472.290691] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now > disconnected from ttyUSB0 > [358472.383373] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: error from > flowcontrol urb > [358472.383425] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: update_mctrl > Error from MODEM_CTRL urb: DTR LOW, RTS LOW > [358472.383809] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now > disconnected from ttyUSB1 > [358472.415852] usb 3-2: configuration #1 chosen from 1 choice > [358472.418784] hub 3-2:1.0: USB hub found > [358472.420745] hub 3-2:1.0: 4 ports detected > [358472.749410] usb 3-2.1: new full speed USB device using uhci_hcd > and address 17 > [358472.908371] usb 3-2.1: configuration #1 chosen from 1 choice > [358472.911319] ftdi_sio 3-2.1:1.0: FTDI USB Serial Device converter > detected > [358472.911350] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected > FT232RL > [358472.911498] usb 3-2.1: FTDI USB Serial Device converter now > attached to ttyUSB0 > [358473.136029] usb 3-2.2: new full speed USB device using uhci_hcd > and address 18 > [358473.295999] usb 3-2.2: configuration #1 chosen from 1 choice > [358473.298945] ftdi_sio 3-2.2:1.0: FTDI USB Serial Device converter > detected > [358473.298977] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected > FT232RL > [358473.299129] usb 3-2.2: FTDI USB Serial Device converter now > attached to ttyUSB1 > [358473.519654] usb 3-2.3: new full speed USB device using uhci_hcd > and address 19 > [358473.679628] usb 3-2.3: configuration #1 chosen from 1 choice > [358473.682569] ftdi_sio 3-2.3:1.0: FTDI USB Serial Device converter > detected > [358473.682602] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected > FT232RL > [358473.682749] usb 3-2.3: FTDI USB Serial Device converter now > attached to ttyUSB2 > [358473.903279] usb 3-2.4: new full speed USB device using uhci_hcd > and address 20 > [358474.063248] usb 3-2.4: configuration #1 chosen from 1 choice > [358474.066194] ftdi_sio 3-2.4:1.0: FTDI USB Serial Device converter > detected > [358474.066227] > /build/buildd/linux-2.6.24/drivers/usb/serial/ftdi_sio.c: Detected > FT232RL > [358474.066374] usb 3-2.4: FTDI USB Serial Device converter now > attached to ttyUSB3 > > > > ANOTHER DMESG OF A SYSTEM RUNNING T2 (OUR CUSTOMIZED EMBEDDED LINUX OS) > > ----------------------------------------------------------------------------------------------------------------- > usb 2-1: USB disconnect, address 28 > usb 2-1.1: USB disconnect, address 29 > ftdi_sio 2-1.1:1.0: device disconnected > usb 2-1.2: USB disconnect, address 30 > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > ftdi_sio 2-1.2:1.0: device disconnected > usb 2-1.3: USB disconnect, address 31 > ftdi_sio 2-1.3:1.0: device disconnected > usb 2-1.4: USB disconnect, address 32 > ftdi_sio 2-1.4:1.0: device disconnected > usb 2-1: clear tt 1 (9201) error -108 > usb 2-1: clear tt 1 (91f1) error -19 > ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from > ttyUSB0 > ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from > ttyUSB1 > ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from > ttyUSB3 > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from > ttyUSB2 > usb 2-1: new high speed USB device using ehci_hcd and address 33 > usb 2-1: configuration #1 chosen from 1 choice > hub 2-1:1.0: USB hub found > hub 2-1:1.0: 4 ports detected > usb 2-1.1: new full speed USB device using ehci_hcd and address 34 > usb 2-1.1: configuration #1 chosen from 1 choice > ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB0 > usb 2-1.2: new full speed USB device using ehci_hcd and address 35 > usb 2-1.2: configuration #1 chosen from 1 choice > ftdi_sio 2-1.2:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.2: FTDI USB Serial Device converter now attached to ttyUSB1 > usb 2-1.3: new full speed USB device using ehci_hcd and address 36 > usb 2-1.3: configuration #1 chosen from 1 choice > ftdi_sio 2-1.3:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.3: FTDI USB Serial Device converter now attached to ttyUSB2 > usb 2-1.4: new full speed USB device using ehci_hcd and address 37 > usb 2-1.4: configuration #1 chosen from 1 choice > ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 > usb 2-1.4: USB disconnect, address 37 > ftdi_sio 2-1.4:1.0: device disconnected > usb 2-1.4: new full speed USB device using ehci_hcd and address 38 > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from > ttyUSB3 > usb 2-1.4: configuration #1 chosen from 1 choice > ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 > usb 2-1.4: USB disconnect, address 38 > ftdi_sio 2-1.4:1.0: device disconnected > drivers/usb/serial/ftdi_sio.c: error from flowcontrol urb > drivers/usb/serial/ftdi_sio.c: update_mctrl Error from MODEM_CTRL urb: > DTR LOW, RTS LOW > ftdi_sio ttyUSB3: FTDI USB Serial Device converter now disconnected from > ttyUSB3 > usb 2-1.4: new full speed USB device using ehci_hcd and address 39 > usb 2-1.4: configuration #1 chosen from 1 choice > ftdi_sio 2-1.4:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT232RL > usb 2-1.4: FTDI USB Serial Device converter now attached to ttyUSB3 > > > I've just ordered the TOTAL PHASE Beagle USB 480 Protocol analyzer > with hardware filtering. > Hopefully in the next few days, I'd be able to findout what really > happened. > > Toan > > > > > On Wed, Jan 28, 2009 at 3:57 AM, Bill Ryder <bil...@gm...> > wrote: > > This bit is suspicious: > > > > [72206.721645] /tmp/linux-2.6.27.9/drivers/ > > usb/serial/ftdi_sio.c: (this > > is ok on close) nonzero read bulk status received: -75 > > [72206.721652] /tmp/linux-2.6.27.9/drivers/usb/serial/ftdi_sio.c: > > ftdi_write_bulk_callback - port 0 > > [72206.856067] hub 4-0:1.0: port 2 disabled by hub (EMI?), re-enabling... > > [72206.856076] usb 4-2: USB disconnect, address 43 > > The write bulk callback gives an error then the usb stack says the hub > has > > disabled the port - which is probably the cause of the error. > > > > You could try it without the hub in the way or maybe off another usb > port. > > > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > Ftdi-usb-sio-devel mailing list > > Ftd...@li... > > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > |