On Friday 27 July 2012 19:32:01 Warner Losh wrote: > Author: imp > Date: Fri Jul 27 17:32:01 2012 > New Revision: 238850 > URL: http://svn.freebsd.org/changeset/base/238850 > > Log: > Add gadget devices. Not yet added to the child lists, but here to > keep things from bit-rotting. > > Modified: > head/sys/arm/conf/ATMEL > > Modified: head/sys/arm/conf/ATMEL > =========================================================================== > === --- head/sys/arm/conf/ATMEL Fri Jul 27 17:31:19 2012 > (r238849) > +++ head/sys/arm/conf/ATMEL Fri Jul 27 17:32:01 2012 (r238850) > @@ -161,6 +161,11 @@ device ohci # OHCI USB interface > device usb # USB Bus (required) > device umass # Disks/Mass storage - Requires scbus > and da > > +# USB device (gadget) support > +device at91_dci # Atmel's usb device > +device usfs # emulate a flash > +device cdce # emulate an ethernet > + > # watchdog > device at91_wdt # Atmel AT91 Watchdog Timer
Hi, You also need: device usb_template For gadget mode. The configuration shown to the host is selected using: sysctl hw.usb.template=0,1,2,3, ... --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
