help with creating a module..



I'm having some trouble creating a VFS module.  I haven't seen any of it's
type so I'm hoping I can ask for some advice here.

I'm writing an iriver vfs module for the ifp-7xx/8xx series flash based
mp3/ogg players.  They do not use the UMS driver, but uses their own
firmware.  There is already a library out there that will probably suit
my needs.

The problem I run into is that in vfs_module_init, I run into a problem
with initializing my usb device.  Some psuedo code:


vfs_module_init (..)
{
    find iriver usb device
    print 1
    init usb device
    print 2
    claim usb device
    print 3
    ifp init sequence
    print 4
}
    

I will get output:
1
2
3
4

and then get an error from claim usb device saying that the device is busy.

So I'm perplexed why that is.  Can someone help here?

sri

-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]