On Mon, 10 Dec 2012, victor wrote:

> Hi,
> 
> I am working on a new UDC for a new USB chip. The kernel version is 3.4.4. 
> When I insmod the new UDC, it is ok. When I insmod the file storage gadget , 
> error occurred "No such device".
> 
> # ls
> g_file_storage.ko  g_mass_storage.ko  kagen2_udc.ko 
> # insmod kagen2_udc.ko
> # insmod g_file_storage.ko file=/dev/mmcblk0
> insmod: can't insert 'g_file_storage.ko': No such device
> # insmod g_file_storage.ko file=/dev/mmcblk0p1
> insmod: can't insert 'g_file_storage.ko': No such device
> 
> do I insmod the file storage gadget separately? The /dev/mmcblk0 refers to SD 
> card, right? I insmod the sd card driver already.
> 
> # lsmod
> kagen2_udc 7262 0 - Live 0xbf02f000
> ka2000_sdio 6643 0 - Live 0xbf005000
> ka2000_sdhc 5291 0 - Live 0xbf000000

Did you check that the /dev/mmcblk0 and /dev/mmcblk0p1 devices exist?  

Did you look in the dmesg log for other messages?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to