Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#12006 closed enhancement (fixed)

Intel Centrino Wireless-N 2230 driver support

Reported by: danboid Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/iprowifi4965 Version: R1/Development
Keywords: wifi Intel Centrino 2230 Cc:
Blocked By: Blocking:
Platform: All

Description

Haiku's network config tool doesn't list my Centrino 2230 as an available device under 49058 GCC2 Hybrid.

There is a backported FreeBSD 9 driver for the 2230 that I'd like to see included in Haiku here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196279

I presume this will also require that the install-wifi-firmware script be updated so it can fetch the firmware for the 2230?

Thanks

Attachments (5)

Add-support-for-Intel-Centrino-Wireless-N-2230.patch (12.9 KB ) - added by danboid 10 years ago.
syslog2 (246.3 KB ) - added by tojoko 8 years ago.
syslog bevore installin' 2230 driver
previous_syslog (126.2 KB ) - added by tojoko 8 years ago.
syslog while installin' 2230 driver
syslog.old (512.0 KB ) - added by tojoko 8 years ago.
syslog now, after installin 2230 driver
listdev.txt (2.1 KB ) - added by tojoko 7 years ago.
listdev

Download all attachments as: .zip

Change History (16)

comment:1 by danboid, 10 years ago

I have both Intel HD 4600 graphics and Intel 2230 wifi so in order to boot current nightlies without using safe mode I have to have the following in /boot/system/settings/packages:

Package haiku {

EntryBlacklist {

add-ons/kernel/drivers/bin/iprowifi4965 add-ons/kernel/drivers/bin/intel_extreme

}

}

comment:2 by danboid, 10 years ago

Just in case anyone else has the same laptop, I should also note that I had to uncomment the lines

apm true disable_ioapic true

in /boot/home/config/settings/kernel/drivers/kernel to get Haiku to boot reliably.

comment:3 by danboid, 10 years ago

Apart from the missing Makefile (which I suspect we don't need) this patch applies cleanly against Haiku git.

I understand I need to update glue.c before I can build this with jam and I suspect all that involves is adding the correct line into this section:

HAIKU_FIRMWARE_NAME_MAP(8) = {

{"iwn1000fw", "iwlwifi-1000-5.ucode"}, {"iwn4965fw", "iwlwifi-4965-2.ucode"}, {"iwn5000fw", "iwlwifi-5000-5.ucode"}, {"iwn5150fw", "iwlwifi-5150-2.ucode"}, {"iwn6000fw", "iwlwifi-6000-4.ucode"}, {"iwn6000g2afw", "iwlwifi-6000g2a-6.ucode"}, {"iwn6000g2bfw", "iwlwifi-6000g2b-6.ucode"}, {"iwn6050fw", "iwlwifi-6050-5.ucode"}

};

That raises 2 questions for a total Haiku dev newb like me:

1 - How do I know what the correct value is to enter in the left column? My guess would be "iwn2030fw". Yes, my device is a 2230 and supposedly thats what this patch adds support for but everything in the patch refers to 2030.

2 - The firmware file is:

src/add-ons/kernel/drivers/network/wlan/iprowifi4965/contrib/dev/iwn/iwlwifi-2030-18.168.6.1.fw.uu

Do I need to move that somewhere or just rename to something.ucode instead of iwlwifi-2030-18.168.6.1.fw.uu?

comment:5 by danboid, 10 years ago

I've successfully patched this into Haiku, got it to compile and I'm writing this connected to the net using my 2230 under Haiku now.

It's already way past my bedtime but I'll get a patch uploaded for this shortly.

comment:6 by danboid, 10 years ago

patch: 01

comment:7 by danboid, 10 years ago

Patch attached.

comment:8 by danboid, 10 years ago

Note that the required firmware is already in the Haiku source tree so that wasn't needed for this patch.

Last edited 10 years ago by danboid (previous) (diff)

comment:9 by waddlesplash, 10 years ago

Component: - GeneralDrivers/Network/iprowifi4965

comment:10 by pulkomandy, 10 years ago

Resolution: fixed
Status: newclosed

Applied in hrev49127. Thanks!

comment:11 by tojoko, 8 years ago

Hi,

sorry, but doesn't work for me.

Could u do me a favor an double check the code?

Topic says, patch for Intel-Centrino-Wireless-N-2230 but sourcecode says 2030. (see link comment 6)

kind regards

by tojoko, 8 years ago

Attachment: syslog2 added

syslog bevore installin' 2230 driver

by tojoko, 8 years ago

Attachment: previous_syslog added

syslog while installin' 2230 driver

by tojoko, 8 years ago

Attachment: syslog.old added

syslog now, after installin 2230 driver

by tojoko, 7 years ago

Attachment: listdev.txt added

listdev

Note: See TracTickets for help on using tickets.