OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 Hardware => Topic started by: rohanoberoi on May 20, 2005, 08:20:35 am
-
Hi,
I have a C1000 running stock Sharp ROM in English mode. Connected an iRiver USB mini-A cable and a Hawking HUF11 10/100 Ethernet-USB1.1 adaptor. I'm flying a little blind here, most of the information I've found talks about connecting a Zaurus to a Linux desktop, not directly to a network over a USB-Ethernet adaptor.
% su -
# lsusb
Bus 001 Device 001:ID 0000:0000
Bus 001 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet
# lsmod
Module Size Used by
pxa_bi 24912 0 (unused)
net_fd 25216 0 (unused)
usbdcore 35504 0 [pxa_bi net_fd]
usb_ohci_pxa27x 21696 0 (unused)
usbcore 63264 1 [usb_ohci_pxa27x]
usbdmonitor 5488 0
usb-monitor 6496 0
sharp_mmcsd_m 41008 2
# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# modprobe -l
/lib/modules.rom/2.4.20/kernel/arch/arm/mach-pxa/registers.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha_serial.o
/lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
/lib/modules.rom/2.4.20/kernel/drivers/input/evdev.o
/lib/modules.rom/2.4.20/kernel/drivers/input/joydev.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/acm.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/canoncam.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/bi/pxa_bi.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/net_fd/net_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/storage_fd/storage_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdmonitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdserial.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/hid.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/storage/usb-storage.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb-monitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbkbd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbmouse.o
/lib/modules.rom/2.4.20/net/p80211.o
/lib/modules.rom/2.4.20/pcmcia/memory_cs.o
/lib/modules.rom/2.4.20/pcmcia/prism2_cs.o
/lib/modules.rom/2.4.20/pcmcia/sharpzdc_cs.o
# modprobe prism2_usb
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: kernel-module version mismatch
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o was compiled for kernel version 2.4.18-rmk7-pxa3-embedix
while this kernel is version 2.4.20.
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o failed
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod prism2_usb failed
#
Any suggestions, anyone? It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel. I can't tell if one of these modules ought to work with my USB-Ethernet card either.
Thanks!
Rohan
-
Any suggestions, anyone? It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel. I can't tell if one of these modules ought to work with my USB-Ethernet card either.
Yes it is strange, but these drivers appear to be for a wifi card so have nothing to do with your usb adaptor.
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet
These modules (or one of them, can't remember which) are specifically used to make the zaurus appear as a usb ether net device itself, therefore they are not what you want to drive your usb device.
You need a driver called 'rue' from my quick google search. I've no idea whether this is available in 2.4.20, you'll have to do some googling and find out.
Si
-
Hi,
I have a C1000 running stock Sharp ROM in English mode. Connected an iRiver USB mini-A cable and a Hawking HUF11 10/100 Ethernet-USB1.1 adaptor. I'm flying a little blind here, most of the information I've found talks about connecting a Zaurus to a Linux desktop, not directly to a network over a USB-Ethernet adaptor.
% su -
# lsusb
Bus 001 Device 001:ID 0000:0000
Bus 001 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
# modprobe usbnet
modprobe: Can't locate module usbnet
# modprobe usbdnet
modprobe: Can't locate module usbdnet
# lsmod
Module Size Used by
pxa_bi 24912 0 (unused)
net_fd 25216 0 (unused)
usbdcore 35504 0 [pxa_bi net_fd]
usb_ohci_pxa27x 21696 0 (unused)
usbcore 63264 1 [usb_ohci_pxa27x]
usbdmonitor 5488 0
usb-monitor 6496 0
sharp_mmcsd_m 41008 2
# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# modprobe -l
/lib/modules.rom/2.4.20/kernel/arch/arm/mach-pxa/registers.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha.o
/lib/modules.rom/2.4.20/kernel/drivers/block/aloha/aloha_serial.o
/lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
/lib/modules.rom/2.4.20/kernel/drivers/input/evdev.o
/lib/modules.rom/2.4.20/kernel/drivers/input/joydev.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/acm.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/canoncam.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/bi/pxa_bi.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/net_fd/net_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/storage_fd/storage_fd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdmonitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/device/usbdserial.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/hid.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/storage/usb-storage.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb-monitor.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usb_ohci_pxa27x.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbcore.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbkbd.o
/lib/modules.rom/2.4.20/kernel/drivers/usb/usbmouse.o
/lib/modules.rom/2.4.20/net/p80211.o
/lib/modules.rom/2.4.20/pcmcia/memory_cs.o
/lib/modules.rom/2.4.20/pcmcia/prism2_cs.o
/lib/modules.rom/2.4.20/pcmcia/sharpzdc_cs.o
# modprobe prism2_usb
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: kernel-module version mismatch
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o was compiled for kernel version 2.4.18-rmk7-pxa3-embedix
while this kernel is version 2.4.20.
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod /lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o failed
/lib/modules.rom/2.4.20/kernel/drivers/usb/prism2_usb.o: insmod prism2_usb failed
#
Any suggestions, anyone? It seems strange that the modules that came with the stock ROM are incompatible with the stock kernel. I can't tell if one of these modules ought to work with my USB-Ethernet card either.
Thanks!
Rohan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80650\"][{POST_SNAPBACK}][/a][/div]
usbdnet is for connecting your Z to a PC via the usb link cable.
since your usb device seems to be a rtl8150, you're in luck!
have a look at my website which describes how you can get your usb lan device working.
-
Thanks, that looks promising. Searching for rtl8150-1.o on Google only points to your site, which doesn't seem to have a download link. I've found various variants of the rtl8150.c, but I can't seem to get them to compile.
I did find one "rtl8150.o" but it does nothing and does not create eth0 when I drop it in the directory you specified. I'm still looking for a way to either compile the driver or find a working copy of the binary. You couldn't put up a link to your binary, could you?
Rohan
since your usb device seems to be a rtl8150, you're in luck!
have a look at my website which describes how you can get your usb lan device working.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80662\"][{POST_SNAPBACK}][/a][/div]
-
In case it helps anyone else, I found the module to use. It's at:
http://www.sky.sannet.ne.jp/morostar/download/download.html (http://www.sky.sannet.ne.jp/morostar/download/download.html)
Careful, you have to use the second link, the file that is under the SL-C3000 directory; there are two.
I now have eth0. Still trying to get the network configuration working.
Rohan
-
In case it helps anyone else, I found the module to use. It's at:
http://www.sky.sannet.ne.jp/morostar/download/download.html (http://www.sky.sannet.ne.jp/morostar/download/download.html)
Careful, you have to use the second link, the file that is under the SL-C3000 directory; there are two.
I now have eth0. Still trying to get the network configuration working.
Rohan
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=80682\")
actually this package contains the driver plus setup scripts for eth0
[a href=\"http://www.users.on.net/~hluc/myZaurus/custom/netswitch_0.3_arm.ipk]http://www.users.on.net/~hluc/myZaurus/cus...tch_0.3_arm.ipk[/url]
or you can just download the driver from http://www.users.on.net/~hluc/myZaurus/cus..._2.4.20_arm.ipk (http://www.users.on.net/~hluc/myZaurus/custom/usblan-rtl8150_2.4.20_arm.ipk)
-
tried it doesnt work.....any suggestions where to start?
zilch on the got it, had to do a restore...7 days old...ewwww.
Now getting cant find eth0, any ideas? i have uninstalled and reinstalled it. Keeps asking if the cable is plugged in(it is).
-
anyone found a solutions for this?
I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience; the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
-
anyone found a solutions for this?
I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience; the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115626\"][{POST_SNAPBACK}][/a][/div]
see if its loaded, lsmod. Whats the output. BTW Mine is working just fine, stock package from Meanies site..
-
anyone found a solutions for this?
I'm actually in the same situation with a C3000 and a Belkin USB to lan, installed the rtl driver from meanie's site and tried the netswitch application and have the same experience; the application keeps asking if the cable is plugged in... I'm getting desperate on this and am looking for a CF ethernet card that works out of the box, I realy need the have ethernet on my C3000
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115626\"][{POST_SNAPBACK}][/a][/div]
use the latest version and if you get the message about the cable just run
net reload as root or pull out the cable and stick it back in
-
@bam; the line you want to read from lsmod:
pegasus used 1
I installed the latest version and the other things (sudo,...) and now it works
(yay! Thanks meanie for the scripts), however it only works using net dhcp
(I have to give my password and then I can nog get the CLI prompt back, I have to close terminal)
When I click on Netswitch in the gui nothing happens and net gui complaints about
/etc/sysconfig/netconf/gui.conf not being found, any suggestions?
only thing I don not understand is the "make sure zaurus has NOPASSWD for ifconfig and dhcpd" , I know how to use visudo, but do not know the correct syntax...
any help is appreciated...