D-Link DIR-615 rev E1-E4 USB port mod

Part 1: Software

  1. Download svn source code
  2. Edit file target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-600-a1.c (currently there are no 615e profile)
    • Add line #include "dev-usb.h" after line #include "dev-leds-gpio.h"
    • Add line ar71xx_add_device_usb(); after line ar71xx_add_device_eth(1);
  3. Run 'make menuconfig' and select platform/profile (atheros ar71xx/Dir-600-a1) and other options (usb-core,
    usb-storage, ohci, block-extroot, etc - all what you want)
  4. Compile image and flash it to router.

Part 2: Hardware

  1. Solder usb socket (use usb extender cable if you can't find vertical socket) D-Link DIR-615E USB MOD part2

  2. Solder usb power. DIR-615e use 5V power source so you can solder a inductance or even 000-resistor at L1 (Check input voltage first!).
  3. Solder two usb data line resitors (r4/r5 - 22 Ohms).
  4. Solder pull-down resistors (r2/r3). Use small 0805 smd 15k resistors (marked as '153').
    D-Link DIR-615E USB MOD part1

  5. Now check pcb… Twice! Power router on…….
    Wait until device boot, connect flashdrive and issue a dmesg command.
    D-Link DIR-615E USB MOD part3

    If you did all well you'll get something like this:
    SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ar71xx-ohci ar71xx-ohci: Atheros AR71xx built-in OHCI controller ar71xx-ohci ar71xx-ohci: new USB bus registered, assigned bus number 1 ar71xx-ohci ar71xx-ohci: irq 3, io mem 0x1b000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver… usbcore: registered new interface driver usb-storage usb 1-1: new full speed USB device using ar71xx-ohci and address 2 usb 1-1: configuration #1 chosen from 1 choice scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2 usb-storage: device scan complete sd 0:0:0:0: [sda] 3987456 512-byte logical blocks: (2.04 GB/1.90 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] Attached SCSI removable disk mini_fo: using base directory: / mini_fo: using storage directory: /overlay eth0: link down eth0: link up (1000Mbps/Full duplex) …

Back to top

toh/d-link/dir-615/ex-usb.txt · Last modified: 2011/03/13 12:18 by andvalb