On Tue, May 31, 2011 at 8:48 PM, Cyberworm <[email protected]> wrote: > Using a modified su program I finally got root access. Wifi still > isn't working. Is there no one who can help me?
Difficult to help unless you post relevant logcat output here. Anyways few pointers to get you started: 1. wpa_supplicant relies heavly on private ioctls specially for scanning and other purposes. Make sure either your wifi driver is supporting those ioctl or use this workaround from http://blog.linuxconsulting.ro/ https://gitorious.org/picopc-android-gingerbread/external-wpa_supplicant_6/commit/5f5c50d722eedaedd75c1698b79f464310ce6478?format=patch 2. By default Android also requires you to build your wifi driver as a module which can be inserted/removed at the time you enable/disable wifi from UI. Do that or use this workaround (same source) if driver is built into the kernel itself https://gitorious.org/picopc-android-gingerbread/hardware-libhardware_legacy/commit/6bc330e05f5f69e9352e52451f93ca69cfa44d48?format=patch 3. Set the correct wifi options and paths for driver & firmware in Boardconfig.mk e.g. BOARD_WPA_SUPPLICANT_DRIVER := {CUSTOM or WEXT etc} WPA_SUPPLICANT_VERSION := VER_0_6_X WIFI_DRIVER_MODULE_PATH := "path_to_wifi_driver.ko if built as a module" WIFI_DRIVER_MODULE_NAME := "" WIFI_FIRMWARE_LOADER := "firmware_loader_if_you_need_any" WIFI_DRIVER_MODULE_ARG := "" WIFI_DRIVER_FW_STA_PATH := "path_to_firmware_location" 4. Correct permissions are applied to corresponding files in init.rc Regards, Amit Pundir > > On 17 Mai, 20:10, Cyberworm <[email protected]> wrote: >> Hi all, >> >> I'm trying to portGingerbreadto my OpenPandora device >> (seehttp://www.openpandora.orgfor details). Keyboard and Touchscreen work >> fine and now I'm working onWifi. I basically followed this >> guide:http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-androi... >> but I guess it's kinda outdated. I also modifiedwifi.c as panic >> suggested in the most recent comment (March 22, 2011). >> >> It just doesn't work. When trying to activate it I only get "Error". I >> tried starting it manually but that doesn't work either. >> >> I can't even use logcat or netcfg because these program complain that >> they don't have permission to open files. >> >> So, could someone help me out please? >> >> Thanks, >> cyberworm > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
