WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ipw2200 and update to TC 1.3  (Read 3484 times)

Offline szegey

  • Newbie
  • *
  • Posts: 2
ipw2200 and update to TC 1.3
« on: April 15, 2009, 06:12:12 AM »
Hi!

With TC 1.2 I had to manually (via bootlocal.sh) modprobe ipw2200 and copy the card's firmware to /lib/firmware (via .filetool.lst). Now TC 1.3 automatically loads the module on boot. The problem is that it doesn't find the firmware as at the time of loading, the firmware is not yet put into place. The result is that the module gives an error and the wlan connection fails.

I solved this problem by unloading and reloading the module in bootlocal.sh. It's not very elegant ;)

Is there any other way to get the firmware to the right place so that the dynamic loading of the module doesn't fail?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ipw2200 and update to TC 1.3
« Reply #1 on: April 15, 2009, 11:35:05 AM »
Creating an extension out of the firmware should work.

It should go something like this:
Quote
cd /
tar cvzf tmp/intel-firmware.tce lib/firmware/my-fw-name.fw
If you then put this extension into your tce folder, the firmware will be available to the extension module probing.
The only barriers that can stop you are the ones you create yourself.

Offline szegey

  • Newbie
  • *
  • Posts: 2
Re: ipw2200 and update to TC 1.3
« Reply #2 on: April 16, 2009, 03:31:29 PM »
That worked!

And it's elegant  :)

Thanks curaga!
« Last Edit: April 16, 2009, 06:15:25 PM by szegey »

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: ipw2200 and update to TC 1.3
« Reply #3 on: April 23, 2009, 10:03:08 AM »
Creating an extension out of the firmware should work.

It should go something like this:
Quote
cd /
tar cvzf tmp/intel-firmware.tce lib/firmware/my-fw-name.fw
If you then put this extension into your tce folder, the firmware will be available to the extension module probing.

don't you have to reboot then? i don't understand the new 1.3+ system, what about cloud mode (or do cloud mode users just have to modprobe like they did before?)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ipw2200 and update to TC 1.3
« Reply #4 on: April 23, 2009, 11:40:56 AM »
Yeah, it's available on the next reboot onwards. Cloud users are kind of out of luck in these cases, because the firmware is not freely distributable, and so cannot be offered in the repo. They'd need to keep it locally somewhere (or download from intel every time), and modprobe after copying it.
The only barriers that can stop you are the ones you create yourself.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: ipw2200 and update to TC 1.3
« Reply #5 on: April 23, 2009, 01:10:19 PM »
Yeah, it's available on the next reboot onwards. Cloud users are kind of out of luck in these cases, because the firmware is not freely distributable,

i wasn't clear, my question was only about how modprobe works from 1.2 to 1.3 and up. it seems the "magic answer" now is to put the extension (or put whatever in your own tce file) in the tce folder, where it will be modprobed automatically on reboot. so are cloud users "kind of out of luck" on everything that needs to be modprobed now? i doubt it, but i still don't understand how you're supposed to use modules in newer versions of tc- without rebooting.

for example will cloud users have to do this from now on: (or is that only for modules in extensions stored with persistence?)

Quote
I solved this problem by unloading and reloading the module... It's not very elegant
« Last Edit: April 23, 2009, 01:17:50 PM by tobiaus »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ipw2200 and update to TC 1.3
« Reply #6 on: April 23, 2009, 01:23:16 PM »
Oh, I see. The automatic modprobing in 1.3 also happens during a normal tce-load.
It's meant to remove the need to manually modprobe, whenever possible. It doesn't remove the possibility to manually modprobe.

edit:

Here's an example:

Say I have a pci wlan card that doesn't need firmware, maybe a Ralink rt2x00.
In TC 1.2 and previous I'd need to modprobe the module myself, after loading the extension.

In TC 1.3 and onwards it's enough for me to load the wireless extension, and my wireless hardware becomes blinking and usable :)
« Last Edit: April 23, 2009, 01:26:54 PM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: ipw2200 and update to TC 1.3
« Reply #7 on: April 23, 2009, 02:09:08 PM »
thanks, so far i've only tried 1.3 in qemu, and i'm still mostly using 1.2. i suppose the next one i try will be 2.x.

Offline captainpotato

  • Newbie
  • *
  • Posts: 10
    • World Tapir Day: 27 April
Re: ipw2200 and update to TC 1.3
« Reply #8 on: April 24, 2009, 11:51:13 AM »
curaga, thanks very much for your comments in this thread - I'm writing this using TCL 1.3 on a laptop using the ipw2100 firmware. Assuming that I can get the settings persistent, I am pretty sure that this will become the default OS on the machine.