2011-11-04 46 views
0

我試圖使用命令行連接到ad-hoc網絡,但沒有 設置中的Wifi激活。當用'insmod/system/modules/ bcm4329.ko'加載時,我的連接點S掛起。 'dmesg'顯示發現固件不是 ; fw_bcm4329.bin實際上/系統/供應商/固件/ fw_bcm4329.bin是:如何在Nexus S上手動加載Android薑餅中的wlan模塊

<4>[ 354.173186] DHD: dongle ram size is set to 294912(orig 294912) 
<4>[ 354.174251] _dhdsdio_download_firmware: dongle image file 
download failed 
<4>[ 354.174441] dhd_bus_start: dhdsdio_probe_download failed. 
firmware = /system/etc/firmware/fw_bcm4329.bin nvram = /proc/ 
calibration 
<4>[ 354.174600] dhdsdio_probe: failed 
<4>[ 365.941444] dhd_module_init: sdio_register_driver timeout 

鏈接固件到所需的位置並沒有幫助。 問題:誰能幫我理解Nexus S如何加載這個 模塊?

文件/hardware/libhardware_legacy/wifi/wifi.c有下面幾行:

static const char IFACE_DIR[]   = "/data/system/ 
wpa_supplicant"; 
static const char DRIVER_MODULE_NAME[] = WIFI_DRIVER_MODULE_NAME; 
static const char DRIVER_MODULE_TAG[] = WIFI_DRIVER_MODULE_NAME " "; 
static const char DRIVER_MODULE_PATH[] = WIFI_DRIVER_MODULE_PATH; 
static const char DRIVER_MODULE_ARG[] = WIFI_DRIVER_MODULE_ARG; 
static const char FIRMWARE_LOADER[]  = WIFI_FIRMWARE_LOADER; 
static const char DRIVER_PROP_NAME[] = "wlan.driver.status"; 

問題:是通向wifi模塊的地方重新定義?

謝謝

+0

我在android_platform組的幫助下找到了答案。這適用於nexus s上的CM7:'busybox insmod /system/modules/bcm4329.ko firmware_path =/system/vendor/ firmware/fw_bcm4329.bin nvram_path =/system/vendor/firmware/ nvram_net.txt' –

回答

1

我在android_platform組的幫助下找到了答案。這適用於nexus s上的CM7:

busybox insmod /system/modules/bcm4329.ko firmware_path=/system/vendor/ firmware/fw_bcm4329.bin nvram_path=/system/vendor/firmware/ nvram_net.txt