Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

171 Pages V  « < 30 31 32 33 34 > »   
Closed Topic Start new topic
Intel Wireless 2100, 2200bg, 2915bg, 3945abg, 4965agn, IWIDarwin drivers for mac os x 10.4 and 10.5 *under development*
*
  • Group: Members
  • Posts: 12
  • Joined: 5-March 08
  • Member No.: 195,688
jalavoui, iwi3945 rel 672 now KP's further in:
CODE
static int ieee80211_open(struct net_device *dev)
{
    printf("CAH: 1\n");
    IM_HERE_NOW();
    printf("CAH: 2\n");    

    struct ieee80211_sub_if_data *sdata, *nsdata;
    printf("CAH: 3\n");
    struct ieee80211_local *local = (ieee80211_local*)wdev_priv(dev->ieee80211_ptr);
    printf("CAH: 4\n");
    struct ieee80211_if_init_conf conf;
    printf("CAH: 5\n");
    int res;
    printf("CAH: 6\n");

    sdata = (struct ieee80211_sub_if_data*)IEEE80211_DEV_TO_SUB_IF(dev);
    printf("CAH: 7\n");
    //read_lock(&local->sub_if_lock);
    //??? nsdata should be sdata
    /*list_for_each_entry(nsdata, &local->sub_if_list, list) {
        struct net_device *ndev = nsdata->dev;

        if (ndev != dev && ndev != local->mdev && netif_running(ndev) &&
            compare_ether_addr(dev->dev_addr, ndev->dev_addr) == 0 &&
            !identical_mac_addr_allowed(sdata->type, nsdata->type)) {
            //read_unlock(&local->sub_if_lock);
            return -1;//-ENOTUNIQ;
        }
    }*/
    //read_unlock(&local->sub_if_lock);

    if (sdata->type == IEEE80211_IF_TYPE_WDS &&
        is_zero_ether_addr(sdata->u.wds.remote_addr))
        return -ENOLINK;
    printf("CAH: 8\n");    

    if (sdata->type == IEEE80211_IF_TYPE_MNTR && local->open_count &&
        !(local->hw.flags & IEEE80211_HW_MONITOR_DURING_OPER)) {
        /* run the interface in a "soft monitor" mode */
        printf("CAH: 9\n");
        local->monitors++;
        printf("CAH: 10\n");
        local->open_count++;
        printf("CAH: 11\n");
        //local->hw.conf.flags |= IEEE80211_CONF_RADIOTAP;
        return 0;
    }
    printf("CAH: 12\n");
    //ieee80211_start_soft_monitor(local);

    conf.if_id = dev->ifindex;
    printf("CAH: 13\n");
    conf.type = sdata->type;
    printf("CAH: 14\n");
    conf.mac_addr = dev->dev_addr;
    printf("CAH: 15\n");
    res = local->ops->add_interface(local_to_hw(local), &conf);
    printf("CAH: 16\n");
    if (res) {
        if (sdata->type == IEEE80211_IF_TYPE_MNTR)
            ieee80211_start_hard_monitor(local);
            printf("CAH: 17\n");
        return res;
    }
    
    printf("CAH: 18\n");


Last marker before KP in my console is now 'CAH: 15'. Looks like line 'res = local->ops->add_interface(local_to_hw(local), &conf);' now generates KP.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 23
  • Joined: 1-February 08
  • From: Ukraine, Odessa
  • Member No.: 180,911
QUOTE (jalavoui @ Apr 8 2008, 12:42 PM) *
iwi3945 rel 672
fix for ieee80211_open


Look for the "HERE" smile.gif
if (sdata->type != IEEE80211_IF_TYPE_STA &&
sdata->type != IEEE80211_IF_TYPE_IBSS) {
printk(KERN_DEBUG "%s: ieee80211_sta_work: non-STA interface "
"(type=%d)\n", dev->name, sdata->type);
return;
}
ifsta = &sdata->u.sta;

HERE->>>> while ((skb = skb_dequeue(&ifsta->skb_queue)))
ieee80211_sta_rx_queued_mgmt(dev, skb);
I haven't seen IAMHERE() for the ieee80211_sta_rx_queued_mgmt() call so I suppose
there's something in loop assignment smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*****
  • Group: Members
  • Posts: 281
  • Joined: 4-October 07
  • Member No.: 139,847
QUOTE
Is there any update on the 4965AGN driver for Leopard?

If there is anything I can do to help, just let me know! Once i get the driver for my WiFi card, i can finally switch to using OSX as my primary OS!


Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 39
  • Joined: 24-December 07
  • Member No.: 165,412
QUOTE (Wayfarer247 @ Apr 8 2008, 01:44 PM) *
Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.


i think he meant : if it's that easy to modify it for 4965 , why not someone put the driver up there , so we 4965 users could join the beta testers club , and send some log files to help this community altogether.

or just please let us know what files have to be changed ? what 'lines' or 'codes' have to be added or replaced into driver source files. i think we can make these changes if someone could explain us one by one for 4965. i think the rest is compiling the driver and installing.

the point is instead of waiting here till it would be done for 3945, we would like send more logs as much as we could to help TWN , jalavoui and the other skilled developers here to make the driver ready for us soon.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 6
  • Joined: 4-April 08
  • Member No.: 209,832
QUOTE (Wayfarer247 @ Apr 8 2008, 07:44 PM) *
Once the 3945 is working it should only take a little while to transfer it to 4965. Don't worry, I can't wait for that day as well.



hmm ma b-day is on this sunday wish this was a b-day present for me by sunday
wish you guys all the best
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 22
  • Joined: 4-October 06
  • From: Salt Lake City, UT
  • Member No.: 58,704
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly....
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 12
  • Joined: 5-March 08
  • Member No.: 195,688
QUOTE (zacwhite15 @ Apr 8 2008, 09:17 PM) *
ok quick question. is there anyway i can download the trunk as a whole? cause its kind of a pain to download each file seperatly....

Yes. Open a terminal (shell) and run:
CODE
svn checkout http://iwidarwin.googlecode.com/svn/trunk/iwi3945_new-osx10.5 iwi3945

(will create an iwi3945 directory under current directory)
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 22
  • Joined: 4-October 06
  • From: Salt Lake City, UT
  • Member No.: 58,704
thanks man ill do that soon as i log into osx
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 22
  • Joined: 4-October 06
  • From: Salt Lake City, UT
  • Member No.: 58,704
ok guys im really confused. i have downloaded the svn and all, installed xcode. installed the dmg... but i still keep getting a kext load error with the kext. what am i doing wrong? can anyone tell me??

if someone can help me my msn messenger is zacwhite15@msn.com. it would be greatly apreciated.....
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
iwi3945 rel 674

i've managed to change the code to build and test in my os version (10.4)
several bugs where fixed
let me know if you get bugs compiling in 10.5
if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp
PM Profile Card
Go to the top of the page
+ Quote Post
**
  • Group: Members
  • Posts: 50
  • Joined: 6-December 06
  • From: Brazil
  • Member No.: 67,345
I would like test iwi3945 rel 674 in my laptop..
where i can download it ?
download r unavailable at http://code.google.com/p/iwidarwin/
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 10
  • Joined: 28-February 08
  • Member No.: 192,924
I'm able to install the kext but net selector does not work. It has also screwed up my ethernet (the only internet connection that was workign) so that now itonly works every other web page i click. For instance I have to press Submit reply twice to send this.Oh by the way I'm using 10.5.2 Kalyway
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 9
  • Joined: 16-March 08
  • Member No.: 200,542
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get:
Last login: Tue Apr 8 13:34:07 on ttys000
/Applications/networkSelector ; exit;
*****-macintosh:~ *********$ /Applications/networkSelector ; exit;
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

[Process completed]

Can anyone tell me what to do? wacko.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 22
  • Joined: 4-October 06
  • From: Salt Lake City, UT
  • Member No.: 58,704
QUOTE (steelhead @ Apr 9 2008, 03:53 AM) *
i was able to install the iwi but the network selector does not work it. when i try to run the networkSelector i get:
Last login: Tue Apr 8 13:34:07 on ttys000
/Applications/networkSelector ; exit;
*****-macintosh:~ *********$ /Applications/networkSelector ; exit;
Unhandled transform (1) for ioctl group = 78 (N), number = 3, length = 100
Illegal instruction
logout

[Process completed]

Can anyone tell me what to do? wacko.gif



dude i know wat you mean... i keep getting the same thing myself.
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 23
  • Joined: 1-February 08
  • From: Ukraine, Odessa
  • Member No.: 180,911
QUOTE (zacwhite15 @ Apr 9 2008, 06:34 AM) *
dude i know wat you mean... i keep getting the same thing myself.



Guys, all of you, that get ioctl() from networkSelector and unresolved symbols while kextload'ing driwer used PowerBook (or what?) .dmg. It's now suitable for PC's. Please use, SVN and xcodebuild kext by yourself, or use one in the .zip archives that's attached, but think that's not neccesary, since by that moment all KPs are logged and screenshotted smile.gif
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 12
  • Joined: 5-March 08
  • Member No.: 195,688
QUOTE (jalavoui @ Apr 8 2008, 11:49 PM) *
iwi3945 rel 674

i've managed to change the code to build and test in my os version (10.4)
several bugs where fixed
let me know if you get bugs compiling in 10.5
if anyone likes to test in 10.4 just replace the info.plist with the definitions that exists in compatibility.cpp

The previous iwi3945 releases have built with XCode 3.0 and generated kext that loaded ok for me in 10.5 (then KP as expected). But this new one (rel 674) reports the build is successful in XCode but the kext fails to load:

chriss-mac-pro:~ chris$ sudo kextload -t /System/Library/Extensions/iwi3945.kext
kextload: extension /System/Library/Extensions/iwi3945.kext appears to be loadable
kld(): Undefined symbols:
_mutex_init
_mutex_lock
_mutex_unlock
kextload: kld_load_from_memory() failed for module /System/Library/Extensions/iwi3945.kext/Contents/MacOS/iwi3945
kextload: a link/load error occured for kernel extension /System/Library/Extensions/iwi3945.kext
link/load failed for extension /System/Library/Extensions/iwi3945.kext
(run kextload with -t for diagnostic output)
chriss-mac-pro:~ chris$
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
iwi3945 rel 675
revert the mutex declaration
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 23
  • Joined: 1-February 08
  • From: Ukraine, Odessa
  • Member No.: 180,911
QUOTE (jalavoui @ Apr 9 2008, 11:07 AM) *
iwi3945 rel 675
revert the mutex declaration


it loads! smile.gif maybe we can continue more online in irc?
Somehow I did get two different loads, one leads to KP over some time and another loads successfully and stays quite. networkSelector is still unusable, and did get a KP on kextunload
PM Profile Card
Go to the top of the page
+ Quote Post
*
  • Group: Members
  • Posts: 12
  • Joined: 5-March 08
  • Member No.: 195,688
iwi3945 rel 675 builds and loads ok for me too. It added a new network connection in preferences but after each boot and login to the desktop it either gives me the grey screen of death or locks the desktop both occurring 20-40 seconds after logging in to desktop.

Attached are the logs I managed to collect before one of the crashes occurred.
Attached File(s)
Attached File  dmesg.txt ( 4K ) Number of downloads: 7
Attached File  ioreg.txt ( 41.73K ) Number of downloads: 1
Attached File  system.txt ( 38.26K ) Number of downloads: 5
 
PM Profile Card
Go to the top of the page
+ Quote Post
********
  • Group: Members
  • Posts: 1,141
  • Joined: 28-August 06
  • Member No.: 53,253
iwi3945 rel 677
scan fixes
the driver seems to have qeue_xx bugs
don't autoload the driver
use kextload - i need to see all log lines to understand it
better test with boot -s and post the kp picture
i do know sometimes the driver is stable - it's up to you to test and check the logs

smile.gif i think i find the bug for the unstable load - i'll put the code in svn
wait...
ok done
iwi3945 rel 678
ready for testing

TNW,
can you help testing/writting code?
PM Profile Card
Go to the top of the page
+ Quote Post
171 Pages V  « < 30 31 32 33 34 > » 
Closed Topic Start new topic

4 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
1 Members: kantk2008

 

RSS Lo-Fi Version Time is now: 22nd November 2009 - 04:26 AM