PDA

View Full Version : Connecting a disk to the USB ........



me1960
25-12-08, 22:16
Connecting a disk to the USB 2.0 port in order to record and play back


The DM 800 works VERY well with an external disk connected to its USB 2.0 port. At the end of the day, manipulations of the remote control are identical to those with an internal disk or an external disk connected to the eSATA port.

But, in order to get there, you must begin with a bit of tweaking. The following explanation supposes that you are capable of giving Unix/Linux line commands to a Dreambox (See other threads if necessary...)

Enigma 2 pre-supposes that the disk on which you intend to record (or read) movies be mounted on /media/hdd/ and that it itself contains a movie/ subdirectory.

If you already have an eSATA internal or external disk mounted on your DM 800, you must first unmount it:

Code:
umount /media/hdd
Then, you must mount the disk connected to the USB 2.0 port in its place:

Code:
mount /dev/scsi/host0/bus0/target0/lun0/part1 /media/hdd

(Note that the disk seems to be on a SCSI bus, although this is NOT the case. It's a rather ordinary Linux trick to emulate a USB bus as a SCSI bus (via the driver) in order to simplify device access for the kernel.)

To make the mount command for your USB disk persistant through reboots, you must modify or add a line to the /etc/fstab file.
If there is already a line meant to mount an eSATA disk that you wish to replace with a USB disk, erase it. It looks like:


Code:
/dev/ide/host0/bus0/target0/lun0/part1 /media/hdd auto defaults 0 0
In order to mount the USB disk at boot time, add the following line:

Code:
/dev/scsi/host0/bus0/target0/lun0/part1 /media/hdd auto defaults 0 0

http://www.eurocardsharing.com/f30/howto-flash-dream-800-manuals-58454

lb romana ( google translate ) :

De DM 800 funcţionează foarte bine cu un disc extern conectat la port USB 2.0. La sfarşitul zilei, de manipulare de control la distanţă sunt identice cu cele interne, cu un disc sau un disc extern conectat la portul eSATA.

Dar, pentru a ajunge acolo, trebuie să inceapă cu un pic de optimizări. Următoarele explicaţie pe care le presupune sunt capabile de a-şi da Unix / Linux, linia de comenzi de la un Dreambox (Vezi, dacă este necesar, alte fire ...)

Enigma 2 de pre-presupune că discul pe care doriţi să le inregistraţi (sau citit) filme fi montat la / media / hdd / şi că acesta conţine in sine un film / subdirector.

Dacă aveţi deja un eSATA interne sau externe de disc mount-ată de pe DM 800, trebuie mai intai să-l demonta:

Cod:

umount / media / hdd

Apoi, trebuie să mount-a-disk conectat la port USB 2.0 in locul său:

Cod:

mount / dev/scsi/host0/bus0/target0/lun0/part1 / media / hdd


(Reţineţi că, discul pare a fi pe o magistrală SCSI, cu toate că nu este cazul. E un truc destul de obişnuit de Linux pentru a crea un autobuz USB SCSI ca un autobuz (prin intermediul conducătorului auto), pentru a simplifica dispozitiv de acces la kernel-ul. )

Pentru a face comanda mount de pe disc prin USB persistente repornirea sistemului, trebuie să modificaţi sau adăugaţi o linie in / etc / fstab fişier.
Dacă există deja o linie de montare a insemnat o eSATA disk pe care doriţi să o inlocuiască cu un disk USB, de a şterge-o. Se pare ca:


Cod:

/ Dev/ide/host0/bus0/target0/lun0/part1 / media / hdd auto defaults 0 0

Pentru a monta disk USB la boot timp, adăugaţi următoarea linie:

Cod:

/ Dev/scsi/host0/bus0/target0/lun0/part1 / media / hdd auto defaults 0 0

sbistren
10-01-09, 15:34
I did everything you described here. When I reboot the box, it does not recognize USB as hard disk. I have to do the samething every time to record on usb stick.