<wiping egg off face> Okay, it had nothing to do with the gadget serial configuration. Turns out there is an option for configuring the BusyBox insmod that is (apparently) required:
insmod: 2.6 and above kernel modules Selecting that makes it work! For other rookies, I discovered this when I made two observations: 1. lsmod showed no modules loaded, even after insmod 2. Another loadable kernel module driver also would not work, though it had been before. I didn't believe lsmod because insmod seemed to work fine - no errors reported. Plus, I had never used lsmod, so I wasn't sure what to expect. When the other module also showed up lame, I tried compiling it into the kernel, and it worked fine. So while taking notes, it occurred to me that, maybe the problem wasn't gadget serial at all, and it was insmod. Going back over my configuration, I noticed the aforementioned setting, and bingo! Moral of the story? Trust your tools, even when they are silent? Or just watch your assumptions? -Bob On 8/20/07, Bob Grimes <[EMAIL PROTECTED]> wrote: > Hi, > > I had it working back in February, but now I can't get back there. I > lost my .config file (beginner's stupidity) a while ago, and I can't > remember exactly what I had done before. I do remember I started > trying to build the driver into the kernel, but with help from Andrey, > I got it working by loading it as a module, as described in > Documentation/usb/gadget_serial.txt, using this command: > > insmod g_serial.ko use_acm=1 > > and installing the Windoze driver as instructed, but I get absolutely > no indication of the Windoze machine even seeing the Linux device. > Sometimes, less often, it complains that the device is unknown, but > most of the time Windoze doesn't seem realize anything is there at > all. > > I'm guessing it has to do with a bad kernel configuration. Here is > where I'm at - anything obviously wrong here? > > # > # USB support > # > CONFIG_USB_ARCH_HAS_HCD=y > # CONFIG_USB_ARCH_HAS_OHCI is not set > CONFIG_USB_ARCH_HAS_EHCI=y > CONFIG_USB=y > CONFIG_USB_DEBUG=y > > # > # Miscellaneous USB options > # > # CONFIG_USB_DEVICEFS is not set > # CONFIG_USB_BANDWIDTH is not set > # CONFIG_USB_DYNAMIC_MINORS is not set > # CONFIG_USB_OTG is not set > > # > # USB Host Controller Drivers > # > CONFIG_USB_EHCI_HCD=y > # CONFIG_USB_EHCI_SPLIT_ISO is not set > CONFIG_USB_EHCI_ROOT_HUB_TT=y > CONFIG_USB_EHCI_BIG_ENDIAN=y > # CONFIG_USB_ISP116X_HCD is not set > # CONFIG_USB_SL811_HCD is not set > > # > # USB Device Class drivers > # > # CONFIG_USB_ACM is not set > # CONFIG_USB_PRINTER is not set > > # > # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' > # > > # > # may also be needed; see USB_STORAGE Help for more information > # > CONFIG_USB_STORAGE=m > # CONFIG_USB_STORAGE_DEBUG is not set > # CONFIG_USB_STORAGE_DATAFAB is not set > # CONFIG_USB_STORAGE_FREECOM is not set > # CONFIG_USB_STORAGE_DPCM is not set > # CONFIG_USB_STORAGE_USBAT is not set > # CONFIG_USB_STORAGE_SDDR09 is not set > # CONFIG_USB_STORAGE_SDDR55 is not set > # CONFIG_USB_STORAGE_JUMPSHOT is not set > # CONFIG_USB_STORAGE_ALAUDA is not set > # CONFIG_USB_STORAGE_ONETOUCH is not set > # CONFIG_USB_LIBUSUAL is not set > > # > # USB Input Devices > # > # CONFIG_USB_HID is not set > > # > # USB HID Boot Protocol drivers > # > # CONFIG_USB_KBD is not set > # CONFIG_USB_MOUSE is not set > # CONFIG_USB_AIPTEK is not set > # CONFIG_USB_WACOM is not set > # CONFIG_USB_ACECAD is not set > # CONFIG_USB_KBTAB is not set > # CONFIG_USB_POWERMATE is not set > # CONFIG_USB_TOUCHSCREEN is not set > # CONFIG_USB_YEALINK is not set > # CONFIG_USB_XPAD is not set > # CONFIG_USB_ATI_REMOTE is not set > # CONFIG_USB_ATI_REMOTE2 is not set > # CONFIG_USB_KEYSPAN_REMOTE is not set > # CONFIG_USB_APPLETOUCH is not set > > # > # USB Imaging devices > # > # CONFIG_USB_MDC800 is not set > # CONFIG_USB_MICROTEK is not set > > # > # USB Network Adapters > # > # CONFIG_USB_CATC is not set > # CONFIG_USB_KAWETH is not set > # CONFIG_USB_PEGASUS is not set > # CONFIG_USB_RTL8150 is not set > # CONFIG_USB_USBNET is not set > CONFIG_USB_MON=y > > # > # USB port drivers > # > > # > # USB Serial Converter support > # > # CONFIG_USB_SERIAL is not set > > # > # USB Miscellaneous drivers > # > # CONFIG_USB_EMI62 is not set > # CONFIG_USB_EMI26 is not set > # CONFIG_USB_AUERSWALD is not set > # CONFIG_USB_RIO500 is not set > # CONFIG_USB_LEGOTOWER is not set > # CONFIG_USB_LCD is not set > # CONFIG_USB_LED is not set > # CONFIG_USB_CYTHERM is not set > # CONFIG_USB_PHIDGETKIT is not set > # CONFIG_USB_PHIDGETSERVO is not set > # CONFIG_USB_IDMOUSE is not set > # CONFIG_USB_SISUSBVGA is not set > # CONFIG_USB_LD is not set > > # > # USB DSL modem support > # > > # > # USB Gadget Support > # > CONFIG_USB_GADGET=y > CONFIG_USB_GADGET_DEBUG_FILES=y > CONFIG_USB_GADGET_SELECTED=y > # CONFIG_USB_GADGET_NET2280 is not set > # CONFIG_USB_GADGET_PXA2XX is not set > # CONFIG_USB_GADGET_GOKU is not set > # CONFIG_USB_GADGET_LH7A40X is not set > CONFIG_USB_GADGET_MCF532x=y > CONFIG_USB_MCF532x=y > # CONFIG_USB_GADGET_OMAP is not set > # CONFIG_USB_GADGET_AT91 is not set > # CONFIG_USB_GADGET_DUMMY_HCD is not set > # CONFIG_USB_GADGET_DUALSPEED is not set > # CONFIG_USB_ZERO is not set > # CONFIG_USB_ETH is not set > # CONFIG_USB_GADGETFS is not set > # CONFIG_USB_FILE_STORAGE is not set > CONFIG_USB_G_SERIAL=m > > Thanks, > -Bob > _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
