title: get device name connected to port /dev/ttyACM0
body: <p>Is there a way to get the device name connected to the serial port?</p>
  
  <p>This code gives me just the name of the serial port. But I need the device name connected to it i.e. Nokia Phone   </p>
  
  <pre><code>import serial
  import time
  
  
  ser = serial.Serial('/dev/ttyACM0', 
                       460800, 
                       timeout=5, 
                       xonxoff = False, 
                       rtscts = False, 
                       bytesize = serial.EIGHTBITS, 
                       parity = serial.PARITY_NONE, 
                       stopbits = serial.STOPBITS_ONE)
  sere = ser.name
  print (ser, sere)
  </code></pre>
  
  <p>I've been checking other possibilities like <code>gammu-detect</code> but I would like to have a self standing python script that does this operation. Is there a way to get it done with pyserial?</p>