LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 07-29-2008, 11:25 AM   #1
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Question SMC 2209 USB wired ethernet adapter not working


I have a SMC 2209 USB to ethernet adapter that is not working. When i plug the device into my Linux box that is running Fedora 9 the device is seen by the system but never given a eth name.

In the dmesg log i get the follow error
asix: probe of 1-4:1.0 failed with error -110

It gives me the vendor ID and product ID and the correct manufactor, but will not assign it a eth#. I have been trying to figure this out for a while now and can't seem to find what i am doing wrong. Do i need to setup some rules in udev? does the driver even work?

Any help would be great.

Thanks
 
Old 07-31-2008, 10:40 AM   #2
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
I still haven't been able to get this to work. Does anyone have any suggestions of what USB/Ethernet adapter they have had luck getting to work with Linux?
 
Old 08-04-2008, 12:51 PM   #3
seansps
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
Actually, yes, I know what is going on with this adapter.

That particular model of USB Ethernet adapter has its model number flashed incorrectly...

Because of this, the asix driver thinks it is a different kind of device and is loading the wrong settings... so it times out with -110.
And unfortunately SMC only noticed it when we reported it to them. They are working on a flash ROM for it now, but I do not know when it will be done or if they'll even post an update to it on their website.

There's two ways (three counting ndiswrapper) of fixing it. One: hack the asix drive to work for the model number that this is being identified as. Or two... pester SMC until they give you a flashing utility to fix their buggy hardware.

You can also get it working with ndiswrapper. Use the windows driver and it works okay.

Edit: I believe earlier 2209's worked fine... but it seems that the newer product number for the USB ETH 2209 is having this problem

Last edited by seansps; 08-04-2008 at 12:58 PM.
 
Old 08-04-2008, 03:19 PM   #4
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
Hey Seansps,

That seems correct. I have an older SMC here that seems to work just fine. They seem to both have the same VenderID and ProductID. I was wondering what I would need to change to hack the driver to find the new SMC correctly? I am looking at the asix.ko file in a hexeditor and don't really see where i can change this around. If you could point me in the right direction that would be great.

Thanks
 
Old 08-04-2008, 03:45 PM   #5
ParMaster
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
SMC 2209 manufacturer flashed wrong model number.

OUCH!!!! I just received two of these in the mail from amazon. Each device is giving the -110 error
 
Old 08-04-2008, 05:11 PM   #6
seansps
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
Yeah, yikers. Seems like a nasty issue.


Well, what you'll need to do is get the source file (asix.c) from your particular kernel source.

I'm not sure what exactly my coworker changed to force the driver to work, but if you can read C code, then you should be able to find the place where it errors out and have it run the correct functions for the product id it should be set to.

I was able to get it to work with ndiswrapper as well... compile and install ndiswrapper. Install the .inf windows file with ndiswrapper and then do a modprobe of ndiswrapper and it comes up as wlan0, I believe, which can always be renamed. It works this way... but... ndiswrapper, is well, using a windows driver. :-/

If that's too difficult and if ndiswrapper is out of the question, you could always try pestering SMC for a fix!

Good luck!
 
Old 08-04-2008, 06:18 PM   #7
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
I will take a look at asix.c file and see what i can find. I would rather do it that way and not use the windows driver. I have also called to pester SMC and there tech support says that there is not even a driver available for the device. A lot of help they where. I am going to pester them a different way to see if i can get someone that knows what they are talking about. I do like the fact that the old adapter works out of the box and that there is really no change between the two but some packaging.

Anyway off to look at some C code will let you know what i figure out.

Thanks
 
Old 08-11-2008, 09:35 AM   #8
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
I looked into the asix.c driver code and could really find where i need to change it to make it work. So i went the ndiswrapper route. It does seem to work. It calls the devive wlan# but it works. I also tried the pestering of SMC and the tech person that i talked with said that there are no drivers for the device at all. So i guess if you get a SMC 2209 and want drivers for it don't ask SMC for them.

Thanks for the help. At least it works even though i have to use the windows driver to get it working.
 
Old 08-11-2008, 04:16 PM   #9
seansps
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
You're welcome.

Yeah, ndiswrapper seems like to easiest way to do, and it's what I would have done too.

I'm not sure where in the driver it was getting confused... but I do know that there was some sort of function confusion due to it thinking it is a different model.

Would be nice if SMC would just fix their ROMs on these devices instead of a hack in their own driver to get around it.
 
Old 08-14-2008, 12:28 PM   #10
seansps
LQ Newbie
 
Registered: Aug 2008
Posts: 4

Rep: Reputation: 0
Look familiar?

http://www.asix.com.tw/FrootAttach/d..._DemoBoard.jpg


The next link is what the SMC 2209 is SUPPOSED to look like.

http://www.superwarehouse.com/images...2209USBETH.jpg

It would seem... that they completely changed the SMC2209 and pretty much just stamped their logo on the asix demo board... and it broke compatibility for linux.
 
Old 08-14-2008, 01:24 PM   #11
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Original Poster
Rep: Reputation: 15
I wonder what they did after the first batch that works with Linux and the new ones?

I would still like to get the Linux driver to work with this if anyone could post what needs to change in the asix driver to get this to work.

Thanks
 
Old 02-10-2009, 03:36 AM   #12
vidyasrinivas
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
You can change this line in asix.c to get it working.

USB_DEVICE (0x0b95, 0x1720),
.driver_info = (unsigned long) &ax8817x_info, //Remove this line and add the below line
.driver_info = (unsigned long) &ax88772_info, // Add this instead of previous line.

Good Luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SMC 2209 USB Ethernet adapter failure FLLinux Linux - Hardware 2 07-29-2008 11:17 AM
usb ethernet adapter not working... t_lee Linux - Networking 2 07-03-2008 01:08 AM
SMC usb adapter 2862W-G gatliffe Linux - Wireless Networking 0 03-11-2007 12:22 PM
How do I get USB-Ethernet adapter working in Slackware 10.2 JAwuku Slackware 3 01-13-2006 03:39 PM
SMC wireless USB adapter? cucolin@ Fedora 1 07-03-2004 01:55 PM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration