jks19714
11-29-2009, 11:09 AM
I have a pair of AirView external spectrum analyzers plugged into a Fedora Core 11 network management workstation. Linux discovers the two devices OK and creates two tty devices in /dev:
ls -l ttyACM*
crw-rw----. 1 root dialout 166, 0 2009-11-29 13:51 ttyACM0
crw-rw----. 1 root dialout 166, 1 2009-11-29 13:51 ttyACM1
Then, I start airview.sh while su'd to root and the application opens. It then sits and "spins its' wheels", but never finds either AirView device.
Any words of wisdom? I noticed that the .sh script identifies ttyACM0 through ttyACM8, so the USB discovery process looks OK.
I even tried creating a special shell script (two_airviews.sh) as follows:
#!/bin/sh
# Start two AirView modules JKS
java -Djava.library.path=. -Dapp.logging.file.path=./log/runtime.log -Dgnu.io.SerialPorts=/dev/ttyACM0 -jar airview-o.jar >> /dev/null 2>&1
java -Djava.library.path=. -Dapp.logging.file.path=./log/runtime.log -Dgnu.io.SerialPorts=/dev/ttyACM1 -jar airview-o.jar >> /dev/null 2>&1
They serquentlially sit and spin their wheels, even when I have the application more than a hint where to find them.
I guess that I could surrender and run it under Windows, but I would REALLY get the application running properly, as the Linux box has a dedicated flat panel for my four-eyed viewing pleasure. :-)
Thanks,
john
ls -l ttyACM*
crw-rw----. 1 root dialout 166, 0 2009-11-29 13:51 ttyACM0
crw-rw----. 1 root dialout 166, 1 2009-11-29 13:51 ttyACM1
Then, I start airview.sh while su'd to root and the application opens. It then sits and "spins its' wheels", but never finds either AirView device.
Any words of wisdom? I noticed that the .sh script identifies ttyACM0 through ttyACM8, so the USB discovery process looks OK.
I even tried creating a special shell script (two_airviews.sh) as follows:
#!/bin/sh
# Start two AirView modules JKS
java -Djava.library.path=. -Dapp.logging.file.path=./log/runtime.log -Dgnu.io.SerialPorts=/dev/ttyACM0 -jar airview-o.jar >> /dev/null 2>&1
java -Djava.library.path=. -Dapp.logging.file.path=./log/runtime.log -Dgnu.io.SerialPorts=/dev/ttyACM1 -jar airview-o.jar >> /dev/null 2>&1
They serquentlially sit and spin their wheels, even when I have the application more than a hint where to find them.
I guess that I could surrender and run it under Windows, but I would REALLY get the application running properly, as the Linux box has a dedicated flat panel for my four-eyed viewing pleasure. :-)
Thanks,
john