Re: Ralink USB

2006-03-10 Thread Jonathan Gray
On Fri, Mar 10, 2006 at 04:54:08PM +1100, Rod.. Whitworth wrote:
 Today I received a D-Link DWL-G122 . Unfortunately it is not a v. B1 -
 it is C1.
 
 If the box (i386) is booted on a 3.9beta #617 with the device plugged
 in it gets a dmesg line that says:
 Ralink 802.11 bg WLAN Class 0/0, rev 2.00/0/01 addr 2, uhub 1 port 2
 not configured
 
 I expected the last two words in that message - man page told me that
 B1 was it for a G122.
 
 The usbdevs command with -dv says a bit more:
  port 2 addr 2: full speed, power 300 mA, config 1, 802.11 bg
 WLAN(0x3c03), Ralink (0x07d1), rev 0.01

Show the .inf file that came with the windows driver and
the FCC ID. 

You having an address in your headers I could send mail to
would help matters as well.



Re: Ralink USB

2006-03-10 Thread Rod.. Whitworth
On Fri, 10 Mar 2006 20:42:44 +1100, Jonathan Gray wrote:

On Fri, Mar 10, 2006 at 04:54:08PM +1100, Rod.. Whitworth wrote:
 Today I received a D-Link DWL-G122 . Unfortunately it is not a v. B1 -
 it is C1.
 
 If the box (i386) is booted on a 3.9beta #617 with the device plugged
 in it gets a dmesg line that says:
 Ralink 802.11 bg WLAN Class 0/0, rev 2.00/0/01 addr 2, uhub 1 port 2
 not configured
 
 I expected the last two words in that message - man page told me that
 B1 was it for a G122.
 
 The usbdevs command with -dv says a bit more:
  port 2 addr 2: full speed, power 300 mA, config 1, 802.11 bg
 WLAN(0x3c03), Ralink (0x07d1), rev 0.01

Show the .inf file that came with the windows driver and
the FCC ID. 

You having an address in your headers I could send mail to
would help matters as well.


Sorry about the email address. You can simply prefix the reply to
address with the letter g to get to the alternate mailbox or use ash at
witworx dot com.

Now as to data requested. The FCC ID is easy as they put it on the
outside of the plastic case: KA2WLG122C1
It also shows the firmware as Ver 3.00

Apart from the autorun.inf the CD has nothing in the way of .inf files.
So I loaded the software and found that  there are several infs one of
which (named NetRTAGU.inf) does contain a header that says:
AG122.INF
;
;   This installation script supports Windows 98, Me, 2000 and XP for
the
;   RT2570 802.11a/b/g USB Adapters.

and that looks the closest of all of the files BUT this thing claims
only 802.11g and mentions 11b compatibility in passing in the manual.
No 11a in sight. Maybe the driver is selective

Does this sound like the file you want? If so shall I attach it to a
message directly to you?
It is about 16k in size.

Regards,
Rod.



From the land down under: Australia.
Do we look umop apisdn from up over?

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.



Re: Ralink USB

2006-03-10 Thread Jonathan Gray
On Fri, Mar 10, 2006 at 09:18:10PM +1100, Rod.. Whitworth wrote:
 On Fri, 10 Mar 2006 20:42:44 +1100, Jonathan Gray wrote:
 
 On Fri, Mar 10, 2006 at 04:54:08PM +1100, Rod.. Whitworth wrote:
  Today I received a D-Link DWL-G122 . Unfortunately it is not a v. B1 -
  it is C1.
  
  If the box (i386) is booted on a 3.9beta #617 with the device plugged
  in it gets a dmesg line that says:
  Ralink 802.11 bg WLAN Class 0/0, rev 2.00/0/01 addr 2, uhub 1 port 2
  not configured
  
  I expected the last two words in that message - man page told me that
  B1 was it for a G122.
  
  The usbdevs command with -dv says a bit more:
   port 2 addr 2: full speed, power 300 mA, config 1, 802.11 bg
  WLAN(0x3c03), Ralink (0x07d1), rev 0.01
 
 Show the .inf file that came with the windows driver and
 the FCC ID. 
 
 You having an address in your headers I could send mail to
 would help matters as well.
 
 
 Sorry about the email address. You can simply prefix the reply to
 address with the letter g to get to the alternate mailbox or use ash at
 witworx dot com.
 
 Now as to data requested. The FCC ID is easy as they put it on the
 outside of the plastic case: KA2WLG122C1
 It also shows the firmware as Ver 3.00
 
 Apart from the autorun.inf the CD has nothing in the way of .inf files.
 So I loaded the software and found that  there are several infs one of
 which (named NetRTAGU.inf) does contain a header that says:
 AG122.INF
 ;
 ;   This installation script supports Windows 98, Me, 2000 and XP for
 the
 ;   RT2570 802.11a/b/g USB Adapters.
 
 and that looks the closest of all of the files BUT this thing claims
 only 802.11g and mentions 11b compatibility in passing in the manual.
 No 11a in sight. Maybe the driver is selective

It depends what radio the MAC is paired with as to whether 11a is
functional.

 
 Does this sound like the file you want? If so shall I attach it to a
 message directly to you?
 It is about 16k in size.

Try this patch first.  You will have to run make in
/usr/src/sys/dev/usb/ to regenerate the headers after applying it.

Index: sys/dev/usb/usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.185
diff -u -p -r1.185 usbdevs
--- sys/dev/usb/usbdevs 5 Mar 2006 06:41:36 -   1.185
+++ sys/dev/usb/usbdevs 10 Mar 2006 10:47:42 -
@@ -283,6 +283,7 @@ vendor ALLIEDTELESYN0x07c9  Allied Teles
 vendor AVERMEDIA   0x07ca  AVerMedia Technologies
 vendor SIIG0x07cc  SIIG
 vendor CASIO   0x07cf  CASIO
+vendor DLINK2  0x07d1  D-Link
 vendor APTIO   0x07d2  Aptio Products
 vendor ARASAN  0x07da  Arasan Chip Systems
 vendor ALLIEDCABLE 0x07e6  Allied Cable
@@ -847,6 +848,7 @@ product DLINK DWL120E   0x3200  DWL-120 re
 product DLINK DWL122   0x3700  DWL-122
 product DLINK DWL120F  0x3702  DWL-120 rev F
 product DLINK RT2570   0x3c00  RT2570
+product DLINK2 DWLG122C1   0x3c03  DWL-G122 rev C1
 product DLINK DSB650C  0x4000  10Mbps ethernet
 product DLINK DSB650TX10x4001  10/100 ethernet
 product DLINK DSB650TX 0x4002  10/100 ethernet
Index: sys/dev/usb/if_ral.c
===
RCS file: /cvs/src/sys/dev/usb/if_ral.c,v
retrieving revision 1.65
diff -u -p -r1.65 if_ral.c
--- sys/dev/usb/if_ral.c19 Feb 2006 08:44:17 -  1.65
+++ sys/dev/usb/if_ral.c10 Mar 2006 10:47:45 -
@@ -90,6 +90,7 @@ static const struct usb_devno ural_devs[
{ USB_VENDOR_CISCOLINKSYS,  USB_PRODUCT_CISCOLINKSYS_HU200TS },
{ USB_VENDOR_CONCEPTRONIC2, USB_PRODUCT_CONCEPTRONIC2_C54RU },
{ USB_VENDOR_DLINK, USB_PRODUCT_DLINK_RT2570 },
+   { USB_VENDOR_DLINK2,USB_PRODUCT_DLINK2_DWLG122C1 },
{ USB_VENDOR_GIGABYTE,  USB_PRODUCT_GIGABYTE_GNWBKG },
{ USB_VENDOR_GUILLEMOT, USB_PRODUCT_GUILLEMOT_HWGUSB254 },
{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_KG54 },



Re: Ralink USB

2006-03-10 Thread Rod.. Whitworth
On Fri, 10 Mar 2006 21:53:23 +1100, Jonathan Gray wrote:

On Fri, Mar 10, 2006 at 09:18:10PM +1100, Rod.. Whitworth wrote:
 On Fri, 10 Mar 2006 20:42:44 +1100, Jonathan Gray wrote:
 
 On Fri, Mar 10, 2006 at 04:54:08PM +1100, Rod.. Whitworth wrote:
  Today I received a D-Link DWL-G122 . Unfortunately it is not a v. B1 -
  it is C1.
  
  If the box (i386) is booted on a 3.9beta #617 with the device plugged
  in it gets a dmesg line that says:
  Ralink 802.11 bg WLAN Class 0/0, rev 2.00/0/01 addr 2, uhub 1 port 2
  not configured
  
  I expected the last two words in that message - man page told me that
  B1 was it for a G122.
  
  The usbdevs command with -dv says a bit more:
   port 2 addr 2: full speed, power 300 mA, config 1, 802.11 bg
  WLAN(0x3c03), Ralink (0x07d1), rev 0.01
 
 Show the .inf file that came with the windows driver and
 the FCC ID. 
 
 You having an address in your headers I could send mail to
 would help matters as well.
 
 
 Sorry about the email address. You can simply prefix the reply to
 address with the letter g to get to the alternate mailbox or use ash at
 witworx dot com.
 
 Now as to data requested. The FCC ID is easy as they put it on the
 outside of the plastic case: KA2WLG122C1
 It also shows the firmware as Ver 3.00
 
 Apart from the autorun.inf the CD has nothing in the way of .inf files.
 So I loaded the software and found that  there are several infs one of
 which (named NetRTAGU.inf) does contain a header that says:
 AG122.INF
 ;
 ;   This installation script supports Windows 98, Me, 2000 and XP for
 the
 ;   RT2570 802.11a/b/g USB Adapters.
 
 and that looks the closest of all of the files BUT this thing claims
 only 802.11g and mentions 11b compatibility in passing in the manual.
 No 11a in sight. Maybe the driver is selective

It depends what radio the MAC is paired with as to whether 11a is
functional.

 
 Does this sound like the file you want? If so shall I attach it to a
 message directly to you?
 It is about 16k in size.

Try this patch first.  You will have to run make in
/usr/src/sys/dev/usb/ to regenerate the headers after applying it.

Index: sys/dev/usb/usbdevs
===
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.185
diff -u -p -r1.185 usbdevs
--- sys/dev/usb/usbdevs5 Mar 2006 06:41:36 -   1.185
+++ sys/dev/usb/usbdevs10 Mar 2006 10:47:42 -
@@ -283,6 +283,7 @@ vendor ALLIEDTELESYN   0x07c9  Allied Teles
 vendor AVERMEDIA  0x07ca  AVerMedia Technologies
 vendor SIIG   0x07cc  SIIG
 vendor CASIO  0x07cf  CASIO
+vendor DLINK2 0x07d1  D-Link
 vendor APTIO  0x07d2  Aptio Products
 vendor ARASAN 0x07da  Arasan Chip Systems
 vendor ALLIEDCABLE0x07e6  Allied Cable
@@ -847,6 +848,7 @@ product DLINK DWL120E  0x3200  DWL-120 re
 product DLINK DWL122  0x3700  DWL-122
 product DLINK DWL120F 0x3702  DWL-120 rev F
 product DLINK RT2570  0x3c00  RT2570
+product DLINK2 DWLG122C1  0x3c03  DWL-G122 rev C1
 product DLINK DSB650C 0x4000  10Mbps ethernet
 product DLINK DSB650TX1   0x4001  10/100 ethernet
 product DLINK DSB650TX0x4002  10/100 ethernet
Index: sys/dev/usb/if_ral.c
===
RCS file: /cvs/src/sys/dev/usb/if_ral.c,v
retrieving revision 1.65
diff -u -p -r1.65 if_ral.c
--- sys/dev/usb/if_ral.c   19 Feb 2006 08:44:17 -  1.65
+++ sys/dev/usb/if_ral.c   10 Mar 2006 10:47:45 -
@@ -90,6 +90,7 @@ static const struct usb_devno ural_devs[
   { USB_VENDOR_CISCOLINKSYS,  USB_PRODUCT_CISCOLINKSYS_HU200TS },
   { USB_VENDOR_CONCEPTRONIC2, USB_PRODUCT_CONCEPTRONIC2_C54RU },
   { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_RT2570 },
+  { USB_VENDOR_DLINK2,USB_PRODUCT_DLINK2_DWLG122C1 },
   { USB_VENDOR_GIGABYTE,  USB_PRODUCT_GIGABYTE_GNWBKG },
   { USB_VENDOR_GUILLEMOT, USB_PRODUCT_GUILLEMOT_HWGUSB254 },
   { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_KG54 },



CVS updated the source tree this morning, patches applied, run make in
../usb was fine,
config GENERIC and do the 4 makes and reboot.
This looks like success! Tested only on i386
# dmesg
OpenBSD 3.9-current (GENERIC) #0: Sat Mar 11 12:42:20 EST 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (GenuineIntel 686-class, 128KB L2 cache) 768
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SSE
real mem  = 335126528 (327272K)
avail mem = 298303488 (291312K)
using 4116 buffers containing 16859136 bytes (16464K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(13) BIOS, date 11/20/00, BIOS32 rev. 0 @
0xfb140
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0xb5c8

Re: Ralink USB

2006-03-10 Thread Jonathan Gray
/20/00, BIOS32 rev. 0 @
 0xfb140
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 apm0: flags 70102 dobusy 1 doidle 1
 pcibios0 at bios0: rev 2.1 @ 0xf/0xb5c8
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd70/160 (8 entries)
 pcibios0: PCI Exclusive IRQs: 5 10 11
 pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371SB ISA rev
 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x8000 0xc8000/0x1800 0xca000/0x1800
 0xcc000/0x1800
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 S3 Trio3 DX2 rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 pcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x02
 pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
 channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: ST340014A
 wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: DVD-16X, DVD1648/BKH, A001 SCSI0
 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 uhci0 at pci0 dev 7 function 2 Intel 82371AB USB rev 0x01: irq 11
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 piixpm0 at pci0 dev 7 function 3 Intel 82371AB Power rev 0x02: SMI
 iic0 at piixpm0
 fxp0 at pci0 dev 16 function 0 Intel 8255x rev 0x0c, i82550: irq 10,
 address 00:02:b3:8b:d5:08
 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
 fxp1 at pci0 dev 19 function 0 Intel 8255x rev 0x0c, i82550: irq 5,
 address 00:02:b3:8b:e0:b0
 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
 fxp2 at pci0 dev 20 function 0 Intel 8255x rev 0x0c, i82550: irq 11,
 address 00:02:b3:8b:d7:64
 inphy2 at fxp2 phy 1: i82555 10/100 PHY, rev. 4
 isa0 at pcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pmsi0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pmsi0 mux 0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 biomask eb45 netmask ef65 ttymask ffe7
 pctr: 686-class user-level performance counters enabled
 mtrr: Pentium Pro MTRR support
 ural0 at uhub0 port 1
 ural0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
 ural0: MAC/BBP RT2570 (rev 0x00), RF unknown, address 00:15:e9:32:80:b0
 dkcsum: wd0 matches BIOS drive 0x80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302
 #
 8 snip
 
 I'll play with the network settings on it later and see what we can do
 with it.
 
 Thank you very much!

As expected this didn't seem to work.  It is the second generation
of Ralink USB products, RT2571W + RT2528 radio.



Ralink USB

2006-03-09 Thread Rod.. Whitworth
Today I received a D-Link DWL-G122 . Unfortunately it is not a v. B1 -
it is C1.

If the box (i386) is booted on a 3.9beta #617 with the device plugged
in it gets a dmesg line that says:
Ralink 802.11 bg WLAN Class 0/0, rev 2.00/0/01 addr 2, uhub 1 port 2
not configured

I expected the last two words in that message - man page told me that
B1 was it for a G122.

The usbdevs command with -dv says a bit more:
 port 2 addr 2: full speed, power 300 mA, config 1, 802.11 bg
WLAN(0x3c03), Ralink (0x07d1), rev 0.01

So I knew it wasn't supported before I plugged it in and those messages
verified it.

Do I:
a - throw it to some windows user because it will never be supported
or
b- hang on to it. Something is happening and might one day make it
useful
or
c- give it to a developer (I'm in Australia, not sure how sending a
thing like that to other countries is accepted by various authorities
there. Local devs are really easy to deliver to.)

In the beginning was The Word
and The Word was Content-type: text/plain
The Word of Rod.

Do NOT CC me - I am subscribed to the list.
Replies to the sender address will fail except from the list-server.