Hello,
I am trying to get the 1 host/1 gadget working on PSP version 13patch2 on 2.0 silicon for DM8168. I have gone through and enable OTG support, set the software directions for each port (USB 0 for device, USB 1 for gadget), selected the integra controller, enabled USB gadgets and added the file backed storage gadget. When i instert the module i get
root@dm816x-evm:~# modprobe g_file_storage file=blah
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /home/root/blah
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
so it looks operational, but when i plug it into my computer, it does not recognize any usb devices have been plugged in. Additionally the host port is not outputting power so it's not working either.
attached is my menuconfig setup:
--- USB support │ │ │ │ <*> Support for Host-side USB │ │ │ │ [ ] USB verbose debug messages │ │ │ │ [*] USB announce new devices │ │ │ │ *** Miscellaneous USB options *** │ │ │ │ [*] USB device filesystem (DEPRECATED) │ │ │ │ [*] USB device class-devices (DEPRECATED) │ │ │ │ [ ] Dynamic USB minor allocation │ │ │ │ [*] USB runtime power management (autosuspend) and wakeup │ │ │ │ -*- OTG support │ │ │ │ [ ] Rely on OTG Targeted Peripherals List │ │ │ │ [ ] Disable external hubs │ │ │ │ < > USB Monitor │ │ │ │ < > Enable Wireless USB extensions (EXPERIMENTAL) │ │ │ │ < > Support WUSB Cable Based Association (CBA) │ │ │ │ *** USB Host Controller Drivers *** │ │ │ │ < > Cypress C67x00 HCD support │ │ │ │ < > xHCI HCD (USB 3.0) support (EXPERIMENTAL) │ │ │ │ < > EHCI HCD (USB 2.0) support │ │ │ │ < > OXU210HP HCD support │ │ │ │ < > ISP116X HCD support │ │ │ │ < > ISP 1760 HCD support │ │ │ │ < > ISP1362 HCD support │ │ │ │ < > OHCI HCD support │ │ │ │ < > UHCI HCD (most Intel and VIA) support │ │ │ │ < > SL811HS HCD support │ │ │ │ < > R8A66597 HCD support │ │ │ │ < > Wireless USB Host Controller Interface (WHCI) driver (EXPERIMENTAL) │ │ │ │ < > Host Wire Adapter (HWA) driver (EXPERIMENTAL) │ │ │ │ <*> Inventra Highspeed Dual Role Controller (TI, ADI, ...) │ │ │ │ *** Platform Glue Layer *** │ │ │ │ < > TUSB6010 │ │ │ │ < > OMAP2430 and onwards │ │ │ │ < > AM35x │ │ │ │ <*> TI81XX │ │ │ │ TI816X usb connector's ID pin control (from software setting) ---> │ │ │ │ Force TI816X USB0 to (Device mode) ---> │ │ │ │ Force TI816X USB1 to (Host mode) ---> Driver Mode (Both host and peripheral: USB OTG (On The Go) Device) ---> │ │ │ │ [ ] Disable DMA (always use PIO) │ │ │ │ [*] Enable debugging messages │ │ │ │ *** USB Device Class drivers *** │ │ │ │ < > USB Modem (CDC ACM) support │ │ │ │ < > USB Printer support │ │ │ │ < > USB Wireless Device Management support │ │ │ │ < > USB Test and Measurement Class support │ │ │ │ *** NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may *** │ │ │ │ *** also be needed; see USB_STORAGE Help for more info *** │ │ │ │ <*> USB Mass Storage support │ │ │ │ [ ] USB Mass Storage verbose debug │ │ │ │ < > Datafab Compact Flash Reader support │ │ │ │ < > Freecom USB/ATAPI Bridge support │ │ │ │ < > ISD-200 USB/ATA Bridge support │ │ │ │ < > USBAT/USBAT02-based storage support │ │ │ │ < > SanDisk SDDR-09 (and other SmartMedia, including DPCM) support │ │ │ │ < > SanDisk SDDR-55 SmartMedia support │ │ │ │ < > Lexar Jumpshot Compact Flash Reader │ │ │ │ < > Olympus MAUSB-10/Fuji DPC-R1 support │ │ │ │ < > Support OneTouch Button on Maxtor Hard Drives │ │ │ │ < > Support for Rio Karma music player │ │ │ │ < > SAT emulation on Cypress USB/ATA Bridge with ATACB │ │ │ │ < > USB Attached SCSI │ │ │ │ [ ] The shared table of common (or usual) storage devices │ │ │ │ *** USB Imaging devices *** │ │ │ │ < > USB Mustek MDC800 Digital Camera support │ │ │ │ < > Microtek X6USB scanner support │ │ │ │ *** USB port drivers *** │ │ │ │ < > USB Serial Converter support ---> │ │ │ │ *** USB Miscellaneous drivers *** │ │ │ │ < > EMI 6|2m USB Audio interface support │ │ │ │ < > EMI 2|6 USB Audio interface support │ │ < > ADU devices from Ontrak Control Systems │ │ │ │ < > USB 7-Segment LED Display │ │ │ │ < > USB Diamond Rio500 support │ │ │ │ < > USB Lego Infrared Tower support │ │ │ │ < > USB LCD driver support │ │ │ │ < > USB LED driver support │ │ │ │ < > Cypress CY7C63xxx USB driver support │ │ │ │ < > Cypress USB thermometer driver support │ │ │ │ < > Siemens ID USB Mouse Fingerprint sensor support │ │ │ │ < > Elan PCMCIA CardBus Adapter USB Client │ │ │ │ < > Apple Cinema Display support │ │ │ │ < > USB 2.0 SVGA dongle support (Net2280/SiS315) │ │ │ │ < > USB LD driver │ │ │ │ < > PlayStation 2 Trance Vibrator driver support │ │ │ │ < > IO Warrior driver support │ │ │ │ < > USB testing driver │ │ │ │ < > iSight firmware loading support │ │ │ │ < > USB YUREX driver support │ │ │ │ <*> USB Gadget Support ---> │ │ │ │ *** OTG and related infrastructure *** │ │ │ │ < > GPIO based peripheral-only VBUS sensing 'transceiver' │ │ │ │ [ ] Generic ULPI Transceiver Driver │ │ │ │ -*- NOP USB Transceiver Driver BELOW IS THE USB GADGET SUPPORT MENU ================================================================================================================= --- USB Gadget Support │ │ │ │ [ ] Debugging messages (DEVELOPMENT) │ │ │ │ [ ] Debugging information files (DEVELOPMENT) │ │ │ │ [ ] Debugging information files in debugfs (DEVELOPMENT) │ │ │ │ (2) Maximum VBUS Power usage (2-500 mA) │ │ │ │ USB Peripheral Controller (Inventra HDRC USB Peripheral (TI, ADI, ...)) ---> │ │ │ │ <M> USB Gadget Drivers │ │ │ │ < > Gadget Zero (DEVELOPMENT) │ │ │ │ < > Audio Gadget (EXPERIMENTAL) │ │ │ │ < > Ethernet Gadget (with CDC Ethernet support) │ │ │ │ < > Gadget Filesystem (EXPERIMENTAL) │ │ │ │ < > Function Filesystem (EXPERIMENTAL) │ │ │ │ <M> File-backed Storage Gadget │ │ │ │ [*] File-backed Storage Gadget testing version │ │ │ │ <M> Mass Storage Gadget │ │ │ │ < > Serial Gadget (with CDC ACM and CDC OBEX support) │ │ │ │ < > MIDI Gadget (EXPERIMENTAL) │ │ │ │ < > Printer Gadget │ │ │ │ < > CDC Composite Device (Ethernet and ACM) │ │ │ │ < > Multifunction Composite Gadget (EXPERIMENTAL) │ │ │ │ < > HID Gadget │ │ │ │ < > EHCI Debug Device Gadget │ │ │ │ < > USB Webcam Gadget
Cheers,
Ben