Re: volatile ttyUSB# assignments, probably bitch # 3.7ee+43 :)
Gene Heskett <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Organization? Not detectable |
| Message-ID | <[email protected]> |
On Saturday 28 April 2007, Gene Heskett wrote: >Greetings; > >This is driving me batty (its just a short drive, folks) > >from /var/log/messages > >[root@coyote rc3.d]# grep ttyUSB /var/log/messages >Apr 22 22:23:28 coyote kernel: usb 3-3.2: FTDI USB Serial Device converter > now attached to ttyUSB0 Apr 22 22:23:28 coyote kernel: usb 2-2.1: pl2303 > converter now attached to ttyUSB1 Apr 24 00:40:34 coyote kernel: usb 3-3.2: > FTDI USB Serial Device converter now attached to ttyUSB0 Apr 24 00:40:34 > coyote kernel: usb 2-2.1: pl2303 converter now attached to ttyUSB1 Apr 24 > 01:19:30 coyote kernel: usb 3-3.2: FTDI USB Serial Device converter now > attached to ttyUSB0 Apr 24 01:19:30 coyote kernel: usb 2-2.1: pl2303 > converter now attached to ttyUSB1 Apr 25 06:46:59 coyote kernel: usb 2-2.1: > pl2303 converter now attached to ttyUSB0 Apr 25 06:46:59 coyote kernel: usb > 3-3.2: FTDI USB Serial Device converter now attached to ttyUSB1 Apr 26 > 09:13:00 coyote kernel: usb 2-2.1: pl2303 converter now attached to ttyUSB0 > Apr 26 09:13:00 coyote kernel: usb 3-3.2: FTDI USB Serial Device converter > now attached to ttyUSB1 Apr 26 09:40:30 coyote kernel: pl2303 ttyUSB0: > pl2303 converter now disconnected from ttyUSB0 Apr 26 09:40:44 coyote > kernel: usb 2-2.2: pl2303 converter now attached to ttyUSB0 Apr 26 09:41:59 > coyote kernel: pl2303 ttyUSB0: pl2303 converter now disconnected from > ttyUSB0 Apr 26 09:42:13 coyote kernel: usb 3-3.1: pl2303 converter now > attached to ttyUSB0 Apr 26 09:44:59 coyote kernel: pl2303 ttyUSB0: pl2303 > converter now disconnected from ttyUSB0 Apr 26 09:45:05 coyote kernel: usb > 2-2.1: pl2303 converter now attached to ttyUSB0 Apr 27 09:43:16 coyote > kernel: usb 3-3.2: FTDI USB Serial Device converter now attached to ttyUSB0 > Apr 27 09:43:16 coyote kernel: usb 2-2.1: pl2303 converter now attached to > ttyUSB1 Apr 28 12:56:28 coyote kernel: usb 2-2.1: pl2303 converter now > attached to ttyUSB0 Apr 28 12:56:28 coyote kernel: usb 3-3.2: FTDI USB > Serial Device converter now attached to ttyUSB1 > >During a boot to 2.6.21-sd046, it was one way, and now with 2.6.21-CFS-v7 is > reversed. I have NDI, nor can I connect mentally, the scheduler diffs to > this, it just doesn't grok. > >Also, where he pl2303 operation was spotty at best in the previous 4 or 5 > boots (I'm testing the schedulers), its been turning belkins bulldog > software supplied 'upsd' into a cpu hog (40%), but it worked if I killed it > and restarted it enough times. > >It doesn't make any diff which of my pl2303 cables I use, I have 2. > >But now not even a cat of /dev/ttyUSB0 gets any data from that pl2303. That > puppy is "He's dead, Jim, dead." PS: Update/whatever. I got an extension db9 cable and hooked it up with another FTDI adaptor, and it works now. But its still hogging the cpu to about 40% so I killed it. I think we have 2 problems: 1) The newer code isn't returning a "that's all folks" properly at the end of each status string of 11 or 12 bytes from the ups, so the dumb belkin daemon/driver is busy waiting in a loop for more data than the 11 or 12 bytes a second the ups puts out. And 2) the pl2303 code is now totally kaput. Only the first one would seem to be belkin related if one wanted to be nasty/picky about it. That code has been working here, with only nominal attention to check the configuration occasionally, for around 5 years, without turning into a cpu hog until now. To have it become a problem child in the middle of the 2.6.21-rc series points a fairly stiff finger at something that has been changed in the linux drivers. All I'm asking is for someone who is intimately familiar with the associated code to please take another walk through it. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Coding is easy; All you do is sit staring at a terminal until the drops of blood form on your forehead. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel