Re: Still alive?

From: Mikko Silvennoinen <mikko_at_pwar.net>
Date: Wed, 14 May 2008 12:52:06 +0300

Hi Angel !

You don´t need the usb-connection at this point, to contribute to the
SD-card boot
development or testing. Making the SD-card from the Ĺngström-image and
booting
Axim from the SD-card don't need the usb-connection to work, if you can
back up
your previus stuff with a Windows machine or otherwise.

I managed to make the usb-connection to work (at least when the original
MS Mobile5 Windows was on),
and I think it did work also with SD-card boot.
With my Fedora 6 I did like this:
make the following (ASCII text-files) and copy them to the following
location:
Check the gentoo instructions below first, the copying this migth not
work ! Also in gentoo it migth be in a sligthly different location, you
should find out by
browsing your /etc directory and finding files like: ifcfg-eth0
ifup-ipv6 and network-functions and put the new ones in the same directory.
#start of file1
# USB configuration for AximX51v, change the ip-address to what you need
#works in Fedora at least, save as file name
/etc/sysconfig/network-scripts/ifcfg-usb0
DEVICE=usb0
BOOTPROTO=none
IPADDR=192.168.0.220
NETMASK=255.255.255.255
ONBOOT=yes
MII_NOT_SUPPORTED=no
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
#end of file1

#start of file2
# USB configuration for AximX51v, change the ip-address to what you need
#works in Fedora at least, save as file name
/etc/sysconfig/network-scripts/route-usb0
192.168.0.202 scope host dev usb0

#end of file2

For this to work, you must have USB networking enabled in the kernel.
Most distributions already include this as a module. If you have
compiled your own custom kernel, the following section describes how to
enable USB networking in the configuration.
Setting up Hotplug
Gentoo
 Add usbnet to autoloaded modules:
echo "usbnet" >> /etc/modules.autoload.d/kernel-2.6
 Configure /etc/conf.d/net and create and entry for usb0 like:
config_usb0=( "192.168.0.200 broadcast 192.168.0.255 netmask
255.255.255.0" )
 Create a symlink from net.lo to net.usb0
ln -sf /etc/init.d/net.lo /etc/init.d/net.usb0
 Udev will try to execute every /etc/init.d/net.$INTERFACE that comes
online. So after loading the usbnet module, the interface will still be
down. It will wait until usbnet on the handheld is started and then it
will see usb0 coming online. Make sure you then have your configuration
ready.
 
Red Hat, Fedora and other similar distributions
 Add usbnet to be autoloaded on startup to the according file
/etc/modules.conf
 Create an file in /etc/sysconfig/network-scripts/ called ifcfg-usb0
Check ifcfg-eth0 for an example and use the IP values written above in
the gentoo section.
 Make sure the next line is in ifcfg-usb0:
ONBOOT=yes
 restart hotplug to be sure it works :)
service hotplug restart

Mikko Silvennoinen

Mikko Silvennoinen

Angel Sánchez Morales wrote:
> Hi!
> I've got an x50v and when i was involved in this i was trying to get
> usb connection :p
>
> But i don't have much time to spend. I'm using gentoo linux, so if you
> need something to test/try or help... I'll be reading the mailing list
> :D
>
> Angel
>
> On Wed, May 14, 2008 at 3:03 AM, Joe Belford <joebelford_at_gmail.com> wrote:
>
>> I'm not a major contributor but I've been playing around with it a bit
>> lately. Currently I'm working on the touchscreen. Pretty much a spare time
>> project though.
>>
>> -Joe
>>
>>
>>
>> On May 13, 2008, at 10:08 AM, Stavros Fox Polymenis wrote:
>>
>>
>>
>>> Greetings all,
>>>
>>> Is this effort still alive?
>>>
>>> Regards
>>>
>>> --
>>> _______________________________________________
>>> Aximx50-port mailing list
>>> Aximx50-port_at_handhelds.org
>>> https://www.handhelds.org/mailman/listinfo/aximx50-port
>>>
>>>
>> --
>> _______________________________________________
>> Aximx50-port mailing list
>> Aximx50-port_at_handhelds.org
>> https://www.handhelds.org/mailman/listinfo/aximx50-port
>>
>>
Received on Wed May 14 2008 - 05:52:12 EDT

This archive was generated by hypermail 2.2.0 : Thu May 22 2008 - 13:16:20 EDT