1d732 Wireless Card - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old March 12th, 2009, 16:31
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default Wireless Card

Hi,

Someone know this wireless card:

none1@pci0:2:0:0: class=0x028000 card=0x12118086 chip=0x42378086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = network

This card is in my new computer but i don't what module to load !
Thanks in advance.
Niko.
Reply With Quote
  #2  
Old March 12th, 2009, 16:44
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default Wireless Card

Sorry after some research on google, i've found it's a:
Intel WiFi Link 5100 AGN

Someone knows if there is a driver being developed ?

Thank you in advance.
Niko.
Reply With Quote
  #3  
Old March 12th, 2009, 16:55
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Quote:
Originally Posted by nikobordx View Post
none1@pci0:2:0:0: class=0x028000 card=0x12118086 chip=0x42378086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = network
Code:
grep '4237.*Wireless' /usr/local/share/pciids/pci.ids
        4237  PRO/Wireless 5100 AGN [Shiloh] Network Connection
It may work with a driver in development called iwn.
Actually, it won't out of the box, since it will only attach to 4965 models.
Reply With Quote
  #4  
Old March 12th, 2009, 16:55
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

http://unix.derkeiler.com/Mailing-Li.../msg01268.html

You could try the iwn driver but it's in 8-current.
Reply With Quote
  #5  
Old March 12th, 2009, 18:20
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default Wireless Card

Thank you.

But it does not work, my card is not recognized !
Do you think, i need to add to "if_iwn.c" my card 4937 ?

Niko
Reply With Quote
  #6  
Old March 12th, 2009, 22:43
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

You can try. Let us know if it works. Here's a patch for a recent -CURRENT:
Code:
Index: sys/dev/iwn/if_iwn.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/iwn/if_iwn.c,v
retrieving revision 1.10
diff -u -r1.10 if_iwn.c
--- sys/dev/iwn/if_iwn.c        13 Feb 2009 16:17:05 -0000      1.10
+++ sys/dev/iwn/if_iwn.c        12 Mar 2009 21:42:36 -0000
@@ -229,6 +229,7 @@
         { 0x8086, 0x422D, "Intel(R) PRO/Wireless 4965BGN" },
         { 0x8086, 0x4230, "Intel(R) PRO/Wireless 4965BGN" },
         { 0x8086, 0x4233, "Intel(R) PRO/Wireless 4965BGN" },
+        { 0x8086, 0x4237, "Intel(R) PRO/Wireless 5100BGN" },
         { 0, 0, NULL }
 };
Would be interesting to know if it works, so keep us informed
Reply With Quote
  #7  
Old March 13th, 2009, 00:04
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default Wireless Card

Ok i have tested and it does not work !

dmesg say:

iwn0: <Intel(R) PRO/Wireless 5100AGN> mem 0xde000000-0xde001fff irq 16 at device 0.0 on pci2
iwn0: Reg Domain: , address 00:21:6b:2b:78:04
iwn0: iwn_read_eeprom_ht40: no entry for channel 124
iwn0: iwn_read_eeprom_ht40: no entry for channel 132
iwn0: iwn_read_eeprom_ht40: no entry for channel 149
iwn0: iwn_read_eeprom_ht40: no entry for channel 157
iwn0: [ITHREAD]
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps

ifconfig say:

iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:21:6b:2b:78:04
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier

After creating interface:

iwn0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:21:6b:2b:78:04
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
status: associated
wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:21:6b:2b:78:04
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid Livebox-C460 channel 4 (2427 Mhz 11b)
country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
txpower 0 bmiss 10 scanvalid 60 wme bintval 0


And when i try to connect:

iwn0: iwn_transfer_firmware: timeout waiting for first alive notice, error 35
iwn0: iwn_init_locked: could not load firmware, error 35
iwn0: iwn_transfer_microcode: could not load boot firmware
iwn0: iwn_transfer_firmware: could not load boot firmware, error 60
iwn0: iwn_init_locked: could not load firmware, error 60
iwn0: error, INTR=20000000<HW_ERROR> STATUS=0x0

I don't understand why the iwn0 interface was "associated" and not wlan1 ?

Do you have somethings else to test ?

Niko
Reply With Quote
  #8  
Old March 13th, 2009, 04:20
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

If you accepted the license (see the iwn manpage), then this firmware may not be compatible with the 5100 and you'll have to wait till support gets added to this or a new driver.
You may want to post your the freebsd-current list, they might have more information on this card and the (planned) support for it.
Reply With Quote
  #9  
Old March 13th, 2009, 10:29
lyuts lyuts is offline
Member
 
Join Date: Nov 2008
Location: Kyiv, Ukraine
Posts: 182
Thanks: 6
Thanked 10 Times in 10 Posts
Default

I'm using if_wpi and wpifw for my Intel Wireless Card.
Reply With Quote
  #10  
Old March 13th, 2009, 12:36
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

if_wpi does not support this new card !
Reply With Quote
  #11  
Old March 13th, 2009, 12:48
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hi,

I found on the net the file "iwlwifi-5000-ucode-5.4.A.11.tar.gz" which contains "iwlwifi-5000-1.ucode".

How to convert to freebsd firmware?
It's just this command: "b64encode iwlwifi-5000-1.ucode iwlwifi-5000-1.fw.uu > iwlwifi-5000-1.fw.uu"

Thanks,
Niko.
Reply With Quote
  #12  
Old March 13th, 2009, 13:00
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

oop's i forgot !

When i test it, i have this message:
Code:
iwn0: <Intel(R) PRO/Wireless 5100AGN> mem 0xde000000-0xde001fff irq 16 at device 0.0 on pci2
iwn0: Reg Domain: , address 00:21:6b:2b:78:04
iwn0: iwn_read_eeprom_ht40: no entry for channel 124
iwn0: iwn_read_eeprom_ht40: no entry for channel 132
iwn0: iwn_read_eeprom_ht40: no entry for channel 149
iwn0: iwn_read_eeprom_ht40: no entry for channel 157
iwn0: [ITHREAD]
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps
wlan1: Ethernet address: 00:21:6b:2b:78:04
iwn0: iwn_transfer_firmware: invalid firmware header, main [128504,49152], init [118176,49152] boot 0
iwn0: iwn_init_locked: could not load firmware, error 22
Niko

Last edited by DutchDaemon; September 5th, 2009 at 19:48.
Reply With Quote
  #13  
Old March 13th, 2009, 20:55
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

It's not too hard for me to make a patch that enables loading this firmware, however, it still doesn't guarantee the card will work with this driver. I also don't see any indication that a new driver for FreeBSD is in progress or that support for 5100 series is being integrated into iwn, though it seems possible as OpenBSD has done this.
As that diff shows, more work need to be done then just allow the firmware to be loaded.
Reply With Quote
  #14  
Old March 13th, 2009, 21:31
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hi Mel_Flynn

I'm ok to try your patch !
If it does not work, i will look tomorrow the openbsd code, but i'm not a developer, so i can't guarantee anything!

Niko.
Reply With Quote
  #15  
Old March 14th, 2009, 07:41
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

I looked into it more deeply, I can bypass the check (just adjust the IWN_FW_MAIN_TEXT_MAXSZ and friends), but the 5000 series use a different method to load the firmware alltogether, so you'd have to reimplement iwn_transfer_firmware.
These are good reasons to rewrite the driver using a hardware abstraction layer, like Damien did for OpenBSD. There are enough similarities between the cards but also enough differences.
Reply With Quote
  #16  
Old March 14th, 2009, 16:11
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hi Mel_Flynn,

I don't understand the openbsd code, are you a developper ?
I've you trying to make the patch ?

Niko.
Reply With Quote
  #17  
Old March 14th, 2009, 21:47
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Would be hard for me to do, as I don't have the card in question, so other then "making it compile". I'm waiting to see if your post on the freebsd-current list yields any "I'm working on this" response and maybe my new laptop will have this card, not sure yet.
If I decide to do this, it'll take a few weeks, as I've got other things on my plate.

Seems Brandon is working on it.

Last edited by Mel_Flynn; March 14th, 2009 at 21:58. Reason: Add -current info
Reply With Quote
  #18  
Old May 14th, 2009, 22:24
TzunTzai's Avatar
TzunTzai TzunTzai is offline
Junior Member
 
Join Date: Apr 2009
Posts: 51
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Any progress?
Reply With Quote
  #19  
Old May 15th, 2009, 09:56
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Hi,

I know Daniel is working on it.
No news from him, so i think he's busy.

Nicolas.
Reply With Quote
  #20  
Old September 4th, 2009, 22:57
TzunTzai's Avatar
TzunTzai TzunTzai is offline
Junior Member
 
Join Date: Apr 2009
Posts: 51
Thanks: 5
Thanked 2 Times in 2 Posts
Default

Updates?
__________________
Toshiba Satellite M305-S4910 / FreeBSD 8.0-RCx/ VirtualBox 3.x (WinXP)
Reply With Quote
  #21  
Old September 13th, 2009, 10:12
nikobordx nikobordx is offline
Member
 
Join Date: Mar 2009
Location: Bordeaux, France
Posts: 107
Thanks: 0
Thanked 4 Times in 4 Posts
Default

No news !
Reply With Quote
Reply

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
need help with my wireless card somewhat new to bsd vigilant Networking 1 February 9th, 2009 21:13
Ethernet card and Graphics card Problem guro System Hardware 4 January 13th, 2009 13:16
ral wireless card slow when acting as hostap thundur Networking 0 December 7th, 2008 20:05
Help Installing Realtek rtl8185 wireless 54M PCI card (TP-Link TL-WN353GD) Lego Installing & Upgrading 20 December 4th, 2008 19:02
wireless card net-install DemoDoG Installing & Upgrading 2 December 2nd, 2008 21:34


All times are GMT +1. The time now is 23:35.


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