OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> St268
scrapheap
post Oct 29 2007, 03:53 AM
Post #1





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



Hi,
I just recently picked up a USB LAN NIC which according to blurb on the site I brought it from was a rtl8150 what do I find when I get it. It is a ST268 instead. Has anyone managed to compile the drivers for this with for use with the R198?

From what I have read it should also work with the dm9601 drivers but of course those aren't in R198 either.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 29 2007, 10:25 AM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC sad.gif I think the driver is just bad, but YMMV. Search the forums for it (I'm fairly sure I posted it).

I'll post it later if you can't find it.
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 30 2007, 03:39 AM
Post #3





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



QUOTE(Capn_Fish @ Oct 29 2007, 06:25 PM) *
I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC sad.gif I think the driver is just bad, but YMMV. Search the forums for it (I'm fairly sure I posted it).

I'll post it later if you can't find it.


I found it thanks. It doesn't seem to work though so I guess I will have to figure out how to get the kernel headers into my zaurus so I can compile the ST268 drivers.
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 30 2007, 04:17 AM
Post #4





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I have just found a post elsewhere (http://www.murga-linux.com/puppy/viewtopic.php?t=18500) that suggests the following lines added to the dm9601 source sould fix the problem.

DM9601_DEV( "Davicom USB-100", 0x0a46, 0x0268,
DEFAULT_GPIO_RESET )
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 30 2007, 10:21 AM
Post #5





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



The problem of dhcpcd not working?
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 30 2007, 12:06 PM
Post #6





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



QUOTE(Capn_Fish @ Oct 30 2007, 06:21 PM) *
The problem of dhcpcd not working?


The problem is that when the dm9601 module is modprobed it doesn't detect my interface as it is a ST268 so it doesn't create eth0.
Go to the top of the page
 
+Quote Post
scrapheap
post Oct 31 2007, 05:46 AM
Post #7





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I have managed to compile the module and install it and it now detects my USB device and creates eth0. But now dhcpcd doesn't pick up a ip address.

If I bring up the interface by setting the IP manually it fails to ping other devices I know are on the network.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Oct 31 2007, 10:45 AM
Post #8





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Which module? If it's DM9601, it doesn't work for me either sad.gif

If not, maybe there's some trick to using USB to ethernet adapters we're not aware of?
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 1 2007, 12:54 AM
Post #9





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I got it working last night at home. I am wondering if it is a power issue. I will try it closer to one of our switches at work and if it works then I will try it through a powered USB hub.
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 1 2007, 01:43 AM
Post #10





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I have tried it now connecting directly to the switch and with a powered hub and I get the same result. I have also tried it on XP machine with the drivers installed and that said that the cable wasn't connected. I am wondering if I have a faulty USB NIC. I have contacted the manufacturers tech support and hopefully they will have a suggest or at least replace it with a one they know to be working.
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 1 2007, 04:04 AM
Post #11





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



I have created a package for the patched dm9601 kernel module for the 2.6.16 kernel in r198 which I have attached. If anyone tries it and finds some problems with it or finds that it works fine for them then please let me know.
Attached File(s)
Attached File  dm9601_st268_2.6.18_armv5tel.ipk ( 9.54K ) Number of downloads: 4
 
Go to the top of the page
 
+Quote Post
Capn_Fish
post Nov 1 2007, 10:17 AM
Post #12





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



What's the ipk name supposed to be? It should follow the NAME_VERSION_armv5tel.ipk, with no other underscores in the filename or in the control file (that messes up the installation/removal of packages). To make things worse, the forum changes - to _, which really messes up some package names.

Thanks.
Go to the top of the page
 
+Quote Post
scrapheap
post Nov 2 2007, 01:20 AM
Post #13





Group: Members
Posts: 42
Joined: 8-August 06
Member No.: 10,687



QUOTE(Capn_Fish @ Nov 1 2007, 06:17 PM) *
What's the ipk name supposed to be? It should follow the NAME_VERSION_armv5tel.ipk, with no other underscores in the filename or in the control file (that messes up the installation/removal of packages). To make things worse, the forum changes - to _, which really messes up some package names.

Thanks.


The name is supposed to be dm9601-st268_2.6.18_armv5tel.ipk as it is the 2.6.18 version of the dm9601 module patched to support the ST268. Of course the forum has changed the - to _ which I didn't realise it does.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th July 2014 - 09:00 PM