Using Odvr for Olympus Digital Voice Recorder (VN-960PC)

First install libsndfile-devel
#  yum install libsndfile-devel


Compile and install:
 odvr-0.1.5 $ sudo make install
Making odvr_icons.h
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o odvr_icons.o odvr_icons.c
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o gui.o gui.c
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o odvr_gui.o odvr_gui.c
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o odvr_date.o odvr_date.c
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -c -o odvr_cfg.o odvr_cfg.c
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags` -o odvr-gui odvr_icons.o gui.o odvr_gui.o odvr_date.o odvr_cfg.o olympusdvr.o -lusb -lsndfile -lm `pkg-config gtk+-2.0 --libs`
install -o root -g root -m 755 odvr /usr/local/bin
install -o root -g root -m 755 odvr-gui /usr/local/bin


copy 41-odvr.rules to/etc/udev/rules.d/ and modify (for Fedora)...
$ cat /etc/udev/rules.d/41-odvr.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="07b4", ATTR{idProduct}=="020d", ACTION=="add", GROUP="audio", MODE="0664"


add the 'user' to audio group; then log out and log in to make it effective
usermod -a -G audio user


useful commands:
lsusb
ls -l /dev/bus/usb/002
odvr -l
odvr-gui

No comments: