Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-07-07 Thread Nido
2009/5/27, Martynas Venckus marty...@altroot.org:
 From owner-misc+m85945=martynas=altroot@openbsd.org Wed May 27
 15:35:42 2009
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com;
 s=gamma;
 h=domainkey-signature:mime-version:received:date:message-id:subject
 :from:to:content-type:content-transfer-encoding;
 bh=RA6cQajsF2p3OE8CRfq2htuu0VNFsPsNnjBm5yZrWlU=;
 b=Jo1v5KC2mrwmcwnk1Mcw6mBBFuWF6Xc3eUdvnA+q4NWlyuqgjOPS+CQIPuvwppkoro
 nGIBf3++IgFyhHbQ1bYQp6CHrUxFn52n9zRE//Hars43Q+SzlOMzQQN8tzTSX31ttj0A
 acE1t2G809VL7gYzFRrteE7CiB06VkTDDIbKY=
 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
 h=mime-version:date:message-id:subject:from:to:content-type
 :content-transfer-encoding;
 b=Qs1f494Ddrz3q3yaPHwgRvLdOAmj6WYGAtLvFaC9tnl4aPBCg5FaxCLhMYFgpZd4JD
 2RGpc4m8fJttEn8kBAE7mLkjjx/0CKMLvbKkyLW60FmGnxzma3dmPHSUdS+CdNOzmOuW
 D17rS6/v0zQE9wAOxtuvJ1MZQQmQ7p23VQa8E=
 MIME-Version: 1.0
 Subject: OpenBSD and Realtek rtl8187: 8187B wireless chipset
 From: John . comp.j...@googlemail.com
 To: misc@openbsd.org
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 X-Loop: misc@openbsd.org
 Precedence: list
 Sender: owner-m...@openbsd.org

 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless
 chipset?
 Is it available in -current?

 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?

I just installed -current from a snapshot. The realtek driver works
with my chip. WPA works as well. Here's usbdevs -v as requested

$ usbdevs -v
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 addr 2: high speed, power 500 mA, config 1, RTL8187B(0x8197), Realtek(0x
0bda), rev 2.00, iSerialNumber 00e04c01
 port 3 powered
 port 4 powered
Controller /dev/usb1:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb5:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086)
, rev 1.00
 port 1 powered
 port 2 powered



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread Martynas Venckus
 From owner-misc+m85945=martynas=altroot@openbsd.org Wed May 27 15:35:42 
 2009
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; 
 s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject 
 :from:to:content-type:content-transfer-encoding; 
 bh=RA6cQajsF2p3OE8CRfq2htuu0VNFsPsNnjBm5yZrWlU=; 
 b=Jo1v5KC2mrwmcwnk1Mcw6mBBFuWF6Xc3eUdvnA+q4NWlyuqgjOPS+CQIPuvwppkoro 
 nGIBf3++IgFyhHbQ1bYQp6CHrUxFn52n9zRE//Hars43Q+SzlOMzQQN8tzTSX31ttj0A 
 acE1t2G809VL7gYzFRrteE7CiB06VkTDDIbKY=
 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; 
 h=mime-version:date:message-id:subject:from:to:content-type 
 :content-transfer-encoding; 
 b=Qs1f494Ddrz3q3yaPHwgRvLdOAmj6WYGAtLvFaC9tnl4aPBCg5FaxCLhMYFgpZd4JD 
 2RGpc4m8fJttEn8kBAE7mLkjjx/0CKMLvbKkyLW60FmGnxzma3dmPHSUdS+CdNOzmOuW 
 D17rS6/v0zQE9wAOxtuvJ1MZQQmQ7p23VQa8E=
 MIME-Version: 1.0
 Subject: OpenBSD and Realtek rtl8187: 8187B wireless chipset
 From: John . comp.j...@googlemail.com
 To: misc@openbsd.org
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 X-Loop: misc@openbsd.org
 Precedence: list
 Sender: owner-m...@openbsd.org

 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless chipset?
 Is it available in -current?

yup;  i am writing this email from one.  ;-)  got it working couple
of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

which one do you have?  usbdevs -v?



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?


oh wow that's great news! I don't have openbsd installed on (the
machine) yet - lack of support for this device was a show-stopper as
it is a laptop. Linux shows this in the dmesg:

[  105.708047] rtl8187: Invalid hwaddr! Using randomly generated MAC address
[  214.908048] rtl8187: 8187B chip detected. Support is EXPERIMENTAL,
and could damage your
[  214.908050]  hardware, use at your own risk
[  214.909768] phy0: Selected rate control algorithm 'pid'
[  218.447469] phy0: hwaddr 6e:72:7b:10:73:c6, RTL8187BvB V1 + rtl8225z2
[  218.447515] usbcore: registered new interface driver rtl8187

(rest of dmesg is at http://www.growveg.org/laptop/kubuntu/kubuntu-8_dmesg.txt)

I managed to get it actually working under ubuntu-9.04 but have no
lspci output for it yet. the last time I tried freebsd-current back in
November, I got:

no...@pci0:4:0:0:   class=0x02 card=0xff501179 chip=0x436c11ab
rev=0x16 hdr=0x00
   vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
   class  = network
   subclass   = ethernet
   cap 01[48] = powerspec 3  supports D0 D1 D2 D3  current D0
   cap 05[5c] = MSI supports 1 message, 64 bit
   cap 10[c0] = PCI-Express 2 legacy endpoint

I need to install the latest openbsd now. Can you post your usbdevs -v
ifconfig -a and relevant bit of dmesg? I'll be really interested in
seeing those. What's performance like? My laptop is a toshiba
satellite A300
-- 
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread Nido
2009/5/27, Martynas Venckus marty...@altroot.org:
snip
 From: John . comp.j...@googlemail.com
snip
 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless
 chipset?
 Is it available in -current?

 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?

I don't have an OpenBSD cd or partition at hand for that machine so
I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
will produce that for you later.

The ID of my card is, according to Linux's lsusb: ID 0bda:8197
Realtek Semiconductor Corp. RTL8187B Wireless Adapter. Can you
confirm this specific instance of this card to (at least partly) work.



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
2009/5/27 Nido n...@foxserver.be:
 2009/5/27, Martynas Venckus marty...@altroot.org:
 snip
 From: John . comp.j...@googlemail.com
 snip
 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless
 chipset?
 Is it available in -current?

 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?

 I don't have an OpenBSD cd or partition at hand for that machine so
 I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
 will produce that for you later.

 The ID of my card is, according to Linux's lsusb: ID 0bda:8197
 Realtek Semiconductor Corp. RTL8187B Wireless Adapter. Can you
 confirm this specific instance of this card to (at least partly) work.


Hello,

Yes I will do as soon as i get home (about 3 hrs from now).

Many thanks!

--
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread Martynas Venckus
 From owner-misc+m85949=martynas=altroot@openbsd.org Wed May 27 16:51:34 
 2009
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; 
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references 
 :date:message-id:subject:from:to:content-type :content-transfer-encoding; 
 bh=wBO6VgpS2nKToOqkxdaMJ8I8QInHw7IeusTsef/Ja34=; 
 b=rCCZOZ78kxyFMGM56KdPtbUY3dS3dTT7qZvjDDbC0YY8RdJfgttQGTlKB4g3Y4yLhO 
 t769DcCdn6O9vy+wbK4BXkIApo+5mEzmKQST6D4BnsVXPAyQBWgHy9UveSMExNGoC24y 
 EMmgKLdzzL4BpFWxVUmMnVhVISS3+plDkvlts=
 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; 
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to 
 :content-type:content-transfer-encoding; 
 b=JIKDlvlm5j3rts8gGV/6XekNkDz6BHJCPa24SCrsGcnVxKyKu/Jc3NnoNbqBVqA3j7 
 GD2xrFJ1mxwvs2CJ7kzEPe0puK/9XOt/rz+xHgDhwyxfDHPfhF3WBIKyi428jv37f+vK 
 wUejlZIu/ykvd+QqfLJ3IedTTrSFyKjOJIeE4=
 MIME-Version: 1.0
 References: 200905271303.n4rd3gvw031...@landisk.altroot.org 
 abc784790905270644y3689d358ib5096052948d5...@mail.gmail.com
 Subject: Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset
 From: John . comp.j...@googlemail.com
 To: misc@openbsd.org
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 X-Loop: misc@openbsd.org
 Precedence: list
 Sender: owner-m...@openbsd.org

  yup;  i am writing this email from one.  ;-)  got it working couple
  of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;
 
  which one do you have?  usbdevs -v?
 

 oh wow that's great news! I don't have openbsd installed on (the
 machine) yet - lack of support for this device was a show-stopper as
 it is a laptop. Linux shows this in the dmesg:

 [  105.708047] rtl8187: Invalid hwaddr! Using randomly generated MAC address
 [  214.908048] rtl8187: 8187B chip detected. Support is EXPERIMENTAL,
 and could damage your
 [  214.908050]  hardware, use at your own risk
 [  214.909768] phy0: Selected rate control algorithm 'pid'
 [  218.447469] phy0: hwaddr 6e:72:7b:10:73:c6, RTL8187BvB V1 + rtl8225z2
 [  218.447515] usbcore: registered new interface driver rtl8187

 (rest of dmesg is at 
 http://www.growveg.org/laptop/kubuntu/kubuntu-8_dmesg.txt)

 I managed to get it actually working under ubuntu-9.04 but have no
 lspci output for it yet. the last time I tried freebsd-current back in
 November, I got:

 no...@pci0:4:0:0:   class=0x02 card=0xff501179 chip=0x436c11ab
 rev=0x16 hdr=0x00
vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
class  = network
subclass   = ethernet
cap 01[48] = powerspec 3  supports D0 D1 D2 D3  current D0
cap 05[5c] = MSI supports 1 message, 64 bit
cap 10[c0] = PCI-Express 2 legacy endpoint

 I need to install the latest openbsd now.
 Can you post your usbdevs -v

port 6 addr 2: high speed, power 100 mA, unconfigured, WG111v3(0x4260),
BayNETG EAR(0x0846), rev 2.00, iSerialNumber 001B2F32CAA0

 ifconfig -a

urtw0: flags=8a43UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST mtu 1500
lladdr 00:1b:2f:32:ca:a0
priority: 0
groups: wlan
media: IEEE802.11 autoselect (DS1 mode 11g)
status: active
ieee80211: nwid  chan 1 bssid 00:15:e9:f7:5a:9e 143dB 100dBm
inet 192.168.2.22 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::21b:2fff:fe32:caa0%urtw0 prefixlen 64 scopeid 0x4

 and relevant bit of dmesg?

urtw0 at uhub0 port 5 BayNETGEAR WG111v3 rev 2.00/2.00 addr 2
urtw0: RTL8187B rev. E, address 00:1b:2f:32:ca:a0

 I'll be really interested in seeing those. What's performance
 like?

it is oki

 My laptop is a toshiba satellite A300



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread John .
2009/5/27 Nido n...@foxserver.be:
 2009/5/27, Martynas Venckus marty...@altroot.org:
 snip
 From: John . comp.j...@googlemail.com
 snip
 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless
 chipset?
 Is it available in -current?

 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?

 I don't have an OpenBSD cd or partition at hand for that machine so
 I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
 will produce that for you later.

 The ID of my card is, according to Linux's lsusb: ID 0bda:8197
 Realtek Semiconductor Corp. RTL8187B Wireless Adapter. Can you
 confirm this specific instance of this card to (at least partly) work.


Hi,

machine:

j...@john-desktop:~$ uname -a
Linux john-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
01:58:03 UTC 2009 x86_64 GNU/Linux

Output of lsusb:

j...@john-desktop:~$ lsusb
Bus 001 Device 002: ID 04f2:b064 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B
Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

It works, I'm using it now. Oddly, I have to use recovery mode in the
boot menu, recover nothing, then wifi is seen. I think the reason for
this is because it pauses probing, maybe it needs time to wake up. If
I just boot ubuntu normally, it never initializes (it times out) and
it never re-initializes

I want this laptop to be multi-boot vista/openbsd. All serious work
being done on openbsd. I need to keep the vista part for work reasons.
i'd be completely grateful if you could tell me what you did to get
this wifi to work under openbsd.

Many thanks,
--
John



Re: OpenBSD and Realtek rtl8187: 8187B wireless chipset

2009-05-27 Thread Nido
2009/5/27, John . comp.j...@googlemail.com:
 2009/5/27 Nido n...@foxserver.be:
 2009/5/27, Martynas Venckus marty...@altroot.org:
 snip
 From: John . comp.j...@googlemail.com
 snip
 Hello list,

 Are there any plans to support the realtek rtl8187: 8187B wireless
 chipset?
 Is it available in -current?

 yup;  i am writing this email from one.  ;-)  got it working couple
 of months ago but was slac^H^H^H^Hbusy and did not clean it up yet;

 which one do you have?  usbdevs -v?

 I don't have an OpenBSD cd or partition at hand for that machine so
 I'm sorry I can't give you the output of 'usbdevs -v'. If desired I
 will produce that for you later.

 The ID of my card is, according to Linux's lsusb: ID 0bda:8197
 Realtek Semiconductor Corp. RTL8187B Wireless Adapter. Can you
 confirm this specific instance of this card to (at least partly) work.


 Hi,

 machine:

 j...@john-desktop:~$ uname -a
 Linux john-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17
 01:58:03 UTC 2009 x86_64 GNU/Linux

 Output of lsusb:

 j...@john-desktop:~$ lsusb
 Bus 001 Device 002: ID 04f2:b064 Chicony Electronics Co., Ltd
 Bus 001 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B
 Wireless Adapter
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 006 Device 002: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 It works, I'm using it now. Oddly, I have to use recovery mode in the
 boot menu, recover nothing, then wifi is seen. I think the reason for
 this is because it pauses probing, maybe it needs time to wake up. If
 I just boot ubuntu normally, it never initializes (it times out) and
 it never re-initializes

 I want this laptop to be multi-boot vista/openbsd. All serious work
 being done on openbsd. I need to keep the vista part for work reasons.
 i'd be completely grateful if you could tell me what you did to get
 this wifi to work under openbsd.

 Many thanks,
 --
 John

I think you may have mistaken my post. We do have the same wireless
chip but I have not gotten it to work with OpenBSD yet. In fact; I
haven't got OpenBSD running on this particular laptop now. I am
thinking of installing the OpenBSD soon and switching it to -current
for the first time and see what happens.

Unfortunately; my few experiences with the BSDs, and my cumbersome
internet situation make it so I can not really tell whether a failing
configuration would be because the driver is having issues with the
hardware; or (more likely) PEBKaC. So I am, just as you, looking for
confirmation of someone more experienced having gotten the driver to
work.

On Linux; modinfo states that even with only the Realtek VendorID; the
productID 8198, 8197, 8189 and 8187 are working with that driver.
However; from experience when the driver was first released into the
kernel; I learnt that the 8197 does work a bit different then the 8187
and 8189 ones. As such; I suspect it could work a bit different on the
0846:4260 card Martynas has.

Can anyone confirm success with Realtek 8187B cards other then the
BayNETGEAR WG111v3 one?