what about USB_DeviceInsertNotifyAsync ?

Post Reply
arasium
Posts: 6
Joined: Fri Jan 29, 2010 1:28 pm

what about USB_DeviceInsertNotifyAsync ?

Post by arasium » Wed Feb 24, 2010 10:36 am

All is in the subjet :D

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: what about USB_DeviceInsertNotifyAsync ?

Post by Izhido » Wed Feb 24, 2010 7:17 pm

... uh, what about it?

I think we need a little more information before we can attempt to answer anything related about that function, if it exists at all...

What's your real question?

arasium
Posts: 6
Joined: Fri Jan 29, 2010 1:28 pm

Re: what about USB_DeviceInsertNotifyAsync ?

Post by arasium » Wed Feb 24, 2010 7:33 pm

Yes you're right :D

In fact i've found this function is usb.c, but not in the .h.

So is this method valid? Can we use it?
And do we need to pass vid/pid (because w canno't know them in advance)?

WinterMute
Site Admin
Posts: 1863
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: what about USB_DeviceInsertNotifyAsync ?

Post by WinterMute » Thu Feb 25, 2010 4:53 am

If you want to be able to plug random USB devices with unknown vid/pids into your wii and have them do something useful then I'd suggest installing Wii Linux and/or learning to port usb drivers.

Basically, if you have to ask this kind of question then it's likely that you shouldn't be using the function.
Help keep devkitPro toolchains free, Donate today

Personal Blog

arasium
Posts: 6
Joined: Fri Jan 29, 2010 1:28 pm

Re: what about USB_DeviceInsertNotifyAsync ?

Post by arasium » Thu Feb 25, 2010 6:29 am

In fact y wan't to automatically mount the file system when a device is inserted (like the hbc did when we put an sd).

But if i need to port usb drivers, i will find an other solution (i'm a professional developer, but usb drivers is too dificult to me...).

Thx

Tantric
Posts: 6
Joined: Wed May 20, 2009 10:37 pm

Re: what about USB_DeviceInsertNotifyAsync ?

Post by Tantric » Fri Feb 26, 2010 10:59 pm

Use .isInserted(), that's what it's there for. See Snes9x GX for an example of usage.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests