Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 10-01-2015, 09:54 AM   #1
LQ Newbie
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
USB Mass Storage Gadget can't find UDC

Hi Guys!

I am trying to access the storage area of rootfs partition to a PC through USB Device Mode.

I would like to turn the mmcblk0p2 into a gadget_mass_storage device.

My target is a Marvell Kirkwood platorm. I am using mainline Kernel 4.2.1.

I'm able to include the Marvell USB2.0 Device Controller functionality as a module (<M>):

[root@(none) ~]# modprobe mv_udc
[root@(none) ~]# lsmod
Module Size Used by
mv_udc 18658 0

However when I try to loading the module g_mass_storage I get:

[root@(none) ~]# modprobe g_mass_storage file=/root/backing_file
FATAL: Error inserting g_mass_storage (/lib/modules/4.3.0-rc3-00040-g097f70b-dirty/kernel/drivers/usb/gadget/legacy/g_mass_storage.ko): No such device

I realized that displaying the dmesg the following message appear when I trying to load g_mass_storage through modprobe:

couldn't find an available UDC

I'm really stucked into something that it seems some people has had success so i might be missing something.
Any suggestions are welcome.

Thanks in advance.
Old 10-02-2015, 10:24 AM   #2
LQ Newbie
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled

I think that mv_udc_probe() function in driver mv_udc is never called. When I use dummy_hcd module it seems to work fine, however I can't use any other driver.
Can anybody say me where is a bug or suggest any workaround?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Mass Storage Gadget Driver used with PandaBoard and WD HDD flashpoint1973 Linux - Newbie 1 05-30-2013 08:21 AM
How to disable USB Mass Storage device ( usb drive ) in Linux vijaush Linux - Newbie 4 06-25-2008 10:43 AM
After plug in apacer ht202 usb mass storage into usb port. Nothing appear. tellmeimhong Linux - Hardware 3 02-04-2006 03:32 AM
USB Mass Storage Daniboy Linux - Software 10 09-12-2005 09:30 AM
USB Mass Storage mrsolo Linux - Hardware 11 10-25-2002 07:24 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration