LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ARMedSlack and Raspberry Pi? (https://www.linuxquestions.org/questions/slackware-14/armedslack-and-raspberry-pi-915172/)

mitusf 01-31-2013 03:24 PM

Does anyone know of an wireless adapter which has been tested to work or is known to work with Slackware ARM on RPi and were I can buy it from? Thanks.

justwantin 01-31-2013 07:27 PM

Check the wiki for hardware known to work. http://elinux.org/RPi_VerifiedPeripherals.

However, note that what is listed there may or may not work on armedslack. For example, I have a TP-Link wireless dongle with Ralink RT2501/RT2573 chipset which worked with the original debian image firmware and when I tried arch but I could not get it to work with armedslack current around June/July last year and I've only used it with wired network since then. When things slow down I'll have another play at it.

mitusf 01-31-2013 11:01 PM

I have a TP-Link TL-WN727N wireless adapter with Ralink RT5370 chipset, and I noticed that adapters of type Ralink with the same chipset are supported in raspbian with the firmware from Wheezy (here it is the command: sudo apt-get install firmware-ralink).

I wonder if with that firmware it works under SlackwareARM. If the answer is yes, and it has the necessary drivers, I'll have to find a way of getting that firmware from Wheezy and put it in SlackwareARM. If there are also the drivers that are necessary, then things become more complicated...

drmozes 02-01-2013 03:31 AM

Quote:

Originally Posted by mitusf (Post 4881909)
I have a TP-Link TL-WN727N wireless adapter with Ralink RT5370 chipset, and I noticed that adapters of type Ralink with the same chipset are supported in raspbian with the firmware from Wheezy (here it is the command: sudo apt-get install firmware-ralink).

I wonder if with that firmware it works under SlackwareARM. If the answer is yes, and it has the necessary drivers, I'll have to find a way of getting that firmware from Wheezy and put it in SlackwareARM. If there are also the drivers that are necessary, then things become more complicated...

Did you install the patch packages for 14.0? One of them is a firmware update. I vaguely remember hearing someone say that the Ralink firmware was missing from the 14.0 release, and this patch should contain it.

timsoft 02-01-2013 04:46 AM

i build packages on the pi itself. It takes ages, but at least you don't have to do any fancy cross-compiling or whatnot.

mitusf 02-01-2013 06:33 AM

Thanks drmozes, timsoft, I'll try those updates... In the meantime, I checked the card with raspbian (don't know which type) and it seems to work but I haven't got to set it fully functional in the sense of exchanging some packets with an AP, but it's detected, the internal led blinks, with lsmod are listed rt2800usb, rt2800lib, rt2x00usb and rt2x00lib drivers loaded. But not on Slackware ARM, although I checked and it has the same mentioned modules in lib/modules/3.6.11-20121228/kernel/drivers/net/wireless/rt2x00. But there are some differences in the internals of some text and binary files under /lib/modules: the debian versions contain references to string 5370, whereas Slackware ARM doesn't. So, I'm afraid that with only firmware updates I would not resolve the situation, and maybe driver updates are needed also. I hope I'm wrong.

I told you all this because I am not very familiar with kernel modules loading and so on. The specified modules, are only loaded if I modprobe for them and with no results for my adapter.

mitusf 02-01-2013 07:18 AM

Ok, so I've installed that firmware update but sadly enough... no result. It's quite frustrating to see that with debian it works (with same drivers - in that case loaded, in this case not loaded & not working after manual load). I really think it needs a driver update. Maybe you can help.

drmozes 02-01-2013 11:08 AM

Quote:

Originally Posted by mitusf (Post 4882206)
Ok, so I've installed that firmware update but sadly enough... no result. It's quite frustrating to see that with debian it works (with same drivers - in that case loaded, in this case not loaded & not working after manual load). I really think it needs a driver update. Maybe you can help.

Whoever maintains the kernel for the installation you're using may, or could, supply a new kernel + modules perhaps.
If it was me I'd add it in and build a new kernel for -current, but I don't maintain the RPi stuff.

ponce 02-01-2013 02:21 PM

mitusf, can you please attach (or better, post it on pastebin) the output of the command dmesg (launched as root) when you are under slackware and with the wireless attached?

guanx 02-02-2013 04:32 AM

Quote:

Originally Posted by mitusf (Post 4882206)
Ok, so I've installed that firmware update but sadly enough... no result. It's quite frustrating to see that with debian it works (with same drivers - in that case loaded, in this case not loaded & not working after manual load). I really think it needs a driver update. Maybe you can help.

I'm using RT5370 with slackwarearm, though not on RPi. Using firmware from earlier versions of slackware just works. The firmware included in earlier versions of slackware is essentialy the official firmware which can also be found here: http://www.mediatek.com/_en/07_downl...ows.php?sn=501

If there are still problems, please post what you have done (the commands you issued) and the kernel message (dmesg).

mitusf 02-02-2013 07:00 AM

Hi ponce, here is the output: http://pastebin.com/VstmUCSZ
The info related to the wifi adapter is the same as on raspbian.

brianL 02-02-2013 07:18 AM

I've sent for (from Amazon) an edimax-EW7811Un, uses rt18192, and is said to work OOTB on Raspbian.
(Because at the moment I've got a long ethernet cable trailing across the floor, and I'm bound to trip over it sooner or later :D . )

ponce 02-02-2013 07:48 AM

the kernel is built with these options
Code:

CONFIG_RT2X00=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RT2X00_LIB_LEDS=y

so, as for the kernel, the adapter should be supported.

I cannot see any errors of firmware not found in your dmesg: how are you configuring your wireless connection?

which kernel version is the raspbian's one on which the adapter works? and which version is wheezy's firmware?

mitusf 02-02-2013 08:03 AM

@ponce is it possible to be the fact that I'm using the 28122012 version? Maybe
I should upgrade your last version?
I try the wireless with iwconfig, ifconfig wlan0 up, but it is dead. On raspbian, the led turn on from booting.

I don;t know how to find those raspbian versions...

mitusf 02-02-2013 08:19 AM

ok, the kernel version on raspbian is 3.2.27+. I don't know the firmware version.
Maybe this can help: the adapter turns on on raspbian, on booting, when it reports: "Configuring network interfaces"


All times are GMT -5. The time now is 09:05 AM.