![]() |
Usb NIC problem
1 Attachment(s)
Hi,
I bought cheap no-name card on auction and I'm trying to make it work with N900 using h-e-n full speed hostmode. Card seems to be reconized but no interface is created. Here is dmesg output: Code:
[15315.749542] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2 Code:
[124331.852181] usb 2-2: new full speed USB device using uhci_hcd and |
Re: Usb NIC problem
Off-hand, I'd say the driver is missing from the kernel: even the power kernel doesn't have EVERYTHING compiled in it as it would eat too much memory and slow things down. If Titan or someone else can confirm it, this means you'll just have to compile your own kernel, assuming this driver will compile on ARM. You may also be able to get away with just compiling a module by itself in Scratchbox, Easy Debian, or (sounds hardest) cross-compiling openly in your Ubuntu box.
Mike |
Re: Usb NIC problem
It was my first guess to. But this line makes me wonder:
Code:
[15321.781951] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '075' Do you know what this thing mean? |
Re: Usb NIC problem
Can some one tell me how to find what kind of driver is my ubuntu using for that network card,
I would try to compile module then. |
Re: Usb NIC problem
Try using lsmod?
|
Re: Usb NIC problem
Quote:
you need dm9601.ko driver for Davicom . i tried compile for but i get error ( unknown symbol ) when insmod the module. need more attention for that. when i will have some time i will try again. curiously on same setup i compiled pl2303.ko driver with success. |
Re: Usb NIC problem
Quote:
Quote:
If you would successfully compile it can you post step by step instruction. I'll try tommorow anyway. |
Re: Usb NIC problem
When I tried out h-e-n with my Belkin USB ethernet adapter I found that I needed a cable plugged in and linked *before* applying vbus and enumerating:
http://talk.maemo.org/showthread.php...941#post883941 |
Re: Usb NIC problem
connect the device (lan cable too), start h-e-n, high speed, vbus boost on, enumerate.
open terminal, and as root : udhcpc |
Re: Usb NIC problem
2 Attachment(s)
@hardkorek here is your driver. i modprobe-it but not tested because i don't have davicom device
|
Re: Usb NIC problem
Great, thank you. I'll test it right now.
Update: I tested it. I was also able to insert module but i have following errors: Highspeed Code:
[ 1193.618743] usbcore: registered new interface driver dm9601 Code:
[ 2134.070220] WARNING: at /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/musb/musb_host.c:128 musb_h_tx_flush_fifo+0x94/0xcc() Code:
Nokia-N900:~# udhcpc |
Re: Usb NIC problem
according datasheet davicom dm9601 is full speed device
start with davicom adapter plugged to n900 try echo -1 >/sys/module/usbcore/parameters/autosuspend or echo 2 >/sys/module/usbcore/parameters/autosuspend |
Re: Usb NIC problem
Code:
[10468.066375] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2 |
Re: Usb NIC problem
I have a davicom, and it's basically useless and unstable even when you use it with a PC.
|
Re: Usb NIC problem
Hi,
fyi: i have a apple usb ethernet adapter... anyway i have the same problem... i asked in another thread for help with a displaylink driver which is usb as well... sadly i cannot get it to work. So you're not alone... :-( Code:
[92365.538391] usb 1-1.4: New USB device found, idVendor=05ac, idProduct=1402 i think it will be required to compile an own kernel... :-( It looks like nobody really cares about arm when writing modules/drivers... t've seen this problem often now... |
Re: Usb NIC problem
anyway i continue to work on it and keep you updated...
|
Re: Usb NIC problem
Has anyone gotten this device to work?
I have also posted here http://talk.maemo.org/showpost.php?p...&postcount=268 I have a davicom chipped Crystal Blue super cheap USB wired ethernet adapter that I can almost get working on my N900. I have in the past installed some scripts to try to get this working but the USB port was broken so I wasn't able to get anything working. Now with a new USB port I have read/write on flash drives, I can use USB keyboards, I also can get the Crystal Blue ethernet adapter to light up and an interface called WIRED appears in my Internet connections options and automatically attempts to give my programs Internet access unsuccessfully. The driver seems to be available for the Davicom, but none loads and then obviously no interface appears in ifconfig. I am having trouble finding definite info other than the os2008 stuff which obviously will not work with a N900. I run /usr/sbin/usbEthUp.sh and it says that /lib/modules/2.6.28.10-power47/usb2net/modlist is not present Is there a USB ethernet adapters faq like they did for os2008 that I am missing? I know the davicom chip is flaky but this adapter successfully connects when used with my laptop. tried sudo modprobe usbnet, no love at all. I am sure I am missing something stupid and this is a few keystrokes away for someone who actually knows what is going on. I also looked at http://talk.maemo.org/showthread.php?p=1002480 and didn't see anything useful, again perhaps overlooking the obvious. |
Re: Usb NIC problem
Don't quote me on that cause this is pure guess working, but may:
Quote:
|
Re: Usb NIC problem
Quote:
Forgive my ignorance is Pali the powerkernel maintainer? thanks |
Re: Usb NIC problem
Ya, it's Pali, but for best results I recommend You to ask for that in kp47 thread:
http://talk.maemo.org/showthread.php?t=71879 Many skilled people read this thread, so You got higher chances that someone will mention useful things. |
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.
|
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). |
Re: Usb NIC problem
Just a reminder!
Anybody out there? Or do I have to go bankrupt (have spent 5.37€ for nothing ;))? |
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:15. |
vBulletin® Version 3.8.8