Qemu doesn't work with gadgetfs

Visti Andresen talpa at galnet.dk
Thu Jul 19 00:29:11 CEST 2007


On Wed, 18 Jul 2007 23:34:44 +0200
Ingmar RIeger <openmoko at ingmars-bastelecke.net> wrote:

> Hello,
> 
> I have the following problem: I installed qemu with gadgetfs like it's
> described in the Openmoko-Wiki (http://wiki.openmoko.org/wiki/Qemu). If
> I try to start Qemu I get the following Warning:
> Warning: could not find USB gadgetfs
> 
> To start Qemu I'm using a little Shell-Script I programmed to automatise
> the steps which are described in the wiki. Heres the Script:
> 
> sudo /bin/bash -c "modprobe dummy_hcd; modprobe gadgetfs; modprobe
> usbnet; modprobe cdc_ether; modprobe gadgetfs default_uid=1000; mkdir
> -p /dev/gadget"
> 
> mount /dev/gadget
> 
> cd /home/MYHOMEDIR/openmoko/qemu-neo1973
> && ./arm-softmmu/qemu-system-arm -M neo -m 130 -mtdblock
> openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb
> -usbgadget -show-cursor -localtime -usbdevice keyboard
> (END of the Script)
> 
> After Qemu failed I checked the Kernel-Modules with lsmod and all are
> loaded.
> I also checked /devgadgetfs with ls -l /dev/gadget/
> insgesamt 0
> -rw------- 1 root root 0 2007-07-18 23:21 dummy_udc
> 
> Does anybody know why Qemu can't find the gadgetfs?
> 
> -- 
> Kind regards,
> Ingmar Rieger
> 

Just a stray thought before I go to bed, is the user id of the user running
qemu  = 1000?



More information about the openmoko-devel mailing list