Bug#593109: hw-detect: Register g_ether after loading it
Package: hw-detect
Severity: minor
Tags: patch
For some (well, probably only the Neo FreeRunner), g_ether is automatically
loaded by the installer, but it isn't loaded by the installed system.
This patch registers g_ether, so that we can ssh to the device after
installation.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.35-rc3+ (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From c04f45ee97dff8e82031e262180057d49e112f91 Mon Sep 17 00:00:00 2001
From: Thibaut Girka <thib@sitedethib.com>
Date: Sun, 15 Aug 2010 13:31:13 +0200
Subject: [PATCH 2/9] hw-detect: register module g_ether after loading it
---
packages/hw-detect/hw-detect.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/packages/hw-detect/hw-detect.sh b/packages/hw-detect/hw-detect.sh
index 32483c9..3fedfe4 100755
--- a/packages/hw-detect/hw-detect.sh
+++ b/packages/hw-detect/hw-detect.sh
@@ -216,6 +216,7 @@ if [ -d /sys/bus/platform/devices/s3c2440-usbgadget -o \
log "Detected S3C2410/S3C2440 SoC, loading g_ether"
load_module g_ether
+ register-module g_ether
fi
# If using real hotplug, re-run the rc scripts to pick up new modules.
--
1.7.1
Reply to: