USB driver module development

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
midnite
Posts: 1
Joined: Fri Aug 18, 2006 3:16 am

USB driver module development

Post by midnite »

I'm trying to build a USB driver module (for PSP->PC communication). I've looked through PSPLink to see what it is doing but I have a couple questions I'm hoping someone can clear up.

Does the usb driver prx module have to be a kernel mode prx? Can it be completely user mode? I see the usbhostfs is in kernel mode in PSPLink, but is that because of other reasons?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

No it has to be a kernel module, you have little choice. The USB bus driver is only exported to kernel modules. You could write a module to bounce the calls into user mode but that would still have to be kernel mode. Why would you want user mode only anyway ?
Post Reply