odvr on mac
Hi,
these is my experience with your software and my Olympus VN-600PC on an
Intel based MacBook:
I have compiled and installed libusb and libsndfile without any problem
then compiled odvr succesfully with make; tried to do a sudo make install
but with errors (for example there is no root group, and no /etc/udev...)
so I've simply manually copied it in /usr/local/bin and run as root (sudo)
the good news is that odvr -l display coorectly the contents of my VN-600PC :-)
but when I launch "odvr -d a" to download the files it says:
Model: 600PC
Downloading "DA_0053.wav"...
Error downloading "DA_0053.wav": unhandled quality
Downloading "DA_0057.wav"...
Error downloading "DA_0057.wav": unhandled quality
and so on.... so tried to record another file with XHQ quality instead of
HQ and it says:
Model: 600PC
Downloading "DB_0095.wav"...
Error downloading "DB_0095.wav":
so I can read the list of content but can't download any wav from the
device.... any idea?
thanks
alessio
Original issue reported on code.google.com by [email protected] on 26 Jun 2008 at 9:19
Whoops, sorry! I skipped over the "Intel" part. Can you post the output of this:
$ odvr -l -D
I want to see the packet dumps. I suspect the 600PC has different firmware
rather
than being a Mac issue.
Original comment by [email protected] on 16 Jul 2008 at 4:11
sorry for the delay.... here is the output of the command...
thanks :-)
alessio
Original comment by [email protected] on 19 Jul 2008 at 8:12
Attachments:
Well, that confirms it; your model has a unseen quality setting. The only
quality
numbers I've encountered are 0, 1, 2, and others have encountered 8 (XHQ on the
VN-xxxx). What quality have you recorded at on your VN-600? Have you tried
recording
in different quality settings?
Original comment by [email protected] on 19 Jul 2008 at 8:16
Heh, I clearly haven't read my own code in too long. Quality 7 is a known
quality,
but it's *not* supported. Try recording in XHQ on your VN-600.
Original comment by [email protected] on 19 Jul 2008 at 8:20
I had already tried with xhq as written in my first post.... as you can see the
error
in this case is different: using xhq it says something like
Error downloading "DB_0095.wav":
instead of something like
Error downloading "DA_0057.wav": unhandled quality
as it does in case of hq.
Anyway in case it can be useful for you I send in attachment the output of
odvr -l -D
odvr -d b -D
after making an xhq recording in folder B (file 97).
ciao :)
alessio
Original comment by [email protected] on 20 Jul 2008 at 8:19
Attachments:
Odd, everything looks ok, but no data is transferred. Your VN600 responds to
the 0x18
opcode (open a file), and acks the 0x80 opcode, but it doesn't send the
associated data.
Not sure how to fix this one. Try starting a Windows VM and running a USB
packet dump
with the official software.
Original comment by [email protected] on 20 Jul 2008 at 11:16
what do you mean with running an USB packet dump? (anyway I have not any
Windows VM
but I can boot Windows through boot camp.... and can use the official software
there)
Original comment by [email protected] on 21 Jul 2008 at 7:38
Something like this tool: http://sourceforge.net/projects/usbsnoop/
Basically, you run that tool and then run the official software. What it
generates is
a packet log, and hopefully it'll tell me where odvr differs.
Original comment by [email protected] on 26 Jul 2008 at 8:00
I made two logs with SnoopyPro 0.22 and the official olympus software on WinXP
(booted through boot camp); you'll find them in attachment and below the
descriptions:
1.usblog
after installing the SnoopyPro filter on the VN600 I have simply connected the
device
to USB, waited for the Digiltal Wave Player to load and then clicked on recorder
folder A to see how many recordings are there (2 files) then disconnected the
device.
2.usblog
connected the device, waited for the Digital Wave Player to load then simply
click on
the button A to download all files from device folder A (two files: number 99
and
100), then, after downloading was complete, disconnected the device from USB.
feel free to ask for more logs if you need...
thanks
alessio
Original comment by [email protected] on 28 Jul 2008 at 8:42
Attachments:
P.S. the two files in folder A are both XHQ
Original comment by [email protected] on 28 Jul 2008 at 8:43
I finally get some time to look at the log, and I can't open them! Nuts.
Please open and export these logs as XML. Reason being: I have some scripts
that help
me read the logs.
Original comment by [email protected] on 7 Aug 2008 at 3:52
I say sorry for asking one more question about VN-600-PC and even more I don't
know
if is this the right way to do it.
Anyway do you have ANY news about dawnload file in in the following format HQ,
SP LP
Thank you.
Original comment by [email protected] on 14 Sep 2008 at 1:22
I have tried odvr on Mac OSX 10.5.6 with a VN-3100PC. Listing the contents of
the
device works, however download results in the following error:
$ sudo odvr -rd a
Resetting...
Model: 3100PC
Downloading "DA_0014.wav"...
Error downloading "DA_0014.wav": failed to read DVR status code (-1):
usb_bulk_read:
An error occured during read (see messages above)
Downloading "DA_0015.wav"...
Error downloading "DA_0015.wav": bulk write of 64 bytes to EP2 failed with code
-6:
usb_bulk_write: An error occured during write (see messages above)
Downloading "DA_0016.wav"...
Error downloading "DA_0016.wav": bulk write of 64 bytes to EP2 failed with code
-6:
usb_bulk_write: An error occured during write (see messages above)
I have just downloaded the audio files on the device using a fresh minimal
install of
Ubuntu Intrepid in Parallels on OSX with odvr_0.1.4.1_i386.deb. After a
couple of
segfaults the download eventually worked fine.
Back on the Mac - I already have MacPorts installed on the system and used that
to
install libusb and libsndfile:
sudo port install libusb libsndfile
Then check out the source from the repo:
svn checkout http://odvr.googlecode.com/svn/trunk/ odvr-read-only
Edit the Makefile. This is the diff
$ svn diff Makefile
Index: Makefile
===================================================================
--- Makefile (revision 10)
+++ Makefile (working copy)
@@ -1,12 +1,12 @@
CC=gcc
-CFLAGS=-g -O2 -Wall
+CFLAGS=-g -O2 -Wall -I/opt/local/include -L/opt/local/lib
LDFLAGS=
LIBS=-lusb -lsndfile -lm
BINS=odvr odvr.x86 odvr-gui
TICONS=TBA TBB TBC TBD TBS TBT
FICONS=FCA FCB FCC FCD FCS
ICONS=$(TICONS) $(FICONS)
-X86LIBS=-L$(HOME)/build/lib32
+X86LIBS=-L/opt/local/lib
PREFIX=/usr/local
SYSCONFDIR=/etc
VERSION=0.1.4.1-cml
Then "make odvr". The binary builds fine.
Finally - run the command (odvr -rd a -D) to generate the attached debug output.
Hope this helps.
Original comment by [email protected] on 3 Feb 2009 at 2:24
Attachments:
Additional note to my previous post...
$ uname -a
Darwin dagda.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST
2008;
root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
$ sudo port info libusb
libusb @0.1.12, Revision 1 (devel)
$ sudo port info libsndfile
libsndfile @1.0.17, Revision 1 (audio)
A newer version of libusb is not available for OSX yet.
Original comment by [email protected] on 3 Feb 2009 at 3:54
I get the same results as jinn.koriech here.
Similar setup:
$ uname -a
Darwin Les-iMac.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT
2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 i386 iMac7,1 Darwin
I use fink.
$ fink info libusb
libusb-0.1.12-1015 ...
$ fink info libsndfile1
libsndfile1-1.0.20-1 ...
Similar build process (I change /opt/local to /sw for fink when patching the
Makefile)
I can list the files fine, but downloading fails.
Original comment by [email protected] on 24 Jul 2009 at 9:09
Attachments:
Forgot to mention, I have a VN-4100PC. Works great on my OpenSUSE Linux box.
Just
can't get my Mac to download.
Original comment by [email protected] on 24 Jul 2009 at 9:12
Another attempt at use this on OSX with a VN-3100PC. This time using OSX Snow
Leopard 10.6.2 on an Intel CoreDuo:
$ uname -a
Darwin pear 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009;
root:xnu-1486.2.11~1/RELEASE_I386 i386 i386
Using the Apple developer tools I have the following gcc with which all MacPorts
packages are installed.
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646)
Using MacPorts I have libusb, libsndfile installed as before, however while
trying to
compile odvr-1.5 I received errors about gtk+2, so that is also installed with
MacPorts.
I then had errors locating usb.h during the compile. The MacPorts libusb
doesn't
install this, but I did find an OSX native version and so updated the Makefile
to
include the containing folder and got past this error.
$ svn diff
Index: Makefile
===================================================================
--- Makefile (revision 13)
+++ Makefile (working copy)
@@ -1,12 +1,12 @@
CC=gcc
-CFLAGS=-g -O2 -Wall
+CFLAGS=-g -O2 -Wall -I/opt/local/include -L/opt/local/lib
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include/pcap
LDFLAGS=
LIBS=-lusb -lsndfile -lm
BINS=odvr odvr.x86 odvr-gui
TICONS=TBA TBB TBC TBD TBS TBT
FICONS=FCA FCB FCC FCD FCS
ICONS=$(TICONS) $(FICONS)
-X86LIBS=-L$(HOME)/build/lib32
+X86LIBS=-L/opt/local/lib -L/Developer//SDKs/MacOSX10.6.sdk/usr/lib
PREFIX=/usr/local
SYSCONFDIR=/etc
VERSION=0.1.5-cml
I'm not a developer, so the next error is where I get stuck. I think they
shouldn't
be too difficult to resolve though.
$ make odvr
gcc -g -O2 -Wall -I/opt/local/include -L/opt/local/lib
-I/Developer//SDKs/MacOSX10.6.sdk/usr/include/pcap `pkg-config gtk+-2.0
--cflags`
-c -o olympusdvr.o olympusdvr.c
olympusdvr.c: In function 'find_odvr':
olympusdvr.c:89: warning: implicit declaration of function 'usb_get_busses'
olympusdvr.c:89: warning: assignment makes pointer from integer without a cast
olympusdvr.c:89: error: dereferencing pointer to incomplete type
olympusdvr.c:90: error: dereferencing pointer to incomplete type
olympusdvr.c:90: error: dereferencing pointer to incomplete type
olympusdvr.c:91: error: dereferencing pointer to incomplete type
olympusdvr.c:92: error: dereferencing pointer to incomplete type
olympusdvr.c: In function 'try_usb_bulk_write':
olympusdvr.c:122: warning: implicit declaration of function 'usb_bulk_write'
olympusdvr.c:129: warning: implicit declaration of function 'usb_strerror'
olympusdvr.c: In function 'try_usb_bulk_read':
olympusdvr.c:144: warning: implicit declaration of function 'usb_bulk_read'
olympusdvr.c: In function 'odvr_open':
olympusdvr.c:221: warning: implicit declaration of function 'usb_init'
olympusdvr.c:222: warning: implicit declaration of function 'usb_find_busses'
olympusdvr.c:224: warning: implicit declaration of function 'usb_find_devices'
olympusdvr.c:228: warning: implicit declaration of function 'usb_open'
olympusdvr.c:228: warning: assignment makes pointer from integer without a cast
olympusdvr.c:236: warning: implicit declaration of function
'usb_claim_interface'
olympusdvr.c:239: warning: implicit declaration of function 'usb_close'
olympusdvr.c: In function 'odvr_close':
olympusdvr.c:277: warning: implicit declaration of function 'usb_reset'
olympusdvr.c: In function 'odvr_reset':
olympusdvr.c:309: warning: implicit declaration of function 'usleep'
olympusdvr.c: In function 'cmd_check':
olympusdvr.c:342: warning: implicit declaration of function 'usb_interrupt_read'
olympusdvr.c: In function 'odvr_save_raw':
olympusdvr.c:897: warning: implicit declaration of function 'write'
make: *** [olympusdvr.o] Error 1
I believe endianess/bytesex shouldn't be a question with OSX since it's roots
are in
BSD and running on regular x86/amd64 hardware.
Original comment by [email protected] on 24 Nov 2009 at 10:37
Any luck with compiling on Apple OS X 10.6.x ? I have the same problem as
jinn.koriech
Original comment by [email protected] on 2 Oct 2010 at 10:00
Hi. I'm the one who started this. I very recently got around the problem by
exchanging my VN-4100 for another Olympus -- the WS-500M -- in a rather
complicated swap with a colleague. Anyway, .wma files can be uploaded to my Mac
from the WS-500M in the same way as from a USB drive.
Unlike the VN-4100, the WS-500M doesn't come with playback software, but I just
started testing what may be a better program, which is called Listen&Type.
Unlike the Olympus Digital Voice Player, Listen&Type allows you to transcribe
without taking your hands off the keyboard. How it works wasn't immediately
apparent to me, but I think I've figured it out. I've tried it with TextEdit
and OpenOffice.org Writer. So far, so good.
Here's the Listen&Type link:
http://www.nattaworks.com/english.html
Cheers.
Pat
Original comment by [email protected] on 9 Oct 2010 at 3:24
[deleted comment]
[deleted comment]
Tried again with a new machine. Still OS X 10.5 (10.5.8) and using fink for
package management.
$ uname -a
Darwin xxxx.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT
2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
Same configuration as i tried above, gives identical results.
The problem seems to be related to libusb. Made some customizations to try to
get this going. Compiled a newer libusb (version 1.0.8). For compatibility,
compiled libusb-compat (version 0.1.3).
Compile is fine, no errors. i can list files, but still can't download.
Tried 'odvr -rd a -D' -- it hangs after trying to reset.
Had to manually reset by unplugging, then tried 'odvr -d a -D' (without the
reset) and got an error "Error downloading "DA_0139_01.wav": failed to read DVR
status code (-6): Device not configured"
Output in attachments.
I'd love to get this bug fixed and am willing to help with testing.
Original comment by [email protected] on 21 Oct 2010 at 10:18
Attachments: