ftpd-topfield + puppy auf Raspberry Pi

Aufnahmen zum PC übertragen und dort weiterverarbeiten.
TGoonie
Vielfrager
Vielfrager
Beiträge: 14
Registriert: Sa 6. Feb 2010, 13:23
Receivertyp: Topfield SRP 2410
Wohnort: Thurnau

ftpd-topfield + puppy auf Raspberry Pi

#1

Beitrag von TGoonie » Sa 29. Nov 2014, 13:33

Hallo Topfgemeinde,

Da meine Festplatte auf meinem Museumsstück PVR5000 endlich ist ziehe ich die Filme immer auf PC und schneide mir die dann dort zusammen.
... habe ich gemacht
Leider bringe ich den USB Treiber für den Topf unter Windows 8.1 nicht mehr zum laufen.

Als geschickte Alternative habe ich mir einen Raspberry Pi B+ besorgt und an den USB des Topf angeschlossen.

Puppy ist drauf und ich kann mit dem Topf kommunizieren.
Einen Film ( einen kleineren mit 1,2 GB ) konnte ich per Cmdline tool auch wunderbar runterziehen.
Bei grösseren funktioniert es bislang nicht.
Ich dachte zuerst an mein Speichermedium am Pi, hab den USB Stick dann mit ext4 formatiert - geht aber leider auch nicht :-(

der Connect funktioniert wie gesagt:

pi@HAL2014PI /export/data $ puppy -c dir
d 0 Wed Jan 1 00:00:00 2003 DataFiles
d 0 Wed Jan 1 00:00:00 2003 ProgramFiles
d 0 Wed Jan 1 00:00:00 2003 MP3


bei versuch was runterzuladen bekomme ich dann leider folgende Fehlermeldung:

pi@HAL2014PI /export/data $ puppy -c get 'DataFiles\TheWalkingDead.rec' TheWalkingDead.rec
ERROR: Device reports Invalid command


Ich hatte die Dateien ja vorher schon mal um Sonderzeichen bereinigt, aber es klappt nicht.
Dann hatte ich die Idee, was auch komfortabler wäre, den ftpd-topfield auf den Pi zu installieren.
Ich hatte die Vermutung, das dann intern die Probleme mit Sonderzeichen entfallen würden und ich dann gleich übers Netz auf den PC ziehen kann.

beim lsusb wird mein Topf anzeigt:

Bus 001 Device 006: ID 11db:1000 Topfield Co., Ltd. PVR

Ich starte den ftp Server wie folgt:

/usr/sbin/ftpd-topfield -D -d -l -P 2021

Bei Verbindungsversuch bekomme ich folgende Ausgabe:

ftpd-topfield[4032]: connection from 192.168.2.104
ftpd-topfield[4032]: <--- 220
ftpd-topfield[4032]: HAL2014PI FTP server (Topfield ftpd 0.7.7) ready.
ftpd-topfield[4032]: command: USER anonymous
ftpd-topfield[4032]: <--- 331
ftpd-topfield[4032]: Guest login ok, type your name as password.
ftpd-topfield[4032]: command: PASS pi
ftpd-topfield[4032]: <--- 230
ftpd-topfield[4032]: Guest login ok, access restrictions apply.
ftpd-topfield[4032]: ANONYMOUS FTP LOGIN FROM 192.168.2.104
ftpd-topfield[4032]: command: PWD
ftpd-topfield[4032]: <--- 257
ftpd-topfield[4032]: "/" is current directory.
ftpd-topfield[4032]: command: TYPE I
ftpd-topfield[4032]: <--- 200
ftpd-topfield[4032]: Type set to I.
ftpd-topfield[4032]: command: PASV
ftpd-topfield[4032]: <--- 227
ftpd-topfield[4032]: Entering Passive Mode (192,168,2,107,165,30)
ftpd-topfield[4032]: command: LIST
open /proc/bus/usb/devices: No such file or directory
ftpd-topfield[4032]: topfield_open(0) returned -1
ftpd-topfield[4032]: <--- 550
ftpd-topfield[4032]: Failed to connect to Topfield PVR

Wie komme ich nun an /proc/bus/usb/devices ?

Gruß,

TGoonie
( der mal wieder Filme ziehen will )

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: ftpd-topfield + puppy auf Raspberry Pi

#2

Beitrag von DeltaMikeCharlie » Sa 29. Nov 2014, 21:05

Perhaps you have a problem with the USB hardware or USB software drivers on your Raspberry Pi.

I use a copy of puppy that was compiled for the Topfield TMS/SRP model of PVRs and I have never encountered a size limitation transferring from my Australian 5000MP to my Australian 2460.

Have you tried with turbo mode on|off? puppy -c turbo 1|0

Also, perhaps puppy -v may give you some more diagnostics messages.

One final puppy option could be to create a virtual machine on your Windows 8.1 PC and install an operating system that has the correct Topfield USB drivers in the VM.

If you are only interested in copying the data, and you are willing to remove the HDD from the PVR5000, you could use a tool like "TopfHDRW" to copy the data directly from the PVR's HDD to the PC.

TGoonie
Vielfrager
Vielfrager
Beiträge: 14
Registriert: Sa 6. Feb 2010, 13:23
Receivertyp: Topfield SRP 2410
Wohnort: Thurnau

AW: ftpd-topfield + puppy auf Raspberry Pi

#3

Beitrag von TGoonie » So 30. Nov 2014, 09:08

Hi DeltaMikeCharlie,

no it is not an USB Problem.
The error happens immediatly after starting the command.
I did some researches again and found 2 patches for puppy and ftp-topfield on http://birdman.dynalias.org/R2-D2

With this patches the ftpd-topfield is able to find the pvr without using old and deprecated /proc/devices/usb

ok, download is still not possible with filezilla but i have seen that all of the rec files are starting with '| ' in front of the Filename.
I was able to rename them with filezilla, but download was not possible.
So i tried to download the renamed files with puppy and the following command:

puppy -c get 'DataFiles\TheWalkingDead.rec' 'TheWalkingDead.rec'

and it works! :hello:

i think the last problem with filezilla is something with the \ on the pvr. i think there is some error in conversion through filezilla.

But it's ok for me when the renaming of files works and i'm able to download them with puppy in the first step.

Antworten

Zurück zu „Aufnahmen am PC bearbeiten“