Cubox and RTL8191S WLAN Adapter

This forum is for supported devices using an ARMv7 Marvell SoC.

Cubox and RTL8191S WLAN Adapter

Postby ralix » Tue Nov 18, 2014 4:19 am

Hello,


I have are my last reboot problems with my wifi adapter.
The stick is at an old Cubox. The stick has a while to work, it must have changed a bit lately (updates). Unfortunately I can not say exactly what. I have regularly installed the updates yesterday and I had to restart because of a problem.

Kernel:

Linux version 3.5.7-14-ARCH (nobody@root-chroot-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Mon Jun 30 13:06:45 MDT 201

lsusb:
Bus 002 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter

dmesg | grep r8712u
[ 6.012825] usbcore: registered new interface driver r8712u
[ 373.654244] r8712u: DriverVersion: v7_0.20100831
[ 373.659942] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 373.668327] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 373.675388] r8712u: Boot from EFUSE: Autoload OK
[ 374.375514] r8712u: CustomerID = 0x000a
[ 374.379469] r8712u: MAC Address from efuse = 00:87:34:9e:16:ae
[ 374.387498] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 434.629207] r8712u: Firmware request failed

Regards Ralix
ralix
 
Posts: 19
Joined: Wed Feb 05, 2014 5:04 am

Re: Cubox and RTL8191S WLAN Adapter

Postby WarheadsSE » Tue Nov 18, 2014 5:32 pm

We have seen issue with the very latest systemd package and firmware loading with kernels < 3.7. We're not entirely sure why as of yet.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubox and RTL8191S WLAN Adapter

Postby ralix » Tue Nov 25, 2014 9:10 am

Hi,

f * ck ... Ok, it is possible downgrade to a functional version?

Regards Ralix
ralix
 
Posts: 19
Joined: Wed Feb 05, 2014 5:04 am

Re: Cubox and RTL8191S WLAN Adapter

Postby pepedog » Tue Nov 25, 2014 4:52 pm

You could look in the pacman cache, or rollback machine at rollback.archlinuxarm.org
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cubox and RTL8191S WLAN Adapter

Postby ralix » Fri Nov 28, 2014 6:36 am

Thank you Pepedog for the tip, with version systemd-216-3 everything works again:-)

Cheers Ralix
ralix
 
Posts: 19
Joined: Wed Feb 05, 2014 5:04 am

Re: Cubox and RTL8191S WLAN Adapter

Postby sputnik » Mon Dec 08, 2014 9:20 am

I have information that may help. Not seeking help, just passing on info.
I'm using Funtoo on my pogoplug mobile, but the archarmlinux-kirkwood 3.17.4 kernel from the rollback machine.

We don't use no systemd 'round these here parts...
I also have the firmware failing to load issue on boot.
$this->bbcode_second_pass_code('', 'Dec 08 00:00:30 [kernel] [ 8.981361] usb 1-1.2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
Dec 08 00:00:30 [kernel] [ 8.997725] usb 1-1.2: r8712u: Firmware request failed')
If I wait until it boots up, unplug the dongle and plug it back in, the firmware loads and all works just fine. I guess arch puts it in /usr/lib/firmware, we use /lib/firmware, so I made a link$this->bbcode_second_pass_code('', 'ln -s /lib/firmware /usr/lib/firmware') Helped not at all.
If I could just get a working dts file for this pogoplug I'd happily make my own kernels and possibly that would solve this too. The patches, they're such a drag... Somebody at Openwrt posted a dts file for the PP mobile a couple of months ago, but I haven't got it to work yet.
sputnik
 
Posts: 14
Joined: Mon Jan 16, 2012 6:50 pm

Re: Cubox and RTL8191S WLAN Adapter

Postby Geoff » Wed Dec 10, 2014 3:19 pm

I am using an Engenius EUB9603H wifi, which uses the same module and firmware. What I do is wait half a minute or so after boot/reboot and then

$this->bbcode_second_pass_code('', '
modprobe -r r8712u
modprobe r8712u
systemctl restart netctl-auto@wlan1
')
I don't know why it's not ready sooner for firmware to be loaded.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Cubox and RTL8191S WLAN Adapter

Postby sputnik » Wed Dec 17, 2014 7:34 am

I was aware that it would work to remove and then modprobe the driver however it's built into the archlinuxarm kernel, so that doesn't work with it.
But I was just at the Doozan forum and bohdi has posted the Debian 3.17.0 kernel with a dts for pogoplug v4/mobile supplied by... the archlinuxarm devs :D
Thank you guys! And to bohdi as well. It's a small interweb after all.
I'll give that a try soon and at the very least I should be able to break it out as a module to do as previous poster suggested. I can do those commands in /etc/local.d/my.start with a time delay.
Using the pogo for a wireless control/video link for my new 3d printer, just finished building today. I'd like to plug it in and walk away.
sputnik
 
Posts: 14
Joined: Mon Jan 16, 2012 6:50 pm

Re: Cubox and RTL8191S WLAN Adapter

Postby sputnik » Sun Dec 21, 2014 9:35 pm

Well, so I did use that dts to make a fdt kernel, it worked great! And the mere act of breaking the r8712u out as a module rather than built-in was all that was necessary, no trickery needed, we are wireless after boot. I was so jazzed I went on ebay last night and got one of those PP series 4 for $12.99.http://www.ebay.com/itm/201244493546?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT, since the mobile has a new life as a video/gcode streamer.
But what I really wanted to say is that as an embedded device user I very much appreciate the major contribution of Archlinuxarm to all embedded device users everywhere, regardless of distro. This is not the 1st time that I have benefited indirectly from their efforts. This includes many of the users as well as the devs.
Long live Archlinuxarm
sputnik
 
Posts: 14
Joined: Mon Jan 16, 2012 6:50 pm

Re: Cubox and RTL8191S WLAN Adapter

Postby pepedog » Sun Dec 21, 2014 10:33 pm

If a module is builtin to kernel and requires firmware, the firmware also needs to be builtin too
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Marvell

Who is online

Users browsing this forum: No registered users and 8 guests