title: Pylibftdi library not working (serial mode, UM232H)
body: <p>First of all I am quite new with both python and Linux.
  That said I am trying to communicate to an FTDI UM232H chip using the pylibftdi library.
  I am running my scripts on Linux Ubuntu 12.04.
  I installed the library that I got here:
  <a href="http://pylibftdi.readthedocs.org/en/latest/" rel="nofollow">http://pylibftdi.readthedocs.org/en/latest/</a>
  and apparently everything worked fine.
  I was also able to run some of the examples successfully.</p>
  
  <p>I then tried to write some code to communicate with the device: I wired it in a bus powered configuration (in order to get power from the USB), then I short-circuited TX and RX pins so that what I am sending on TX will be read back on RX.
  I do not get any error, but I am not able to read back anything on RX.
  Here is my very simple code:</p>
  
  <pre><code>import pylibftdi as p    
  import time
  
  test = p.Driver()
  print test.list_devices()
  #This is not working
  #print test.libftdi_version()
  
  dev1 = p.Device(device_id='FTUBL36A', mode='t')#, chunk_size = 0)
  
  dev1.flush()
  
  dev1.baudrate = 9600
  len = dev1.write('Hello World')
  time.sleep(1)
  res = dev1.read(len)
  
  print 'res: ', res
  </code></pre>
  
  <p>Also I am not able to get the libftdi_verion information, even though I installed it.</p>
  
  <p>Does anybody have an idea of what I am doing wrong? Has anyone else ever experienced such a problem?
  Thanks in advance!</p>