WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Realtek Wireless firmware extention help?  (Read 31378 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #45 on: June 24, 2011, 03:10:40 AM »
all but one extensions are loaded and appear to function except of course for the extension I created.

I still have the structure of the directories I used during extension creation complete with driver in case I needed to make another.

The install follows the guide in the wiki as best I can accomplish to a HDD  with persistence for Home and Opt


This was the destined to be location of the driver  

/usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless/rtl8712u.ko.gz

this was created inside a directory called package.  I cd to tmp where package was located and ran mksquashfs package/ rtl8712u-2.6.33.3-tinycore.tcz
« Last Edit: June 24, 2011, 03:22:51 AM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #46 on: June 24, 2011, 03:21:23 AM »
I'd suggest trying this:
Code: [Select]
$ sudo mkdir -p /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless
$ sudo cp /path-to-file/rtl8712u.ko.gz /usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/net/wireless
$ sudo depmod -a
$ sudo modprobe rtl8712u

and then "lsmod" to double-check the driver  loaded

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #47 on: June 24, 2011, 03:31:50 AM »
thanks for the info

but at this point would it be better to remake the extension to point to a better location?

it looks to me like the extension is trying to copy the file to a location in the file system which doesn't exist yet?


Oh I got it you want to load the driver to see if it does infact work then remake the extension?
« Last Edit: June 24, 2011, 03:35:06 AM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #48 on: June 24, 2011, 03:39:44 AM »
it looks to me like the extension is trying to copy the file to a location in the file system which doesn't exist yet?
The extension loading routine would create the location if it did not exist.

Quote
Oh I got it you want to load the driver to see if it does infact work then remake the extension?
affirmative

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #49 on: June 24, 2011, 03:52:02 AM »
that procedure loaded the module as 8712u   :)


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #50 on: June 24, 2011, 03:55:23 AM »
Good  :)

What does "dmesg | tail -20" say?

BTW I built a quick extension that seems to work without problems:
Code: [Select]
$ tce-load -i 8712u.tcz
$ modinfo 8712u
filename:       kernel.tclocal/drivers/net/wireless/8712u.ko.gz
description:    rtl871x wireless lan driver
author:         ...
license:        GPL
vermagic:       2.6.33.3-tinycore SMP mod_unload 486

Of course I don't have the hardware to test further

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #51 on: June 24, 2011, 04:00:50 AM »
That's so cool :)


anyhow there is one other issue.  the module currently does not communicate with the device.   I'm wondering if I need to instigate a connection or if the file name which is different is an issue?

brb with the other answer.  ok it say's "not found"
« Last Edit: June 24, 2011, 04:02:49 AM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #52 on: June 24, 2011, 04:07:46 AM »
anyhow there is one other issue.  the module currently does not communicate with the device.   I'm wondering if I need to instigate a connection or if the file name which is different is an issue?

Yes, you'll need to instigate a connection.

I'd suggest to use the wifi extension - load the extension and then "sudo wifi.sh"

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #53 on: June 24, 2011, 04:09:25 AM »
I wish I could build an extension that fast :(  You're my hero!!



Ok the issue I have is understanding how this works.

the file is  RTL8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20100823.zip   when compiled the output is 8712.ko  my device is the 8192su version so I'm wondering does the driver once loaded look for a compatible device?  or should the file name be changed to suit the device?



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #54 on: June 24, 2011, 04:14:51 AM »
Assuming you chose the correct driver in the first place - "rtl871x wireless lan driver" suggests it will be good for any device whose name is 871x, but the driver source filename suggests it will be good for your device - then the driver will find the hardware on its own.

I'd suggest you try the wifi.tcz extension and see how things go.

pasting the contents of "dmesg | tail -20" might also give some indication of whether things might work.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #55 on: June 24, 2011, 04:19:34 AM »
Thanks

I tried both the above with no joy.

first the   dmesg | tail -20  command returned    not found


then the wifi.tcz was already installed and when run  displays a message that no wifi devices found :(
« Last Edit: June 24, 2011, 06:54:30 AM by coreplayer2 »

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Realtek Wireless firmware extention help?
« Reply #56 on: June 24, 2011, 04:22:57 AM »
Quote
what is a newbie like me to do?
RTFM :)

Code: [Select]
$ dmesg | tail -20

can hardly yield "not found". You're obviously doing something wrong (again).
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #57 on: June 24, 2011, 04:23:48 AM »
first the   dmesg | tail -20  command returned    not found

eh?

You can also access dmesg from the panel icon - panel/system stats/dmesg

There will be a whole bunch of yada-yada, but you're looking for something like:
Code: [Select]
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
phy0: Selected rate control algorithm 'pid'
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
Registered led device: b43-phy0::radio
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'TKIP'
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
b43 ssb0:0: firmware: requesting b43/ucode15.fw
b43 ssb0:0: firmware: requesting b43/lp0initvals15.fw
b43 ssb0:0: firmware: requesting b43/lp0bsinitvals15.fw
b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Realtek Wireless firmware extention help?
« Reply #58 on: June 24, 2011, 04:25:15 AM »
Wait!!!    while the new wifitcz module did nothing , the wicd net manager succeeded!!!    we are now connected  to a WPA2 wireless network!!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Realtek Wireless firmware extention help?
« Reply #59 on: June 24, 2011, 04:30:15 AM »
Good  :)

If you were already trying with wicd, that could quite possibly prevent wifi.sh from working.

..and hopefully this shows you connected to the Internet:
Code: [Select]
$ sudo ping -c2 www.google.com