EtherUSB
James Peacock (318) 129 posts |
I’ve just made a new release of EtherUSB fixing a couple of potentially nasty bugs in EtherUSB. Beta release available for download from http://effarig.co.uk/riscos/ This is marked as beta as there is quite a bit of new stuff in there to make handling multiple devices easier which hasn’t been tested that much yet. |
Dave Higton (281) 668 posts |
FWIW I’m using EtherUSB 0.08 this evening on my BB RevC4 with a MOSChip USB Ethernet dongle (VID 9710, PID7830) and it appears to be working fine. I see your NTLWorld homepage is well out of date. Is there a problem in just pointing it at your effarig page? |
James Peacock (318) 129 posts |
I moved, forgot to move the site first, and now no longer have access to the account. Currently trying to get them to take it down, It used to be easy to get things sorted using their support newsgroup, but I no longer have access to that. |
James Peacock (318) 129 posts |
In response to a couple of people who have asked, I’ve just put up a snapshot release of EtherUSB. This has not been well tested and is intended for anyone working on adding new backends. The main changes are:
Please note that version 0.08 is the most recent stable version. Available from the usual place: http://www.effarig.co.uk/riscos/ |
Stephen Leary (372) 272 posts |
James, I’ve got some code to bundle into utils to generate a mac address from the machine ID. Also have some C mutex functions that are probably reusable. I’ll mail them over once im done with the DM9000 NIC. |
Michael Grunditz (467) 531 posts |
Hi I am trying to use a dlink dub-100 adapter. I have set etherusb$product to AX88772 and ejinfo reports correct MAC address etc. However I don’t get a ethernet link. Does anyone have this problem with this chip ? I have looked at the BSD and linux ax sources and I can’t see much difference. The adapter works in linux. James, is it possible to compile a program that uses your module with gcc ? I like to test some codes. |
James Peacock (318) 129 posts |
I’m not quite sure what you are asking: If you mean compile EtherUSB, then I think that the inline assembler will be incompatible with GCC’s syntax, so would need altering. Other than that I don’t see why you shouldn’t be able to compile EtherUSB with GCC. If you want to write a DCI protocol module (at the same level in the networking stack as the Internet module), you should be able to do this with GCC. If you mean write a program which opens TCP connections etc. you can do this in any language. If you are having problems with EtherUSB, it is worth installing SysLog and having a look at the ‘EtherUSB’ log. Also, which version of EtherUSB are you using and what are you running it on? |
Michael Grunditz (467) 531 posts |
I am running latest stable on beagleboard. I have syslog and I don’t get any error. The only error I have is that I can’t get any link.
I like to modify the driver for my chip , to see if there is anything I need to send to the nic that isn’t done. |
patric aristide (434) 418 posts |
EtherUSB development seems to be coming along nicely. Congratulations to Thomas Milius! |
patric aristide (434) 418 posts |
Been testing my BB’s on-board NIC now for two days and can’t tell you how impressed I am. Had some issues with NetSurf but they had nothing to do with EtherUSB. If you fancy a go yourself, get it here while it’s hot: edit: link deleted due to copyright issues Sincere apologies to our developers! |
Andrew Conroy (370) 740 posts |
Thanks for this. Apart from just swapping over the module and moving the cable, is there anything else needs doing? I’ve tried this and it doesn’t seem to recognise the interface. |
patric aristide (434) 418 posts |
You’ll need to replace the module itself at system.310.modules.network and place the autosense dir containing EtherK (basic) and the obey file in !Inetsetup. |
Andrew Conroy (370) 740 posts |
Do I need to change the Obeyfile within !InetSetup.AutoSense for this version of EtherUSB, or does it still use the same file as previously? |
patric aristide (434) 418 posts |
SetEther Obey file: Set InetSetup$Driver$USB EtherUSB:ej0:EtherUSB:0.07:EtherUSB |
Andrew Conroy (370) 740 posts |
Thanks, I already have that file in place, but it’s not recognising the xM on-board network port. |
patric aristide (434) 418 posts |
Mine was a fresh install, perhaps you’ve got some leftovers? Mark Beerling reported he had to replace EtherUSB in Boot.Resources.System.500.Modules.NetWork |
Matthew Phillips (473) 721 posts |
This is excellent. We had avoided buying a USB-Ethernet adapter for our xM in the hope that the internal interface would be supported soon, but it had got a bit tedious transferring things by USB stick all the time. This makes a world of difference: it’s great just having ShareFS working, for example. Now I need to start testing which bits of networking software work OK. Thanks Thomas! |
Andrew Conroy (370) 740 posts |
Apart from putting the EtherUSB module in !System.500.Modules.Network and putting the Obeyfile in !InetSetup.Autosense did you have to do anything else? I’ve gone back to a standard ‘HardDisc4’ image as originally downloaded from ROOL some months ago but I still can’t get EtherUSB to work with the on-board networking on my xM. It appears as an interface iwhen I go to set the IP, but *EJInfo doesn’t show that it’s set itself up. |
Matthew Phillips (473) 721 posts |
I put the module in !System.310.Modules.Network (the Network directory did not exist, so I created it). I created the Obey file as described by Patric. Note that it’s all meant to be on one line. Then I restarted the machine and set up the internet settings from !Boot in the usual way. I set up the BeagleBoard’s hard disc from in October or November from the material downloaded from the ROOL site. I am using a different ROM image, which boots to SCSI::4.$ rather than SCSI::0.$ but I don’t suppose that makes a difference. |
Andrew Conroy (370) 740 posts |
Ok, found the problem – Either the BB or EtherUSB doesn’t like my network setup. I had my BB connected to an old 10base HUB (not switch), which then linked into my 100base switch (I’d run out of ports on the switch!). Moving the BB to the 100base switch causes it to work happily, but moving back to the 10base hub stops the onboard networking. The external USB-Ethernet adaptor I’ve been using works fine with the 10base hub. Glad I’ve sorted that one, anyway! |
Doug Webb (190) 1180 posts |
Ok, I have tried the 0.09 EtherUSB module and set up my Beagleboard XM with the obey file in Internet.Autosense and I now too have networking. I have also set up the NetTime module and that syncs the time on the Beagleboard though I haven’t been brave enough to put a backup battery in yet. Finally I can also confirm that David Pilling’s !Twain driver version 0.02 works using my Epson 1660 scanner. Great work guys. |
Matthew Phillips (473) 721 posts |
Is there anywhere I can download the NetTime module pre-built? The iyonix.com beta timekeepers link does not work for me, even on the Iyonix with IyoUpWtch running. I’ve tried looking in https://www.riscosopen.org/content/downloads but cannot see it under “Boot sequence related” or “Relocatable modules”. |
Trevor Johnson (329) 1645 posts |
Matthew, check your email at this address. |
Peter van der Vos (95) 115 posts |
Patric, I hope you can resolve the copyright problems because the module works great. Communication with a Iyonix works without problems but with a RiscPC I get the normal problems that is, reading is OK but writing to the RiscPC hangs both systems. Have to use a program to slow down communication but then it works the same way as an Iyonix. |
Chris Hall (132) 3554 posts |
Ok, I have tried the 0.09 EtherUSB module and set up my Beagleboard XM with the obey file in Internet.Autosense and I now too have networking. Does this mean using the on-board network socket? At present I have to use a USB to Ethernet dongle under RISC OS? |