Skip to content

Commit

Permalink
Added powermate.cpp and .h to QtRadio.pro to build with qmake
Browse files Browse the repository at this point in the history
  • Loading branch information
VE9GJ Glenn Taylor committed Sep 18, 2012
1 parent 88d96ac commit 04f5246
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ and add the following:

SUBSYSTEMS=="usb",ATTRS{idVendor}=="077d",ATTRS{idProduct}=="0410",SYMLINK+="powermate",MODE="666"

reboot and do:
reboot and do: (Or for Ubuntu /Debian sudo service udev restart and uplug and plug the powermate)


$ ls -l /dev/powermate

Expand All @@ -318,7 +319,7 @@ Create a file called 99-input.rules and put in it:
KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="input"
KERNEL=="js*", NAME="input/%k", MODE="664", GROUP="input"

and reboot.
and reboot. (Or for Ubuntu /Debian sudo service udev restart and uplug and plug the powermate)



Expand Down
6 changes: 4 additions & 2 deletions trunk/src/QtRadio/QtRadio.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ SOURCES += main.cpp\
servers.cpp \
G711A.cpp \
RTP.cpp \
hardware.cpp
hardware.cpp\
powermate.cpp


HEADERS += \
Expand Down Expand Up @@ -143,7 +144,8 @@ HEADERS += \
G711A.h \
RTP.h \
cusdr_queue.h \
hardware.h
hardware.h\
powermate.h

FORMS += \
UI.ui \
Expand Down

0 comments on commit 04f5246

Please sign in to comment.