Re: Re: USB DVD Device Support

Home › Forums › Development › USB DVD Device Support › Re: Re: USB DVD Device Support

#28293
aka107
Member

ok

I have a problem here, I haven’t a dvd-usb so I can’t test anything
If you have a problem the only way I can help you is asking me a specific question and pasting the code

In dvd_reader.c


#ifdef GEKKO
if (!strcmp(path, "/dev/di")) {
ret_val = DVDOpenImageFile( path, have_css );
free(path);
return ret_val;
}
#endif

I think you have a problem here, I don’t know how to handle it without testing


static int di_open ( dvdcss_t, char const * );
static int di_seek ( dvdcss_t, int );
static int di_read ( dvdcss_t, void *, int );
static int di_readv ( dvdcss_t, struct iovec *, int );

You have to redo this functions to use the usb device (libdvdcss/device.c)