![]() ![]() |
Apr 7 2005, 11:20 PM
Post
#1
|
|
|
Group: Members Posts: 92 Joined: 19-November 04 From: here or there.. it changes so often ;-) Member No.: 5,525 |
Hi all,
i've recently bought an USB to LAN adapter for use with my sl-c3000. I run sharp rom 1.11 and tetsu's kernel v17h. Unfortunately, module "pegasus.o" which is needed is not compiled with the kernel. I'm wondering what's the simplest and fastest way to get it... i could : - ask someone to compile it ? - compile it on my zaurus ? but how ? - cross-compile it on my linux box... well since i've not set up a cross-compiling environment yet, i don't feel it would be the fastest... any idea ? loran |
|
|
|
Apr 8 2005, 01:16 AM
Post
#2
|
|
|
Group: Members Posts: 92 Joined: 19-November 04 From: here or there.. it changes so often ;-) Member No.: 5,525 |
since i was happy to test this... i have installed the cross-compiling environment in less than 10 minutes. Then i've compiled the modules in another 10 minutes and installed my module on my zaurus.
did a CODE # cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/ # depmod -a then created /etc/hotplug/usb/pegasus CODE #!/bin/bash ./etc/hotplug/hotplug.functions ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up if [ $? = 0]; then ln -s pegasus.off $REMOVER fi and /etc/hotplug/usb/pegasus.off CODE #!/bin/bash ./etc/hotplug/hotplug.functions ifconfig eth0 down the module joined was compiled with Sharp ROM 1.01 kernel sources the eth0 interface shows up correctly with the ip address i configured. I currently have no way to test physical connection... i will tonight ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP loran This post has been edited by darkloran: Apr 8 2005, 03:06 AM
Attached File(s)
|
|
|
|
Jun 6 2005, 08:35 PM
Post
#3
|
|
|
Group: Members Posts: 29 Joined: 23-April 05 Member No.: 6,972 |
The above driver have version 0.4.26 and doesn't support some newer chips. I've compiled (see an attachment) more recent version 0.4.32 and tested it with ADM8513 based board on tetsu's v18a kernel. Installation procedure are the same. Below is the list of cards supported by this driver:
CODE 3Com USB Ethernet 3C460B
ADMtek ADM8511 "Pegasus II" USB Ethernet ADMtek ADM8513 "Pegasus II" USB Ethernet ADMtek AN986 "Pegasus" USB Ethernet (evaluation board) ADMtek AN986A USB MAC AEI USB Fast Ethernet Adapter Accton USB 10/100 Ethernet Adapter Allied Telesyn Int. AT-USB100 Belkin F5D5050 USB Ethernet Billionton USB-100 Billionton USBE-100 Billionton USBEL-100 Billionton USBLP-100 Corega FEter USB-TX Corega FEter USB-TXS D-Link DSB-650 D-Link DSB-650TX D-Link DSB-650TX(PNA) EasiDock Ethernet Elsa Micolink USB2Ethernet GIGABYTE GN-BR402W Wireless Router GOLDPFEIL USB Adapter HP hn210c Ethernet USB Hawking UF100 10/100 Ethernet IO DATA USB ET/TX IO DATA USB ET/TX-S Kingston KNU101TX Ethernet LANEED USB Ethernet LD-USB/T LANEED USB Ethernet LD-USB/TX Linksys USB USB10TX Linksys USB100TX Linksys USB10T Ethernet Adapter Linksys USB10TX MELCO/BUFFALO LUA-TX MELCO/BUFFALO LUA2-TX Microsoft MN-110 NETGEAR FA101 OCT USB TO Ethernet SMC 202 USB Ethernet SMC 2206 USB Ethernet SOHOware NUB100 Ethernet SOHOware NUB110 Ethernet SpeedStream USB 10/100 Ethernet USB 10/100 Fast Ethernet USB HPNA/Ethernet iPAQ Networking 10/100 USB smartNIC 2 PnP Adapter
Attached File(s)
|
|
|
|
Jun 22 2005, 08:30 PM
Post
#4
|
|
|
Group: Members Posts: 29 Joined: 23-April 05 Member No.: 6,972 |
I've found that netswitch package works fairly well (the above hotplug code not needed), but sometimes USB card fails on resume (cacko rom 1.23b1). The following simple code placed in to /usr/bin/netresume allows manual restart:
CODE #!/bin/sh rmmod usb-monitor insmod usb-monitor In addition, symlink added to /etc/apm.d/resume.d do this automatically: CODE ln -s /usr/bin/netresume R50usbnet
|
|
|
|
Jun 22 2005, 11:08 PM
Post
#5
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Boris @ Jun 23 2005, 02:30 PM) I've found that netswitch package works fairly well (the above hotplug code not needed), but sometimes USB card fails on resume (cacko rom 1.23b1). The following simple code placed in to /usr/bin/netresume allows manual restart: CODE #!/bin/sh rmmod usb-monitor insmod usb-monitor In addition, symlink added to /etc/apm.d/resume.d do this automatically: CODE ln -s /usr/bin/netresume R50usbnet I'll include this and the pegasus driver into the netswitch package to make it even simpler for other users. |
|
|
|
Jun 23 2005, 07:27 AM
Post
#6
|
|
|
Group: Members Posts: 29 Joined: 23-April 05 Member No.: 6,972 |
|
|
|
|
Feb 25 2006, 03:07 PM
Post
#7
|
|
|
Group: Members Posts: 409 Joined: 23-November 04 From: Murphy, North Carolina USA Member No.: 5,590 |
darkloran,
Just got a USB GPS and I guess I need this driver but I have no clue what to do with the pegasus.o file. I'm used to ipk files. How do I install this on my C1000 running Cacko 1.23??? Also, the pegasus text file is filled with strange symbols...what do I do with that? Thanks in advance. QUOTE(darkloran @ Apr 8 2005, 09:16 AM) since i was happy to test this... i have installed the cross-compiling environment in less than 10 minutes. Then i've compiled the modules in another 10 minutes and installed my module on my zaurus.
did a CODE # cp pegasus.o /lib/modules/2.4.20/kernel/drivers/usb/ # depmod -a then created /etc/hotplug/usb/pegasus CODE #!/bin/bash ./etc/hotplug/hotplug.functions ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up if [ $? = 0]; then ln -s pegasus.off $REMOVER fi and /etc/hotplug/usb/pegasus.off CODE #!/bin/bash ./etc/hotplug/hotplug.functions ifconfig eth0 down the module joined was compiled with Sharp ROM 1.01 kernel sources the eth0 interface shows up correctly with the ip address i configured. I currently have no way to test physical connection... i will tonight ok, i've had opportunity to test it and it's ok ! i just have to fix the above script to use DHCP loran |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 11:20 AM |