Active Topics

 


Reply
Thread Tools
Posts: 186 | Thanked: 79 times | Joined on Feb 2010
#1
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
[15321.371368] usb usb1: usb resume
[15321.390014] hub 1-0:1.0: hub_resume
[15321.390075] hub 1-0:1.0: port 1: status 0101 change 0001
[15321.499511] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[15321.499572] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[15321.624511] usb 1-1: new full speed USB device using musb_hdrc and address 75
[15321.772918] usb 1-1: ep0 maxpacket = 8
[15321.773895] usb 1-1: default language 0x0409
[15321.775848] usb 1-1: uevent
[15321.776062] usb 1-1: usb_probe_device
[15321.776123] usb 1-1: configuration #1 chosen from 1 choice
[15321.779876] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[15321.780212] usb 1-1:1.0: uevent
[15321.781951] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '075'
[15321.782623] usb 1-1: New USB device found, idVendor=0fe6, idProduct=8101
[15321.782653] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[15321.782714] usb 1-1: Product: USB Network Controller
[15321.782745] usb 1-1: SerialNumber:
[15321.782775] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[15321.782867] hub 1-0:1.0: port 1 enable change, status 00000103
Nokia-N900:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1390 (1.3 KiB) TX bytes:1390 (1.3 KiB)

phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:3435 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:123284 (120.3 KiB) TX bytes:1978 (1.9 KiB)

Nokia-N900:~#
I tryed to plug card in my ubuntu machine and seems work fine:
Code:
[124331.852181] usb 2-2: new full speed USB device using uhci_hcd and
address 4
[124332.039608] usb 2-2: configuration #1 chosen from 1 choice
[124332.076971] eth1: register 'dm9601' at usb-0000:00:1d.0-2, Davicom
DM9601 USB Ethernet, 00:10:14:02:21:7d
[124332.431275] eth1: link down
[124332.446918] ADDRCONF(NETDEV_UP): eth1: link is not ready
korek@misio:~$ ifconfig

eth1      Link encap:Ethernet  HWaddr 00:10:14:02:21:7d
         UP BROADCAST MULTICAST  MTU:1500  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:1000
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Can some one help me to make it work?
Attached Images
 
 
Posts: 56 | Thanked: 26 times | Joined on Aug 2010
#2
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

Last edited by storkus; 2010-12-06 at 22:52. Reason: added another idea
 

The Following User Says Thank You to storkus For This Useful Post:
Posts: 186 | Thanked: 79 times | Joined on Feb 2010
#3
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?
 
Posts: 186 | Thanked: 79 times | Joined on Feb 2010
#4
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.
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#5
Try using lsmod?
 

The Following User Says Thank You to kureyon For This Useful Post:
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#6
Originally Posted by hardkorek View Post
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.

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.

Last edited by blue_led; 2010-12-10 at 13:19.
 

The Following User Says Thank You to blue_led For This Useful Post:
Posts: 186 | Thanked: 79 times | Joined on Feb 2010
#7
Originally Posted by kureyon View Post
Try using lsmod?
How to check it if it would be compiled in to kernel? I'm just courious.


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.
Damn, if you have a probems with it i'll fail as well. I'm noob in driver stuff.
If you would successfully compile it can you post step by step instruction.

I'll try tommorow anyway.
 
Posts: 45 | Thanked: 17 times | Joined on Mar 2010
#8
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
 
trx's Avatar
Posts: 80 | Thanked: 237 times | Joined on Dec 2010 @ Serbia
#9
connect the device (lan cable too), start h-e-n, high speed, vbus boost on, enumerate.
open terminal, and as root : udhcpc
 
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#10
@hardkorek here is your driver. i modprobe-it but not tested because i don't have davicom device
Attached Images
 
Attached Files
File Type: zip dm9601.zip (4.9 KB, 248 views)

Last edited by blue_led; 2010-12-14 at 19:51.
 

The Following User Says Thank You to blue_led For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:39.