Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well)

Showing 1-67 of 67 messages
Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/16/12 6:50 AM
Hi guys,

For those of you who wanted to integrate an Ethernet patch to their
recent build,
this is a slightly modified version of my previous patch set derived
from the work of Henry, Robill, Yi and others (@see
https://groups.google.com/forum/#!topic/android-x86/MPoj2Bzd-rE)

Change set:
1. Applies on 4.0.4 variants
2. If an interface called "eth*" exists - it will select the lowest
eth number as the eth device, so that it can connect automatically to
the ethernet device, rather than choose automatically
sit or ipv6 tunneling devices.
3. Removed the misleading "No internet connection" when internet is connected.

I tested it on a couple of IMM76I and IMM76L targets.
There is still more work to be done, but that should get you going
without much trouble.

BTW: I have another patch set which has the ethernet configuration be
toggled by a switch as with the Wi-Fi and Bluetooth case in the
Settings application, but it was too quick, and too dirty so I am not
posting it yet. If anyone would like to have that feature, or even
better work on it (Just need to change the Setting and SystemUI
(Tablet) apps, but it's quite multi-layered so they need to know what
they're doing)


##### How to apply the patch: #####

# Copy the attached tarball to your AX86 build top directory and do
the following steps:

tar -xzvf EthernetPatch_IMM76I_L.tar.gz
cd build/
git apply 0001-Adding-Ethernet-patch-for-android-x86-4.0-RC1-AOSP-4.patch
cd ..
cd frameworks/base/
git apply 0001-Ethernet-support-Patch-for-ICS4.0.4-IMM76I.patch
cd ../../
cd packages/providers/DownloadProvider/
git apply 0001-Adding-Ethernet-patch-Cr-android-x86-4.0-RC1-AOSP-4..patch
cd ../../../
cd packages/apps/Settings/
git apply 0001-Ethernet-support-Patch-for-ICS4.0.4-IMM76I.patch


Some kernel configuration for the interested reader:

##### Kernel Config snippet #####
< CONFIG_NET_ETHERNET=y
< CONFIG_NET_PCI=y
< CONFIG_E1000E=y
< ## XEN
< CONFIG_8139CP=y
< CONFIG_8139TOO=y
<
< ## VirtualBox
< CONFIG_PCNET32=y


Have fun, drive safe.

-Ron
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/16/12 8:44 AM
Hi, Can I do this in an ISO image? sorry for this question.. no idea..   >>>> carlo
RES: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruno Cardoso 7/16/12 8:48 AM
To insert the ETH0 have to compile yourself, or have some scheme to install
it without needing to compile, is that I'm no Linux here at home = /

Atenciosamente,


-----Mensagem original-----
De: andro...@googlegroups.com [mailto:andro...@googlegroups.com] Em
nome de Ron M
Enviada em: segunda-feira, 16 de julho de 2012 10:51
Para: Android-x86
Assunto: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to
Android-X86 4.0-RC2 as well)
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to
android-x86...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-x86?hl=en.


Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/17/12 1:24 AM
You can't do it in an ISO image, because the changes are both in
Android platform, and in the kernel.
I put this post for builders, not for users.

I do have an iso with some apps I put the other time, I didn't really
invest time on this one - but X86-sceners published something with
nice apps so you
can rip 'em off his build.

What is your target hardware? If it's XEN/VirtualBox or something that
would run the Asus_laptop config well - I will send you an .iso.


-Ron
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/noDnYe1HE00J.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 2:01 AM
Hi Ron,

Thanks for your reply.  I tried both the official build from android-x86-4.0-RC2-asus_laptop.iso and android-x86-4.0-asus_laptop-20120714.iso from tabletsx86.org and this both works fine on my HP pc but what I'm missing is the ethernet support. The build from tabletsx86.org release has ethernet but it is ipv6 which I don't have in my network.  i look unto the option and i don't see any eth0 and none of the other option in the list works on my network.  I run netcfg to see if there is eth0 and none found.  Do you have an iso for asus that has eth0 support?  Thanks in advance.  >>> Carlo


On Monday, July 16, 2012 3:50:54 PM UTC+2, Ron M wrote:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Alshammari 7/17/12 2:08 AM
Hallo! 
I applied the patches and it work fine, but I need to set a static IP for Android.
Any one have a suggestion or know a modification for the source code to do that?!
Thank You.. 


On Monday, July 16, 2012 3:50:54 PM UTC+2, Ron M wrote:

On Monday, July 16, 2012 3:50:54 PM UTC+2, Ron M wrote:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Alshammari 7/17/12 3:04 AM
Hallo!
I have applied the patches and it works fine, is there a way to set a static IP address?
Thank you! 




Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/17/12 3:11 AM
Let's do the following.

I have posted in this group a couple of months ago a link to an .iso
with ethernet support for at least some of the targets.
If that one works for you - I will later upload another iso (for RC2).

Otherwise - you don't have "eth0" enabled simply because it is not
built with your kernel, so we need to identify your NIC.
For that, come up with a live linux CD if you can, let me know what
the output for lspci -k  says and I will try to support you on this
one.

How about that?
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/QHx-Spx-ZPAJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 4:15 AM
Hi Ron,

The iso version that works with my pc is from the asus_pc/table version of 4.0_RC2 by androidx-86.org site and the one from tabletsx86.org

With regards to the lspci -k, below are the output:

ubuntu@ubuntu:~$ lspci -k
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
    Subsystem: Hewlett-Packard Company Device 2a53
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: uhci_hcd
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface Bridge (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel modules: leds-ss4200, iTCO_wdt
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA Controller [AHCI mode] (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel modules: i2c-i801
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV610 video device [Radeon HD 2400 PRO]
    Subsystem: Micro-Star International Co., Ltd. Device 1041
    Kernel driver in use: radeon
    Kernel modules: radeon
02:01.0 FireWire (IEEE 1394): LSI Corporation FW322/323 (rev 70)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: firewire_ohci
    Kernel modules: firewire-ohci
02:04.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
    Subsystem: ASUSTeK Computer Inc. Device 4871
    Kernel driver in use: saa7134
    Kernel modules: saa7134
02:08.0 Ethernet controller: Intel Corporation N10/ICH 7 Family LAN Controller (rev 01)
    Subsystem: Hewlett-Packard Company Device 2a53
    Kernel driver in use: e100
    Kernel modules: e100

btw, this is the pc I am trying to make work.

http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01168304&lc=en&cc=us&dlc=en&product=3561058#N575

Many thanks. >> Carlo
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/17/12 5:08 AM
I did the search for you...  Please try
http://www.sendspace.com/file/l2gebz  .
I think E1000/E also contains the drivers for the E100 .

I am now building you another version with  CONFIG_E100, and if it
builds OK I will upload it somewhere but it will take some time - and
will be untested (cf. to the previous link which has been thoroughly
tested on a couple of targets).

Please let me know if that iso worked for you, and if it didn't you
can expect a new one (again, untested!) in a couple of hours.


-Ron
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/ir2qeV8Nt8AJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 5:43 AM
Hi Ron,

This is great. I will test this and will let you know. many thanks! -->> Carlo


On Tuesday, July 17, 2012 2:08:05 PM UTC+2, Ron M wrote:
I did the search for you...  Please try
http://www.sendspace.com/file/l2gebz  .
I think E1000/E also contains the drivers for the E100 .

I am now building you another version with  CONFIG_E100, and if it
builds OK I will upload it somewhere but it will take some time - and
will be untested (cf. to the previous link which has been thoroughly
tested on a couple of targets).

Please let me know if that iso worked for you, and if it didn't you
can expect a new one (again, untested!) in a couple of hours.


-Ron
 
 
> Hi Ron,
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/17/12 5:50 AM
Thanks Carlo.
BTW I just uploaded the new build anyway. It should work for your NIC:
http://www.sendspace.com/file/t5a3aj
> https://groups.google.com/d/msg/android-x86/-/0qGoYnovWQoJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 6:40 AM
Hi Ron,

I made a test with the old link you gave to me, the screen layout and the speed is great but I still don't have internet using ethernet. I saw an option in the enternet ip6tn but that won't work, also the other option won't. In this build, is there eth0 ? because I think with that it will work.

Thanks again. --->>>


On Tuesday, July 17, 2012 2:50:59 PM UTC+2, Ron M wrote:
Thanks Carlo.
BTW I just uploaded the new build anyway. It should work for your NIC:
http://www.sendspace.com/file/t5a3aj



Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 6:43 AM
Hi Rod,

Added to this, I don't have ipv6 dhcp. just for info. ---->> carlo
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 7/17/12 7:13 AM
Hi Ron,

Sorry for the wrong name, it's type error :) due to exitement.. :)

Anyway, I test the last build. It work's now with my network using eth0. ^_^ .  I just wonder why there is a red border flashing when I click some icons and during booting.  But it's not a big issue.  I will test further and will let you know.

One more thing,  I have a 4 years old HP Pavillon Entertainment Laptop.  I tried all the iso but none work.   here is the link  http://www.notebookreview.com/default.asp?newsID=3474&review=tx1000  it is very slow with windows so i want to put android on it.

Again, Many thanks and More Power!

Device Target -> HP Pavilion s3230nl  --->> Carlo is *dancing*
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/17/12 7:49 AM
Carlo,
You are more than welcome.

As per the Red-Border: It's because it is a debug build. I won't do a
release build soon, sorry in advance.
You can disable it in Settings->Developer Options->Disable strict mode
(or something like that...)

As per HP Pavilion - lspci -k.
What's working (or not working)? Is only the ethernet not working? Or
other stuff too? Ethernet (should be) relatively easy to fix. Other
stuff may require more efforts...

-Ron
> https://groups.google.com/d/msg/android-x86/-/FzXKCMZLoeMJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Alshammari 7/18/12 12:23 AM
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/18/12 3:43 AM
You should be able to do that form the Settings --> Ethernet menu.
Check the non-DHCP radio button and put your static settings.

If that does not work - go to the console, and configure it with
"ifconfig" as if you were on any linux distribution.
Verify your settings with "netcfg".

Anyway - settings/static IP should work.
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/TsS0L4py59AJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Alshammari 7/18/12 3:56 AM
Hi Ron and thanks for your reply!
I know that i can do it from setting or shell commands but i meant if it could be done internally by modifying maybe source code. 



On Wednesday, July 18, 2012 12:43:23 PM UTC+2, Ron M wrote:
You should be able to do that form the Settings --> Ethernet menu.
Check the non-DHCP radio button and put your static settings.

If that does not work - go to the console, and configure it with
"ifconfig" as if you were on any linux distribution.
Verify your settings with "netcfg".

Anyway - settings/static IP should work.


>> Hallo!
>> I have applied the patches and it works fine, is there a way to set a
>> static IP address?
>> Thank you!
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/TsS0L4py59AJ.
>
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-x86...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-x86?hl=en.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/18/12 4:13 AM
Of course you can. You have the sources :-)
> https://groups.google.com/d/msg/android-x86/-/M-joB30CFxIJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Alshammari 7/18/12 4:49 AM
but do you know which class/file responsible for that? because i couldn't know :)


On Wednesday, July 18, 2012 1:13:40 PM UTC+2, Ron M wrote:
Of course you can. You have the sources :-)


Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 7/18/12 5:45 AM
Follow the function updateDevInfo()  at class EthernetManager. You'll
find whatever you need there.
You'll see the usage in the patch of packages/apps/Settings .


-Ron
> https://groups.google.com/d/msg/android-x86/-/lzGQfYdQHl8J.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) NewBoy 7/18/12 9:19 AM
Is there any simple way for new users?
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Nahkju Jeong 7/19/12 7:53 PM
Hi,
 
I patched attached file.
But, I 've got "No Internet connection" on statusbar.
 
Internet connection is OK(Browser is working), but status message and status icon is not correct.
 
NETWORK_STATE_CHANGED or ETHERNET_STATE_CHANGED event does not occurred.
 
No errors during patch.
 
What should I do more?
 
 
 
2012년 7월 16일 월요일 오후 10시 50분 54초 UTC+9, Ron M 님의 말:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruce Q 8/12/12 7:23 AM
Hi Ron,

Thank you for your build. I have tried all the builds on my Samsung Series 7 Slate and yours seems to have nearly everything working except for the touchscreen and it doesn't seem to be able to wake up from sleep.

I see this patch for RC1 and have no idea how I can apply this to your build. Can you help me with this?
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Chih-Wei Huang 8/12/12 9:24 PM
2012/8/12 Bruce Q <qua...@gmail.com>:
> I see this patch for RC1 and have no idea how I can apply this to your
> build. Can you help me with this?
> http://code.google.com/p/android-samsung700t/source/browse/islate/android-amaxtouch.patch

This patch has already been added to 4.0-RC2

--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruce Q 8/13/12 2:13 AM
Hi  Chih-Wei,

How do I get the touchscreen to work with RC2? I tried nearly all the ISO and the only one that seem to have the touchscreen working on my s7s is android-x86-4.0-RC2-s103t.iso.
This image keep giving the error of SystemUI has stopped working though. I tried typing modprobe wacom in debug mode as someone suggested on the forums and this doesn't seem to work either.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 8/13/12 4:30 AM

Bruce - as per SystemUI stopped working - I suggest you disable GPU acceleration (HWACCEL=0 on kernel boot)

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/ffVR-Kb1ewsJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruce Q 8/13/12 6:40 AM
Thanks Ron. I just tried it and it seems to a bit better but I still get that error Unfortunately System Ui has stopped. 
The s103t image doesn't seem to have wireless and sound support on the Samsung Slate. 

For now I think I will use your iso with the mouse and keyboard until I find out how to enable the amaxtouch driver.
unk...@googlegroups.com 8/13/12 5:13 PM <This message has been deleted.>
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) dscm 8/13/12 5:16 PM
have you tried the builds from:

   http://wwww.tabletsx86.org/android-x86-builds.htm

ethernet builds available there...gen_x86 and older generic_x86(no
hwaccel) and there isn't a lot of differences from RC1 to RC2..(imo)

On Aug 12, 10:23 am, Bruce Q <quac...@gmail.com> wrote:
> Hi Ron,
>
> Thank you for your build. I have tried all the builds on my Samsung Series
> 7 Slate and yours seems to have nearly everything working except for the
> touchscreen and it doesn't seem to be able to wake up from sleep.
>
> I see this patch for RC1 and have no idea how I can apply this to your
> build. Can you help me with this?http://code.google.com/p/android-samsung700t/source/browse/islate/and...
>
>
>
>
>
>
>
> On Wednesday, 18 July 2012 22:45:16 UTC+10, Ron M wrote:
>
> > Follow the function updateDevInfo()  at class EthernetManager. You'll
> > find whatever you need there.
> > You'll see the usage in the patch of packages/apps/Settings .
>
> > -Ron
>
> > On Wed, Jul 18, 2012 at 2:49 PM, Alshammari <moalsh...@gmail.com<javascript:>>
> > wrote:
> > > but do you know which class/file responsible for that? because i
> > couldn't
> > > know :)
>
> > > On Wednesday, July 18, 2012 1:13:40 PM UTC+2, Ron M wrote:
>
> > >> Of course you can. You have the sources :-)
>
> > >> > Hi Ron and thanks for your reply!
> > >> > I know that i can do it from setting or shell commands but i meant if
> > it
> > >> > could be done internally by modifying maybe source code.
>
> > >> > On Wednesday, July 18, 2012 12:43:23 PM UTC+2, Ron M wrote:
>
> > >> >> You should be able to do that form the Settings --> Ethernet menu.
> > >> >> Check the non-DHCP radio button and put your static settings.
>
> > >> >> If that does not work - go to the console, and configure it with
> > >> >> "ifconfig" as if you were on any linux distribution.
> > >> >> Verify your settings with "netcfg".
>
> > >> >> Anyway - settings/static IP should work.
>
> > >> >> >> Hallo!
> > >> >> >> I have applied the patches and it works fine, is there a way to
> > set
> > >> >> >> a
> > >> >> >> static IP address?
> > >> >> >> Thank you!
>
> > >> >> > --
> > >> >> > You received this message because you are subscribed to the Google
> > >> >> > Groups
> > >> >> > "Android-x86" group.
> > >> >> > To view this discussion on the web visit
> > >> >> >https://groups.google.com/d/msg/android-x86/-/TsS0L4py59AJ.
>
> > >> >> > To post to this group, send email to andro...@googlegroups.com<javascript:>.
>
> > >> >> > To unsubscribe from this group, send email to
> > >> >> > android-x86...@googlegroups.com <javascript:>.
> > >> >> > For more options, visit this group at
> > >> >> >http://groups.google.com/group/android-x86?hl=en.
>
> > >> > --
> > >> > You received this message because you are subscribed to the Google
> > >> > Groups
> > >> > "Android-x86" group.
> > >> > To view this discussion on the web visit
> > >> >https://groups.google.com/d/msg/android-x86/-/M-joB30CFxIJ.
>
> > >> > To post to this group, send email to andro...@googlegroups.com<javascript:>.
>
> > >> > To unsubscribe from this group, send email to
> > >> > android-x86...@googlegroups.com <javascript:>.
> > >> > For more options, visit this group at
> > >> >http://groups.google.com/group/android-x86?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google
> > Groups
> > > "Android-x86" group.
> > > To view this discussion on the web visit
> > >https://groups.google.com/d/msg/android-x86/-/lzGQfYdQHl8J.
>
> > > To post to this group, send email to andro...@googlegroups.com<javascript:>.
>
> > > To unsubscribe from this group, send email to
> > > android-x86...@googlegroups.com <javascript:>.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruce Q 8/14/12 4:00 AM
For RC1 the standard files for the asus laptop with the updated files from  http://code.google.com/p/android-samsung700t/  works fine for touch screen and display. However I lose the arm translator and wireless card.
unk...@googlegroups.com 8/14/12 6:06 AM <This message has been deleted.>
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bruce Q 8/14/12 6:49 AM
I tried putting this file into /system/usr/idc from the working ISO with the touchscreen. It still doesn't load the touch screen device.
Vendor_03eb_Product_211c_Version_0111.idc

Do I have to load this mk file somehow as well?
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) fierte 8/17/12 1:12 AM
Hi Ron,

Awesome job!

Would it be possible to provide steps you took to generate this build? 

As I mentioned in my post here: https://groups.google.com/d/topic/android-x86/ouzzu1Pluo4/discussion, your desktop_generic.iso build works for me!

I would like to reproduce it, so that I can add modifications to it.

Thanks,
fierte 

On Tuesday, July 17, 2012 10:50:59 PM UTC+10, Ron M wrote:
Thanks Carlo.
BTW I just uploaded the new build anyway. It should work for your NIC:
http://www.sendspace.com/file/t5a3aj



On Tue, Jul 17, 2012 at 3:43 PM, frendcarlo <frend...@gmail.com> wrote:
> Hi Ron,
>
> This is great. I will test this and will let you know. many thanks! -->>
> Carlo
>
>
> On Tuesday, July 17, 2012 2:08:05 PM UTC+2, Ron M wrote:
>>
>> I did the search for you...  Please try
>> http://www.sendspace.com/file/l2gebz  .
>> I think E1000/E also contains the drivers for the E100 .
>>
>> I am now building you another version with  CONFIG_E100, and if it
>> builds OK I will upload it somewhere but it will take some time - and
>> will be untested (cf. to the previous link which has been thoroughly
>> tested on a couple of targets).
>>
>> Please let me know if that iso worked for you, and if it didn't you
>> can expect a new one (again, untested!) in a couple of hours.
>>
>>
>> -Ron
>>
>
>
>>
>> > Hi Ron,
>> >
>> > The iso version that works with my pc is from the asus_pc/table version
>> > of
>> > 4.0_RC2 by androidx-86.org site and the one from tabletsx86.org.
>> >
>> > With regards to the lspci -k, below are the output:
>> >
>> > ubuntu@ubuntu:~$ lspci -k
>> > 00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller
>> > Hub
>> > (rev 02)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> > 00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root
>> > Port
>> > (rev 02)
>> >     Kernel driver in use: pcieport
>> >     Kernel modules: shpchp
>> > 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition
>> > Audio Controller (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: snd_hda_intel
>> >     Kernel modules: snd-hda-intel
>> > 00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI
>> > Controller #1 (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: uhci_hcd
>> > 00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI
>> > Controller #2 (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: uhci_hcd
>> > 00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI
>> > Controller #3 (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: uhci_hcd
>> > 00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI
>> > Controller #4 (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: uhci_hcd
>> > 00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI
>> > Controller (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: ehci_hcd
>> > 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
>> > 00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface
>> > Bridge
>> > (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel modules: leds-ss4200, iTCO_wdt
>> > 00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA
>> > Controller
>> > [AHCI mode] (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: ahci
>> > 00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev
>> > 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel modules: i2c-i801
>> > 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
>> > RV610 video device [Radeon HD 2400 PRO]
>> >     Subsystem: Micro-Star International Co., Ltd. Device 1041
>> >     Kernel driver in use: radeon
>> >     Kernel modules: radeon
>> > 02:01.0 FireWire (IEEE 1394): LSI Corporation FW322/323 (rev 70)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: firewire_ohci
>> >     Kernel modules: firewire-ohci
>> > 02:04.0 Multimedia controller: Philips Semiconductors
>> > SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
>> >     Subsystem: ASUSTeK Computer Inc. Device 4871
>> >     Kernel driver in use: saa7134
>> >     Kernel modules: saa7134
>> > 02:08.0 Ethernet controller: Intel Corporation N10/ICH 7 Family LAN
>> > Controller (rev 01)
>> >     Subsystem: Hewlett-Packard Company Device 2a53
>> >     Kernel driver in use: e100
>> >     Kernel modules: e100
>> >
>> > btw, this is the pc I am trying to make work.
>> >
>> >
>> > http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01168304&lc=en&cc=us&dlc=en&product=3561058#N575
>> >
>> > Many thanks. >> Carlo
>> >
>> >
>> > On Tuesday, July 17, 2012 12:11:28 PM UTC+2, Ron M wrote:
>> >>
>> >> Let's do the following.
>> >>
>> >> I have posted in this group a couple of months ago a link to an .iso
>> >> with ethernet support for at least some of the targets.
>> >> If that one works for you - I will later upload another iso (for RC2).
>> >>
>> >> Otherwise - you don't have "eth0" enabled simply because it is not
>> >> built with your kernel, so we need to identify your NIC.
>> >> For that, come up with a live linux CD if you can, let me know what
>> >> the output for lspci -k  says and I will try to support you on this
>> >> one.
>> >>
>> >> How about that?
>> >>
>> >>
>> >>
>> >>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Android-x86" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/android-x86/-/ir2qeV8Nt8AJ.
>> >
>> > To post to this group, send email to andro...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > android-x86...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-x86?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/0qGoYnovWQoJ.
>
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-x86...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-x86?hl=en.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Ron M 8/28/12 5:44 AM
Thank you.

I pretty much explained it before with the kernel config etc.
I would be glad to share my device tree with you but the most of the important stuff is pretty much explained here before, with the listing of the kernel config.
Other than that I added a couple of firmware (ucode) files to /lib/firmware, and did what we all do 
I am not sure whether it is legitimate to add the arm-libs and the google apps into a git-hub repository, as they should be proprietary.
Can anyone advice on uploading this stuff (arm-libs, gapps) to github, or some other public repository? 
It's pretty simple to find what comes where, but if I share my device tree partially you won't be able to use it as is without the arm stuff.

-Ron
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 8/28/12 5:58 AM
Hi Ron,

Greeting!

I am playing with the android source code by building my own build and I want to apply your patch, but I stop in the portion where you said kernel config as where to find that?

Also, when I make a git patch command, I see warnings, like

"warning: core/pathmap.mk has type 100755, expected 100644"

Btw, I just get the sourcecode the other day so i think i will have the latest one.

With Kind Regards, Carlo


On Monday, July 16, 2012 3:50:54 PM UTC+2, Ron M wrote:
Hi guys,

For those of you who wanted to integrate an Ethernet patch to their
recent build,
this is a slightly modified version of my previous patch set derived
from the work of Henry, Robill, Yi and others (@see
https://groups.google.com/forum/#!topic/android-x86/MPoj2Bzd-rE)

Change set:
1. Applies on 4.0.4 variants
2. If an interface called "eth*" exists - it will select the lowest
eth number as the eth device, so that it can connect automatically to
the ethernet device, rather than choose automatically
sit or ipv6 tunneling devices.
3. Removed the misleading "No internet connection" when internet is connected.

I tested it on a couple of IMM76I and IMM76L targets.
There is still more work to be done, but that should get you going
without much trouble.

BTW: I have another patch set which has the ethernet configuration be
toggled by a switch as with the Wi-Fi and Bluetooth case in the
Settings application, but it was too quick, and too dirty so I am not
posting it yet. If anyone would like to have that feature, or even
better work on it (Just need to change the Setting and SystemUI
(Tablet) apps, but it's quite multi-layered so they need to know what
they're doing)


##### How to apply the patch: #####

# Copy the attached tarball to your AX86 build top directory and do
the following steps:

tar -xzvf EthernetPatch_IMM76I_L.tar.gz
cd build/
git apply 0001-Adding-Ethernet-patch-for-android-x86-4.0-RC1-AOSP-4.patch
cd ..
cd frameworks/base/
git apply 0001-Ethernet-support-Patch-for-ICS4.0.4-IMM76I.patch
cd ../../
cd packages/providers/DownloadProvider/
git apply 0001-Adding-Ethernet-patch-Cr-android-x86-4.0-RC1-AOSP-4..patch
cd ../../../
cd packages/apps/Settings/
git apply 0001-Ethernet-support-Patch-for-ICS4.0.4-IMM76I.patch


Some kernel configuration for the interested reader:

##### Kernel Config snippet #####
< CONFIG_NET_ETHERNET=y
< CONFIG_NET_PCI=y
< CONFIG_E1000E=y
< ## XEN
< CONFIG_8139CP=y
< CONFIG_8139TOO=y
<
< ## VirtualBox
< CONFIG_PCNET32=y


Have fun, drive safe.

-Ron
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Bartek Schmelter 8/29/12 1:14 AM
W dniu wtorek, 28 sierpnia 2012 14:58:25 UTC+2 użytkownik frendcarlo napisał:
How to install Ethernet because I do not understand. View video instructions
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) dscm 8/29/12 5:20 PM
to all who are having issues with Ron's patch, I applied his patch to
RC2 about a month ago and
it all worked fine....follow his instructions he references in these
threads....will revisit the work in the next week or so
if time permits........

On Aug 29, 4:14 am, Bartek Schmelter <bartek.schmelt...@gmail.com>
wrote:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 8/30/12 1:12 AM
Hi Bartek,

You just need to follow the instructions from Ron's message. It should work as what dscm says.  I am currently making a build now and I think it will finish by the end of the day.. hehehe!.. I only have Pentium D with 2gb of memory and compiling takes a whole day for me in ubuntu 12.04.  

Is there any kind of documentation on where to find the folders for the drivers that I need for my device?  I see some files that has options with "yes" and "no" but I couldn't figure out which of those drivers are for my drivers.. hehehe.. some are initials.  I can google the initials thou but maybe there is a nice tutorial or documentation for this, and is very much appreciated. 

Anyway, great work for androidx86 community!.. -- carlo

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.


Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) dscm 9/3/12 6:22 PM
Ron's patch implemented on RC2 builds:

    http://www.tabletsx86.org

select Android-x86 Test Builds


On Aug 29, 8:20 pm, dscm <rbg.hptou...@gmail.com> wrote:
> to all who are having issues withRon'spatch, I applied his patch to
> RC2 about a month ago and
> it all worked fine....follow his instructions he references in these
> threads....will revisit the work in the next week or so
> if time permits........
>
> On Aug 29, 4:14 am, Bartek Schmelter <bartek.schmelt...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > W dniu wtorek, 28 sierpnia 2012 14:58:25 UTC+2 użytkownik frendcarlo napisał:
>
> > > HiRon,
>
> > > Greeting!
>
> > > I am playing with the android source code by building my own build and I want to apply your patch, but I stop in the portion where you said kernel config as where to find that?
>
> > > Also, when I make a git patch command, I see warnings, like
>
> > > "warning: core/pathmap.mk has type 100755, expected 100644"
>
> > > Btw, I just get the sourcecode the other day so i think i will have the latest one.
>
> > > With Kind Regards, Carlo
>
> > > On Monday, July 16, 2012 3:50:54 PM UTC+2,RonMwrote:Hi guys,
unk...@googlegroups.com 9/27/12 1:12 PM <This message has been deleted.>
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) sundar rajan 9/28/12 6:19 AM
Hi Ron,

  I integrated the ethernet patches in board which is running on ICS mobile code.
My objective is to make the android connectivityManager to understand the ethernet support.

Afterwards,Settings are not launching.

I added below lines in init.rc:


#this is for ethernet support as similar to WiFi support
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
    disabled
    oneshot
service iprenew_eth0 /system/bin/dhcpcd -n
    disabled
    oneshot

created /data/misc/dhcp folder.Ethernet service is running fine. But I am getting below logs:

01-02 00:00:38.578 E/EthernetStateTracker( 1275): DhcpHandler: DHCP request failed: Timed out waiting for dhcpcd to start
01-02 00:00:38.578 D/EthernetStateTracker( 1275): DhcpHandler: DHCP request started
01-02 00:01:08.588 E/EthernetStateTracker( 1275): DhcpHandler: DHCP request failed: Timed out waiting for dhcpcd to start

I am not able to get IP address from ethernet service level.Sometimes I am getting IP address in ethernet service as below:

D/EthernetStateTracker( 1130): DhcpHandler: DHCP request succeeded: addr: 10.1.25.45/20 mRoutes: 0.0.0.0/0 -> 10.1.16.1 |  dns: 10.1.0.200,10.1.0.210 dhcpServer: 10.1.0.200 leaseDuration: 604800
W/EthernetStateTracker( 1130): Could not stop DHCP


After sometimes I am getting the DHCP timed out error.

while analysing this issue,I observed the following:

  1)EthernetMonitor.java is handling 3 events.
     PHYUP -while connecting ethernet cable, ethernet service is getting this notification
     DISCONNECTED - ethernet service is getting this notification while disconnecting ethernet cable
     CONNECTED - I am not at all getting this notication
  
  My Question is:

 1) How ethernet monitor is receiving notifications ?
 2) CONNECTED state is not received in ethernet service. Is it a rootcause of the problem?
 3) DHCPCD or DHCP timed out issue is happening?
 4) I applied the ethernet patch over the ICS mobile code. Is it a problem ?
 5) Settings are crashing. Is it a known issue?


  I am really thankful if you can give me some pointers to proceed in this issue.

Regards,
Sundararajan
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Boaz Ben David 9/30/12 2:17 AM
Hi,

I am also interested in this, it seems the VPN connections are not working (when using only ethernet) from the same reason.
unk...@googlegroups.com 9/30/12 7:56 PM <This message has been deleted.>
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Elias DC 10/26/12 1:47 AM
Hi Ron,

I'm working on a Zotac node with the eeepc build. With your patch everything is working fine with normal use.

But for my next project I need two interfaces to connect (wireless and ethernet). Is this even possible on Android? When I start the ethernet the wireless loses connection and the other way around as-well.

And one small bug I found with your patch is when Android device goes to sleep and wakes up again the ethernet connection can't be reestablished automatically.

Greetings,
Elias
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Maksim Lin 10/31/12 8:01 PM
Hi,

I ran into exactly the same issue.

Turns out there is a typo in Rons (otherwise EXCELLENT) patch:
line 113 of frameworks/base/core/res/res/values/config.xml should read:
        <item>"wifi,1,1,1,-1,true"</item>

ie, wifi should be lower not upper case.

At least making that change and recompiling the image fixed it for me.

thanks again Ron for your very useful patch, hope the x86 team can merge it in for the next RC.

Maks.
On Friday, 28 September 2012 06:12:17 UTC+10, asahi wrote:
Hi All,

I tried to apply this patch to newest ics source tree (from android-x86.org), but the generated image can't boot normally (only the android logo blinks every several seconds). If no patch is applied, the generated image can boot as usual, so I assume that something was wrong during my patch applying. 

I did saw some warnings like white spaces during the git apply, but the compiling was successful so I thought it should be fine. 

I really don't want to manually apply the patch... Anyone had the same error before?

PS: I am targeting eeepc and using the image in qemu-kvm.

Thanks,
Asahi


On Monday, September 3, 2012 9:22:08 PM UTC-4, dscm wrote:
Ron's patch implemented on RC2 builds:

    http://www.tabletsx86.org

select Android-x86 Test Builds


On Aug 29, 8:20 pm, dscm <rbg.hptou...@gmail.com> wrote:
> to all who are having issues withRon'spatch, I applied his patch to
> RC2 about a month ago and
> it all worked fine....follow his instructions he references in these
> threads....will revisit the work in the next week or so
> if time permits........
>
> On Aug 29, 4:14 am, Bartek Schmelter <bartek.schmelt...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > W dniu wtorek, 28 sierpnia 2012 14:58:25 UTC+2 użytkownik frendcarlo napisał:
>
> > > HiRon,
>
> > > Greeting!
>
> > > I am playing with the android source code by building my own build and I want to apply your patch, but I stop in the portion where you said kernel config as where to find that?
>
> > > Also, when I make a git patch command, I see warnings, like
>
> > > "warning: core/pathmap.mk has type 100755, expected 100644"
>
> > > Btw, I just get the sourcecode the other day so i think i will have the latest one.
>
> > > With Kind Regards, Carlo
>
> > > On Monday, July 16, 2012 3:50:54 PM UTC+2,RonMwrote:Hi guys,
> > How to install Ethernet because I do not understand. View video instructions
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Nate Holcomb 11/2/12 6:28 AM
I am a user that can follow directions pretty decently....could someone please breakdown for me how to apply to patch to 4.0 rc2?
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Maksim Lin 11/4/12 3:47 PM
Nate, I pretty much just followed Ron's instructions (that you quoted below) after following the instructions on how to get the code from here:
http://www.android-x86.org/getsourcecode

and it worked for me, barring the small change I made that I commented on in my previous post.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) sundar rajan 11/4/12 10:23 PM
Hi All,

   Ethernet patch is working fine. But At a time, I  can use either wifi or ethernet.
Is it possible to make android to work on wifi and ethernet at the same time as similar to Ubuntu ?
 
Regards,
Sundararajan
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) WebDawg 11/5/12 5:20 AM
I installed android-x86-4.0-RC2-eeepc.iso in xen successfully.  It works great except for ethernet/vif support.  I configure it with a vif interface and the OS does not list an eth0 or any eth interface.

I am reading but I would like to ask for direction.  Should I apply the patch below?  Download a build with support already integrated?

I have not ever compiled android but would like to.  Someone mentioned somewhere that the below patch would work if the interface is already there.  Else I would need to compile a module for support.  Are they wrong?

Thanks,

Web..
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) frendcarlo 11/6/12 4:26 AM
Hi WebDrawg,

If the eeepc works for you then try to download the eeepc version in this link www.tabletsx86.org.  Those builds have ethernet patches.  Good luck!
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) WebDawg 12/3/12 7:49 PM
Anyone have a copy of android-x86-4.0.4-eth0-eeepc-20120911.iso or
know what patches I should put in to make it?

It was on tabletsx86.org but has been deleted.
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-x86/-/Dn0JaeNb9ogJ.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Furkan Kuk 12/18/12 9:44 AM
Please Patch video tutorial?..

16 Temmuz 2012 Pazartesi 16:50:54 UTC+3 tarihinde Ron M yazdı:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Jeya J 12/23/12 4:23 AM
Hi Ron,
I'm new to this field. I gone through your post here and tried to apply the patch. I used both terminal emulator and in debug mode, both returned me 'git' function is not available. what can I do now? I need to apply the eth0 patch. Please help! how and where to exactly apply the patch.


On Monday, July 16, 2012 7:20:54 PM UTC+5:30, Ron M wrote:
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) F van Beek 12/26/12 1:59 AM
Ron's patch is for the Android source code. It should be run on the system that compiles Android, not within Android itself like you are trying to do.

I've never tried compiling Android myself, so I can't comment on how easy or hard that is to do. You can read more about it on this page:



--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/spcF275Pq-MJ.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Romain Sertelon 1/10/13 7:17 AM
Hi Ron, 

I've applied your patch without problems, however, the ethernet service ends up trying to use an IPv6 tunneling interface.

I cannot see the code filtering the interface names to get only eth*, did I missed something?

Cheers,
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Maksim Lin 1/13/13 7:14 PM
the ipv6 device gets selected by default but you can just change that to use eth0 in the ethernet settings section of android "Settings" .
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Romain Sertelon 1/14/13 1:38 AM
@Maksim (sorry hit the wrong button)

I understood that I can select the required interface via the Settings UI, but we don't use it.

We've added support for Ethernet via this patch to benefit from the better implementation of the connection life cycle.

As Ron's stated in his second point, this patch should auto select ethX (with X the smallest possible) when it detects interfaces so we don't have to change it by hand. And this is where I got stuck, because I cannot find where this is supposed to be done (seems missing).

I've modified android_net_ethernet.cpp#netlink_init_interfaces_list to keep only ethX interfaces, but this isn't generic anymore...

Thus, my question :)

Cheers,

Romain
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Maksim Lin 1/14/13 10:02 PM
Oops I replied directly to you to. Here it is for everyone else:

Hi Romain,

Apologies, I should not have assumed you were asking from the viewpoint of a user instead of a developer.

You're completely correct, eth0 should be selected by default but isn't as you point out and I see the same thing here using Ron's patch.

I think that android_net_ethernet.cpp#netlink_init_interfaces_list should still iterate interfaces other than eth* so I agree its better to add a sort at the end of the function to put eth* at the start of the list.
If you are not planning to write that I might have a go at it in the next few days.

Maks.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Romain Sertelon 1/14/13 11:18 PM
Hi ;)

No problem ! I'm not very fluent in C/C++, so I'd prefer not to code it, to avoid bad practices :p

However, I can try to do it and show you to see if it's okay.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) JPT 1/16/13 8:58 AM
Hi,

which is the most up to date ethernet patch?
I found one at the bottom of the download page of android-x86 and one in the oldest post in this thread.
they look similar but its too much to decide which one is "better" by viewing the contents.


Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Maksim Lin 1/16/13 5:23 PM
Its been a long time since I've done any C/C++ myself, so I'm happy for you too have a go if you have the time and inclination.

If you do do it, feel free to post the patch, I'll be happy to test it out and give any other help or feedback I can.
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Romain Sertelon 1/17/13 2:53 AM
Based on the publishing dates, Ron's patch (in this thread) seems to be the most up to date patch ;)
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) Romain Sertelon 1/17/13 2:54 AM
I'll see what I can do and keep you posted ^^ (but I cannot promess anything ;))
Re: Ethernet patch for the 4.0.4 ics-x86 variants (applicable to Android-X86 4.0-RC2 as well) NEW USER 4/29/13 5:20 AM
HI I WENT THE ISO WITH ETHRNET PATCH WHERE CAN I FIND IT>

بتاريخ الاثنين، 16 يوليو، 2012 UTC+3 4:50:54 م، كتب Ron M:
unk...@googlegroups.com 5/1/13 5:17 PM <This message has been deleted.>
More topics »