no driver for usb wifi adapter in this kernel

This forum is for all other ARMv5 devices

no driver for usb wifi adapter in this kernel

Postby baoyingcheng » Wed Oct 17, 2012 1:48 pm

I want to use my ur054g usb wifi adapter with pogoplug B01 pink,the chip is isl3887,but it seems that only rt3390sta.ko is there,any other wifi adapters are not supported.
lsusb shows
$this->bbcode_second_pass_code('', 'Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 14cd:6116 Super Top M6116 SATA Bridge
Bus 001 Device 004: ID 1435:0427 Wistron NeWeb UR054g 802.11g Wireless Adapter [Intersil ISL3887]
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)')
line 4 is my wireless adapter
dmesg shows
$this->bbcode_second_pass_code('', '[ 6.080000] usb 1-1.3: New USB device found, idVendor=1435, idProduct=0427
[ 6.090000] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.090000] usb 1-1.3: Product: Cohiba 3887 rev0
[ 6.100000] usb 1-1.3: Manufacturer: GlobespanVirata
[ 6.100000] usb 1-1.3: uevent
[ 6.100000] usb 1-1.3: usb_probe_device
[ 6.100000] usb 1-1.3: configuration #1 chosen from 1 choice
[ 6.110000] usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
[ 6.110000] usb 1-1.3:1.0: uevent
[ 6.110000] drivers/usb/core/inode.c: creating file '004'
[ 6.110000] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0008
')
I've already looked up in google,they are all talking about downloading firmware from http://wireless.kernel.org/en/users/Drivers/p54
I put the firmwire in both /lib/firmware and /usr/local/lib/firmware,because I don't know which dir is correct,most distribution use /lib/firmware,but archlinuxarm seems otherwise.
I think maybe I need p54usb.ko copied into /lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/wireless/,but where can I find it? compile the kernel again?
baoyingcheng
 
Posts: 8
Joined: Wed Oct 17, 2012 1:22 pm

Re: no driver for usb wifi adapter in this kernel

Postby Philoo » Wed Oct 17, 2012 6:47 pm

the kernels are on github in warheadsSE repositories. let google find the exact url for you.
You'll want the 2.6 kernel, not the 3.1.

check the repository out ( you need git installed, or you may download as a zip / tar.bz2 file from github website), copy / activate the relevant config file (I'm guessing the nopci one)
then
$this->bbcode_second_pass_code('', 'make menuconfig')

navigate the gazillion option and make sure the driver you need is selected and produced as a module (M), while (*) means inside the kernel itself

if you're compiling on the plug you should not need much more that the base-devel group of applications
if your compiling on a separate PC check the how to on the archlinuxarm.org front page (tab "developpers")

then this is a matter of
$this->bbcode_second_pass_code('', 'make modules
make modules_install')

the latter may require to set the install directory variable see
$this->bbcode_second_pass_code('', 'make help ')
for more details

HTH
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: no driver for usb wifi adapter in this kernel

Postby baoyingcheng » Thu Oct 18, 2012 9:51 am

thank you very much!
I found that only one config file in https://github.com/archlinuxarm/PKGBUIL ... inux-ox820
that is config.pci.I think I can recompile the kernel
but then I find out Marvell Kirkwood ARM V5 platform devices boot from usb drive only,but ox820 ARM v6 platform device such as my pogoplug b01 puts kernel in NAND,and that makes me confused.
which file is on usb drive and which file is on NAND,is there any risk to change these files on NAND?
After recompiling the kernel,which directory should I put the .ko file?
baoyingcheng
 
Posts: 8
Joined: Wed Oct 17, 2012 1:22 pm

Re: no driver for usb wifi adapter in this kernel

Postby Philoo » Thu Oct 18, 2012 6:10 pm

On Oxnas since you are not booting from SATA you'll boot from NAND.

if you updated your pogopro with the devtmpfs backported kernel, the file needs to go in the /usr/lib tree (as documented in your previous searches, but with /usr before it)
if you are still having the stock kernel, then it goes in the /lib tree

when logged on your pogopro look at the /lib and /lib/modules using ls -la. if either one of them is a symlink then it does not matter, it will end up in /usr/lib anyway, being accessible from both /lib and /usr/lib

same goes for the firmware (if any)

writing to the NAND: The short of it is: don't. There have been endless discussions about it in the forum in the past months so please check that.


config file. you can start with that and when doing a make menuconfig be sure to select the no pci oxnas 820 platform.
Philoo
 
Posts: 102
Joined: Wed Aug 10, 2011 9:20 pm

Re: no driver for usb wifi adapter in this kernel

Postby WarheadsSE » Thu Oct 18, 2012 8:24 pm

Really, it is a matter of deselecting the PCI bus support.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: no driver for usb wifi adapter in this kernel

Postby baoyingcheng » Sat Oct 20, 2012 1:48 pm

I recompile the kernel,but there is still a problem.
here is what I did:
1.download kernel 2.6.31.6 from http://www.kernel.com
2.unzip it,and change the kernel name in Makefile from 2.6.31.6 to 2.6.31.6_SMP_820
3.download config.nopci,rename it to .config and move it to the kernel directory
4.make menuconfig,and here is the problem,there is no oxnas 820 or PLX under the menu-->system type
s23.jpg
s23.jpg (58.39 KiB) Viewed 11744 times

even when I load the .config file again,it still checks "ARM Ltd. Versatile family".there is no "OX820"
I looked the .config file,it says CONFIG_ARCH_OX820=y,but it didn't work.

Can anyone tell me where I was missing?
baoyingcheng
 
Posts: 8
Joined: Wed Oct 17, 2012 1:22 pm

Re: no driver for usb wifi adapter in this kernel

Postby WarheadsSE » Sun Oct 21, 2012 12:09 am

Yeah, you are using the wrong sources. This is not a mainlined device.

https://github.com/WarheadsSE/OX820-2.6-linux

And

https://github.com/archlinuxarm/PKGBUIL ... inux-ox820
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: no driver for usb wifi adapter in this kernel

Postby baoyingcheng » Mon Oct 22, 2012 6:53 am

thank you! It works fine!
I'll compile all of the modules and put them on a website,so newbies like me won't have to do this all over again.
some tips for anyone who want's to try this:
1.pacman -S gcc won't install "make" automatically,you need to pacman -S make.In debian and ubuntu you just need to install gcc,and you can compile.
2.the kernel source WarheadsSE provide is almost configured,you just need to "cp config.nopci .config" and "vi Makefile"to change line 4 from .6 to .6_SMP_820
3.put whatever you need to the right directory,in this case,p54usb.ko and p54common.ko should be put in /usr/lib/module/net/wireless
4.don't forget to run depmod -a
baoyingcheng
 
Posts: 8
Joined: Wed Oct 17, 2012 1:22 pm

Re: no driver for usb wifi adapter in this kernel

Postby WarheadsSE » Mon Oct 22, 2012 2:45 pm

pacman -S base-devel 8-)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: no driver for usb wifi adapter in this kernel

Postby shv » Mon Dec 24, 2012 3:18 pm

How to compile the rt3390sta kernel driver module for the new kernel? It seams that the modules which are provided in the Enable Wireless thread do not work.
Debian @ Pogoplug Pro (actively used)
Debian @ Pogoplug E02
shv
 
Posts: 38
Joined: Fri Dec 21, 2012 6:35 am

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 7 guests

cron