Re: [zd1211-devs] zd1211 on asus A9RP

2006-10-31 Thread Sergei Gurjev
On Sat, 28 Oct 2006 10:53:01 +0300, Fanch [EMAIL PROTECTED] wrote:

 Hello,

 I am trying to use my wireless device :
 laptop : ASUS A9RP 5B018H
 vendor id  : 0B05
 product id : 171B
 kernel : 2.6.17-10 (kubuntu 6.10)

 As explained at http://zd1211.ath.cx/wiki/UntestedWithRewrite, I added  
 the
 line { USB_DEVICE(0x0b05, 0x171b), .driver_info = DEVICE_ZD1211B } in the
 file zd_usb.c (zd1211rw_2006-10-28.tar.bz2 version)
 then make, and insmod zd1211rw.ko

 the /var/log/messages :
 kernel: [19645.787213] zd1211rw 3-6:1.0: firmware version 4725
 kernel: [19645.828237] zd1211rw 3-6:1.0: zd1211b chip 0b05:171b v4810  
 high
 00-18-f3 AL2230_RF pa0 g---
 kernel: [19645.830907] zd1211rw 3-6:1.0: eth1
 kernel: [19645.831053] usbcore: registered new driver zd1211rw
 kernel: [19646.289963] ADDRCONF(NETDEV_UP): eth1: link is not ready

 then I launch wlassistant :
 ifup: /sbin/ifconfig eth1 up
 iwconfig_set: /sbin/iwconfig eth1 mode managed channel 4 key open xxx
 essid my_essid
 ==stderr: Error for wireless request Set Frequency (8B04) :
 SET failed on device eth1 ; Operation not permitted.


 So, my device is now known, but I cannot use it.
 Where's the mistake ?
 Any idea is welcome.


 Fanch


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job  
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Zd1211-devs mailing list - http://zd1211.ath.cx/
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


I have this problem too (when I using ifup - ifdown )
In documentation written (for Debian):

auto wlan0
iface wlan0 inet static
 address 192.168.1.1
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 wireless_essid myessid
 wireless_channel 7
 wireless_mode master
 wireless_rts 512
 wireless_frag 512
 wireless_key secretkey

My config for wlan without witeless extension:
auto wlan0
iface wlan0 inet static
 address 192.168.1.1
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255




And I use kwlan (or kwifimanager) - for configuring my adapter and it  
works correctly.


-- 
Sergei Gurjev
Wnet ISP

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] [PATCH] wireless-2.6 zd1211rw check against regulatory domain rather than hardcoded value of 11

2006-10-31 Thread Holden Karau
The patch was based off the FIXME comment in the code [which suggested
replacing 11 with the boundary for the regulatory domain]. I'll take a
look at the vendors driver and see about modifying the patch to fit
more with its logic or just limmiting it to the FCC regulatory domain.

On 10/30/06, Uli Kunitz [EMAIL PROTECTED] wrote:
 Johannes Berg wrote:
  I'm not so sure about this. This patching might be US-specific and we
  cannot simply apply the setting for top channel of another domain
  instead of channel 11. One option would be to set the value only under
  the US regulatory domain.
 
  ??
  What the patch does is replace the top channel which is hardcoded to 11
  by the top channel given by the current regulatory domain. How can that
  be wrong? Except that you may want to init the regulatory domain from
  the EEPROM but I'm not sure how the ieee80211 code works wrt. that.
 
  johannes

 The problem is not so much that I don't trust the geo code, but whether
 setting the register to that band-edge value for a higher channel is
 the right thing to do. It looks like that this is a hack for FFC
 compliance. Therefore I suggest to patch CR128 only
 for the US regulatory domain.

 Here is the code from the GPL vendor driver (zdhw.c):

 if (pObj-HWFeature  BIT_21)  //6321 for FCC regulation, enabled 
 HWFeature 6M band edge bit (for AL2230, AL2230S)
  {
  if (ChannelNo == 1 || ChannelNo == 11)  //MARK_003, band edge, these 
 may depend on PCB layout
  {
  pObj-SetReg(reg, ZD_CR128, 0x12);
  pObj-SetReg(reg, ZD_CR129, 0x12);
  pObj-SetReg(reg, ZD_CR130, 0x10);
  pObj-SetReg(reg, ZD_CR47, 0x1E);
  }
  else //(ChannelNo 2 ~ 10, 12 ~ 14)
  {
  pObj-SetReg(reg, ZD_CR128, 0x14);
  pObj-SetReg(reg, ZD_CR129, 0x12);
  pObj-SetReg(reg, ZD_CR130, 0x10);
  pObj-SetReg(reg, ZD_CR47, 0x1E);
  }
  }

 The patch from Holden would set ZD_CR128 to 0x12 for the highest channel,
 which would not reflect the logic of the vendor driver.

 Kind regards,

 Uli

 --
 Uli Kunitz ([EMAIL PROTECTED])
 -
 To unsubscribe from this list: send the line unsubscribe netdev in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Cell: 613-276-1645

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs