Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: [Opgelost] vn-2100pc voice-recorder  (gelezen 2395 keer)

Offline diskmusic

  • Lid
[Opgelost] vn-2100pc voice-recorder
« Gepost op: 2009/10/25, 10:57:11 »
Ik ben aan het proberen om mijn olympus vn-2100pc in ubuntu 8.04 (edit) aan de praat te krijgen.
De reden waarom dit niet rechtstreeks werkt is, dat deze digitale voice-recorder het
protocol van usb mass-storage device niet ondersteunt.

methode 1 die ik geprobeerd heb
De bijgeleverde software laat zich prima in de laatste wine installeren, echter word de
vn-2100pc dan nog steeds niet op een usb ingang herkend.
Wel zie ik in de map /dev/ vier files ontstaan met de naam usbdev4.6_ep00, usbdev4.6_02,
usbdev4.6_81 en usbdev4.6_83
(edit)

Wellicht dat ik in de wine configuratie een usb poort handmatig kan instellen.
Ik weet echter niet hoe.

methode 2 die ik geprobeerd heb
Op de site http://code.google.com/p/odvr/ vond ik een project met een odvr-0.1.5.tar.gz
file deze heb ik uitgepakt, echter krijg ik bij de make de volgende fout codes.

user@user:~/Bureaublad/odvr-0.1.5$ make odvr
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags`   -c -o cli.o cli.c
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -g -O2 -Wall `pkg-config gtk+-2.0 --cflags`   -c -o olympusdvr.o olympusdvr.c
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
olympusdvr.c:24:21: fout: sndfile.h: Bestand of map bestaat niet
olympusdvr.c:25:17: fout: usb.h: Bestand of map bestaat niet
olympusdvr.c: In functie ‘set_error’:
olympusdvr.c:67: let op: impliciete declaratie van functie ‘vsnprintf’
olympusdvr.c: In functie ‘find_odvr’:
olympusdvr.c:89: let op: impliciete declaratie van functie ‘usb_get_busses’
olympusdvr.c:89: let op: assignment makes pointer from integer without a cast
olympusdvr.c:89: interne fout dereferentie van pointer naar onvolledig type
olympusdvr.c:90: interne fout dereferentie van pointer naar onvolledig type
olympusdvr.c:90: interne fout dereferentie van pointer naar onvolledig type
olympusdvr.c:91: interne fout dereferentie van pointer naar onvolledig type
olympusdvr.c:92: interne fout dereferentie van pointer naar onvolledig type
olympusdvr.c: In functie ‘trace_hexdump’:
olympusdvr.c:104: let op: impliciete declaratie van functie ‘fprintf’
olympusdvr.c:104: let op: impliciete declaratie van functie `'
olympusdvr.c:104: interne fout ‘stderr’ undeclared (first use in this function)
olympusdvr.c:104: interne fout (Each undeclared identifier is reported only once
olympusdvr.c:104: interne fout for each function it appears in.)
olympusdvr.c: In functie ‘try_usb_bulk_write’:
olympusdvr.c:122: let op: impliciete declaratie van functie ‘usb_bulk_write’
olympusdvr.c:129: let op: impliciete declaratie van functie ‘usb_strerror’
olympusdvr.c: In functie ‘try_usb_bulk_read’:
olympusdvr.c:144: let op: impliciete declaratie van functie ‘usb_bulk_read’
olympusdvr.c: In functie ‘odvr_open’:
olympusdvr.c:221: let op: impliciete declaratie van functie ‘usb_init’
olympusdvr.c:222: let op: impliciete declaratie van functie ‘usb_find_busses’
olympusdvr.c:224: let op: impliciete declaratie van functie ‘usb_find_devices’
olympusdvr.c:228: let op: impliciete declaratie van functie ‘usb_open’
olympusdvr.c:228: let op: assignment makes pointer from integer without a cast
olympusdvr.c:236: let op: impliciete declaratie van functie ‘usb_claim_interface’
olympusdvr.c:239: let op: impliciete declaratie van functie ‘usb_close’
olympusdvr.c: In functie ‘odvr_close’:
olympusdvr.c:277: let op: impliciete declaratie van functie ‘usb_reset’
olympusdvr.c: In functie ‘odvr_reset’:
olympusdvr.c:309: let op: impliciete declaratie van functie ‘usleep’
olympusdvr.c: In functie ‘cmd_check’:
olympusdvr.c:342: let op: impliciete declaratie van functie ‘usb_interrupt_read’
olympusdvr.c: In functie ‘odvr_model’:
olympusdvr.c:427: let op: impliciete declaratie van functie ‘snprintf’
olympusdvr.c:427: let op: impliciete declaratie van functie `'
olympusdvr.c: In functie ‘odvr_quality_name’:
olympusdvr.c:611: let op: impliciete declaratie van functie `'
olympusdvr.c:616: let op: impliciete declaratie van functie `'
olympusdvr.c: In functie ‘odvr_save_wav’:
olympusdvr.c:821: interne fout ‘SNDFILE’ undeclared (first use in this function)
olympusdvr.c:821: interne fout ‘out’ undeclared (first use in this function)
olympusdvr.c:822: interne fout ‘SF_INFO’ undeclared (first use in this function)
olympusdvr.c:822: interne fout expected ‘;’ before ‘out_fmt’
olympusdvr.c:833: interne fout ‘out_fmt’ undeclared (first use in this function)
olympusdvr.c:856: let op: impliciete declaratie van functie ‘sf_format_check’
olympusdvr.c:862: let op: impliciete declaratie van functie ‘sf_open_fd’
olympusdvr.c:862: interne fout ‘SFM_WRITE’ undeclared (first use in this function)
olympusdvr.c:872: let op: impliciete declaratie van functie ‘sf_write_short’
olympusdvr.c:874: let op: impliciete declaratie van functie ‘sf_close’
olympusdvr.c: In functie ‘odvr_save_raw’:
olympusdvr.c:897: let op: impliciete declaratie van functie ‘write’
make: *** [olympusdvr.o] Fout 1

Dit staat in de readme:Introduction
============

  odvr is a user-space driver for Olympus digital voice recorders that do not
support USB Mass Storage. Not all formats are directly supported
(sandec/PULCOD), and functionality is limited, but basic download and listing
capabilities are implemented.


Building
========

  There is no configure script at this time. Libusb and libsndfile,
and their associated development headers, are required. To build, run:

$ make odvr

  A static x86 linux binary is included as odvr.x86.


Installing
==========

 1. Build odvr.
 2. Run "make install" as root.
 3. If you are not running Ubuntu, modify "41-odvr.rules" to fit your distro
    and install it. Don't forget to reload the udev rules. The other option is
    to run odvr as root, but this is not recommended.


Running
=======

  odvr *requires* access to the user-space USB interface. It is recommended
to place "41-odvr.rules" into "/etc/udev/rules.d" or setup your own udev rules
rather than running odvr as root. After changing udev rules, don't forget to
run "udevcontrol reload_rules" and to replugin your DVR.

  Again, root privileges are required unless udev is properly setup.

  For the impatient, run the following to test odvr:

$ sudo odvr -l


Usage
=====

Usage: odvr [options]
-= Options =-
  -h             : This help.
  -v             : Print version.
  -d <folder>    : Download all files in <folder>.
  -e             : Download everything.
  -l             : List all files.
  -x <folder>    : Delete all recordings in <folder>.
  -c             : Delete all recordings.
  -y             : "yes" to all yes/no questions.
  -r             : Reset the DVR. This may fix some sync issues.
  -D             : Enable debug tracing.
  -E             : Download everything in RAW format.


Examples
========

List recording information:

$ odvr -l

Download all recordings in folder B:

$ odvr -d b

Download all recordings in the scheduled folder:

$ odvr -d s

List and download every recording:

$ odvr -l -e


Notes
=====

  Downloaded files are signed 16 bit PCM WAV files at the recorded sample rate.
Olympus DVRs internally use a 3-bit differential PCM format with 14 bit
resolution. Unfortunately, the Windows software converts from this format into
lossy 4bit IMA ADPCM *and* it resamples. Files downloaded by odvr should be of
higher quality than with the Windows software, but it does result in larger
WAV files. It is recommended to recompress the WAV files with MP3, Vorbis, or
Speex if file size is an issue.

  Some programs may have difficulty playing or reading the odd bitrate WAV
files. If they do, I recommend using "sox" to resample them into something more
common, such as 44100hz.

  Mac/PPC support is currently non-existent. There are several places in the
odvr code that are endian sensitive, and the code hasn't been tested on
big-endian machines. PPC Mac/Linux/BSD developers are more than welcome to
submit patches!

  odvr may get out-of-sync with the attached DVR. Use "-r" to force a DVR reset
when odvr runs. For example, "odvr -r -l" will reset and then list recordings.

  Some Olympus DVRs have a high-quality encoding option (PULCOD). This
encoding type is not directly supported and odvr will complain about it. Use a
different quality level for your recordings or try the unsupported "sandec"
program that that is included with this source. It requires wine, the wine
development envornment, and a copy of "san_dec.dll." Use odvr to download the
raw files, then run sandec with the filename of the raw file.

In de hoop dat iemand me kan helpen met methode 1 of 2.
groet.. ..Dis
« Laatst bewerkt op: 2009/11/08, 14:47:53 door diskmusic »

Offline diskmusic

  • Lid
Re: vn-2100pc voice-recorder
« Reactie #1 Gepost op: 2009/11/07, 17:59:30 »
Schopje naar boven 8)

Offline commandoline

  • LoCo-contact
    • marten-de-vries
    • Marten-de-Vries.nl
Re: vn-2100pc voice-recorder
« Reactie #2 Gepost op: 2009/11/07, 18:24:42 »
Heb je de .deb al geprobeerd i.p.v. de tar.gz die over het algemeen ingewikkelder is? (methode 2):
http://code.google.com/p/odvr/downloads/list
en daar dan kiezen voor i386 of 64bit

voor meer info: http://ubuntuforums.org/showthread.php?t=1012335
post nr. 7

Offline diskmusic

  • Lid
Re: vn-2100pc voice-recorder
« Reactie #3 Gepost op: 2009/11/08, 14:15:20 »
@commandoline, ik heb die deb file volledig gemist.
Dep file in Hardy Heron (8.04) geïnstalleerd en vn-2100pc in XHQ mode werkt.
Eindelijk + 3 uur opnametijd onder ubuntu tot mijn beschikking.
Voor de volledigheid heb mijn systeem dit weekend omgezet naar Karmic Koala (9.10).
Ook in deze versie word de vn-2100pc voice-recorder in XHQ mode ondersteunt.
Dank voor het duwtje in de goede richting 8)
« Laatst bewerkt op: 2009/11/08, 14:46:37 door diskmusic »