Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: gpulido on April 14, 2015, 01:36:20 PM
-
Hello,
I'm trying to use a wifi dongle with a realtek RTL8191SU (after installing the wifi.tcz extension of course) and the device is not found.
After some research it seems that the right driver is the rtl8712u that I thought it is included on the wireless extension.
Am I wrong? do I need to activate / load anything else?
I'm testing the piCore 6.1beta1 version
Thank you
-
Check wifi related messages at the end of dmesg
-
Hello, Sorry for the delay answering:
This is the dmesg relevant part:
[ 3.112869] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.215729] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8172
[ 3.215769] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.215789] usb 1-1.2: Product: RTL8191S WLAN Adapter
[ 3.215810] usb 1-1.2: Manufacturer: Manufacturer Realtek
[ 3.215829] usb 1-1.2: SerialNumber: 00e04c000001
-
It's clear that the driver is not loaded, probably not present in the kernel package. Try to install the firmware-realtek. But I'm afraid that the idVendor=0bda, idProduct=8172 is not listed either. To use it that the driver need to be updated, means recompiled which is not so easy.
-
Hello,
The RTL8191S is not a very new chipset and I have found some post regarding tinycorelinux to include it on the old wl-rtl8712u-3.0.21-tinycore.tcz extension that now is the current wireless extension.
For example on an ubuntu distro 14.10 the dongle works without needing to load any extra module.
-
Is wireless-3.18.10-piCore+.tcz (wireless-3.18.10_v7-piCore+.tcz on RPI2) installed?
-
Yes, it is included on the onbootlist just after loading the wifi.tcz extension.
After booting, if I call the "wifi" script, it hang the session and doens't do anything.
And if I try "sudo wifi.sh"
It returns with "No wifi devices found!"
Is there anything more that I can check or provide the output?
Thank you for helping
-
Some drivers were in the kernel, but later they were removed and later on again put there. What was working with older kernel don't mean that it will work now. Check the kernel module directory if the driver is there. If no, try to install firmware-realtek. Than replug the dongle.
Use
lsmod
and look if the module is there, mostly at the top. If no, than the issue is still in the driver.
If yes, than try:
iwconfig
There may appear wlan0. If it is there, than everything will work fine.
-
Does it work with the current Raspbian? If so please post dmesg and lsmod output.
-
Some drivers were in the kernel, but later they were removed and later on again put there. What was working with older kernel don't mean that it will work now. Check the kernel module directory if the driver is there. If no, try to install firmware-realtek. Than replug the dongle.
Use
lsmod
and look if the module is there, mostly at the top. If no, than the issue is still in the driver.
If yes, than try:
iwconfig
There may appear wlan0. If it is there, than everything will work fine.
lsmod returns the following:
Module Size Used by Tainted: G
i2c_dev 6657 0
r8712u 188192 0
evdev 10888 0
uio_pdrv_genirq 3646 0
uio 9941 1 uio_pdrv_genirq
and iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
So it seems that the module is loaded (the r8712u is the one to be used for the RTL8191SU) but it is still not working
-
Does it work with the current Raspbian? If so please post dmesg and lsmod output.
It works in raspbian:
dmesg relevant parts:
[ 3.262763] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.375662] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8172
[ 3.386986] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.398802] usb 1-1.2: Product: RTL8191S WLAN Adapter
[ 3.410819] usb 1-1.2: Manufacturer: Manufacturer Realtek
[ 3.420813] usb 1-1.2: SerialNumber: 00e04c000001
[ 9.039591] r8712u: Staging version
[ 9.270429] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 9.592621] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 9.804864] r8712u: Boot from EFUSE: Autoload OK
[ 10.999760] r8712u: CustomerID = 0x0000
[ 11.057996] r8712u: MAC Address from efuse = 00:0b:81:99:1d:6d
[ 11.077203] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 11.094553] usbcore: registered new interface driver r8712u
[ 26.973223] r8712u: 1 RCR=0x153f00e
[ 26.974224] r8712u: 2 RCR=0x553f00e
lsmod output:
Module Size Used by
snd_bcm2835 16304 0
snd_pcm 77560 1 snd_bcm2835
snd_page_alloc 5145 1 snd_pcm
snd_seq 53329 0
snd_seq_device 6438 1 snd_seq
snd_timer 19998 2 snd_pcm,snd_seq
snd 58447 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
spidev 5224 0
r8712u 168195 0
joydev 9316 0
evdev 9426 2
i2c_bcm2708 3923 0
spi_bcm2708 4816 0
Just as info:
uname -a
Linux raspberrypi 3.6.11+ #494 PREEMPT Fri Jul 5 15:30:31 BST 2013 armv6l GNU/Linux
-
r8712u kernel modul provided by wireless-3.18.10-piCore+.tcz and firmware by firmware-rtlwifi.tcz
-
It worked!!
I have added the firmware-rtlwifi.tcz extension to be loaded after the wireless and before the wifi.tcz and now the wifi.sh script works.
Thank you all for your help and support!