-
Notifications
You must be signed in to change notification settings - Fork 34
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
Comments
(MK808B) <4>[193145.968688] GPIO gpio0 160 (null) GPIO dump wifi off: <4>[240575.899953] GPIO gpio0 160 (null) GPIO dump wifi on again: <4>[240621.624542] GPIO gpio0 160 (null) Any new needed info? |
hola, dump just lists gpio names and numbers, so the result is likely to be the same in those 3 points in time. |
./gpio get 280 |
So we need some tester under android stock kernel to do: Both with wifi on and wifi off, and report results |
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: |
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: |
There is no GPIO bank 5 in RK3066, it jumps from bank 4 to bank 6, so pin 359 would be: the pin number to RK30_PINn_Pmm defines are in mach-rk30/include/mach/gpio.h For reference, see this commit: |
Oh! Thanks!! I didn't notice that, because I saw 5*NUM_GROUP... |
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 so if RK903 is selected under drivers>network>wireless, the correct GPIO will be used |
That is the correct GPIO for the stick where you got that gpio dump ;) Which one is it? |
MK808B. EDIT: Should be MK808B, but I have asked A-wen to confirm it. |
It is MK808B, confirmed by A-wen |
Are |
Needed sources are the same as for bcm40181 (rk901). 2013/12/3 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. |
I had looked at it earlier... spent many days on it... but was not able to 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:
Alok Sinha |
@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 ? |
dhd_custom_gpio.c is just that, which GPIO has to be enabled in order to The case is that each device having bcm40183 (rk903) has different GPIOs, 2013/12/5 40183 [email protected]
|
Just modify the files and modprobe bcm40181? |
Any updates for this patch? |
how can i do it? change .config?or edit kernel code? can you talk about? |
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
The text was updated successfully, but these errors were encountered: