Skip to content

Instantly share code, notes, and snippets.

@papamoose
Last active January 23, 2020 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save papamoose/edd621cf88d05797cbe75ff16e5813c4 to your computer and use it in GitHub Desktop.
Save papamoose/edd621cf88d05797cbe75ff16e5813c4 to your computer and use it in GitHub Desktop.
PDM60 on Linux notes

dmesg output when plugging in the usb serial cable:

[161312.500002] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[161312.926854] usb 3-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[161312.926860] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[161312.926863] usb 3-2: Product: FT232R USB UART
[161312.926866] usb 3-2: Manufacturer: FTDI
[161312.926869] usb 3-2: SerialNumber: AC01PV6Q
[161312.966524] usbcore: registered new interface driver usbserial_generic
[161312.966534] usbserial: USB Serial support registered for generic
[161312.968861] usbcore: registered new interface driver ftdi_sio
[161312.968870] usbserial: USB Serial support registered for FTDI USB Serial Device
[161312.968951] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
[161312.968983] usb 3-2: Detected FT232RL
[161312.975869] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0

Success!

$ ls -l /dev/ttyUSB0 
crw-rw---- 1 root dialout 188, 0 Jan 22 19:45 /dev/ttyUSB0

Install dependencies:

apt-get install openjdk-8-jre
export JAVA_HOME='/usr/lib/jvm/java-8-openjdk-amd64'

We need the below for serial connection Source: http://fizzed.com/oss/rxtx-for-java

wget https://bitbucket.org/jlauer/mfz-cdn/downloads/mfz-rxtx-2.2-20081207-linux-x86_64.zip
./mfz-rxtx-2.2-20081207-linux-x86_64/run-install.sh

Attempting to run PDMDashaboard

$ java -jar PDMDashaboard_v3.1.jar
OS = Linux
Arch = amd64
Arch not supported!
Arch not supported!
  • Does the above imply that i386 is supported?
  • The GUI does load.
  • Port Select does not show /dev/ttyUSB0 as an option. It is blank.
  • When you plug in the PDM60 the LEDs stay off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment