OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: scrapheap on October 29, 2007, 07:53:40 am

Title: St268
Post by: scrapheap on October 29, 2007, 07:53:40 am
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.
Title: St268
Post by: Capn_Fish on October 29, 2007, 02:25:19 pm
I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC  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.
Title: St268
Post by: scrapheap on October 30, 2007, 07:39:32 am
Quote from: Capn_Fish
I compiled the dm9601 driver for r198 a while back, but it didn't work with my NIC  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.
Title: St268
Post by: scrapheap on October 30, 2007, 08:17:37 am
I have just found a post elsewhere (http://www.murga-linux.com/puppy/viewtopic.php?t=18500 (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 )
Title: St268
Post by: Capn_Fish on October 30, 2007, 02:21:25 pm
The problem of dhcpcd not working?
Title: St268
Post by: scrapheap on October 30, 2007, 04:06:10 pm
Quote from: Capn_Fish
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.
Title: St268
Post by: scrapheap on October 31, 2007, 09:46:51 am
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.
Title: St268
Post by: Capn_Fish on October 31, 2007, 02:45:21 pm
Which module? If it's DM9601, it doesn't work for me either

If not, maybe there's some trick to using USB to ethernet adapters we're not aware of?
Title: St268
Post by: scrapheap on November 01, 2007, 04:54:47 am
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.
Title: St268
Post by: scrapheap on November 01, 2007, 05:43:30 am
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.
Title: St268
Post by: scrapheap on November 01, 2007, 08:04:39 am
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.
Title: St268
Post by: Capn_Fish on November 01, 2007, 02:17:51 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.
Title: St268
Post by: scrapheap on November 02, 2007, 05:20:54 am
Quote from: Capn_Fish
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.