maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Usb NIC problem (https://talk.maemo.org/showthread.php?t=66667)

biketool 2011-07-14 09:44

Re: Usb NIC problem
 
Just to stick it in this thread too, Pali has the Davidcom driver in line for the KP48 kernel, but I think it also depends on the scripts from N810, cant say for sure, since a few months of broken USB separated getting the starting and finishing this project, I have forgotten what steps I have taken.

peterleinchen 2011-08-30 23:09

Re: Usb NIC problem
 
2 Attachment(s)
Any updates regarding the driver for the davicom?

I just bought (in total noobiness ;)) such an adapter and was not successful getting it working.
Then researched a bit and found this thread. Also with the driver from blue_led no chance (usbnet.ko is automatically loaded). Ah, yes: I am running KP47.

Maybe blue_led did compile his driver against some source from freeware linux sites like the attached:
dm9601.c

I have also attached the original files from davicom.co.tw:
dm9601-Linux2.6_1.tar

Maybe it is enough to compile these sources for ARM?
As I do not know how to do it (neither on the N900 nor on a -not present- x86 linux), I would like to ask blue_led or another knowledgeable person to compile the driver for Maemo again from the tarball. Or maybe point me to some instructions....

Thanks

--edit
Another (not likely) thought came to my mind:
maybe the power consumption of this adapter is more than our N900 can deliver (300mA)? Could not find this param in spec (http://www.davicom.com.tw/page1.aspx?no=236843).

peterleinchen 2011-09-13 19:47

Re: Usb NIC problem
 
Just a reminder!
Anybody out there?

Or do I have to go bankrupt (have spent 5.37€ for nothing ;))?

peterleinchen 2011-09-30 22:22

Re: Usb NIC problem
 
OK, step by step.
I found now the driver included in KP48 lights up the device: my laptop detects a network. After struggling with usbnet, dm9601 and ifup and so on, I detected to use g_ether, but have to disable g_file_storage before. Using ifdown before ifup will help to get the right settings on N900 and I have the interface up and can ping it locally.

But I can not ping betwenn the laptop and N900! No firewall, no routing problem. The adaptor is working flawlessly (<10MBit) under Windows ....
What is still missing ? I have no clue. :(


All times are GMT. The time now is 04:10.

vBulletin® Version 3.8.8