Qemu doesn't work with gadgetfs

Ingmar Rieger openmoko-devel at lists.openmoko.org
Thu Jul 19 13:25:41 CEST 2007

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

>> > 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 default_uid=1000)
>> > 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 qemu
>> 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 cable.
> It's detailed in
> http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU#Setting_up_USB_connection

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