Qemu doesn't work with gadgetfs

Ingmar Rieger openmoko at ingmars-bastelecke.net
Fri Jul 20 15:15:06 CEST 2007

On Thu, 19 Jul 2007 11:05:58 +0200, Visti Andresen <talpa at galnet.dk>

>> > ls -l /dev/gadget
>> > total 0
>> > -rw------- 1 talpa root 0 2007-07-19 09:23 dummy_udc
>> > ...
>> > btw. I have noticed that modprobe dos not complain if the module is
>> > already
>> > loaded, perhaps gadgetfs was already loaded (without
>> > when you issued the command?
>> Oh, I didn't saw that. I think it was owned by root because I did a
>> modprobe gadgetfs first and later the same with the option (modprobe
>> gadgetfs default_uid=1000). Now I have also my user as the owner, but
>> doesn't work with it.
> The same error message?

Yes, the same warning. Is there any parameter I have to set for Qemu
that it find the gadgetfs?

>> > (after I do a usb_add gadget:1 inside qemu I also get lots of
>> > /dev/gadget/ep* entries with the same set of permissions)
>> I would test this but I don't know where to use this command. Where
> could I use this command?
> After OpenMoko finished booting press ctrl+alt+2 to access the qemu
> monitor.
> usb_add gadget:1 is the emulator equivalent of plugging in the usb
> It's detailed in

The problem was that I couldn't find the Qemu-Monitor. Now I found it
but while Qemu isn't finding the gadgetfs I can't use it.

Kind regards,
Ingmar Rieger

openmoko at ingmars-bastelecke.net

More information about the openmoko-devel mailing list