Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-04-12 Thread Sevan / Venture37
On 31 March 2011 16:50, Sevan / Venture37 ventur...@gmail.com wrote:
 On 31 March 2011 10:07, Aleksandr Rybalko r...@dlink.ua wrote:
 Now good peoples help me with rework of driver, then this driver will be 
 available under ral(4).
 So you need to wait some time.

 Excellent, I'm happy to be a tester for patches, the card is a
 Azurewave RT2700E out of a EEPC if I remember right


AzureWave AW-NE766-VOA to be exact
Model No: RT2700E

 I will post dmesg  pciconf output tomorrow once I have an ethernet
 cable or removable media near me if you need more info.

 Yeah, post please. at minimum I've interesting which RF used in your device.

 rt28600: Ralink RT2790 PCIe mem 0xf7f0-0xf7f0 irq 17 at
 device 0.0 on pci3
 rt28600: invalid EEPROM LNA gain #2: 0x00
 rt28600: invalid EEPROM LNA gain #3: 0x00
 rt28600: invalid EEPROM powersave level
 rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R
 rt28600: skip channel 10, could not find extension channel
 rt28600: skip channel 11, could not find extension channel
 rt28600: skip channel 12, could not find extension channel
 rt28600: skip channel 13, could not find extension channel
 rt28600: skip channel 14, could not find extension channel


 rt28600@pci0:3:0:0:     class=0x028000 card=0x27901814 chip=0x07811814
 rev=0x00 hdr=0x00
    vendor     = 'Ralink Technology, Corp.'
    device     = 'Wireless (RT2860/RT2890)'
    class      = network


 Sevan

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-04-01 Thread PseudoCylon
  rt28600: Ralink  RT2790 PCIe mem 0xf7f0-0xf7f0 irq 17 at
  device 0.0 on  pci3
  rt28600: invalid EEPROM LNA gain #2: 0x00
  rt28600: invalid  EEPROM LNA gain #3: 0x00
  rt28600: invalid EEPROM powersave level
   rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R
 Wow, your  device have same revision 0x28720200 like embedded into
 RT3052F system on  chip.
 So now I understand, why driver won't work with your card.
 I  previously expect that this id related only for SoC version, but SoC
 version  don't have many things that PCI version have (MCU, EEPROM,
 etc.)
 

Hi,

I have 0x28720200 calling rt2872_rf_set_chan() instead of rt2860_rf_set_chan().
And, 0x2000 for initial RT2860_REG_MAX_LEN value in rt2860_init_locked().

If these are correct I can patch the driver up.

AK

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-04-01 Thread Aleksandr Rybalko
On Thu, 31 Mar 2011 23:44:03 -0700 (PDT)
PseudoCylon moonlightak...@yahoo.ca wrote:

   rt28600: Ralink  RT2790 PCIe mem 0xf7f0-0xf7f0 irq 17 at
   device 0.0 on  pci3
   rt28600: invalid EEPROM LNA gain #2: 0x00
   rt28600: invalid  EEPROM LNA gain #3: 0x00
   rt28600: invalid EEPROM powersave level
rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R
  Wow, your  device have same revision 0x28720200 like embedded into
  RT3052F system on  chip.
  So now I understand, why driver won't work with your card.
  I  previously expect that this id related only for SoC version, but SoC
  version  don't have many things that PCI version have (MCU, EEPROM,
  etc.)
  
 
 Hi,
 
 I have 0x28720200 calling rt2872_rf_set_chan() instead of 
 rt2860_rf_set_chan().
 And, 0x2000 for initial RT2860_REG_MAX_LEN value in rt2860_init_locked().
 
 If these are correct I can patch the driver up.

Basic problem here is a usage external EEPROM data(instead read from real 
EEPROM) and direct BBP control(instead use MCU).
So currently prefer to use Alexander Egorenkov version, until we done porting 
OpenBSD one and join it with ral(4) code.

 
 AK
 


-- 
Alexandr Rybalko r...@dlink.ua 
aka Alex RAY r...@ddteam.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-03-31 Thread Aleksandr Rybalko
Hi Sevan,

On Thu, 31 Mar 2011 01:49:04 +0100
Sevan / Venture37 ventur...@gmail.com wrote:

 On 20 March 2011 13:36, Aleksandr Rybalko r...@ddteam.net wrote:
  Hi folks,
 
  new version of patch for wireless card based on Ralink RT2860 plus
  RT3090 that required testing.
 
  Main part:
  http://my.ddteam.net/files/2011-03-20_rt2860.patch
 
  sys/conf/(files|options), same as last:
  http://my.ddteam.net/files/2011-03-18_rt2860_invoking.patch
 
  Who use Ralink PCI/miniPCI/PCIE wireless cards, please test driver and
  send info about success or failures.
 
  Thanks.
 
  --
  Aleksandr Rybalko r...@ddteam.net
 
 Many thanks for this Aleksandr
 I've just compiled  installed a new kernel + rt2860 module with success.
 kernel module loads fine  my RT2790 (chip=0x07811814) is detected.
 ifconfig wlan0 create wlandev rt28600 up
 shows wlan0: with my ethernet address but from there ifconfig wlan0
 scan or list scan result in nothing
 configuring the ssid manually  trying to connect to the AP doesn't work 
 either.
 As I hadn't checked this mailing list before starting out this
 evening, I was doomed to stw  came across
 http://repo.or.cz/w/ralink_drivers.git via the freebsd forum, before
 trying your patch, I had successfully build the freebsd 8 driver from
 there on current  managed to get the card working, using csup to
 update src as a test of connectivity.

Now good peoples help me with rework of driver, then this driver will be 
available under ral(4).
So you need to wait some time.

 
 I will post dmesg  pciconf output tomorrow once I have an ethernet
 cable or removable media near me if you need more info.

Yeah, post please. at minimum I've interesting which RF used in your device.

 
 Sevan
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Thank you!

WBW
-- 
Alexandr Rybalko r...@dlink.ua 
aka Alex RAY r...@ddteam.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-03-31 Thread Sevan / Venture37
On 31 March 2011 10:07, Aleksandr Rybalko r...@dlink.ua wrote:
 Now good peoples help me with rework of driver, then this driver will be 
 available under ral(4).
 So you need to wait some time.

Excellent, I'm happy to be a tester for patches, the card is a
Azurewave RT2700E out of a EEPC if I remember right


 I will post dmesg  pciconf output tomorrow once I have an ethernet
 cable or removable media near me if you need more info.

 Yeah, post please. at minimum I've interesting which RF used in your device.

rt28600: Ralink RT2790 PCIe mem 0xf7f0-0xf7f0 irq 17 at
device 0.0 on pci3
rt28600: invalid EEPROM LNA gain #2: 0x00
rt28600: invalid EEPROM LNA gain #3: 0x00
rt28600: invalid EEPROM powersave level
rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R
rt28600: skip channel 10, could not find extension channel
rt28600: skip channel 11, could not find extension channel
rt28600: skip channel 12, could not find extension channel
rt28600: skip channel 13, could not find extension channel
rt28600: skip channel 14, could not find extension channel


rt28600@pci0:3:0:0: class=0x028000 card=0x27901814 chip=0x07811814
rev=0x00 hdr=0x00
vendor = 'Ralink Technology, Corp.'
device = 'Wireless (RT2860/RT2890)'
class  = network


Sevan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-03-31 Thread Aleksandr Rybalko
On Thu, 31 Mar 2011 16:50:16 +0100
Sevan / Venture37 ventur...@gmail.com wrote:

 On 31 March 2011 10:07, Aleksandr Rybalko r...@dlink.ua wrote:
  Now good peoples help me with rework of driver, then this driver
  will be available under ral(4). So you need to wait some time.
 
 Excellent, I'm happy to be a tester for patches, the card is a
 Azurewave RT2700E out of a EEPC if I remember right
 
 
  I will post dmesg  pciconf output tomorrow once I have an
  ethernet cable or removable media near me if you need more info.
 
  Yeah, post please. at minimum I've interesting which RF used in
  your device.
 
 rt28600: Ralink RT2790 PCIe mem 0xf7f0-0xf7f0 irq 17 at
 device 0.0 on pci3
 rt28600: invalid EEPROM LNA gain #2: 0x00
 rt28600: invalid EEPROM LNA gain #3: 0x00
 rt28600: invalid EEPROM powersave level
 rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R
Wow, your device have same revision 0x28720200 like embedded into
RT3052F system on chip.
So now I understand, why driver won't work with your card.
I previously expect that this id related only for SoC version, but SoC
version don't have many things that PCI version have (MCU, EEPROM,
etc.)

I will fix it behavior in new driver. 

 rt28600: skip channel 10, could not find extension channel
 rt28600: skip channel 11, could not find extension channel
 rt28600: skip channel 12, could not find extension channel
 rt28600: skip channel 13, could not find extension channel
 rt28600: skip channel 14, could not find extension channel
 
 
 rt28600@pci0:3:0:0:   class=0x028000 card=0x27901814
 chip=0x07811814 rev=0x00 hdr=0x00
 vendor = 'Ralink Technology, Corp.'
 device = 'Wireless (RT2860/RT2890)'
 class  = network
 
 
 Sevan


-- 
Aleksandr Rybalko r...@ddteam.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-03-30 Thread Sevan / Venture37
On 20 March 2011 13:36, Aleksandr Rybalko r...@ddteam.net wrote:
 Hi folks,

 new version of patch for wireless card based on Ralink RT2860 plus
 RT3090 that required testing.

 Main part:
 http://my.ddteam.net/files/2011-03-20_rt2860.patch

 sys/conf/(files|options), same as last:
 http://my.ddteam.net/files/2011-03-18_rt2860_invoking.patch

 Who use Ralink PCI/miniPCI/PCIE wireless cards, please test driver and
 send info about success or failures.

 Thanks.

 --
 Aleksandr Rybalko r...@ddteam.net

Many thanks for this Aleksandr
I've just compiled  installed a new kernel + rt2860 module with success.
kernel module loads fine  my RT2790 (chip=0x07811814) is detected.
ifconfig wlan0 create wlandev rt28600 up
shows wlan0: with my ethernet address but from there ifconfig wlan0
scan or list scan result in nothing
configuring the ssid manually  trying to connect to the AP doesn't work either.
As I hadn't checked this mailing list before starting out this
evening, I was doomed to stw  came across
http://repo.or.cz/w/ralink_drivers.git via the freebsd forum, before
trying your patch, I had successfully build the freebsd 8 driver from
there on current  managed to get the card working, using csup to
update src as a test of connectivity.

I will post dmesg  pciconf output tomorrow once I have an ethernet
cable or removable media near me if you need more info.

Sevan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment

2011-03-20 Thread Sergey V. Dyatko
On Sun, 20 Mar 2011 15:36:04 +0200
Aleksandr Rybalko r...@ddteam.net wrote:

 Hi folks,
 
 new version of patch for wireless card based on Ralink RT2860 plus
 RT3090 that required testing.
 
 Main part:
 http://my.ddteam.net/files/2011-03-20_rt2860.patch
 
 sys/conf/(files|options), same as last:
 http://my.ddteam.net/files/2011-03-18_rt2860_invoking.patch
 
 Who use Ralink PCI/miniPCI/PCIE wireless cards, please test driver and
 send info about success or failures.
 
 Thanks.   
 

Hi, Aleksandr
good job, seems its works:)

kldload/kldunload - ok
kldload - http://tiger.ipfw.ru/files/dmesg_rt3090.txt
ifconfig: 
rt28600: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0
mtu 2290 ether 00:26:82:3c:da:2a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 ether 00:26:82:3c:da:2a
inet 192.168.1.11 netmask 0xff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid ZyXEL channel 6 (2437 MHz 11g) bssid 00:13:49:d4:93:56
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode
CTS wme burst roaming MANUAL
[tiger@laptop]~%ifconfig wlan0 list scan
SSID/MESH IDBSSID  CHAN RATE   S:N INT CAPS
novik   00:1e:73:45:66:281   54M -58:-95  100 EP   WPA
ZyXEL   00:13:49:d4:93:566   54M -32:-95  100 EP   RSN


-- 
wbr, tiger
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org