1750e Trouble with usb wifi adapter - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old December 4th, 2009, 02:23
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with usb wifi adapter

Hello FreeBSD people,

I've got an old pc here where I put FreeBSD 8.0 on, the problem is that I can't get the wifi adapter to work. The adapter is a "Siemens Gigaset USB Adapter 108" . I've checked the hardware notes and the device should work with the 'uath' driver.

It's a fresh install, and I've compiled a whole new kernel for that device. I made sure that all dependencies where met.

When I connect the device this shows up: "ugen0.2 <Atheros Communications Inc> at usbus0". But it doesn't show up in /dev as uath0. The program 'uathload' for loading the right firmware in the device seems to work fine though.

I'm quite a newbie concerning FreeBSD. I hope someone could help me with this problem, I would really appreciate that.
Reply With Quote
  #2  
Old December 4th, 2009, 04:17
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

When it's plugged in, paste us the output of this:

Code:
usbconfig -u 0 -a 2 dump_device_desc
The above assumes it comes up as ugen0.2.
Reply With Quote
  #3  
Old December 4th, 2009, 11:54
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The output of usbconfig -u 0 -a 2 dump_device_desc:

Code:
gen0.2 <AR5523 Atheros Communications Inc> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

bLength = 0x0012
bDescriptorTyupe = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ff
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = ox0040
idVendor = 0x129b
idProduct = 0x160c
bcdDevice = 0x0001
iManufacturer = 0x0001 <Atheros Communications Inc>
iProduct = 0x002 <AR5523>
iSerialNumber = 0x0003 <1.0>
bNumConfigurations = 0x0001
Thanks for replying
Reply With Quote
  #4  
Old December 4th, 2009, 20:18
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Unfortunately that card is not supported at this time, but it might be possible/easy to add support because the AR5523 controller is supported. Do you know how to patch source code and recompile your kernel?
Reply With Quote
  #5  
Old December 5th, 2009, 03:52
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know basic C. And as mentioned in my first post, I have recompiled a kernel with the instructions from the handbook.

Maybe you could give me some more instructions to get my wifi adapter working?

I have no experience patching source code though. :/
Reply With Quote
  #6  
Old December 5th, 2009, 06:16
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Great. Download the attached patch. Apply it as follows:

Code:
cd /usr/src
patch </path/to/siemens.txt
It should apply cleanly on 8.0 source. After patching, recompile your kernel and hold thumbs.

(it says CYBERTAN in the source because that vendor was already defined for 0x129b)
Attached Files
File Type: txt siemens.txt (750 Bytes, 25 views)
Reply With Quote
  #7  
Old December 5th, 2009, 07:31
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

OK, I have executed the commands in your post. And after that I've executed "make buildkernel KERNELCONF=HOMESERVER", this is my custom kernel, at the moment it is compiling. When it is done I will execute "make installkernel KERNELCONF=HOMESERVER".

I am not really understanding what is happening in the 'siemens.txt' file tough. Maybe you could explain what is happening, or link me to a web address where I could learn more about patch files. What does a line like: "@@ -1120,6 +1120,7 @@" mean? Did you write this file yourself?

I'm holding thumbs right now.

I really appreciate the work you have put into this.
Reply With Quote
  #8  
Old December 5th, 2009, 07:57
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

The patch file is created with diff(1). I found this guide. Take a look at patch(1) too.

Hope it works.
Reply With Quote
  #9  
Old December 5th, 2009, 11:25
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now there seems to be happening more with the device while booting. But in the end it turns out that there is still no uath0 in /dev.

dmesg with some irrelevant stuff filtered out:
Code:
ugen0.3: <Atheros Communications Inc> at usbus0
uath0: <Atheros Communications Inc AR5523, rev 2.00/0.01, addr 3> on usbus0
Root mount waiting for: usbus0
uath0: timeout waiting for reply to cmd 0x1 (1)
uath0: could not initialize adapter
device_attach: uath0 attach returned 35
uath0: <Atheros Communications Inc AR5523, rev 2.00/0.01, addr 3> on usbus0
uath0: timeout waiting for reply to cmd 0x1 (1)
uath0: could not initialize adapter
device_attach: uath0 attach returned 35
Reply With Quote
  #10  
Old December 5th, 2009, 11:30
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Ack. That's a pity. Unfortunately it's not an easy fix then, at least not for me. Since you know some C, you might be able to add support in src/sys/dev/usb/wlan/if_uath.c
Reply With Quote
  #11  
Old December 5th, 2009, 11:40
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Haha, alright. Back to the days when if you wanted something with your pc, you will have to write the code yourself.

Thanks for your help anyway.
Reply With Quote
  #12  
Old December 5th, 2009, 11:44
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Quote:
Originally Posted by Sragonal View Post
Haha, alright. Back to the days when if you wanted something with your pc, you will have to write the code yourself.
Something like that.

Actually there is more you could still try. The mailing lists are a good source of help too.

Or you could try another card. My Cisco/Linksys WUSB54G works great with rum(4).
Reply With Quote
  #13  
Old December 5th, 2009, 15:13
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Strange that the hardware notes say that the device I'm using is supported. While in practice it doesn't seem to work. :/
Reply With Quote
  #14  
Old December 5th, 2009, 15:17
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Yup. Usually a patch like mine works fine. Not so lucky this time.

Something else you can try is ndis(4).
Reply With Quote
  #15  
Old December 8th, 2009, 15:44
Sragonal Sragonal is offline
Junior Member
 
Join Date: Dec 2009
Location: The Netherlands
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'll try that, I hope it works. What troubles me is that the uath driver changed the firmware. I've been searching a bit on the net but I couldn't find it.

I will just try it and see how it works out.
Reply With Quote
Reply

Tags
gigaset, uath, wifi

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear(WG111v2) WiFi USB adapter with RTL8187L Seeker Peripheral Hardware 14 November 21st, 2011 06:38
Looking for a wireless usb ethernet adapter rob34 Peripheral Hardware 5 November 10th, 2009 17:53
USB joystick adapter aragon Peripheral Hardware 4 October 5th, 2009 21:16
mounting usb network adapter rasperin Peripheral Hardware 1 August 18th, 2009 06:18
trouble with USB WiFi Adapter [freeBSD7.1] mannyz Networking 4 March 5th, 2009 16:42


All times are GMT +1. The time now is 08:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0