Re: Re: USB Problems? Read This!

Home › Forums › Help and Support › USB Problems? Read This! › Re: Re: USB Problems? Read This!

#27813
Anonymous
Inactive

@clava wrote:

@clava wrote:

@rodries wrote:

You have to patch mplayer, check libdvdread4 (maybe libdvdcss & libdvdnav) search for gekko defines

Thanks for the hints! I’ll see what I can do (or what I’m able to do…)
clava

I finally succeeded in reading the DVD structure from my external USB DVD drive 😀 !!!
I patched usbstorage.c as suggested by Rodries and I changed the get_interface() function in iso9960.c , returning &__io_usbstorage;
The only oddity is that I had to call USBStorage_Deinitialize() to read correctly the DVD actually inserted. Without calling it, readSectors() and the following ISO9660_Mount failed (even if isInserted returns true).
Attached the code I used for the test. Now I’m trying to patch wiimc and mplayer accordingly.
Any further suggestions are welcome!

Now I’m able to read DVD in WiiMC as data disk and playing .vob files. Still not able to directly play DVD or VIDEO_TS folder (device=dvd:/VIDEO_TS, file=dvd://).
I tried to patch libdvdcss/device.c, redirecting disk I/O through libc_open, libc_seek, … functions (in place of di_* functions). Unfortunately, it does not seem to work. Any advice?