Wifi cannot work on Android layer with i.MX6 SABRE-SD board kernel 3.0.35 kitkat4.4.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wifi cannot work on Android layer with i.MX6 SABRE-SD board kernel 3.0.35 kitkat4.4.2

Wifi cannot work on Android layer with i.MX6 SABRE-SD board kernel 3.0.35 kitkat4.4.2

For detailed view, please check out the attached file.

Tags (2)
Attachments
Comments

Hi All,

I am also facing the same problem, Please help me to get out of this problem.

Platform : IMX6SL

Bluedroid on Android kitkat 4.4.3.

  Can you please help me I am struck at this point not able to move forward.

D/BluetoothAdapterState( 704): CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false

E/BluetoothAdapterState( 704): Error enabling Bluetooth

D/BluetoothAdapterProperties( 704): Setting state to 10

I/BluetoothAdapterState( 704): Bluetooth adapter state changed: 11-> 10

D/BluetoothAdapterService( 704): Broadcasting updateAdapterState() to 1 receivers.

Hi all,

  I am glad to inform you that the above issue which I have posted earlier got resolved, but I have another 2 issues one while data transfer, the other while enabling via GUI.

   1) After enabling bluetooth, while transferring file from third party mobile to IMX_6SL board, file is getting transferred(TX), but vice versa (RX) is not happening, it is giving the error message :

   File not Received

   File : sample.jpg

   Reason : Storage issue

  2) And presently I am inserting my driver via GUI, I am getting an error message while enabling bluetooth via GUI   ie Operation not permitted while loading .ko (driver)Please suggest me what to do?? whether I need to install my driver at boot by adding in init.rc?? if I do it always on boot bt will be in ON State only??  OR Do i need to build my driver along with android source code???

Please suggest me how to proceed further???

Thanks and Regards,

Mutyala Rao.

Hi all,

   I am able to resolve the above two issues like this.

1. Installed the apk.file using ADB (Android Debugger) by following this link:

     https://androidonlinux.wordpress.com/2013/05/12/setting-up-adb-on-linux/

2. I have inserted the modules on boot. by placing the path of the modules in init.freescale.rc located in the path myandroid/out/target/product/evk_6sl/root/

Hi Mutyalarao,

I am facing the same issue with you. Could you tell me how did you solve this issue when turn on wifi?

Very appreciate.

root@sabresd_6dq:/ # D/WifiService( 2727): setWifiEnabled: true pid=3073, uid=1000

W/WifiHW  ( 2727):

W/WifiHW  ( 2727): ---------------SN=--------->>>>>>>wifi_load

_driver

E/WifiHW  ( 2727): +++++type=1400 audit(86590.640:5): avc:  denied  { module_request } for  pid=2681 comm="netd" kmod="netdev-wlan0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system

+ wifi_load_driver

type=1400 audit(86590.660:6): avc:  denied  { sys_module } for  pid=2681 comm="netd" capability=16  scontext=u:r:netd:s0 tcontext=u:r:netd:s0 tclass=capability

type=1400 audit(86590.680:7): avc:  denied  { module_request } for  pid=2681 comm="netd" kmod="netdev-wlan0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system

type=1400 audit(86590.700:8): avc:  denied  { sys_module } for  pid=2681 comm="netd" capability=16  scontext=u:r:netd:s0 tcontext=u:r:netd:s0 tclass=capability

type=1400 audit(86590.710:9): avc:  denied  { module_request } for  pid=2681 comm="netd" kmod="netdev-wlan0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system

type=1400 audit(86590.720:10): avc:  denied  { sys_module } for  pid=2681 comm="netd" capability=16  scontext=u:r:netd:s0 tcontext=u:r:netd:s0 tclass=capability

type=1400 audit(86590.740:11): avc:  denied  { module_request } for  pid=2681 comm="netd" kmod="netdev-wlan0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system

type=1400 audit(86590.760:12): avc:  denied  { sys_module } for  pid=2681 comm="netd" capability=16  scontext=u:r:netd:s0 tcontext=u:r:netd:s0 tclass=capability

type=1400 audit(86590.780:13): avc:  denied  { module_request } for  pid=2681 comm="netd" kmod="netdev-wlan0" scontext=u:r:netd:s0 tcontext=u:r:kernel:s0 tclass=system

Thanks,

Wayne

%3CLINGO-SUB%20id%3D%22lingo-sub-1100314%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWifi%20cannot%20work%20on%20Android%20layer%20with%20i.MX6%20SABRE-SD%20board%20kernel%203.0.35%20kitkat4.4.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100314%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFor%20detailed%20view%2C%20please%20check%20out%20the%20attached%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Wifi%20cannot%20work%20on%20Android%20layer%20with%20i.MX6%20SABRE-SD%20board%20kernel%203.0.35%20kitkat4.4.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100318%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Mutyalarao%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20am%20facing%20the%20same%20issue%20with%20you.%20Could%20you%20tell%20me%20how%20did%20you%20solve%20this%20issue%20when%20turn%20on%20wifi%3F%3C%2FP%3E%3CP%3EVery%20appreciate.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Eroot%40sabresd_6dq%3A%2F%20%3CSPAN%20style%3D%22font-weight%3A%20bold%3B%20font-style%3A%20inherit%3B%20font-family%3A%20inherit%3B%22%3E%23%3CSPAN%20style%3D%22font-weight%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-family%3A%20inherit%3B%20color%3A%20%233334ca%3B%22%3E%20D%2FWifiService(%202727)%3A%20setWifiEnabled%3A%20true%20pid%3D3073%2C%20uid%3D1000%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3EW%2FWifiHW%26nbsp%3B%20(%202727)%3A%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3EW%2FWifiHW%26nbsp%3B%20(%202727)%3A%20---------------SN%3D---------%26gt%3B%26gt%3B%26gt%3B%26gt%3B%26gt%3B%26gt%3B%3CSPAN%20style%3D%22font-weight%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-family%3A%20inherit%3B%20color%3A%20%233334ca%3B%22%3E%26gt%3B%3CSPAN%20style%3D%22font-weight%3A%20bold%3B%20font-style%3A%20inherit%3B%20font-family%3A%20inherit%3B%22%3Ewifi_load%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3E_driver%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3EE%2FWifiHW%26nbsp%3B%20(%202727)%3A%20%2B%2B%2B%2B%2Btype%3D1400%20audit(86590.640%3A5)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20module_request%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20kmod%3D%22netdev-wlan0%22%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Akernel%3As0%20tclass%3Dsystem%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3E%2B%20wifi_load_driver%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.660%3A6)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20sys_module%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20capability%3D16%26nbsp%3B%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Anetd%3As0%20tclass%3Dcapability%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.680%3A7)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20module_request%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20kmod%3D%22netdev-wlan0%22%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Akernel%3As0%20tclass%3Dsystem%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.700%3A8)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20sys_module%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20capability%3D16%26nbsp%3B%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Anetd%3As0%20tclass%3Dcapability%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.710%3A9)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20module_request%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20kmod%3D%22netdev-wlan0%22%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Akernel%3As0%20tclass%3Dsystem%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.720%3A10)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20sys_module%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20capability%3D16%26nbsp%3B%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Anetd%3As0%20tclass%3Dcapability%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.740%3A11)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20module_request%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20kmod%3D%22netdev-wlan0%22%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Akernel%3As0%20tclass%3Dsystem%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.760%3A12)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20sys_module%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20capability%3D16%26nbsp%3B%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Anetd%3As0%20tclass%3Dcapability%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3Etype%3D1400%20audit(86590.780%3A13)%3A%20avc%3A%26nbsp%3B%20denied%26nbsp%3B%20%7B%20module_request%20%7D%20for%26nbsp%3B%20pid%3D2681%20comm%3D%22netd%22%20kmod%3D%22netdev-wlan0%22%20scontext%3Du%3Ar%3Anetd%3As0%20tcontext%3Du%3Ar%3Akernel%3As0%20tclass%3Dsystem%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3EThanks%2C%3C%2FP%3E%3CP%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%2351626f%3B%22%3EWayne%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100317%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Wifi%20cannot%20work%20on%20Android%20layer%20with%20i.MX6%20SABRE-SD%20board%20kernel%203.0.35%20kitkat4.4.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100317%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20I%20am%20able%20to%20resolve%20the%20above%20two%20issues%20like%20this.%3C%2FP%3E%3CP%3E1.%20Installed%20the%20apk.file%20using%20ADB%20(Android%20Debugger)%20by%20following%20this%20link%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22https%3A%2F%2Fandroidonlinux.wordpress.com%2F2013%2F05%2F12%2Fsetting-up-adb-on-linux%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fandroidonlinux.wordpress.com%2F2013%2F05%2F12%2Fsetting-up-adb-on-linux%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E2.%20I%20have%20inserted%20the%20modules%20on%20boot.%20by%20placing%20the%20path%20of%20the%20modules%20in%20init.freescale.rc%20located%20in%20the%20path%20myandroid%2Fout%2Ftarget%2Fproduct%2Fevk_6sl%2Froot%2F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100316%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Wifi%20cannot%20work%20on%20Android%20layer%20with%20i.MX6%20SABRE-SD%20board%20kernel%203.0.35%20kitkat4.4.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100316%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20I%20am%20glad%20to%20inform%20you%20that%20the%20above%20issue%20which%20I%20have%20posted%20earlier%20got%20resolved%2C%20but%20I%20have%20another%202%20issues%20one%20while%20data%20transfer%2C%20the%20other%20while%20enabling%20via%20GUI.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%201)%20After%20enabling%20bluetooth%2C%20while%20transferring%20file%20from%20third%20party%20mobile%20to%20IMX_6SL%20board%2C%20file%20is%20getting%20transferred(TX)%2C%20but%20vice%20versa%20(RX)%20is%20not%20happening%2C%20it%20is%20giving%20the%20error%20message%20%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%20File%20not%20Received%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%20File%20%3A%20sample.jpg%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%20Reason%20%3A%20Storage%20issue%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%202)%20And%20presently%20I%20am%20inserting%20my%20driver%20via%20GUI%2C%20I%20am%20getting%20an%20error%20message%20while%20enabling%20bluetooth%20via%20GUI%26nbsp%3B%26nbsp%3B%20ie%20%3CSTRONG%3EOperation%20not%20permitted%20%3C%2FSTRONG%3Ewhile%20loading%20%3CSTRONG%3E.ko%20(driver)%3C%2FSTRONG%3EPlease%20suggest%20me%20what%20to%20do%3F%3F%20whether%20I%20need%20to%20install%20my%20driver%20at%20boot%20by%20adding%20in%20init.rc%3F%3F%20if%20I%20do%20it%20always%20on%20boot%20bt%20will%20be%20in%20%3CSTRONG%3EON%3C%2FSTRONG%3E%20State%20only%3F%3F%26nbsp%3B%20OR%20Do%20i%20need%20to%20build%20my%20driver%20along%20with%20android%20source%20code%3F%3F%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EPlease%20suggest%20me%20how%20to%20proceed%20further%3F%3F%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%20and%20Regards%2C%3C%2FP%3E%3CP%3EMutyala%20Rao.%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Wifi%20cannot%20work%20on%20Android%20layer%20with%20i.MX6%20SABRE-SD%20board%20kernel%203.0.35%20kitkat4.4.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100315%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20am%20also%20facing%20the%20same%20problem%2C%20Please%20help%20me%20to%20get%20out%20of%20this%20problem.%3C%2FP%3E%3CP%3EPlatform%20%3A%20IMX6SL%3C%2FP%3E%3CP%3EBluedroid%20on%20Android%20kitkat%204.4.3.%3C%2FP%3E%3CP%3E%26nbsp%3B%20Can%20you%20please%20help%20me%20I%20am%20struck%20at%20this%20point%20not%20able%20to%20move%20forward.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ED%2FBluetoothAdapterState(%20704)%3A%20CURRENT_STATE%3DPENDING%2C%20MESSAGE%20%3D%20ENABLE_TIMEOUT%2C%20isTurningOn%3Dtrue%2C%20isTurningOff%3Dfalse%3C%2FP%3E%3CP%3EE%2FBluetoothAdapterState(%20704)%3A%20Error%20enabling%20Bluetooth%3C%2FP%3E%3CP%3ED%2FBluetoothAdapterProperties(%20704)%3A%20Setting%20state%20to%2010%3C%2FP%3E%3CP%3EI%2FBluetoothAdapterState(%20704)%3A%20Bluetooth%20adapter%20state%20changed%3A%2011-%26gt%3B%2010%3C%2FP%3E%3CP%3ED%2FBluetoothAdapterService(%20704)%3A%20Broadcasting%20updateAdapterState()%20to%201%20receivers.%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-04-2015 07:28 AM
Updated by: