Bcm4329 driver source code - G Tablet Android Development

modules name changed. Now run stable

Awesome
I will merge this in and if all goes well, will start gutting the areas I could not before.
Ill report back.
Great work!

pershoot said:
Awesome
I will merge this in and if all goes well, will start gutting the areas I could not before.
Ill report back.
Great work!
Click to expand...
Click to collapse
dhd.ko filename modified to bcm4329.ko
put in /system/lib/hw/wlan

I tried many ways, last modified module name, unexpectedly successful, it is funny.

Chenglu said:
I tried many ways, last modified module name, unexpectedly successful, it is funny.
Click to expand...
Click to collapse
it appears to be working well from initial observation.
i too outputted the module as dhd, but it still froze up, no matter which method i took.
can you please share the other changes that you have made from the last posting?
ill diff things out now, upgrade to the latest and commit.
thx. great work!

pershoot said:
it appears to be working well from initial observation.
i too outputted the module as dhd, but it still froze up, no matter which method i took.
can you please share the other changes that you have made from the last posting?
ill diff things out now, upgrade to the latest and commit.
thx. great work!
Click to expand...
Click to collapse
i did notice it disconnect while being idle for a while. but that's ok.. that could be coincidence and/or an isolated case with my setup.

I use a new version of the driver code, modify and compiled, try several Dflags, the result is the timeout or hardlock, so I deleted all code.
Then, I started from scratch,redownload code from http://nv-tegra.nvidia.com/gitweb/?p=android/platform/system/wlan/broadcom.git, Made a small change, even successful.........

upgrade complete.
<4>[ 3654.777016] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 3654.979564] Firmware version = wl0: May 17 2010 22:38:50 version 4.218.223
.1
<4>[ 3655.177291] wlan0: Broadcom Dongle Host Driver mac=--:--:--:--:--:--
<4>[ 3655.187516]
<4>[ 3655.187527] Dongle Host Driver, version 4.218.248.18
<4>[ 3657.545885] STA connect received 1
it was the combination of your makefile flags.
let me monitor this some more, and if all holds stable, ill post src to my git.
then ill work towards bringing this section (removing pullup, keeping sdio lines high, and possibly going towards wifi abstraction and not gpio reset) forward.

the upgrade seems stable to me!
https://github.com/pershoot/gtab-2632/commit/c7ba24f773539dc986b0a0b532e83d1272fd66b4

pershoot said:
the upgrade seems stable to me!
https://github.com/pershoot/gtab-2632/commit/c7ba24f773539dc986b0a0b532e83d1272fd66b4
Click to expand...
Click to collapse
good work...

Chenglu said:
good work...
Click to expand...
Click to collapse
you as well

Is possible to make this file able to be flash? Prefer to do it that way so I can make sure I don't mess up nothing

lilgotti56 said:
Is possible to make this file able to be flash? Prefer to do it that way so I can make sure I don't mess up nothing
Click to expand...
Click to collapse
yes. flash my kernel.

Thanks, worked great for my kernel as well (2.6.32.9) but still can't enable IPv6. It would just give me an error on wifi. Any ideas?

http://nv-tegra.nvidia.com/gitweb/?...9;hb=900f1defbe1f39ca6af8356521961c249174f304
Update to FW version 4.218.248.6
Code:
<4>[ 403.288667] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 403.466861] Firmware version = wl0: Sep 15 2010 14:22:42 version 4.218.248.6
<4>[ 403.671056] wlan0: Broadcom Dongle Host Driver mac=00:27:13:f7:c6:58
<4>[ 403.679611]
<4>[ 403.679621] Dongle Host Driver, version 4.218.248.18
<4>[ 405.984640] STA connect received 1
<7>[ 414.933316] wlan0: no IPv6 routers present

Chenglu said:
http://nv-tegra.nvidia.com/gitweb/?...9;hb=900f1defbe1f39ca6af8356521961c249174f304
Update to FW version 4.218.248.6
Code:
<4>[ 403.288667] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 403.466861] Firmware version = wl0: Sep 15 2010 14:22:42 version 4.218.248.6
<4>[ 403.671056] wlan0: Broadcom Dongle Host Driver mac=00:27:13:f7:c6:58
<4>[ 403.679611]
<4>[ 403.679621] Dongle Host Driver, version 4.218.248.18
<4>[ 405.984640] STA connect received 1
<7>[ 414.933316] wlan0: no IPv6 routers present
Click to expand...
Click to collapse
Hi, pushed fw_bcm4329.bin and fw_bcm4329_apasta.bin to /system/lib/hw/wlan but I still end up with 4.218.233.1 any ideas?

If your using what's at nvidia for. 32 line for broadcom, that's the version you'll be on (what shipped with our tabs (233.1)). So that is correct what you have.
If your using my source (which I modified from AOSP; check git for mods/details done for our specific platform; check vision-2632 repo for further changes done to AOSP src), then you will get the latest version published to date (248.18).
You can test both sets of firmware independently to see which plays better with our specific tabs and specific use case(s).

Chenglu, all is well with FW update so far?
Plays ok with our specific hardware?
Ill play as well when I get a free minute and report back of any anomalies.
Good team work!

pershoot said:
If your using what's at nvidia for. 32 line for broadcom, that's the version you'll be on (what shipped with our tabs (233.1)). So that is correct what you have.
If your using my source (which I modified from AOSP; check git for mods/details done for our specific platform; check vision-2632 repo for further changes done to AOSP src), then you will get the latest version published to date (248.18).
You can test both sets of firmware independently to see which plays better with our specific tabs and specific use case(s).
Click to expand...
Click to collapse
Thanks, that cleared it up Looks like I got my Firmware up to 248.6 but my dongle driver is stuck at 233.1. I'll try IPv6 with this and see how it goes.

GOT IT!! Working IPv6 with good range

Related

Linux on Universal (Update #4)

Linux on Universal. NEW NEW Install is now very simple!!!
Hi All!
Can anybody inform me about:
- Who is working on linux port on Universal?
- Which is the status of the kernel development now?
- When will we see a linux boot on this hardware?
- How can we help to complete the porting project?
I tracked rencently the wiki Universal pages, but the progress
page shows a 'Coming soon' message for a long time.
****
Moderator edit
NEW NEW NEW. Install linux without any knowledge or Linux PC :
http://forum.xda-developers.com/showthread.php?p=1680178#post1680178
Just follow the instructions in post #1739 on page 174 by goxboxlive
-----------------------------------------------------------------
Old news below
New versions can be downloaded here http://www.linuxtogo.org/~htcpxa/
Go to http://www.handhelds.org/moin/moin.cgi/Universal for a How-To install or
http://wiki.xda-developers.com/index.php?pagename=Universal_Installing_Linux
----
We have made a common mailing list for the HTC PXA phone's.
Subscribe to Htc-pxa at https://www.handhelds.org/mailman/listinfo/htc-pxa
****
Yes :`)
Please .... informations ....
Re: Linux on Universal
pasztorl said:
- Who is working on linux port on Universal?
Click to expand...
Click to collapse
The hardware information is gathered here in wiki.
The CVS branch for universal is at http://sf.net/projects/xanadux
There is a #htc-blueangel irc channel, where
you can discuss any HTC phone, since they
have a lot in common.
- Which is the status of the kernel development now?
Click to expand...
Click to collapse
Not all necessary hardware information
is found out, see wiki for details.
I have written some basic kernel patches to support the LCD and ASIC3, but this kernel
doesn't boot. I 'll commit the changes to CVS.
- When will we see a linux boot on this hardware?
Click to expand...
Click to collapse
Good question.
- How can we help to complete the porting project?
Click to expand...
Click to collapse
There are many open issues, so it depends
on what you can/want to do.
Re: Linux on Universal
There are many open issues, so it depends
on what you can/want to do.
Click to expand...
Click to collapse
Sorry, but I am not a kernel hacker, so I can't help to solve kernel
level problems. But I already made some embedded systems
with linux. I would like help to make a distribution for this hardware.
I know I can do that now, because linux can run in other pdas,
but I have only an Universal (this is my first pda), so I would like
to test my developement, and it is not possilbe until I dont't have
a running kernel on it.
Re: Linux on Universal
There are many open issues, so it depends
on what you can/want to do.
Click to expand...
Click to collapse
I seen in the wiki, the universal hardware shared with the Motorola E780. What does it mean exactly?
Is it a big help on development?
Re: Linux on Universal
pasztorl said:
I seen in the wiki, the universal hardware shared with the Motorola E780. What does it mean exactly?
Is it a big help on development?
Click to expand...
Click to collapse
Motorola A780. It includes some drivers that are not available elsewhere.
Like the camera drivers. A780 also uses USB host for communicating with the GSM/UMTS processor. The CVS kernel for universal boots, but the LCD is
not initialized properly, and that can damage your hardware (it switches on the white flashlight LED for some reason). There is no serial cable, so the kernel must be debugged
over IR, and this code is not working yet.
Re: Linux on Universal
cr2 said:
pasztorl said:
I seen in the wiki, the universal hardware shared with the Motorola E780. What does it mean exactly?
Is it a big help on development?
Click to expand...
Click to collapse
Motorola A780. It includes some drivers that are not available elsewhere.
Like the camera drivers. A780 also uses USB host for communicating with the GSM/UMTS processor. The CVS kernel for universal boots, but the LCD is
not initialized properly, and that can damage your hardware (it switches on the white flashlight LED for some reason). There is no serial cable, so the kernel must be debugged
over IR, and this code is not working yet.
Click to expand...
Click to collapse
Thx for the info!
Can You start the UniversalProgress page on the wiki?
What does it mean 'can damage your hardware'? Damage
the LCD or the flashlight LED?
Can You post the precompiled working kernel, and explain how we are test it?
What is the driver status at now? (working / not working hardware components)
I'll be glad to switch to linux on my universal... the sooner the better !
I already moved to linux on my desktop PC since a few years now, and I cant stand beeing enforced to launch windows to sync my handheld (I was used to sync my clié with no hassle, but unfortunately, it died, and palm OS seems to soon become memories )
So if any help is needed, and I can help, I'll be glad to.
Re: Linux on Universal
pasztorl said:
Can You start the UniversalProgress page on the wiki?
Click to expand...
Click to collapse
http://wiki.xda-developers.com/index.php?pagename=UniversalProgress
What does it mean 'can damage your hardware'? Damage
the LCD or the flashlight LED?
Click to expand...
Click to collapse
I want that both are initialized properly.
Can You post the precompiled working kernel, and explain how we are test it?
Click to expand...
Click to collapse
There is no "working" kernel. If you really know what you are doing, compile one
from the xanadux CVS (-un0 branch). And don't blame me for the destroyed hardware
What is the driver status at now? (working / not working hardware components)
Click to expand...
Click to collapse
The CPU, RAM and IR are working.
Don't know about the rest.
Re: Linux on Universal
cr2 said:
http://wiki.xda-developers.com/index.php?pagename=UniversalProgress
Click to expand...
Click to collapse
Thx!
There is no "working" kernel. If you really know what you are doing, compile one
from the xanadux CVS (-un0 branch). And don't blame me for the destroyed hardware
Click to expand...
Click to collapse
I checked out this branch yesterday and my result was:
LD arch/arm/mach-pxa/built-in.o
arch/arm/mach-pxa/pxa27x.o: In function `get_clk_frequency_khz'xa27x.c.text+0x0): multiple definition of `get_clk_frequency_khz'
arch/arm/mach-pxa/pxa25x.oxa25x.c.text+0x0): first defined here
arm-linux-ld: Warning: size of symbol `get_clk_frequency_khz' changed from 428 in arch/arm/mach-pxa/pxa25x.o to 536 in arch/arm/mach-pxa/pxa27x.o
arch/arm/mach-pxa/pxa27x.o: In function `get_memclk_frequency_10khz'xa27x.c.text+0x218): multiple definition of `get_memclk_frequency_10khz'
arch/arm/mach-pxa/pxa25x.oxa25x.c.text+0x1ac): first defined here
arm-linux-ld: Warning: size of symbol `get_memclk_frequency_10khz' changed from 64 in arch/arm/mach-pxa/pxa25x.o to 132 in arch/arm/mach-pxa/pxa27x.o
arch/arm/mach-pxa/pxa27x.o: In function `get_lcdclk_frequency_10khz'xa27x.c.text+0x29c): multiple definition of `get_lcdclk_frequency_10khz'
arch/arm/mach-pxa/pxa25x.oxa25x.c.text+0x1ec): first defined here
arm-linux-ld: Warning: size of symbol `get_lcdclk_frequency_10khz' changed from 20 in arch/arm/mach-pxa/pxa25x.o to 84 in arch/arm/mach-pxa/pxa27x.o
make[1]: *** [arch/arm/mach-pxa/built-in.o] Error 1
make: *** [arch/arm/mach-pxa] Error 2
(emDebian gcc4 cross compiling tools)
Re: Linux on Universal
pasztorl said:
arch/arm/mach-pxa/pxa27x.o: In function `get_clk_frequency_khz'xa27x.c.text+0x0): multiple definition of `get_clk_frequency_khz'
arch/arm/mach-pxa/pxa25x.oxa25x.c.text+0x0): first defined here
arm-linux-ld: Warning: size of symbol `get_clk_frequency_khz' changed from 428 in arch/arm/mach-pxa/pxa25x.o to 536 in arch/arm/mach-pxa/pxa27x.o
Click to expand...
Click to collapse
You are not supposed to compile the support for PXA25X and PXA27X CPU at the same time (i will consider it as a bug in the config system).
Start configuring the kernel with
arch/arm/configs/htcuniversal_defconfig
Use haret from the Blueangel pages.
In the startup.txt
set MTYPE 855
and use
console=ttyS2
for the console on your pda IR port.
Do not run irda on your host system, remove all the irda modules
and use raw serial port.
The framebuffer is not working yet (the driver was written by lkcl, i have not yet looked into it).
Re: Linux on Universal
cr2 said:
You are not supposed to compile the support for PXA25X and PXA27X CPU at the same time (i will consider it as a bug in the config system).
Start configuring the kernel with
arch/arm/configs/htcuniversal_defconfig
Use haret from the Blueangel pages.
In the startup.txt
set MTYPE 855
and use
console=ttyS2
for the console on your pda IR port.
Do not run irda on your host system, remove all the irda modules
and use raw serial port.
The framebuffer is not working yet (the driver was written by lkcl, i have not yet looked into it).
Click to expand...
Click to collapse
Thanks!
Another problem:
origo /home/pasztorl/xda/linux-2.6-xda# cp arch/arm/configs/htcuniversal_defconfig .config
cp: felülírja `.config'-t? y
origo /home/pasztorl/xda/linux-2.6-xda# make clean
origo /home/pasztorl/xda/linux-2.6-xda# make
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
arch/arm/mach-pxa/Kconfig:45: can't open file "arch/arm/mach-pxa/generic/Kconfig"
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2
origo /home/pasztorl/xda/linux-2.6-xda#
Re: Linux on Universal
pasztorl said:
arch/arm/mach-pxa/Kconfig:45: can't open file "arch/arm/mach-pxa/generic/Kconfig"
Click to expand...
Click to collapse
Remove this line 45 from arch/arm/mach-pxa/Kconfig. There is
no arch/arm/mach-pxa/generic/ here in my tree. Must be some stray commit
by somebody else.
interesting....
Re: Linux on Universal
cr2 said:
Remove this line 45 from arch/arm/mach-pxa/Kconfig. There is
no arch/arm/mach-pxa/generic/ here in my tree. Must be some stray commit
by somebody else.
Click to expand...
Click to collapse
After removing I get this error:
drivers/mmc/asic3_mmc.c: In function 'mmc_irq':
drivers/mmc/asic3_mmc.c:672: error: invalid storage class for function 'hwinit2_irqsafe'
drivers/mmc/asic3_mmc.c:676: warning: implicit declaration of function 'hwinit2_irqsafe'
drivers/mmc/asic3_mmc.c: In function 'mmc_get_ro':
drivers/mmc/asic3_mmc.c:811: warning: unused variable 'host'
drivers/mmc/asic3_mmc.c: At top level:
drivers/mmc/asic3_mmc.c:828: warning: conflicting types for 'hwinit2_irqsafe'
drivers/mmc/asic3_mmc.c:828: error: static declaration of 'hwinit2_irqsafe' follows non-static declaration
drivers/mmc/asic3_mmc.c:676: error: previous implicit declaration of 'hwinit2_irqsafe' was here
make[2]: *** [drivers/mmc/asic3_mmc.o] Error 1
make[1]: *** [drivers/mmc] Error 2
Re: Linux on Universal
pasztorl said:
After removing I get this error:
Click to expand...
Click to collapse
The SD/MMC driver is not working (but it is easy to fix).
Make menuconfig, and remove it from compilation.
Re: Linux on Universal
cr2 said:
The SD/MMC driver is not working (but it is easy to fix).
Make menuconfig, and remove it from compilation.
Click to expand...
Click to collapse
After disabling SD/MMC support compilation fails at this point:
CC drivers/serial/pxa.o
In file included from include/asm/proc-fns.h:166,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from drivers/serial/pxa.c:33:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from drivers/serial/pxa.c:33:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
drivers/serial/pxa.c:768: error: initializer element is not constant
drivers/serial/pxa.c:768: error: (near initialization for 'serial_pxa_ports[0].port.mapbase')
drivers/serial/pxa.c:782: error: initializer element is not constant
drivers/serial/pxa.c:782: error: (near initialization for 'serial_pxa_ports[1].port.mapbase')
drivers/serial/pxa.c:796: error: initializer element is not constant
drivers/serial/pxa.c:796: error: (near initialization for 'serial_pxa_ports[2].port.mapbase')
drivers/serial/pxa.c:810: error: initializer element is not constant
drivers/serial/pxa.c:810: error: (near initialization for 'serial_pxa_ports[3].port.mapbase')
make[2]: *** [drivers/serial/pxa.o] Error 1
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2
Re: Linux on Universal
pasztorl said:
After disabling SD/MMC support compilation fails at this point:
Click to expand...
Click to collapse
I have fixed the MMC/SD driver, so it compiles now, but have not tested if
it really works.
CC drivers/serial/pxa.o
Click to expand...
Click to collapse
Didn't see such error. I am using the precompiled toolchain from handhelds.org.
I will try to make a clean CVS checkout and try again.
Re: Linux on Universal
cr2 said:
I will try to make a clean CVS checkout and try again.
Click to expand...
Click to collapse
Didn't have any problem to compile.
Re: Linux on Universal
cr2 said:
cr2 said:
I will try to make a clean CVS checkout and try again.
Click to expand...
Click to collapse
Didn't have any problem to compile.
Click to expand...
Click to collapse
Ok, I get successful result with gcc 3.4.1 ( with gcc 4.0 kernel not compiled )

Pocket G2

I am finding a problem downloading a file using pocket g2. The problem that i am encountering is that it is always saying connecting on the summary page not connected. Does anyone know what i have to overcome this problem?
Thank You
where did you get the app from? can you upload and i will try to troubleshoot with you
Pocket G2 Features:
Supports the standard Gnutella2 Peer-to-Peer protocol which is already home
to many thousands of users.
A fully decentralized network with no single point of failure.
Multi-Source downloads let you download from many sources at the same
time.
Real-time file verification detects any errors in the download and
automatically recovers before the file has finished downloading.
Queuing puts you in a waiting line when all sources are busy.
UPnP works with supported routers to get you better connected. NEW!
You have to open the required ports first for it to function perfectly.
here are some caches if u would like although it already contains others.
http://freetexthost.com/oec5g4lnib
P.S: it may crash sometimes its normal and there is no way u can avoid it.
Click to expand...
Click to collapse
Some G2 discovery domains: http://gwebcaches.pongwar.com/discovery.html
Download:
Version 1.0 Pro (Build 2401 Beta):
http://rapidshare.com/files/410322566/PocketG2.com_Pocket_G2_Pro.CAB
Edit:
found another Version:
installer with updated URLs inside
Enable uPNP at router and correct firewall settings if there's still no connection beeing established.
Click to expand...
Click to collapse
http://rapidshare.com/files/410326963/PocketG2Pro-2401_Fixed.CAB
Here's an archive version of the app - just in case somebody has problems with .cab installation. Simply unpack to a folder on your device and run the app
Click to expand...
Click to collapse
http://rapidshare.com/files/410326967/PocketG2Pro-2401_Fixed-minialistic.rar

[Q] wifi doesn't work at any android build

Hi,
I tried multiple builds, but wifi didn't work at any of them. I found out that most probable reason is inabilty to get MAC address for wifi.
dmesg:
wlan: dhd_preinit_ioctls: can't get MAC address , error=-110
I tired to modify startup.txt, but no results. I found that similar issue was resolved for other htc devices (tilt 2, touch pro 2) by correction of wifi-nvram.txt. I couldn't find that file on builds for hd2.
It would be greate if anyone could you say which file is responsible for setting up MAC address for wifi.. Or what can I try else..
Thanks you!
What radio, wm versions and android versions have you tried? I've tried numerous builds and wifi has worked for almost all of them (if not all). I've had issues with data working but usually not wifi.
Wifi has worked on every build I've used which is 90% of the builds on xda
Sent from my HTC HD2 using XDA App
do u know what a radio is ?? I thought so ... search the forum for it and installl and use the latest then try again.
My hd2 is T-mobile US version
My radio is 2.15.50.14
Android build is MDJ FroYoSense -=Revolution=- 1.6 (tried with built in kernel and hastarin's one)
just in case, ROM build is 3.14.531.1 from T-Mobile, but I also tried Miri_Steve0007_Elegancia_V5.0_FINAL with the same results.
Actually I asked a person who doesn't have wifi problems to give me his firmware versions (rom, radio) and tried them by myself on the same android build he has. Results are the same: wifi doesnt'work.
Under WM wifi works good. Here is a link to the similar problem resolved for touch pro 2, tilt 2 and other devices: http://forum.xda-developers.com/archive/index.php/t-695230.html
Thanks!
az_registration said:
My hd2 is T-mobile US version
My radio is 2.15.50.14
Android build is MDJ FroYoSense -=Revolution=- 1.6 (tried with built in kernel and hastarin's one)
just in case, ROM build is 3.14.531.1 from T-Mobile, but I also tried Miri_Steve0007_Elegancia_V5.0_FINAL with the same results.
Actually I asked a person who doesn't have wifi problems to give me his firmware versions (rom, radio) and tried them by myself on the same android build he has. Results are the same: wifi doesnt'work.
Under WM wifi works good. Here is a link to the similar problem resolved for touch pro 2, tilt 2 and other devices: http://forum.xda-developers.com/archive/index.php/t-695230.html
Thanks!
Click to expand...
Click to collapse
you may have forgotten to copy bcm drivers when you changed kernels and that can kill your wifi.
malaeus said:
you may have forgotten to copy bcm drivers when you changed kernels and that can kill your wifi.
Click to expand...
Click to collapse
No, I have updated bcm4329.ko as described in readme file for kernel. Also I compared dmesg output and adb logcat for different kernels: they look similar.
logcat says: "Failed to disable WPA in the driver" while dmesg says "dhd_preinit_ioctl: Can't get MAC address, errno=-110" for both the kernels..
Thanks!
Just tested with different radios.. Results are still the same..
If wifi wouldn't work in WM, I though that it is a hardware problem.
Any thoughts are welcome!
az_registration said:
There is a file (startup.txt) which allows to specify mac adderss in 'Android' folder. Did you mean that one, or mac address might be specified in some other way?
Click to expand...
Click to collapse
Yes, but that's only there if you are using MAC filtering in your access point, or you're using multiple Smartphones with the same Android Build.
Just as a test to determine if it's in any way related to security settings in your Access Point, you could try to make your access point unprotected.....so NO WEP or WPA protection, SSID visible, etc.
If that doesn't work either, then I'm lost
Are you using MAC Filtering in your Access Point/Router ??
First time I tried to connect to my Access Point with Android, it didn't work either....untill I realised that the MAC Address on Adroid is NOT the MAC Address of the HD2. When I allowed the MAC Address of the Android Build on my Access Point I had no more trouble connecting, and my WIFI has worked ever since......
Be carefull however, different Android Builds use different MAC Addresses, so when you try a new Android Build you might experience the same issue.
Newer Kernels have an option to specify your own MAC Address during startup of Android.
Hope this helps.
Thank you for answering!
Pappagallo said:
Are you using MAC Filtering in your Access Point/Router ??
Click to expand...
Click to collapse
No, MAC filtering is not used. At least at one access point.
Pappagallo said:
Newer Kernels have an option to specify your own MAC Address during startup of Android.
Click to expand...
Click to collapse
There is a file (startup.txt) which allows to specify mac adderss in 'Android' folder. Did you mean that one, or mac address might be specified in some other way?
I did some more investigations and it seems that the problem might potentially be in wifi timeout settings, because there is a message in log (dmesg).
wlan: dhd_bus_rxctl: resumed on timeout
I downloaded kernel's sources to find out if this is the reason. Again, it is very weird, because wifi works in windows mobile.. Perhaps WM uses longer timeouts..
Another strange dmesg line is
wlan: firmware version: ver
perhaps wifi hardware has not been initialized correctly.. Just in case, below is related set of dmesg lines:
<4>[ 320.937774] wlan: wifi_set_power = 1
<4>[ 320.937835] htcleo_wifi_power: 1
<4>[ 321.236083] wlan: wifi_set_carddetect = 1
<6>[ 321.236114] htcleo_wifi_set_carddetect: 1
<7>[ 321.236145] mmc0: card_present 1
<6>[ 321.236145] mmc0: Slot status change detected (0 -> 1)
<4>[ 321.239715] wlan: Dongle Host Driver, version 4.218.204.2
<7>[ 323.794219] mmc0: queuing CIS tuple 0x91 length 3
<6>[ 323.794372] mmc0: new high speed SDIO card at address 0001
<4>[ 323.810180] wlan: DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 326.055175] wlan: dhd_bus_rxctl: resumed on timeout
<4>[ 326.055297] wlan: firmware version: ver
<4>[ 326.066162] wlan: Return_dpc value is : 0
<4>[ 326.066314] wlan: stop poll
<4>[ 328.065277] wlan: dhd_bus_rxctl: resumed on timeout
<4>[ 328.065399] wlan: dhd_preinit_ioctls: can't get MAC address , error=-110
<4>[ 328.065490] wlan: dhdsdio_probe: failed
Thanks again.
Something went wrong when quoting a part of your question concerning the startup.txt file, so for some strange reason my reply is on the 1st page...(at least when I'm looking at your thread).....
Anyway, the MAC Address you can specify in the startup.txt file can be used when you ARE using MAC filtering and/or you have multiple smartphones using the same Android Build.....so you don't have duplicate MAC Addresses on your network.....
As I'm not a developer, I'm not able to help you with your debugging lines....however, if you want to be sure that it's not some kind of security setting, you could try to remove all security from your Access Point, so NO WEP or WPA, SSID visible etc.
If that doesn't work either, then I'm lost
Only time I didn't get a WIFI connection was because of the MAC Filtering in my Access Point. When that was corrected I never had problems getting a connection on WIFI.
Good luck.
Pappagallo,
I tried to turn off all security, but no effect. Anyway, thank you for the advice I just don't know to to try else...
Another suspicious line in dmesg is wlan: firmware version: ver.
It seems that wifi is not initialized correctly in Android... It would be interesting to see this line for devices with working wifi.. But to do that terminal emulator or android sdk are needed..
Can anybody show dmesg and logcat when wifi is turned on? I would be very appreciated.
Thank you in advance!
the same problem
Exactly the same problem, and I've experienced most Roms and when I return to the Windows system, the Wi-Fi works.
We need a real expert.
any help
I noticed that this problem devices in T-Mobile (TMOUS - PB81120 SS-B3)

[Q] How to repeat windows mobile wifi setup in android?

Hi All,
I'm trying to resolve an issue with wifi, that doesn't work in android but does in windows. So I want to repean configuration of wifi in android. So far I found the following items:
nvram.txt => windows: /windows/ android:/proc/calibration
BCM4329B1_002.002.023.0436.0439.hcd => windows:/windows android:/sytem/etc/firmware
There is also a file 'fw_bcm4329.bin' analogues of which I couldn't find. Does any body know what this file is responsible for? Are there any other files to configure wifi?
Thanks!
ps. just in case, my device is htc hd2
What do you need to configure in android?
mdebeljuh said:
What do you need to configure in android?
Click to expand...
Click to collapse
I need to make sure that the wireless hardware (bcm4329) in android has exactly the same configuration as in windows mobile. I thought that having firmware (*.hcd file) and config file (nvram) is enough. But it still doesn't work in android. It seems that the hardware is not properly configured, since neither firmware version nor MAC address are accessible..
dmesg:
wlan: Dongle Host Driver, version 4.218.204.2
mmc0: queuing CIS tuple 0x91 length 3
mmc0: new high speed SDIO card at address 0001
wlan: DHD: dongle ram size is set to 294912(orig 294912)
wlan: dhd_bus_rxctl: resumed on timeout
wlan: firmware version: ver
wlan: Return_dpc value is : 0
wlan: stop poll
wlan: dhd_bus_rxctl: resumed on timeout
wlan: dhd_preinit_ioctls: can't get MAC address , error=-110
wlan: dhdsdio_probe: failed
If you need to copy mac address from windows to android you can use hastarin kernel and configure mac address through cmdline parameters
I suspect that the problem is deeper (firmware vesion could not be read).. But I will try now to install the kernel you mentioned. Thanks for help!
Just updated the kerner... Performed all the steps for "if wifi doesn't work", but no results - wlan is dead in android..
Do you have Error message? If so you need to update tun.ko and bcm4329.ko modules
Error messages are the same as with the old kernel, I mean there is nothing about miscorrespondance of *.ko files and kernel.
I noticed one interesting thing.. When I specify parameter for loading bcm4329 modue (via insmod) it works even when I specify incorrect nvram_path.. So I suspect that this parameter is just ignored or I specify it incorrectly. Anyway /proc/calibration is used even if I specify my path.
It would be nice to replace it with my data, but I don't know where it is loaded from and it seems to be a big deal to update it dynamically.

gen9 3.2.69 – gen8 2.4.80 firmwares

Archos G8 : http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
Firmware changes
Version 2.4.80 - November 9th, 2011
Archos 35 home connect product support
Archos 35 smart home phone product support
Archos 80/101 G9 : http://update.archos.com/9/gen9/gen9_3.2.69/firmware_archos_it4.aos
Firmware changes
Version 3.2.69 - November 9th, 2011
Web browser: faster web page rendering
Media center: built in online subtitle download support after a long press on a video file under video browser
Media scraper: faster information retrieval process
External storage: add ability to mount disks without partition
Android version: switch to Honeycomb 3.2.1
Battery: low charge notification
Multimedia: support for split AC3, MPEG2 plugins
Well, thats very dissapointing for the g8s :/
ammaz.khan said:
Well, thats very dissapointing for the g8s :/
Click to expand...
Click to collapse
Yessss, I agree
i've tried via WIFI and manual download
but it always fail on "checking update file validity" with msg :
Sorry, an unexpected error occured (code 112)
my device is Archos 70IT 8GB
download a new file
cannot download the firmware, is the update server overloaded?
Code:
data4 ~/gen8_2.4.80 # wget http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
--2011-11-11 10:37:42-- http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
Resolving update.archos.com (update.archos.com)... 83.167.45.32
Connecting to update.archos.com (update.archos.com)|83.167.45.32|:80... failed: Connection refused.
data4 ~/gen8_2.4.80 # wget http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
--2011-11-11 10:37:44-- http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
Resolving update.archos.com (update.archos.com)... 83.167.45.32
Connecting to update.archos.com (update.archos.com)|83.167.45.32|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93907352 (90M) [application/octet-stream]
Saving to: `firmware_archos_android_gen8.aos'
10% [===> ] 9,898,269 770K/s in 14s
2011-11-11 10:37:58 (677 KB/s) - Connection closed at byte 9898269. Retrying.
--2011-11-11 10:37:59-- (try: 2) http://update.archos.com/8/gen8/gen8_2.4.80/firmware_archos_android_gen8.aos
Connecting to update.archos.com (update.archos.com)|83.167.45.32|:80... failed: Connection refused.
Resolving update.archos.com (update.archos.com)... 83.167.45.32
Connecting to update.archos.com (update.archos.com)|83.167.45.32|:80... failed: Connection refused.
edit: anyway... there website (www.archos.com) seems to be down too
edit2: download is now ok.
a new rooting package will be available on sunday
cajl said:
download a new file
Click to expand...
Click to collapse
i've downloaded many times - result is the same
i don't know if it matters , but i have Uruk 1.6 rc2 installed . before it i didn't face such problem
bobybc said:
i've downloaded many times - result is the same
i don't know if it matters , but i have Uruk 1.6 rc2 installed . before it i didn't face such problem[/
At Uruk, u can't update the fw. Try to update at stock os.
Click to expand...
Click to collapse
sorry i didn't explain correctly
i want to upgrade stock OS, not Uruk one
i mentioned it because before i had installed Uruk , all other updates (since 2.1.x)passed without problems
help
Having a fault (update failed (1) )
Please help

Categories

Resources