Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: TrickyT on October 17, 2010, 05:55:29 AM

Title: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 05:55:29 AM
Hello all.  Recently got a DENUB USB card for my 4000 and love it.  However, for the life of me can't seem to figure out how to load USB classes in Trident.

Loaded all software from DENUB in recovery mode, then unpdated to Poseidon 4.4 and Trident 4.4.  Everything works great, have my CD-ROM, mouse, Flash cards.  

However, I have a USB NIC that came with the card (From Amigakit), one I see here works fine, but can't figure out how to load the USB class for it.  Everything in the documentation says load Trident, go to classes and hit dir scan or add.  Dir scan does nothing, clicking the file icon next to class library and picking asixeth.class then clicking add does nothing.  

Only three classes showing in the Trident 4.4 UI are hid.class, hub.call and massstorage.class.

I took an image of my drive to play with in WinUAE.  Loaded image, go into Trident, hit remove on HID.class (it goes away) and then save.  Opened up Trident and yes, it's gone from the classes list.  But I can't even add it back with either a dir scan or selecting the file name and hitting add.  No error or anything in the message window.

USB Network adaptor shows up in the devices as working, but shows no class file for it.  

What am I doing wrong?  How do I add the asixeth.class to the stack?  It's killing me, I have spent days reading forums and help files trying to figure this out.  I finally gave up and am reaching out for help.

TrickyT
Title: Re: DENUB USB adding USB Classes
Post by: Matt_H on October 17, 2010, 06:27:09 AM
I don't have Trident in front of me, but I think the thing you need to be dir-scanning is SYS:Classes/USB.

And if you have Poseidon in the FlashROM, you'll need to reflash it after you save Trident's settings in order to get the updated PsdStackLoader into the FlashROM.
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 06:41:55 AM
Yup, that's the targeted directory.  SYS:Classes/USB, but the dir scan does nothing when I click it.

Shown here is the default view on classes.  

http://gallery.me.com/trickyt#100036/Trident1&bgcolor=black

When I click the file icon on the right of Class library, it shows the directory.

http://gallery.me.com/trickyt#100036/Trident2&bgcolor=black

Then, I'll select a file and click add, but nothing happens.

http://gallery.me.com/trickyt#100036/Trident3&bgcolor=black

Not sure what I am missing.  The buttons do nothing and nothing shows in the message log.  Can't even add HID.class back, which was there before I clicked remove and save.
Title: Re: DENUB USB adding USB Classes
Post by: Thomas on October 17, 2010, 09:13:10 AM
Why are your file names written in all upper case? I don't know if this can cause your problem, but it's not ok.
Title: Re: DENUB USB adding USB Classes
Post by: mousehouse on October 17, 2010, 10:06:18 AM
You could also use the Psd* tools in C: to display the attached devices and classes, they ive much more detail...
Title: Re: DENUB USB adding USB Classes
Post by: Matt_H on October 17, 2010, 03:39:30 PM
Quote from: Thomas;585248
Why are your file names written in all upper case? I don't know if this can cause your problem, but it's not ok.

I agree - this is probably related to your problem. What filesystem are you using / did you use to bring the Poseidon install files over to the Amiga?

I think that device names are one of the few case-sensitive things on the Amiga. Poseidon probably doesn't recognize those files as being valid.

EDIT: If case sensitivity isn't the issue, you may have lost the correct permission bits on the files - please check what they're set to.
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 06:07:57 PM
Quote from: Matt_H;585294
I agree - this is probably related to your problem. What filesystem are you using / did you use to bring the Poseidon install files over to the Amiga?

I think that device names are one of the few case-sensitive things on the Amiga. Poseidon probably doesn't recognize those files as being valid.

EDIT: If case sensitivity isn't the issue, you may have lost the correct permission bits on the files - please check what they're set to.


Holy crap..  You guys rock.  I never would have guess having the file names capitalized would have made any difference.  I ran the Poseidon install straight from the burned CD that came with my DENUB.  I renamed my HID.CLASS to hid.class and then opened Trident, it's back!!  Then renamed AXISETH.CLASS to axiseth.class and holy crap, it worked..

Thank you guys SO MUCH!!!!  :cool:

Nevermind about no class binding.  I had to undo some things I did while troubleshooting.  Looks like I had the disable class bindings on the device checked.  Almost there.
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 06:48:25 PM
Quote from: TrickyT;585317
Holy crap..  You guys rock.  I never would have guess having the file names capitalized would have made any difference.  I ran the Poseidon install straight from the burned CD that came with my DENUB.  I renamed my HID.CLASS to hid.class and then opened Trident, it's back!!  Then renamed AXISETH.CLASS to axiseth.class and holy crap, it worked..

Thank you guys SO MUCH!!!!  :cool:

Nevermind about no class binding.  I had to undo some things I did while troubleshooting.  Looks like I had the disable class bindings on the device checked.  Almost there.

Can anyone confirm what class should be used for this card?  http://www.dealextreme.com/details.dx/sku.2797

I thought it was supposed to be axiseth.class, at least that's what I thought I read, but it doesn't bind that class to the NIC.  I added asixeth.class, dm9601eth.class, pegasus.class and etherwrap.class.  Only thing it wants to bind to is dm9601eth.class

Now in the devices tab, it shows, State - Running, Class - ? none, Bindings - dm9601eth.class.  

However the easynet nic setup doesn't show anything related to dm9601eth.class when trying to pick a driver.  It has asixeth but of course I can't select that as the class isn't setup for it.
Title: Re: DENUB USB adding USB Classes
Post by: Matt_H on October 17, 2010, 06:52:30 PM
@ TrickyT

Great! You might also consider reinstalling directly from the Poseidon archive, just in case there are other issues lurking around - check Devs:USBHardware for case issues, too.

The Deneb didn't ship with a CD, so it looks like either whoever made it (previous owner?) used an old ISO9660 standard which doesn't support case correctly, or you're still using the CDFilesystem that came with OS3.1 which also doesn't support case correctly.

EDIT:

For your next issue, if dm9601eth.class is what the device is binding to, it's the correct class. EasyNet might be hardcoded to a limited list of drivers that dm9601eth isn't a part of. Look around the EasyNet install files to see if there's a config file somewhere that shows valid drivers, and add the new one (check the Poseidon docs to see what the name should be). Talk to AmigaKit about it if that doesn't work.

The other option is to configure the system with a different driver and then change it by hand after it's installed. I've had to do this for Envoy and Roadshow when using USB Ethernet.
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 07:04:21 PM
Quote from: Matt_H;585330
@ TrickyT

Great! You might also consider reinstalling directly from the Poseidon archive, just in case there are other issues lurking around - check Devs:USBHardware for case issues, too.

The Deneb didn't ship with a CD, so it looks like either whoever made it (previous owner?) used an old ISO9660 standard which doesn't support case correctly, or you're still using the CDFilesystem that came with OS3.1 which also doesn't support case correctly.

It came from AmigaNET, Software was 4.2 on the card, they provided 4.4 for update on CD.  But yes, they probably burned it wrong.  I'll try to reinstall with a downloaded full package.  Everything seems good except my class binding problem for the NIC now.  The dm9601eth.class doesn't seem to be working correctly, it keeps saying my link is down and to check the cable, but the cable is fine and works on my 1200's PCMCIA card.

Pretty sure this card used axiseth.class.  When I try force binding axiseth.class to the NIC, I get this.  Which the first message seems to tell me I that this is in fact the correct class for this.

Warning asixeth.class "This adapter uses the AX88172 chipset.:
Error     asixeth.class "Failed to initialize adapter!"
Error     poseidon.libraray "Forced device binding of USB Network Controller to asixeth.class failed"


I'll start with a re-install from the master bits of 4.4.
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 08:34:58 PM
Quote from: TrickyT;585332
It came from AmigaNET, Software was 4.2 on the card, they provided 4.4 for update on CD.  But yes, they probably burned it wrong.  I'll try to reinstall with a downloaded full package.  Everything seems good except my class binding problem for the NIC now.  The dm9601eth.class doesn't seem to be working correctly, it keeps saying my link is down and to check the cable, but the cable is fine and works on my 1200's PCMCIA card.

Pretty sure this card used axiseth.class.  When I try force binding axiseth.class to the NIC, I get this.  Which the first message seems to tell me I that this is in fact the correct class for this.

Warning asixeth.class "This adapter uses the AX88172 chipset.:
Error     asixeth.class "Failed to initialize adapter!"
Error     poseidon.libraray "Forced device binding of USB Network Controller to asixeth.class failed"


I'll start with a re-install from the master bits of 4.4.


Nuke it from orbit, it's the only way to be sure..

So I just did a clean wipe and reload and installed 4.4 on top of an AmigaSys image with lastest 68040.library file.  All classes now show up from SYS:Classes/USB, yet it still is binding the NIC to dm9601eth.class.  Maybe that's correct?  However, I don't see a choice for that in the Easynet installer.

Anyone have this Blue NIC working?  What class am I supposed to have for it?  http://www.dealextreme.com/details.dx/sku.2797

I see mention of using it on the forum, but not what class went with it.  Want to make sure I have the binding correct, before attempting to get something to see it.

Thanks again for the help, this board rocks!!
Title: Re: DENUB USB adding USB Classes
Post by: Brosol on October 17, 2010, 09:14:42 PM
I have one those blue USB NIC: KY-RS9600
Mine works using dm9601eth.class (DM9601 chipset)
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 17, 2010, 09:20:09 PM
Quote from: TrickyT;585332
It came from AmigaNET, Software was 4.2 on the card, they provided 4.4 for update on CD.  But yes, they probably burned it wrong.  I'll try to reinstall with a downloaded full package.  Everything seems good except my class binding problem for the NIC now.  The dm9601eth.class doesn't seem to be working correctly, it keeps saying my link is down and to check the cable, but the cable is fine and works on my 1200's PCMCIA card.

Pretty sure this card used axiseth.class.  When I try force binding axiseth.class to the NIC, I get this.  Which the first message seems to tell me I that this is in fact the correct class for this.

Warning asixeth.class "This adapter uses the AX88172 chipset.:
Error     asixeth.class "Failed to initialize adapter!"
Error     poseidon.libraray "Forced device binding of USB Network Controller to asixeth.class failed"


I'll start with a re-install from the master bits of 4.4.

Quote from: Brosol;585358
I have one those blue USB NIC: KY-RS9600
Mine works using dm9601eth.class


Ok, well that's a start. Looks like I am heading down the right path now at least.  What TCP stack are you using for it?  Any tips on getting that setup?
Title: Re: DENUB USB adding USB Classes
Post by: Brosol on October 17, 2010, 09:42:29 PM
It depends on your setup....I've played with Genesis & MiamiDX but my router works best with Genesis using static IP & gateway address.
Title: Re: DENUB USB adding USB Classes
Post by: Darrin on October 17, 2010, 10:32:31 PM
Quote from: TrickyT;585359
Ok, well that's a start. Looks like I am heading down the right path now at least.  What TCP stack are you using for it?  Any tips on getting that setup?


Here's an extract from a thread I started on here back in 2008.  Hope it helps:

Quote
Here's a little something to share with everybody, I've got my A4000D surfing the net using the Deneb USB card, OS3.9 and an off-the-shelf PC USB Ethernet device.

Here's the USB Ethernet device I bought for $19.99:

http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=443248&CatId=589

I plugged it into the Deneb which immediately detected it and mounted it as USBASIXETH.DEVICE unit 0.

Save your USB settings.

Now configure Genesis using the wizard"
Select "Network" for how you plan to connect.
For device enter "usbasixeth.device" and set unit as "0"
Under SANA II configuration select "no"
Don't worry about it not detecting your network address, just manually enter your own (my home network assigns 192.168.0.xxx so I used 192.168.0.110).
Enter your subnet mask (probably 255.255.255.0) and your router address (in my case 192.168.0.1)
Enter your Domain Name Server (DNS) - 192.168.0.1 in my case
Enter your Domain Name ("cablerocket.net" in my case).

Reboot your Amiga and check your Trident prefs and you should see your ethernet adapter up and running. Check Genesis and put the USBASIXETH0 device online if it isn't already. Open your web browser and start surfing!
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 18, 2010, 12:49:10 AM
Quote from: Brosol;585364
It depends on your setup....I've played with Genesis & MiamiDX but my router works best with Genesis using static IP & gateway address.


Well, first off, not sure if it's working correctly.

http://gallery.me.com/trickyt#100036/USB

Does Trident show a class of the device for you? Sorry for the darkness at top, camera phone pic.  Are those errors below normal for it on startup?  There is a cable plugged in.


It says it's bound to the dm9601eth.class, but Class shows ? None.  Is that normal?

I upgraded to OS 3.9 to run Genesis, but still not able to get far.  Genesis and Easynet both are looking for a driver in Devs:Network for this, but there is none there.  So if this is how it is supposed to work in Trident, I'll mess around with the Genesis settings I suppose.
Title: Re: DENUB USB adding USB Classes
Post by: Brosol on October 18, 2010, 01:49:10 AM
From the Trident Classes>Select USB Class Library menu double click "dm9601eth.class" to add to the available USB Classes.....or if its still unsure you can add the the whole USB class directory via [dir scan button]

From the Trident Devices menu click [class scan button]...the NIC should show as green & running.

Save changes to PsdStackLoader file...take note of where it is saved.

Deneb must be flashed each time changes are made in Trident with the updated PsdStackLoader file.

The driver device is in resident memory.  I use the program Scout to show devices available.   For Genesis/Miami, the device name is: dm9601eth.device
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 18, 2010, 05:13:01 AM
Quote from: Brosol;585430
From the Trident Classes>Select USB Class Library menu double click "dm9601eth.class" to add to the available USB Classes.....or if its still unsure you can add the the whole USB class directory via [dir scan button]

From the Trident Devices menu click [class scan button]...the NIC should show as green & running.

Save changes to PsdStackLoader file...take note of where it is saved.

Deneb must be flashed each time changes are made in Trident with the updated PsdStackLoader file.

The driver device is in resident memory.  I use the program Scout to show devices available.   For Genesis/Miami, the device name is: dm9601eth.device

Well, as far as I can tell it is bound to the class.

But not sure if it's supposed to show a class or not.

Here is what it looks like unbound to a class.

http://gallery.me.com/trickyt#100036/usb1&bgcolor=black

I click class scan, now that I have dm6901eth.class loaded, it binds to it, then it looks like this.

http://gallery.me.com/trickyt#100036/usb2&bgcolor=black

Is it supposed to show a class?  Or does it look like this for everyone?  

I then can see on classes tab, it's bound to it.

http://gallery.me.com/trickyt#100036/usb3&bgcolor=black

But when I look at the details of the adapter, I see

http://gallery.me.com/trickyt#100036/USB4&bgcolor=black

And when it detects it and comes online, always get this error at bottom about no link, check plug.  But cable is fine.  However, no link light shows on the NIC or the hub.

http://gallery.me.com/trickyt#100036/USB&bgcolor=black


I can't tell what I am doing wrong.   Do the class files and PsdStackLoader have to be loaded into flash?  They can't work loaded after the fact?  Maybe that's my problem.  

I manually added the device to the Genesis.conf file, like this

http://gallery.me.com/trickyt#100036/usb5&bgcolor=black

But not even sure if it's setup correct in Trident.  I can start GenesisRA and click online with the adapter, it says it's online, but I have no link light, nor can ping anything.    :angry:
Title: Re: DENUB USB adding USB Classes
Post by: Brosol on October 18, 2010, 09:37:04 AM
Quote from: TrickyT;585441
Well, as far as I can tell it is bound to the class.

But not sure if it's supposed to show a class or not.

Here is what it looks like unbound to a class.

http://gallery.me.com/trickyt#100036/usb1&bgcolor=black

I click class scan, now that I have dm6901eth.class loaded, it binds to it, then it looks like this.

http://gallery.me.com/trickyt#100036/usb2&bgcolor=black

Is it supposed to show a class?  Or does it look like this for everyone?  

I then can see on classes tab, it's bound to it.

http://gallery.me.com/trickyt#100036/usb3&bgcolor=black

But when I look at the details of the adapter, I see

http://gallery.me.com/trickyt#100036/USB4&bgcolor=black

>>> It seems to be normal for that model USB NIC I get the same Trident status messages.


And when it detects it and comes online, always get this error at bottom about no link, check plug.  But cable is fine.  However, no link light shows on the NIC or the hub.

http://gallery.me.com/trickyt#100036/USB&bgcolor=black

>>> This is not normal if the NIC is working and talking to your hub...router the NIC's status light should be on, flashing.  Do you have another computer to test the NIC?



I can't tell what I am doing wrong.   Do the class files and PsdStackLoader have to be loaded into flash?  They can't work loaded after the fact?  Maybe that's my problem.  

>>> Each time the PsdStackLoader file is updated it should be flashed to Deneb to reflect changes after a reboot


I manually added the device to the Genesis.conf file, like this

http://gallery.me.com/trickyt#100036/usb5&bgcolor=black

>>> I can logon to my router/PC windoze to check & test the status of the Amiga USB NIC connection.  Does your USB NIC work on another PC?


But not even sure if it's setup correct in Trident.  I can start GenesisRA and click online with the adapter, it says it's online, but I have no link light, nor can ping anything.    :angry:[/QUOTE]
Title: Re: DENUB USB adding USB Classes
Post by: TrickyT on October 19, 2010, 12:20:33 AM
Quote from: Brosol;585467
>>> It seems to be normal for that model USB NIC I get the same Trident status messages.


And when it detects it and comes online, always get this error at bottom about no link, check plug.  But cable is fine.  However, no link light shows on the NIC or the hub.

http://gallery.me.com/trickyt#100036/USB&bgcolor=black

>>> This is not normal if the NIC is working and talking to your hub...router the NIC's status light should be on, flashing.  Do you have another computer to test the NIC?



I can't tell what I am doing wrong.   Do the class files and PsdStackLoader have to be loaded into flash?  They can't work loaded after the fact?  Maybe that's my problem.  

>>> Each time the PsdStackLoader file is updated it should be flashed to Deneb to reflect changes after a reboot


I manually added the device to the Genesis.conf file, like this

http://gallery.me.com/trickyt#100036/usb5&bgcolor=black

>>> I can logon to my router/PC windoze to check & test the status of the Amiga USB NIC connection.  Does your USB NIC work on another PC?


But not even sure if it's setup correct in Trident.  I can start GenesisRA and click online with the adapter, it says it's online, but I have no link light, nor can ping anything.    :angry:
[/QUOTE]


Thanks all.  I am now on the intertubes..  The solution was Five bucks and the saving of my sanity.  

I think around 1am last night I got the damn link light to start working  on that blue NIC.  At some point, I think I got the stack working as my  time went to the correct time.  Yet, I still couldn't ping or get to anything.

Went to bed due to lack of sleep and it's been bothering me all day.  Found this site, good reference for anyone else wanting a USB nic.

http://en.wikibooks.org/wiki/Aros/Platforms/AROS_USB_support#Asix_8817x_.28USB2.3F.29

Shows what NICs from each class work.  Wanted something from Pegasus or Asix, as those two classes are supposed out of the box from all TCP stacks.

Looked up a pic of a few of them to try to find locally.  Of course, nobody sells USB Nics outside of wireless ones these days, so online ordering is your best bet.  

Well, decided to hit the local PC-Recycle down the street and saw a Belkin that looks like this pic from the Pegasus click.

http://www.amazon.com/Belkin-F5D5050-Networking-Ethernet-Adaptor/dp/B000062R4P

Picked it up for 5 bucks and grabbed another for five bucks as well.  Didn't want to screw around.

http://www.amazon.com/Cisco-Linksys-USB200M-EtherFast-Network-Adapter/dp/B000085ZKV/ref=sr_1_1?ie=UTF8&s=electronics&qid=1287443667&sr=1-1

Got home, plugged them in.  Both worked with about 5 seconds of work configuring the USB classes and Genesis/Easynet config files.

Belkin works with the Pegasus class, Linksys works with asix class.

Downloading some stuff now.  Best 10 bucks I ever spent!!

Thanks all for the help.  This board rocks!!
Title: Re: DENUB USB adding USB Classes
Post by: Matt_H on October 19, 2010, 02:19:35 AM
Strange. One of my USB Ethernet thingys binds to a class, shows None as the identified class, and no lights come on, just like yours, yet it works fine.

Oh well. Glad you're up and running!
Title: Re: DENUB USB adding USB Classes
Post by: Heiroglyph on October 19, 2010, 03:30:30 AM
It isn't easy to find USB ethernet adapters for computers, but it is easy to find them for game consoles.

I bought mine at GameStop.  It's made by Nyko for a Nintendo Wii and I think it was about $20.

It shows up as an asixeth and works great with Deneb so far.
Title: Re: DENUB USB adding USB Classes
Post by: Brosol on October 19, 2010, 04:10:03 AM
Glad you got it working.  I also use the Cisco-Linksys USB200M.
Some more useful info regarding USB compatible Deneb devices:

http://www.a1k.org/forum/showthread.php?t=11432

http://www.platon42.de/poseidon.html