Hello, Everybody!
I provide the solution for how to make an a USB host on 7.2 hardware.
Short description:
1. materials and tools:
1.1 USB type A connector. I use USB connector from PS2<->USB (from old mouse) adapter;
1.2 about 120mm of copper wire with teflon insulation and 250mm of 0.35mm2 copper wire with PVC insulation;
1.3 +5V power supply. I use MC33063 based step-down converter from old scanner;
1.4 soldering iron, flux and solder wire;
1.5 wire cutter;
1.6 knife with sharp blade.
2. stages:
2.1 cut 2 wire about 60mm length each;
2.2 strip the insulation and tin the ends;
2.3 twist the wire;
2.4 glue a small piece of insulator on top of SW1 (reset) button;
2.5 solder the USB connector on top of buttons bracket:
2.6 solder the twisted wire from PCB:
to USB connector:
Pull down 15K resistors already provided (R601, R602);
2.7 connect GND pin of USB connector to buttons bracket and make solder bridge on bottom side of PCB:
This is not optimal in terms of EMI but it works!
2.8 connect +5V pin of USB connector to the +5V power supply. Connect input of +5V converter to the FB1 near main power switch (SW7) and to GND pad of D5 (in my router D5 is not populated);
2.9 make a hole for USB connector on a rear side of housing;
2.10 enable EHCI in kernel configuration and make changes in source code as described on wiki page (http://wiki.openwrt.org/toh/tp-link/tl- … b.1.1.port).
2.11 rebuild OpenWrt and enjoy!
kernel log from my router:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
...
usb 1-1: new high speed USB device number 2 using ar71xx-ehci
usb 1-1: New USB device found, idVendor=0bda, idProduct=8187
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: RTL8187_Wireless
usb 1-1: Manufacturer: Manufacturer_Realtek_RTL8187_
...
rtl8187: Customer ID is 0x00
rtl8187: wireless switch is on
usbcore: registered new interface driver rtl8187
I need an a USB host on router for secondary radio (RTL8187). I use secondary radio in client mode on WAN interface for connect to the my ISP.
I'm sorry for my English
Best regards, Andrew Kornev
P.S. Whatever you do you do at your own risk. I'm not any responsibility including for damage of equipment.
P.P.S. If you want to have worked WiFi LED in HW v7.2 make the following changes in mach-tl-wr741nd.c:
- ap91_pci_setup_wmac_led_pin(1);
+ ap91_pci_setup_wmac_led_pin(0);
(Last edited by AndrewKo on 11 Jul 2011, 23:26)