Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RK903 (BCM40183) wifi and bluetooth support #5

Open
tonikasch opened this issue Aug 26, 2013 · 21 comments
Open

RK903 (BCM40183) wifi and bluetooth support #5

tonikasch opened this issue Aug 26, 2013 · 21 comments

Comments

@tonikasch
Copy link

I would like to know if you have noticed this thread about a temporary patch to make this wifi chip work.

http://www.freaktab.com/showthread.php?6454-Temporary-RK903-Wifi-Patch-for-MK808B

@tonikasch
Copy link
Author

(MK808B)
GPIO dump just booted:

<4>[193145.968688] GPIO gpio0 160 (null)
<4>[193145.968731] GPIO gpio0 161 (null)
<4>[193145.968756] GPIO gpio0 162 (null)
<4>[193145.968781] GPIO gpio0 163 ?
<4>[193145.968807] GPIO gpio0 164 vibrator
<4>[193145.968833] GPIO gpio0 165 (null)
<4>[193145.968859] GPIO gpio0 166 (null)
<4>[193145.968885] GPIO gpio0 167 (null)
<4>[193145.968912] GPIO gpio0 168 (null)
<4>[193145.968937] GPIO gpio0 169 (null)
<4>[193145.968963] GPIO gpio0 170 (null)
<4>[193145.968989] GPIO gpio0 171 (null)
<4>[193145.969019] GPIO gpio0 172 (null)
<4>[193145.969045] GPIO gpio0 173 (null)
<4>[193145.969071] GPIO gpio0 174 (null)
<4>[193145.969096] GPIO gpio0 175 (null)
<4>[193145.969125] GPIO gpio0 176 (null)
<4>[193145.969150] GPIO gpio0 177 (null)
<4>[193145.969178] GPIO gpio0 178 (null)
<4>[193145.969204] GPIO gpio0 179 (null)
<4>[193145.969230] GPIO gpio0 180 (null)
<4>[193145.969255] GPIO gpio0 181 (null)
<4>[193145.969282] GPIO gpio0 182 (null)
<4>[193145.969308] GPIO gpio0 183 (null)
<4>[193145.969333] GPIO gpio0 184 (null)
<4>[193145.969361] GPIO gpio0 185 (null)
<4>[193145.969387] GPIO gpio0 186 (null)
<4>[193145.969416] GPIO gpio0 187 (null)
<4>[193145.969442] GPIO gpio0 188 (null)
<4>[193145.969467] GPIO gpio0 189 (null)
<4>[193145.969495] GPIO gpio0 190 (null)
<4>[193145.969522] GPIO gpio0 191 (null)
<4>[193145.969550] GPIO gpio1 192 (null)
<4>[193145.969575] GPIO gpio1 193 (null)
<4>[193145.969601] GPIO gpio1 194 (null)
<4>[193145.969627] GPIO gpio1 195 rk903_26M_rts
<4>[193145.969656] GPIO gpio1 196 (null)
<4>[193145.969683] GPIO gpio1 197 (null)
<4>[193145.969711] GPIO gpio1 198 (null)
<4>[193145.969737] GPIO gpio1 199 (null)
<4>[193145.969762] GPIO gpio1 200 (null)
<4>[193145.969788] GPIO gpio1 201 (null)
<4>[193145.969815] GPIO gpio1 202 (null)
<4>[193145.969840] GPIO gpio1 203 (null)
<4>[193145.969864] GPIO gpio1 204 (null)
<4>[193145.969891] GPIO gpio1 205 (null)
<4>[193145.969916] GPIO gpio1 206 (null)
<4>[193145.969943] GPIO gpio1 207 camera powerdown
<4>[193145.969972] GPIO gpio1 208 (null)
<4>[193145.969998] GPIO gpio1 209 (null)
<4>[193145.970024] GPIO gpio1 210 (null)
<4>[193145.970051] GPIO gpio1 211 (null)
<4>[193145.970078] GPIO gpio1 212 (null)
<4>[193145.970103] GPIO gpio1 213 (null)
<4>[193145.970130] GPIO gpio1 214 (null)
<4>[193145.970155] GPIO gpio1 215 (null)
<4>[193145.970181] GPIO gpio1 216 (null)
<4>[193145.970206] GPIO gpio1 217 (null)
<4>[193145.970232] GPIO gpio1 218 (null)
<4>[193145.970261] GPIO gpio1 219 (null)
<4>[193145.970286] GPIO gpio1 220 (null)
<4>[193145.970312] GPIO gpio1 221 (null)
<4>[193145.970338] GPIO gpio1 222 camera powerdown
<4>[193145.970370] GPIO gpio1 223 (null)
<4>[193145.970397] GPIO gpio2 224 (null)
<4>[193145.970424] GPIO gpio2 225 (null)
<4>[193145.970452] GPIO gpio2 226 (null)
<4>[193145.970477] GPIO gpio2 227 (null)
<4>[193145.970502] GPIO gpio2 228 (null)
<4>[193145.970528] GPIO gpio2 229 (null)
<4>[193145.970554] GPIO gpio2 230 (null)
<4>[193145.970579] GPIO gpio2 231 (null)
<4>[193145.970604] GPIO gpio2 232 (null)
<4>[193145.970632] GPIO gpio2 233 (null)
<4>[193145.970658] GPIO gpio2 234 (null)
<4>[193145.970682] GPIO gpio2 235 (null)
<4>[193145.970708] GPIO gpio2 236 (null)
<4>[193145.970734] GPIO gpio2 237 (null)
<4>[193145.970760] GPIO gpio2 238 (null)
<4>[193145.970784] GPIO gpio2 239 (null)
<4>[193145.970813] GPIO gpio2 240 (null)
<4>[193145.970838] GPIO gpio2 241 (null)
<4>[193145.970863] GPIO gpio2 242 (null)
<4>[193145.970890] GPIO gpio2 243 (null)
<4>[193145.970915] GPIO gpio2 244 (null)
<4>[193145.970942] GPIO gpio2 245 (null)
<4>[193145.970968] GPIO gpio2 246 (null)
<4>[193145.970993] GPIO gpio2 247 (null)
<4>[193145.971019] GPIO gpio2 248 (null)
<4>[193145.971045] GPIO gpio2 249 (null)
<4>[193145.971072] GPIO gpio2 250 (null)
<4>[193145.971097] GPIO gpio2 251 (null)
<4>[193145.971122] GPIO gpio2 252 (null)
<4>[193145.971149] GPIO gpio2 253 (null)
<4>[193145.971173] GPIO gpio2 254 (null)
<4>[193145.971199] GPIO gpio2 255 (null)
<4>[193145.971225] GPIO gpio3 256 (null)
<4>[193145.971251] GPIO gpio3 257 (null)
<4>[193145.971276] GPIO gpio3 258 (null)
<4>[193145.971301] GPIO gpio3 259 (null)
<4>[193145.971328] GPIO gpio3 260 (null)
<4>[193145.971353] GPIO gpio3 261 (null)
<4>[193145.971379] GPIO gpio3 262 (null)
<4>[193145.971404] GPIO gpio3 263 sdmmc-power
<4>[193145.971433] GPIO gpio3 264 (null)
<4>[193145.971460] GPIO gpio3 265 (null)
<4>[193145.971485] GPIO gpio3 266 (null)
<4>[193145.971511] GPIO gpio3 267 (null)
<4>[193145.971536] GPIO gpio3 268 (null)
<4>[193145.971562] GPIO gpio3 269 (null)
<4>[193145.971588] GPIO gpio3 270 (null)
<4>[193145.971613] GPIO gpio3 271 (null)
<4>[193145.971640] GPIO gpio3 272 mmc1-cmd
<4>[193145.971667] GPIO gpio3 273 mmc1-data0
<4>[193145.971695] GPIO gpio3 274 mmc1-data1
<4>[193145.971722] GPIO gpio3 275 mmc1-data2
<4>[193145.971749] GPIO gpio3 276 mmc1-data3
<4>[193145.971777] GPIO gpio3 277 mmc1-clk
<4>[193145.971804] GPIO gpio3 278 rk903_26M_wake
<4>[193145.971836] GPIO gpio3 279 rk903_26M_poweron
<4>[193145.971867] GPIO gpio3 280 wifi_power
<4>[193145.971895] GPIO gpio3 281 rk903_26M_reset
<4>[193145.971926] GPIO gpio3 282 (null)
<4>[193145.971951] GPIO gpio3 283 (null)
<4>[193145.971978] GPIO gpio3 284 (null)
<4>[193145.972004] GPIO gpio3 285 (null)
<4>[193145.972030] GPIO gpio3 286 (null)
<4>[193145.972055] GPIO gpio3 287 (null)
<4>[193145.972082] GPIO gpio4 288 (null)
<4>[193145.972108] GPIO gpio4 289 (null)
<4>[193145.972134] GPIO gpio4 290 (null)
<4>[193145.972160] GPIO gpio4 291 (null)
<4>[193145.972186] GPIO gpio4 292 (null)
<4>[193145.972213] GPIO gpio4 293 (null)
<4>[193145.972238] GPIO gpio4 294 (null)
<4>[193145.972263] GPIO gpio4 295 (null)
<4>[193145.972291] GPIO gpio4 296 (null)
<4>[193145.972317] GPIO gpio4 297 (null)
<4>[193145.972347] GPIO gpio4 298 (null)
<4>[193145.972379] GPIO gpio4 299 (null)
<4>[193145.972409] GPIO gpio4 300 (null)
<4>[193145.972440] GPIO gpio4 301 (null)
<4>[193145.972473] GPIO gpio4 302 (null)
<4>[193145.972504] GPIO gpio4 303 (null)
<4>[193145.972546] GPIO gpio4 304 (null)
<4>[193145.972597] GPIO gpio4 305 (null)
<4>[193145.972635] GPIO gpio4 306 (null)
<4>[193145.972673] GPIO gpio4 307 (null)
<4>[193145.972707] GPIO gpio4 308 (null)
<4>[193145.972745] GPIO gpio4 309 vol-
<4>[193145.972780] GPIO gpio4 310 (null)
<4>[193145.972816] GPIO gpio4 311 ?
<4>[193145.972849] GPIO gpio4 312 (null)
<4>[193145.972883] GPIO gpio4 313 (null)
<4>[193145.972920] GPIO gpio4 314 (null)
<4>[193145.972953] GPIO gpio4 315 (null)
<4>[193145.972989] GPIO gpio4 316 (null)
<4>[193145.973023] GPIO gpio4 317 (null)
<4>[193145.973059] GPIO gpio4 318 (null)
<4>[193145.973093] GPIO gpio4 319 (null)
<4>[193145.973132] GPIO gpio6 352 (null)
<4>[193145.973167] GPIO gpio6 353 remotectl
<4>[193145.973207] GPIO gpio6 354 play
<4>[193145.973241] GPIO gpio6 355 usb_detect
<4>[193145.973279] GPIO gpio6 356 wm831x
<4>[193145.973312] GPIO gpio6 357 (null)
<4>[193145.973346] GPIO gpio6 358 (null)
<4>[193145.973382] GPIO gpio6 359 rk903_26M_wake_host
<4>[193145.973427] GPIO gpio6 360 poweronpin
<4>[193145.973462] GPIO gpio6 361 (null)
<4>[193145.973500] GPIO gpio6 362 (null)
<4>[193145.973534] GPIO gpio6 363 ?
<4>[193145.973566] GPIO gpio6 364 ?
<4>[193145.973598] GPIO gpio6 365 (null)
<4>[193145.973634] GPIO gpio6 366 (null)
<4>[193145.973671] GPIO gpio6 367 (null)

GPIO dump wifi off:

<4>[240575.899953] GPIO gpio0 160 (null)
<4>[240575.899999] GPIO gpio0 161 (null)
<4>[240575.900045] GPIO gpio0 162 (null)
<4>[240575.900080] GPIO gpio0 163 ?
<4>[240575.900110] GPIO gpio0 164 vibrator
<4>[240575.900150] GPIO gpio0 165 (null)
<4>[240575.900183] GPIO gpio0 166 (null)
<4>[240575.900219] GPIO gpio0 167 (null)
<4>[240575.900251] GPIO gpio0 168 (null)
<4>[240575.900283] GPIO gpio0 169 (null)
<4>[240575.900317] GPIO gpio0 170 (null)
<4>[240575.900353] GPIO gpio0 171 (null)
<4>[240575.900388] GPIO gpio0 172 (null)
<4>[240575.900419] GPIO gpio0 173 (null)
<4>[240575.900455] GPIO gpio0 174 (null)
<4>[240575.900489] GPIO gpio0 175 (null)
<4>[240575.900524] GPIO gpio0 176 (null)
<4>[240575.900559] GPIO gpio0 177 (null)
<4>[240575.900594] GPIO gpio0 178 (null)
<4>[240575.900628] GPIO gpio0 179 (null)
<4>[240575.900662] GPIO gpio0 180 (null)
<4>[240575.900697] GPIO gpio0 181 (null)
<4>[240575.900729] GPIO gpio0 182 (null)
<4>[240575.900762] GPIO gpio0 183 (null)
<4>[240575.900798] GPIO gpio0 184 (null)
<4>[240575.900833] GPIO gpio0 185 (null)
<4>[240575.900866] GPIO gpio0 186 (null)
<4>[240575.900902] GPIO gpio0 187 (null)
<4>[240575.900934] GPIO gpio0 188 (null)
<4>[240575.900968] GPIO gpio0 189 (null)
<4>[240575.901001] GPIO gpio0 190 (null)
<4>[240575.901039] GPIO gpio0 191 (null)
<4>[240575.901072] GPIO gpio1 192 (null)
<4>[240575.901108] GPIO gpio1 193 (null)
<4>[240575.901146] GPIO gpio1 194 (null)
<4>[240575.901178] GPIO gpio1 195 rk903_26M_rts
<4>[240575.901219] GPIO gpio1 196 (null)
<4>[240575.901256] GPIO gpio1 197 (null)
<4>[240575.901290] GPIO gpio1 198 (null)
<4>[240575.901321] GPIO gpio1 199 (null)
<4>[240575.901355] GPIO gpio1 200 (null)
<4>[240575.901393] GPIO gpio1 201 (null)
<4>[240575.901426] GPIO gpio1 202 (null)
<4>[240575.901461] GPIO gpio1 203 (null)
<4>[240575.901496] GPIO gpio1 204 (null)
<4>[240575.901530] GPIO gpio1 205 (null)
<4>[240575.901563] GPIO gpio1 206 (null)
<4>[240575.901601] GPIO gpio1 207 camera powerdown
<4>[240575.901641] GPIO gpio1 208 (null)
<4>[240575.901678] GPIO gpio1 209 (null)
<4>[240575.901711] GPIO gpio1 210 (null)
<4>[240575.901748] GPIO gpio1 211 (null)
<4>[240575.901785] GPIO gpio1 212 (null)
<4>[240575.901819] GPIO gpio1 213 (null)
<4>[240575.901857] GPIO gpio1 214 (null)
<4>[240575.901889] GPIO gpio1 215 (null)
<4>[240575.901928] GPIO gpio1 216 (null)
<4>[240575.901962] GPIO gpio1 217 (null)
<4>[240575.901997] GPIO gpio1 218 (null)
<4>[240575.902032] GPIO gpio1 219 (null)
<4>[240575.902067] GPIO gpio1 220 (null)
<4>[240575.902105] GPIO gpio1 221 (null)
<4>[240575.902139] GPIO gpio1 222 camera powerdown
<4>[240575.902183] GPIO gpio1 223 (null)
<4>[240575.902220] GPIO gpio2 224 (null)
<4>[240575.902255] GPIO gpio2 225 (null)
<4>[240575.902288] GPIO gpio2 226 (null)
<4>[240575.902321] GPIO gpio2 227 (null)
<4>[240575.902355] GPIO gpio2 228 (null)
<4>[240575.902387] GPIO gpio2 229 (null)
<4>[240575.902420] GPIO gpio2 230 (null)
<4>[240575.902453] GPIO gpio2 231 (null)
<4>[240575.902488] GPIO gpio2 232 (null)
<4>[240575.902519] GPIO gpio2 233 (null)
<4>[240575.902551] GPIO gpio2 234 (null)
<4>[240575.902581] GPIO gpio2 235 (null)
<4>[240575.902613] GPIO gpio2 236 (null)
<4>[240575.902646] GPIO gpio2 237 (null)
<4>[240575.902680] GPIO gpio2 238 (null)
<4>[240575.902712] GPIO gpio2 239 (null)
<4>[240575.902744] GPIO gpio2 240 (null)
<4>[240575.902774] GPIO gpio2 241 (null)
<4>[240575.902803] GPIO gpio2 242 (null)
<4>[240575.902831] GPIO gpio2 243 (null)
<4>[240575.902857] GPIO gpio2 244 (null)
<4>[240575.902884] GPIO gpio2 245 (null)
<4>[240575.902917] GPIO gpio2 246 (null)
<4>[240575.902949] GPIO gpio2 247 (null)
<4>[240575.902980] GPIO gpio2 248 (null)
<4>[240575.903008] GPIO gpio2 249 (null)
<4>[240575.903035] GPIO gpio2 250 (null)
<4>[240575.903062] GPIO gpio2 251 (null)
<4>[240575.903090] GPIO gpio2 252 (null)
<4>[240575.903118] GPIO gpio2 253 (null)
<4>[240575.903145] GPIO gpio2 254 (null)
<4>[240575.903173] GPIO gpio2 255 (null)
<4>[240575.903202] GPIO gpio3 256 (null)
<4>[240575.903230] GPIO gpio3 257 (null)
<4>[240575.903258] GPIO gpio3 258 (null)
<4>[240575.903286] GPIO gpio3 259 (null)
<4>[240575.903313] GPIO gpio3 260 (null)
<4>[240575.903340] GPIO gpio3 261 (null)
<4>[240575.903368] GPIO gpio3 262 (null)
<4>[240575.903396] GPIO gpio3 263 sdmmc-power
<4>[240575.903427] GPIO gpio3 264 (null)
<4>[240575.903454] GPIO gpio3 265 (null)
<4>[240575.903483] GPIO gpio3 266 (null)
<4>[240575.903511] GPIO gpio3 267 (null)
<4>[240575.903546] GPIO gpio3 268 (null)
<4>[240575.903582] GPIO gpio3 269 (null)
<4>[240575.903619] GPIO gpio3 270 (null)
<4>[240575.903652] GPIO gpio3 271 (null)
<4>[240575.903688] GPIO gpio3 272 mmc1-cmd
<4>[240575.903720] GPIO gpio3 273 mmc1-data0
<4>[240575.903755] GPIO gpio3 274 mmc1-data1
<4>[240575.903793] GPIO gpio3 275 mmc1-data2
<4>[240575.903827] GPIO gpio3 276 mmc1-data3
<4>[240575.903863] GPIO gpio3 277 mmc1-clk
<4>[240575.903897] GPIO gpio3 278 rk903_26M_wake
<4>[240575.903935] GPIO gpio3 279 rk903_26M_poweron
<4>[240575.903976] GPIO gpio3 280 wifi_power
<4>[240575.904009] GPIO gpio3 281 rk903_26M_reset
<4>[240575.904050] GPIO gpio3 282 (null)
<4>[240575.904083] GPIO gpio3 283 (null)
<4>[240575.904118] GPIO gpio3 284 (null)
<4>[240575.904149] GPIO gpio3 285 (null)
<4>[240575.904180] GPIO gpio3 286 (null)
<4>[240575.904213] GPIO gpio3 287 (null)
<4>[240575.904246] GPIO gpio4 288 (null)
<4>[240575.904279] GPIO gpio4 289 (null)
<4>[240575.904311] GPIO gpio4 290 (null)
<4>[240575.904342] GPIO gpio4 291 (null)
<4>[240575.904375] GPIO gpio4 292 (null)
<4>[240575.904405] GPIO gpio4 293 (null)
<4>[240575.904439] GPIO gpio4 294 (null)
<4>[240575.904472] GPIO gpio4 295 (null)
<4>[240575.904505] GPIO gpio4 296 (null)
<4>[240575.904536] GPIO gpio4 297 (null)
<4>[240575.904568] GPIO gpio4 298 (null)
<4>[240575.904598] GPIO gpio4 299 (null)
<4>[240575.904631] GPIO gpio4 300 (null)
<4>[240575.904663] GPIO gpio4 301 (null)
<4>[240575.904697] GPIO gpio4 302 (null)
<4>[240575.904730] GPIO gpio4 303 (null)
<4>[240575.904762] GPIO gpio4 304 (null)
<4>[240575.904793] GPIO gpio4 305 (null)
<4>[240575.904827] GPIO gpio4 306 (null)
<4>[240575.904858] GPIO gpio4 307 (null)
<4>[240575.904889] GPIO gpio4 308 (null)
<4>[240575.904920] GPIO gpio4 309 vol-
<4>[240575.904950] GPIO gpio4 310 (null)
<4>[240575.904983] GPIO gpio4 311 ?
<4>[240575.905010] GPIO gpio4 312 (null)
<4>[240575.905040] GPIO gpio4 313 (null)
<4>[240575.905072] GPIO gpio4 314 (null)
<4>[240575.905104] GPIO gpio4 315 (null)
<4>[240575.905139] GPIO gpio4 316 (null)
<4>[240575.905170] GPIO gpio4 317 (null)
<4>[240575.905203] GPIO gpio4 318 (null)
<4>[240575.905234] GPIO gpio4 319 (null)
<4>[240575.905268] GPIO gpio6 352 (null)
<4>[240575.905303] GPIO gpio6 353 remotectl
<4>[240575.905336] GPIO gpio6 354 play
<4>[240575.905368] GPIO gpio6 355 usb_detect
<4>[240575.905402] GPIO gpio6 356 wm831x
<4>[240575.905438] GPIO gpio6 357 (null)
<4>[240575.905469] GPIO gpio6 358 (null)
<4>[240575.905502] GPIO gpio6 359 rk903_26M_wake_host
<4>[240575.905545] GPIO gpio6 360 poweronpin
<4>[240575.905579] GPIO gpio6 361 (null)
<4>[240575.905613] GPIO gpio6 362 (null)
<4>[240575.905644] GPIO gpio6 363 ?
<4>[240575.905671] GPIO gpio6 364 ?
<4>[240575.905701] GPIO gpio6 365 (null)
<4>[240575.905734] GPIO gpio6 366 (null)
<4>[240575.905767] GPIO gpio6 367 (null)

GPIO dump wifi on again:

<4>[240621.624542] GPIO gpio0 160 (null)
<4>[240621.624589] GPIO gpio0 161 (null)
<4>[240621.624620] GPIO gpio0 162 (null)
<4>[240621.624654] GPIO gpio0 163 ?
<4>[240621.624676] GPIO gpio0 164 vibrator
<4>[240621.624704] GPIO gpio0 165 (null)
<4>[240621.624730] GPIO gpio0 166 (null)
<4>[240621.624754] GPIO gpio0 167 (null)
<4>[240621.624780] GPIO gpio0 168 (null)
<4>[240621.624805] GPIO gpio0 169 (null)
<4>[240621.624834] GPIO gpio0 170 (null)
<4>[240621.624862] GPIO gpio0 171 (null)
<4>[240621.624886] GPIO gpio0 172 (null)
<4>[240621.624912] GPIO gpio0 173 (null)
<4>[240621.624938] GPIO gpio0 174 (null)
<4>[240621.624964] GPIO gpio0 175 (null)
<4>[240621.624988] GPIO gpio0 176 (null)
<4>[240621.625013] GPIO gpio0 177 (null)
<4>[240621.625041] GPIO gpio0 178 (null)
<4>[240621.625067] GPIO gpio0 179 (null)
<4>[240621.625093] GPIO gpio0 180 (null)
<4>[240621.625118] GPIO gpio0 181 (null)
<4>[240621.625144] GPIO gpio0 182 (null)
<4>[240621.625168] GPIO gpio0 183 (null)
<4>[240621.625193] GPIO gpio0 184 (null)
<4>[240621.625220] GPIO gpio0 185 (null)
<4>[240621.625250] GPIO gpio0 186 (null)
<4>[240621.625276] GPIO gpio0 187 (null)
<4>[240621.625300] GPIO gpio0 188 (null)
<4>[240621.625326] GPIO gpio0 189 (null)
<4>[240621.625352] GPIO gpio0 190 (null)
<4>[240621.625376] GPIO gpio0 191 (null)
<4>[240621.625403] GPIO gpio1 192 (null)
<4>[240621.625429] GPIO gpio1 193 (null)
<4>[240621.625457] GPIO gpio1 194 (null)
<4>[240621.625483] GPIO gpio1 195 rk903_26M_rts
<4>[240621.625511] GPIO gpio1 196 (null)
<4>[240621.625537] GPIO gpio1 197 (null)
<4>[240621.625562] GPIO gpio1 198 (null)
<4>[240621.625588] GPIO gpio1 199 (null)
<4>[240621.625613] GPIO gpio1 200 (null)
<4>[240621.625642] GPIO gpio1 201 (null)
<4>[240621.625670] GPIO gpio1 202 (null)
<4>[240621.625696] GPIO gpio1 203 (null)
<4>[240621.625723] GPIO gpio1 204 (null)
<4>[240621.625747] GPIO gpio1 205 (null)
<4>[240621.625772] GPIO gpio1 206 (null)
<4>[240621.625798] GPIO gpio1 207 camera powerdown
<4>[240621.625829] GPIO gpio1 208 (null)
<4>[240621.625857] GPIO gpio1 209 (null)
<4>[240621.625882] GPIO gpio1 210 (null)
<4>[240621.625907] GPIO gpio1 211 (null)
<4>[240621.625932] GPIO gpio1 212 (null)
<4>[240621.625957] GPIO gpio1 213 (null)
<4>[240621.625983] GPIO gpio1 214 (null)
<4>[240621.626008] GPIO gpio1 215 (null)
<4>[240621.626035] GPIO gpio1 216 (null)
<4>[240621.626066] GPIO gpio1 217 (null)
<4>[240621.626092] GPIO gpio1 218 (null)
<4>[240621.626116] GPIO gpio1 219 (null)
<4>[240621.626141] GPIO gpio1 220 (null)
<4>[240621.626168] GPIO gpio1 221 (null)
<4>[240621.626192] GPIO gpio1 222 camera powerdown
<4>[240621.626222] GPIO gpio1 223 (null)
<4>[240621.626247] GPIO gpio2 224 (null)
<4>[240621.626274] GPIO gpio2 225 (null)
<4>[240621.626301] GPIO gpio2 226 (null)
<4>[240621.626325] GPIO gpio2 227 (null)
<4>[240621.626350] GPIO gpio2 228 (null)
<4>[240621.626375] GPIO gpio2 229 (null)
<4>[240621.626398] GPIO gpio2 230 (null)
<4>[240621.626424] GPIO gpio2 231 (null)
<4>[240621.626450] GPIO gpio2 232 (null)
<4>[240621.626477] GPIO gpio2 233 (null)
<4>[240621.626500] GPIO gpio2 234 (null)
<4>[240621.626526] GPIO gpio2 235 (null)
<4>[240621.626552] GPIO gpio2 236 (null)
<4>[240621.626576] GPIO gpio2 237 (null)
<4>[240621.626601] GPIO gpio2 238 (null)
<4>[240621.626629] GPIO gpio2 239 (null)
<4>[240621.626656] GPIO gpio2 240 (null)
<4>[240621.626681] GPIO gpio2 241 (null)
<4>[240621.626705] GPIO gpio2 242 (null)
<4>[240621.626732] GPIO gpio2 243 (null)
<4>[240621.626757] GPIO gpio2 244 (null)
<4>[240621.626781] GPIO gpio2 245 (null)
<4>[240621.626807] GPIO gpio2 246 (null)
<4>[240621.626833] GPIO gpio2 247 (null)
<4>[240621.626862] GPIO gpio2 248 (null)
<4>[240621.626886] GPIO gpio2 249 (null)
<4>[240621.626911] GPIO gpio2 250 (null)
<4>[240621.626938] GPIO gpio2 251 (null)
<4>[240621.626962] GPIO gpio2 252 (null)
<4>[240621.626987] GPIO gpio2 253 (null)
<4>[240621.627013] GPIO gpio2 254 (null)
<4>[240621.627039] GPIO gpio2 255 (null)
<4>[240621.627068] GPIO gpio3 256 (null)
<4>[240621.627092] GPIO gpio3 257 (null)
<4>[240621.627118] GPIO gpio3 258 (null)
<4>[240621.627147] GPIO gpio3 259 (null)
<4>[240621.627180] GPIO gpio3 260 (null)
<4>[240621.627205] GPIO gpio3 261 (null)
<4>[240621.627229] GPIO gpio3 262 (null)
<4>[240621.627256] GPIO gpio3 263 sdmmc-power
<4>[240621.627284] GPIO gpio3 264 (null)
<4>[240621.627313] GPIO gpio3 265 (null)
<4>[240621.627339] GPIO gpio3 266 (null)
<4>[240621.627365] GPIO gpio3 267 (null)
<4>[240621.627389] GPIO gpio3 268 (null)
<4>[240621.627414] GPIO gpio3 269 (null)
<4>[240621.627441] GPIO gpio3 270 (null)
<4>[240621.627466] GPIO gpio3 271 (null)
<4>[240621.627493] GPIO gpio3 272 mmc1-cmd
<4>[240621.627520] GPIO gpio3 273 mmc1-data0
<4>[240621.627548] GPIO gpio3 274 mmc1-data1
<4>[240621.627576] GPIO gpio3 275 mmc1-data2
<4>[240621.627603] GPIO gpio3 276 mmc1-data3
<4>[240621.627633] GPIO gpio3 277 mmc1-clk
<4>[240621.627658] GPIO gpio3 278 rk903_26M_wake
<4>[240621.627688] GPIO gpio3 279 rk903_26M_poweron
<4>[240621.627723] GPIO gpio3 280 wifi_power
<4>[240621.627752] GPIO gpio3 281 rk903_26M_reset
<4>[240621.627781] GPIO gpio3 282 (null)
<4>[240621.627806] GPIO gpio3 283 (null)
<4>[240621.627831] GPIO gpio3 284 (null)
<4>[240621.627856] GPIO gpio3 285 (null)
<4>[240621.627882] GPIO gpio3 286 (null)
<4>[240621.627908] GPIO gpio3 287 (null)
<4>[240621.627934] GPIO gpio4 288 (null)
<4>[240621.627960] GPIO gpio4 289 (null)
<4>[240621.627985] GPIO gpio4 290 (null)
<4>[240621.628011] GPIO gpio4 291 (null)
<4>[240621.628036] GPIO gpio4 292 (null)
<4>[240621.628062] GPIO gpio4 293 (null)
<4>[240621.628087] GPIO gpio4 294 (null)
<4>[240621.628113] GPIO gpio4 295 (null)
<4>[240621.628139] GPIO gpio4 296 (null)
<4>[240621.628164] GPIO gpio4 297 (null)
<4>[240621.628189] GPIO gpio4 298 (null)
<4>[240621.628214] GPIO gpio4 299 (null)
<4>[240621.628239] GPIO gpio4 300 (null)
<4>[240621.628265] GPIO gpio4 301 (null)
<4>[240621.628290] GPIO gpio4 302 (null)
<4>[240621.628318] GPIO gpio4 303 (null)
<4>[240621.628343] GPIO gpio4 304 (null)
<4>[240621.628368] GPIO gpio4 305 (null)
<4>[240621.628394] GPIO gpio4 306 (null)
<4>[240621.628423] GPIO gpio4 307 (null)
<4>[240621.628460] GPIO gpio4 308 (null)
<4>[240621.628496] GPIO gpio4 309 vol-
<4>[240621.628529] GPIO gpio4 310 (null)
<4>[240621.628567] GPIO gpio4 311 ?
<4>[240621.628598] GPIO gpio4 312 (null)
<4>[240621.628635] GPIO gpio4 313 (null)
<4>[240621.628673] GPIO gpio4 314 (null)
<4>[240621.628711] GPIO gpio4 315 (null)
<4>[240621.628747] GPIO gpio4 316 (null)
<4>[240621.628784] GPIO gpio4 317 (null)
<4>[240621.628816] GPIO gpio4 318 (null)
<4>[240621.628852] GPIO gpio4 319 (null)
<4>[240621.628886] GPIO gpio6 352 (null)
<4>[240621.628916] GPIO gpio6 353 remotectl
<4>[240621.628953] GPIO gpio6 354 play
<4>[240621.628985] GPIO gpio6 355 usb_detect
<4>[240621.629023] GPIO gpio6 356 wm831x
<4>[240621.629056] GPIO gpio6 357 (null)
<4>[240621.629081] GPIO gpio6 358 (null)
<4>[240621.629108] GPIO gpio6 359 rk903_26M_wake_host
<4>[240621.629151] GPIO gpio6 360 poweronpin
<4>[240621.629185] GPIO gpio6 361 (null)
<4>[240621.629215] GPIO gpio6 362 (null)
<4>[240621.629239] GPIO gpio6 363 ?
<4>[240621.629265] GPIO gpio6 364 ?
<4>[240621.629288] GPIO gpio6 365 (null)
<4>[240621.629312] GPIO gpio6 366 (null)
<4>[240621.629338] GPIO gpio6 367 (null)

Any new needed info?

@Galland
Copy link
Contributor

Galland commented Aug 27, 2013

hola, dump just lists gpio names and numbers, so the result is likely to be the same in those 3 points in time.
As I understand it, you use it to spot interesting gpios like "wifi_power" (280 in your listing) and do:
./gpio get 280
before and after turning wifi on/off
that will tell you the on value or, if there is no value change, will tell you that the pin is unrelated to that function (wifi in this example)

@tonikasch
Copy link
Author

./gpio get 280
when Wifi on it's 1 Wifi off it's 0

@tonikasch
Copy link
Author

So we need some tester under android stock kernel to do:
./gpio get 195
./gpio get 263
./gpio get 272
./gpio get 273
./gpio get 274
./gpio get 275
./gpio get 276
./gpio get 277
./gpio get 278
./gpio get 279
./gpio get 280
./gpio get 281
./gpio get 359
./gpio get 360

Both with wifi on and wifi off, and report results

@tonikasch
Copy link
Author

I have tried to create here a table with different states, gpio number and so on but I was unable, so I have created a public spreadsheet here:
https://docs.google.com/spreadsheet/ccc?key=0AlY8Ntc7De3adEgxZEw3eWF1cmZBbTdtMmQxNThBdGc&usp=sharing

@tonikasch
Copy link
Author

What I have found so far, in https://github.com/aloksinha2001/picuntu-3.0.8-alok/blob/master/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c at line 435 is this:
#define WIFI_HOST_WAKE RK30_PIN3_PD2
which would reference to GPIO pin 282, which in the case of MK808B should be, according to GPIO dump, 359, which by the way is not accesible through the #defined GPIOs.
Any idea?

@Galland
Copy link
Contributor

Galland commented Aug 29, 2013

There is no GPIO bank 5 in RK3066, it jumps from bank 4 to bank 6, so pin 359 would be:
(359 - PIN_BASE) / NUM_GROUP = (359 - 160) / 32 = 6'... --> so RK30_PIN6_P??
the pin in the bank is:
(359 - PIN_BASE) - 6 * NUM_GROUP = (359 - 160) - 6 * 32 = 7 --> so RK30_PIN6_PA7

the pin number to RK30_PINn_Pmm defines are in mach-rk30/include/mach/gpio.h

For reference, see this commit:
Galland/Linux3188@a5ba1ca

@tonikasch
Copy link
Author

Oh! Thanks!! I didn't notice that, because I saw 5*NUM_GROUP...
I have updated the table.
Now with 3.0.36 kernel... it's the same!

@tonikasch
Copy link
Author

Proposal for 3.0.8 Aloksinha2001 kernel:

at https://github.com/aloksinha2001/picuntu-3.0.8-alok/blob/master/arch/arm/mach-rk30/board-rk30-sdk-sdmmc.c line 435 this:

#define WIFI_HOST_WAKE RK30_PIN3_PD2

should be updated to:

#ifdef CONFIG_RK903
#define WIFI_HOST_WAKE RK30_PIN6_PA7
#else
#define WIFI_HOST_WAKE RK30_PIN3_PD2
#endif

so if RK903 is selected under drivers>network>wireless, the correct GPIO will be used

@Galland
Copy link
Contributor

Galland commented Aug 29, 2013

That is the correct GPIO for the stick where you got that gpio dump ;)

Which one is it?

@tonikasch
Copy link
Author

MK808B.

EDIT: Should be MK808B, but I have asked A-wen to confirm it.

@tonikasch
Copy link
Author

It is MK808B, confirmed by A-wen

@40183
Copy link

40183 commented Dec 3, 2013

Are
https://github.com/swiftboard/Linux_SourceCode/tree/master/linux-3.0/modules/wifi/bcm40183
the needed sources? Could someone competent check it. Alok, Galland ?

@tonikasch
Copy link
Author

Needed sources are the same as for bcm40181 (rk901).
The problem are the GPIO.

2013/12/3 40183 [email protected]

Are

https://github.com/swiftboard/Linux_SourceCode/tree/master/linux-3.0/modules/wifi/bcm40183
the needed sources? Could someone competent check it. Alok, Galland ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-29731364
.

@40183
Copy link

40183 commented Dec 5, 2013

Sure? The above mentioned repo also has a bcm40181 folder and there are several differences between the two (which could be also due to the different versions 5.90.125.69.2 vs. 5.90.125.95.3).

E.g. ../open-src/src/dhd/sys/dhd_custom_gpio.c also differs.

Would worth to check by someone who knows what to look.

@aloksinha2001
Copy link
Owner

I had looked at it earlier... spent many days on it... but was not able to
decipher much...

Alok

This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. Please send us by fax any message containing deadlines as incoming e-mails are not screened for response deadlines. The integrity and security of this message cannot be guaranteed on the Internet.

On Thu, Dec 5, 2013 at 5:07 PM, 40183 [email protected] wrote:

Sure? The above mentioned repo also has a bcm40181 folder and there are
several differences between the two (which could be also due to the
different versions 5.90.125.69.2 vs. 5.90.125.95.3).

E.g. ../open-src/src/dhd/sys/dhd_custom_gpio.c also differs.

Would worth to check by someone who knows what to look.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-29890785
.

Alok Sinha
Chief Executive Officer,
Globus Eight
Suite 600, 2201 Cooperative Way, Herndon, VA, USA 20171
Level 12, Tower 8C, DLF Phase II, Gurgaon, India 122002
Phone: +1-757-447-4642 | +91-9810159444
[email protected] | www.g8.net

@40183
Copy link

40183 commented Dec 5, 2013

@Galland or @aloksinha2001 could you please check the above. (Just learned this @ notification, @tonikasch you already watching this :) )

What about Bluetooth which is also in bcm40183 ?
BCM40183 also has FM radio receiver and transmitter (according to http://www.broadcom.com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4330). Do we know something about it? Are the antenna pins accessible on the board? The FM transmitter could be useful e.g. in carputer applications.

@tonikasch
Copy link
Author

dhd_custom_gpio.c is just that, which GPIO has to be enabled in order to
activate the MMC-SDIO card.

The case is that each device having bcm40183 (rk903) has different GPIOs,
so this file doesn't solve the issue.

2013/12/5 40183 [email protected]

Sure? The above mentioned repo also has a bcm40181 folder and there are
several differences between the two (which could be also due to the
different versions 5.90.125.69.2 vs. 5.90.125.95.3).

E.g. ../open-src/src/dhd/sys/dhd_custom_gpio.c also differs.

Would worth to check by someone who knows what to look.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-29890785
.

@Simpleyyt
Copy link

Just modify the files and modprobe bcm40181?

@mo123
Copy link

mo123 commented Jul 9, 2014

Any updates for this patch?
Can it be used for Linux Rockchip KitKat kernel?

@yangkkokk
Copy link

how can i do it? change .config?or edit kernel code? can you talk about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants