USB DVD Device Support
Home › Forums › Development › USB DVD Device Support
- This topic is empty.
-
AuthorPosts
-
February 15, 2011 at 9:40 am #28337aka107Participant
@clava wrote:
… it works but I fear we changed the right execution flow!
The right code should be:
if(__mounted) {
if (__usbfd.sector_size[__lun]==2048) {
// dvd requires further checks
u32 sectorsize, numSectors;
if (USBStorage_ReadCapacity(&__usbfd, __lun, §orsize, &numSectors) < 0)
return false;
else
return true;
} else
return true;
}
Rigth
@clava wrote:I tested IOS61 calling IOS_ReloadIOS(61) at the beginnig of the wiimc’s main (is it right?). Unfortunately I got an exception when I connected the usb dvd device. Next days I’ll try to catch the stack dump.
It’s rigth, the problem is that ios61 is using usb1 so it’s handled in a different way.
Maybe you can create a simple test program to debug it.
Also you have to use the very last usbstorage.c from libogc becuase there were 2 bugsFebruary 15, 2011 at 7:12 pm #28330checkme2807ParticipantOK, here’s what I tested:
I loaded the modified revision of WiiMC with a backup movie DVD on, and it didn’t recognize it.
I ejected the tray, and reinserted it, and still no luck.
I reloaded WiiMC this time with the tray open, once it loaded I inserted the DVD, and it detected it, I surfed through the folders, and tried to load two different files (I was unable to see their extension so I don’t really know wether I selected an IFO file or not), still in both cases the Wii restarted itself, I’ll repeat the test checking the file names and extensions on a PC and then loading an IFO file.That’s how far I’ve gotten so far, but I’ll keep at it.
CheersP.S.: I also unplugged the DVD drive to try a detection test but got an ISI exception with no CODE DUMP
February 15, 2011 at 7:56 pm #28338AnonymousInactive@mugre1975 wrote:
OK, here’s what I tested:
I loaded the modified revision of WiiMC with a backup movie DVD on, and it didn’t recognize it.
I ejected the tray, and reinserted it, and still no luck.
I reloaded WiiMC this time with the tray open, once it loaded I inserted the DVD, and it detected it, I surfed through the folders, and tried to load two different files (I was unable to see their extension so I don’t really know wether I selected an IFO file or not), still in both cases the Wii restarted itself, I’ll repeat the test checking the file names and extensions on a PC and then loading an IFO file.That’s how far I’ve gotten so far, but I’ll keep at it.
CheersP.S.: I also unplugged the DVD drive to try a detection test but got an ISI exception with no CODE DUMP
Thanks for your feedback. Are you using the ios58? I recenty did some tests with ios61 and I got an exception when I plugged the device. You can easily check the loaded ios selecting the wiimc logo in the upper right corner of the main screen of wiimc. About file extensions, they can be shown by wiimc selecting the related option in the app settings.
It would be probably useful to run the Rodries’ usb test app with a DVD loaded into the drive for verifying if your device is compatible.
February 17, 2011 at 1:44 am #28339checkme2807ParticipantI’m running it on IOS 58, and I have the latest version of Homebrew Channel, furthermore my Wii is 4.2U
Having answered that, here’s what I did so far:
I performed rodries’ test 4 more times:
1) With a Wii Original Disc on
2) With a Wii Backup Disc on
3) With a Movie original Disc on
4) With a Movie backup Disc on
They all said the drive is compatible except for the first one, attached to this reply you’ll find the logsI reloaded your modified revision of WiiMC using the custom channel and from within HBC, both times with a backup movie on, and both times WiiMC detected it, I tried to load IFO files in both cases, and I got an error message first, and if I didn’t click OK after a couple of seconds I got a CRASH DUMP, if I do click on OK, it seems like the drive gets unmounted and WiiMC does not detect it anymore, funny thing is you have to completely shutdown the Wii and restart it for WiiMC to detect it again. If you just get out of WiiMC and reload it, WiiMC doesn’t detect the drive, no matter what (I tried ejecting the tray and reinserting it, unplugging the device, and nothing, sometimes I just got another crash dump)
So, also attached to this reply you’ll find screen captures of:
* WiiMC’s drive detection
* WiiMC’s error message when loading from custom channel
* WiiMC’ CRASH DUMP when loading from custom channel
* WiiMC’s error message when loading from within HBC
* WiiMC’s CRASH DUMP when loading from within HBCI sincerely hope it helps
Cheers!February 22, 2011 at 11:34 pm #28340checkme2807ParticipantQuick update
I’ve tested Clava’s new revision and WiiMC 1.1.3
* In both cases I have no luck loading a movie DVD, but both of them detected it and I was able to browse the discs.
* In both cases after failing loading a file the DVD gets unmounted and the only way for WiiMC to detect it again is to totally shutdown and restart the Wii, nothing else works: unplugging the device, changing discs, etc.
* In both cases I tried to load files with the DVD Support option enabled and disabled.Although I cannot prove it because I couldn’t get a screen capture on time, I’m pretty sure I was getting the same stack dump I posted on my last reply on clava’s revision until I tried to load a VOB file, after that, every file I tried to load crashed with the stack dump I’m attaching to this reply.
On WiiMC 1.1.3 I don’t get stack dumps when trying to load IFO files, just an error message (also attached to this reply), I waited a couple of seconds to see what happened if I didn’t click on “OK” (last time I got a crash dump), but nothing happened.
When trying to browse back I get another error message telling the device cannot be detected, which I’m also attaching, clicking on “Retry” has no effect.
The last screen capture I’m attaching is a stack dump I get when trying to load VOB files in WiiMC 1.1.3, which is different from clava’s.Please have in mind that when I did my last test (before this one) I had a USB hub, a USB mouse and a USB Keyboard attached to my Wii. This time I only had the DVD Drive.
That’s all for now, hope it helps
CheersFebruary 23, 2011 at 8:42 am #28341AnonymousInactive@mugre1975
One more question: does your dvd reader come with external power supply?@Tantric
Could you send me the .elf of the official 1.1.3 so I can check the stack dump?February 23, 2011 at 10:28 am #28342checkme2807Participant@clava wrote:
@mugre1975
One more question: does your dvd reader come with external power supply?Nope, It has two USB plugs, both of them plugged into the back of the Wii. As is, the drive works perfectly fine when loading game backups using ULoader, I remember that when I switched the cables the drive didn’t work.
Cheers
March 10, 2011 at 2:01 pm #28343checkme2807ParticipantHi
I performed the tests over the new version of WiiMC with no luck.
Here’s a thought, I have a compiled version of a Wii Linux Kernel that supports external USB DVD drives, which I often use, I was thinking of compiling the latest version of WiiMC under Wii Linux and see how it behaves.
I already tried reproducing movies on my external DVD drive using Xine but it’s veeeryyy slooow and the image is either all green or all blue (still trying to figure out how to make it work)
Anyway, suggestions are welcome, especially on how to compile WiiMC under Wii Linux (I’m pretty much an amateur at it)
CheersMarch 10, 2011 at 3:20 pm #28344rodriesKeymasterYou’re not going to have much luck with compiling under Wii Linux, and even if you figured out how, you’ll be adding overhead and losing GX acceleration.
-
AuthorPosts
- You must be logged in to reply to this topic.