D-Link DIR-615 rev E1-E4 USB port mod
Part 1: Software
- Download svn source code
- 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);
- For Barrier Breaker 14.07
- Add line #include “dev-usb.h” after line #include “dev-leds-gpio.h”
- Add line ath79_register_usb(); after line ath79_register_eth(1);
- 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) - Compile image and flash it to router.
Part 2: Hardware
- 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!).
- Solder two usb data line resitors (r4/r5 - 22 Ohms).
...
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)
...