Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
gqgmc
Commits
5f7e768d
Commit
5f7e768d
authored
May 06, 2015
by
Phil Gillaspy
Browse files
Update README.txt
parent
32d4616d
Changes
1
Show whitespace changes
Inline
Side-by-side
README.txt
View file @
5f7e768d
...
...
@@ -7,6 +7,7 @@
2. The following list of files need to be downloaded. Obtain them from
the gqgmc folder.
Makefile
Defines.mk
Patterns.mk
...
...
@@ -18,6 +19,8 @@
plotter.hh
plotter.cc
51-gqgmc.rules
3. Create the following subdirectories of your root directory:
bin
libs
...
...
@@ -35,28 +38,33 @@
will be put into bin subdirectory. Try "make all" as the build
command.
6. With the GQ geiger counter connected to your PC via USB and turned
6a. Copy the 51-gqgmc.rules file to the /etc/udev/rules.d directory and
force the reload of udev rules:
sudo cp ./51-gqgmc.rules /etc/udev/rules.d/51-gqgmc.rules
sudo udevadm control --reload-rules
Disconnect the GQ GMC-300 from the computer and then reconnect.
Verify that there exists a /dev/gqgmc in the /dev directory with
read/write permission for all users.
ls -la /dev/gqgmc
6b. With the GQ geiger counter connected to your PC via USB and turned
on, start either bin/gqgmc or bin/gqgmc_gui from a console command
line. However, you must supply the device name of the USB port on
the command line, for example on Ubuntu 11.10 try
"bin/gqgmc /dev/usb/ttyUSB0". On Ubuntu 12.04 try
"bin/gqgmc /dev/ttyUSB0".
You can try to identify USB port using the following scheme.
(a) Before plugging in the GMC-300, run the command "dir /dev/ttyUSB*".
Take note of what, if any, devices are listed. After plugging
in the GMC-300 and turning it on, wait one minute,
then run the command line command "lsusb". You should see a line
with "Prolific Technology Inc." at the end of the line. This
indicates that Linux has successfully recognized and setup a port
for the GMC-300. Now try the command line command "dir /dev/ttyUSB*".
The device name for the GMC-300 should be the newest port added
to the previous listing of the same command. (On Ubuntu 11.10,
try changing /dev/ttyUSB* to /dev/usb/ttyUSB*)
line. The USB device name must be supplied from the command line, e.g.,
bin/gqgmc /dev/gqgmc
bin/gqgmc_gui /dev/gqgmc
The code expects the GQ GMC USB device name to be /dev/gqgmc. This
device name was created at step 6a.
7. The following is a list of prerequisites for successful compilation:
a. Ubuntu Linux 12.04 or 1
1.10
b. GNU g++ 4.6.x compiler installed
a. Ubuntu Linux
11.10,
12.04 or 1
4.04
b. GNU g++ 4.6.x
or more recent
compiler installed
c. Qt4 Software Development Kit (SDK) installed
or Qt Creator installed (required only for GUI)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment