Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2010, 08:33 PM
Thulemanden Thulemanden is offline
Senior Member
 
Join Date: Jun 2006
Location: Copenhagen, Denmark
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Red face RaLink RT2860
I found 2 distroes that support this wireless.

Gentoo had a module build for importing it and MeeGo supports it by default.

So I wonder if someone was able to produce a driver for PC_BSD please?

Some sources:

http://www.ralinktech.com.tw/data/dr...A_V2.1.2.0.tgz released on 05/21/2009.

It also is reported working on several eee notebooks.

http://ubuntuforums.org/archive/inde...t-1213069.html

Quote:
"We had a massive struggle on a Shuttle X50 to connect the RT2860. After combing numerous threads we tried the following and it worked. Good luck.

Check out the following link: https://help.ubuntu.com/8.04/interne...iswrapper.html

This explains how to use windows-based drivers and convert them to Linux.

Find the rt2860.inf windows driver and follow the instructions in the above link.

We followed some of the thoughts presented here:
http://tuxtweaks.com/2009/01/ubuntu-on-the-msi-wind/"
__________________
“Computers are useless. They can only give you answers.”
~ Pablo Picasso
Reply With Quote
  #2  
Old 10-07-2010, 09:56 PM
Zplay Zplay is offline
Senior Member
 
Join Date: May 2008
Location: France
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Zplay
Default
Hello


I'm sorry but the chipset RT2860 isn't working on freebsd / PC-BSD.

I had a eee pc with this chipset and I tried everything to get it working, without results...


It works well on OpenBSD or Linux, but not on FreeBSD.

Someone was trying to port it from OpenBSD, but it was crashing the computer when I was loading the module, maybe this module is working better now (I haven't tried since few months).


edit : I just found it ! Try this, it seems to be working now
http://repo.or.cz/w/ralink_drivers.git
__________________
BSD Associate
Reply With Quote
  #3  
Old 10-07-2010, 11:12 PM
Thulemanden Thulemanden is offline
Senior Member
 
Join Date: Jun 2006
Location: Copenhagen, Denmark
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nice
ok, thanks for the speak. There is now better hope someone will be able to fix it.

It's used on many small notebooks and these will often be a second machine for many and I imagine they would want a lean, secure, dependable and free OS on it, so why not PC-BSD - but the wireless is essnetial on notebooks.
__________________
“Computers are useless. They can only give you answers.”
~ Pablo Picasso
Reply With Quote
  #4  
Old 10-09-2010, 07:29 PM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 887
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Please report back on whether this is working so I can add to the list of supported hardware.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #5  
Old 10-10-2010, 12:22 AM
Thulemanden Thulemanden is offline
Senior Member
 
Join Date: Jun 2006
Location: Copenhagen, Denmark
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I'll respond once I get PC-BSD installed on the notebook along existing MeeGo and MSXP or via an USB flash stick as live. Might take a good while.
__________________
“Computers are useless. They can only give you answers.”
~ Pablo Picasso
Reply With Quote
  #6  
Old 10-17-2010, 02:13 PM
bsdaddict bsdaddict is offline
Senior Member
 
Join Date: Nov 2008
Posts: 207
Thanks: 0
Thanked 1 Time in 1 Post
Default
I've downloaded the file from http://repo.or.cz/w/ralink_drivers.git and got this :

[beni@bsdaddict /usr/home/beni/temp/rt2860_fbsd8]$ ls -l
total 334
-rw-r--r-- 1 beni beni 243 Jun 15 20:35 Makefile
-rw-r--r-- 1 beni beni 174217 Jun 15 20:35 rt2860.c
-rw-r--r-- 1 beni beni 5272 Jun 15 20:35 rt2860_amrr.c
-rw-r--r-- 1 beni beni 2232 Jun 15 20:35 rt2860_amrr.h
-rw-r--r-- 1 beni beni 1749 Jun 15 20:35 rt2860_debug.h
-rw-r--r-- 1 beni beni 3114 Jun 15 20:35 rt2860_eeprom.h
-rw-r--r-- 1 beni beni 13397 Jun 15 20:35 rt2860_io.c
-rw-r--r-- 1 beni beni 2534 Jun 15 20:35 rt2860_io.h
-rw-r--r-- 1 beni beni 1570 Jun 15 20:35 rt2860_led.c
-rw-r--r-- 1 beni beni 1291 Jun 15 20:35 rt2860_led.h
-rw-r--r-- 1 beni beni 14327 Jun 15 20:35 rt2860_read_eeprom.c
-rw-r--r-- 1 beni beni 1145 Jun 15 20:35 rt2860_read_eeprom.h
-rw-r--r-- 1 beni beni 14960 Jun 15 20:35 rt2860_reg.h
-rw-r--r-- 1 beni beni 10780 Jun 15 20:35 rt2860_rf.c
-rw-r--r-- 1 beni beni 1192 Jun 15 20:35 rt2860_rf.h
-rw-r--r-- 1 beni beni 2423 Jun 15 20:35 rt2860_rxdesc.h
-rw-r--r-- 1 beni beni 2357 Jun 15 20:35 rt2860_rxwi.h
-rw-r--r-- 1 beni beni 10064 Jun 15 20:35 rt2860_softc.h
-rw-r--r-- 1 beni beni 1644 Jun 15 20:35 rt2860_txdesc.h
-rw-r--r-- 1 beni beni 2932 Jun 15 20:35 rt2860_txwi.h
-rw-r--r-- 1 beni beni 51944 Jun 15 20:35 rt2860_ucode.h
[beni@bsdaddict /usr/home/beni/temp/rt2860_fbsd8]$

How do I proceed from here ? The Makefile is not executable and ./configure or ./make give nothing but an error.

So I downloaded the netr28x.inf and .sys files for ndisgen (files from HP for the original Lite-on wifi driver that seems to be using this rt2860 chipset). That made me an netr28x_sys.ko file that loads :

[beni@bsdaddict /usr/home/beni/temp/rt2860_fbsd8]$ kldstat -vvv | grep net
136 pci/ata_netcell
38 1 0xffffffff8206c000 ce0f0 netr28x_sys.ko (/boot/modules/netr28x_sys.ko)
53 pci/ndis_netr28x_sys
52 cardbus/ndis_netr28x_sys
51 pccard/ndis_netr28x_sys
50 uhub/ndis_netr28x_sys
[beni@bsdaddict /usr/home/beni/temp/rt2860_fbsd8]$

But ifconfig does not show a ndis or other device now. So the wifi device is not yet recognized it seems.

How do i proceed from here please ?
Reply With Quote
  #7  
Old 10-17-2010, 04:39 PM
Zplay Zplay is offline
Senior Member
 
Join Date: May 2008
Location: France
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Zplay
Default
Hi

YOu shouldn't execute a Makefile file, you just have to type "make"

I builded it without problem. Just type:

make
try it with "kldload ./rt2860.ko"

then, if it works, you can install it in /boot/kernel/ with "make install" command


Hope you'll get your card working
__________________
BSD Associate
Reply With Quote
  #8  
Old 10-18-2010, 08:32 AM
bsdaddict bsdaddict is offline
Senior Member
 
Join Date: Nov 2008
Posts: 207
Thanks: 0
Thanked 1 Time in 1 Post
Default
I tried a "./make" instead of just a "make"... But it worked ! Kldload's the module :
[beni@bsdaddict /usr/home/beni/temp]$ kldstat -vvv | grep rt2860
37 1 0xffffffff8205b000 227f0 rt2860.ko (/boot/kernel/rt2860.ko)
45 pci/rt2860
[beni@bsdaddict /usr/home/beni/temp]$

But dmesg or ifconfig doesn't show anything new :-( So no new device. Do I need the firmware or anything else ?

A pciconf -lv shows :
none2@pci0:4:0:0: class=0x028000 card=0x001515a9 chip=0x30921814 rev=0x00 hdr=0x00
vendor = 'Ralink Technology, Corp.'
class = network

Do I have an unsupported card/chipset/version ?
Reply With Quote
  #9  
Old 10-18-2010, 09:16 AM
Zplay Zplay is offline
Senior Member
 
Join Date: May 2008
Location: France
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Zplay
Default
What is the output of dmesg | tail ?
__________________
BSD Associate
Reply With Quote
  #10  
Old 10-18-2010, 09:25 AM
bsdaddict bsdaddict is offline
Senior Member
 
Join Date: Nov 2008
Posts: 207
Thanks: 0
Thanked 1 Time in 1 Post
Default
As I said before : nothing useful :

[beni@bsdaddict /usr/home/beni/temp]$ dmesg | tail
WARNING: /usr was not properly dismounted
WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
hdac0: <Intel PCH High Definition Audio Controller> mem 0xf7ff8000-0xf7ffbfff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Realtek ALC888
pcm1: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm3: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0
pcm4: <HDA Realtek ALC888 PCM #3 Digital> at cad 0 nid 1 on hdac0
[beni@bsdaddict /usr/home/beni/temp]$
Reply With Quote
Reply

Tags
driver, ralink rt2860, wireless

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.