Re: ftdi_sio serial adapter data toggle problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[quoted lines by Alan Stern on 2010/08/07 at 16:50 -0400]

>It would help to see a usbmon trace showing the problem, preferably 
>from a 2.6.35 kernel.

Okay, the user got one for us. It's attached to this message (as 
usbmon1u.34.gz). The kernel he used is 2.6.35-rc6-686 (Debian Experimental).

lsusb lists the device as follows:

   Bus 001 Device 005: ID 0403:6001 Future Technology Devices 
   International, Ltd FT232 USB-Serial (UART) IC

He chose to cat 1u since lsusb reported "bus 001".

He did the following:

   1) Stop brltty and disconnect the adapter.
   2) Start catting 1u.
   3) Connect the adapter.
   4) Start brltty.
   5) echo \002\033b >/devttyUsb0
   6) Wait for the braille display to start functioning normally.
   7) Stop catting 1u.

Note that after 4 (starting brltty), the braille display didn't work as it 
should. Only after 5 (echoing that byte sequence to it) did the braille display 
start working properly. The byte sequence is a valid one which the device 
recognizes, and also which the driver would've already sent, which seems to be 
what it takes to synchronize the data toggles (assuming my theory is correct).

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/

Attachment: usbmon1u.34.gz
Description: GNU Zip compressed data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux