2011-07-28 23:33:16

by Martin Partridge

[permalink] [raw]
Subject: help

Hello,

I don't understand the last 2 steps, i'm running fedora (ok i lie its
Fuduntu, but to all intents and purposes its fedora) Kernel version:
2.6.39.3-1.fc14.i686
i'm using a WG511v2 PCMCIA card, i've downloaded the correct firmware,
renamed it and modprobed everything as instructed, the bit i'm having
trouble with is this bit:

Enabling p54

To enable p54, you must first enable mac80211:

Networking Support --->
Wireless --->
<M> cfg80211 - wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211)

You can then enable p54 in the kernel configuration under

Device Drivers --->
[*] Network device support --->
Wireless LAN --->
[*] Wireless LAN (IEEE 802.11)
<M> Softmac Prism54 support
<M> Prism54 USB support
<M> Prism54 PCI support
<M> Prism54 SPI (stlc45xx) support

where do i type this, or what does it mean? I i don't have a 'networking
support' menu and it's not a program, where do i find this? is it a conf
file? I'm no stranger to linux but this is perplexing, the card works fine
on windows, but i can't get it work now. I have a kernel config file in
/etc/sysconfig but its a bit bare, as shown below:

# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel

That's the whole thing.

How do i enable p54 and mac80211, i'm not sure and its bloody annoying.

regards

Martin Partridge

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


2011-07-29 16:33:09

by Pavel Roskin

[permalink] [raw]
Subject: Re: help

On 07/28/2011 11:12 PM, Pavel Roskin wrote:

> You only need to check if the modules are present in the kernel you are
> using. You can do that by running "modprobe p54".

Sorry, it should be "modproble p54pci" for PCI cards and "modprobe
p54usb" for USB devices. I checked Fuduntu, and it has both drivers.
It doesn't have the firmware, but I guess you have no problems with that
part of the instructions.

--
Regards,
Pavel Roskin

2011-07-29 03:12:37

by Pavel Roskin

[permalink] [raw]
Subject: Re: help

Hello!

Please use meaningful subjects for the list posts.

On 07/28/2011 07:33 PM, Martin Partridge wrote:
>
> I don't understand the last 2 steps, i'm running fedora (ok i lie its
> Fuduntu, but to all intents and purposes its fedora) Kernel version:
> 2.6.39.3-1.fc14.i686

Please always give information about the location of the documentation
if you have any problems with it.

> Enabling p54
>
> To enable p54, you must first enable mac80211:

I used Google and found this text on the linux-wireless wiki:
http://linuxwireless.org/en/users/Drivers/p54

I rephrased the text to make it more clear that it only applied to
configuring the kernel.

Since you are using a precompiled kernel, you don't have that option.

> I have a kernel config
> file in /etc/sysconfig but its a bit bare, as shown below:

That's something totally different. The wiki talks about compile-time
configuration.

> How do i enable p54 and mac80211, i'm not sure and its bloody annoying.

You only need to check if the modules are present in the kernel you are
using. You can do that by running "modprobe p54".

--
Regards,
Pavel Roskin

2011-07-28 23:47:39

by Christian Lamparter

[permalink] [raw]
Subject: Re: help

On Friday, July 29, 2011 01:33:13 AM Martin Partridge wrote:
> I don't understand the last 2 steps, i'm running fedora (ok i lie its
> Fuduntu, but to all intents and purposes its fedora) Kernel version:
> 2.6.39.3-1.fc14.i686
recent enough.

> i'm using a WG511v2 PCMCIA card, i've downloaded the correct firmware,
> renamed it and modprobed everything as instructed, the bit i'm having
> trouble with is this bit:
>
> Enabling p54
>
> To enable p54, you must first enable mac80211:
>
> Networking Support --->
> Wireless --->
> <M> cfg80211 - wireless configuration API
> <M> Generic IEEE 802.11 Networking Stack (mac80211)
>
> You can then enable p54 in the kernel configuration under
>
> Device Drivers --->
> [*] Network device support --->
> Wireless LAN --->
> [*] Wireless LAN (IEEE 802.11)
> <M> Softmac Prism54 support
> <M> Prism54 USB support
> <M> Prism54 PCI support
> <M> Prism54 SPI (stlc45xx) support
>
> where do i type this, or what does it mean? I i don't have a 'networking
> support' menu and it's not a program, where do i find this? is it a conf
> file? I'm no stranger to linux but this is perplexing, the card works fine
> on windows, but i can't get it work now. I have a kernel config file in
> /etc/sysconfig but its a bit bare, as shown below:
>
> # UPDATEDEFAULT specifies if new-kernel-pkg should make
> # new kernels the default
> UPDATEDEFAULT=yes
>
> # DEFAULTKERNEL specifies the default kernel package type
> DEFAULTKERNEL=kernel
>
> That's the whole thing.
>
> How do i enable p54 and mac80211, i'm not sure and its bloody annoying.
Ah you see, you don't need to do that. This step is only necessary if you
make your own kernel [from scratch] and you haven't enabled p54 yet. But
since your using fedora's default 2.6.39.3-1.fc14.i686 kernel, I hope they
have taken care of it and provided you with a fitting p54common and p54pci
modules.

In fact, the device should show up right away soon as you insert the pcmcia
card into the slot. Check networkmanager/wicd/ifconfig -a/iw list for any
new devices. If it doesn't show up, you might want to post your `dmesg`,
[releavant p54 extract] syslog right here. I also have a WG511v2 so it should
work pretty much out of the box.

Regards,
Chr

2014-12-04 19:20:02

by Arend van Spriel

[permalink] [raw]
Subject: Re: help

On 12/04/14 20:01, [email protected] wrote:
> can you help me with this problems? thx

Suspect that you are building newer kernel driver code against an older
kernel. How did you populate /home/hp/rtl8192su-master/rtlwifi?

Regards,
Arend

> Sent from Libero Mobile
> ________________________________
>
> Il 04/12/2014, [email protected] ha scritto:
>
> hi I am an italian user of one realtek based device Bus 001 Device 005: ID 0df6:004b Sitecom Europe B.V. WL-349v3 Wireless Micro Adapter 150N X1 [Realtek RTL8192SU] on an ubuntu 14.04 64bit 3.13.0-40-generic kernel and I received following error
> make
> make -C /lib/modules/3.13.0-40-generic/build M=/home/hp/rtl8192su-master/rtlwifi CONFIG_RTL_CARDS=y CONFIG_RTLWIFI=m CONFIG_RTLWIFI_DEBUG=y CONFIG_RTLWIFI_DEBUGFS=y CONFIG_RTLWIFI_USB=m CONFIG_RTLWIFI_PCI=m CONFIG_RTL8192SU=m CONFIG_RTL8192SE=m CONFIG_RTL8192S_COMMON=m CONFIG_RTL8192CU=n CONFIG_RTL8192DE=n CONFIG_RTL8192CE=n CONFIG_RTL8192C_COMMON=n CONFIG_RTL8723AE=n CONFIG_RTL8188EE=n EXTRA_CFLAGS="-DDEBUG -DCONFIG_RTLWIFI_DEBUGFS=m -w"
> make[1]: ingresso nella directory "/usr/src/linux-headers-3.13.0-40-generic"
> CC [M] /home/hp/rtl8192su-master/rtlwifi/regd.o
> In file included from include/net/cfg80211.h:23:0,
> from include/net/mac80211.h:21,
> from /home/hp/rtl8192su-master/rtlwifi/wifi.h:41,
> from /home/hp/rtl8192su-master/rtlwifi/regd.c:30:
> /home/hp/rtl8192su-master/rtlwifi/regd.c:62:4: error: ‘NL80211_RRF_NO_IR’ undeclared here (not in a function)
> NL80211_RRF_NO_IR)
> ^
> include/net/regulatory.h:128:11: note: in definition of macro ‘REG_RULE’
> .flags = reg_flags, \
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:99:6: note: in expansion of macro ‘RTL819x_2GHZ_CH12_13’
> RTL819x_2GHZ_CH12_13,
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c: In function ‘_rtl_reg_apply_beaconing_flags’:
> /home/hp/rtl8192su-master/rtlwifi/regd.c:186:20: error: ‘IEEE80211_CHAN_NO_IR’ undeclared (first use in this function)
> ch->flags&= ~IEEE80211_CHAN_NO_IR;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:186:20: note: each undeclared identifier is reported only once for each function it appears in
> /home/hp/rtl8192su-master/rtlwifi/regd.c: In function ‘_rtl_reg_apply_active_scan_flags’:
> /home/hp/rtl8192su-master/rtlwifi/regd.c:214:19: error: ‘IEEE80211_CHAN_NO_IR’ undeclared (first use in this function)
> if (ch->flags& IEEE80211_CHAN_NO_IR)
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c: In function ‘_rtl_reg_apply_radar_flags’:
> /home/hp/rtl8192su-master/rtlwifi/regd.c:279:10: error: ‘IEEE80211_CHAN_NO_IR’ undeclared (first use in this function)
> IEEE80211_CHAN_NO_IR;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c: In function ‘_rtl_regd_init_wiphy’:
> /home/hp/rtl8192su-master/rtlwifi/regd.c:348:7: error: ‘struct wiphy’ has no member named ‘regulatory_flags’
> wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:348:29: error: ‘REGULATORY_CUSTOM_REG’ undeclared (first use in this function)
> wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:349:7: error: ‘struct wiphy’ has no member named ‘regulatory_flags’
> wiphy->regulatory_flags&= ~REGULATORY_STRICT_REG;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:349:30: error: ‘REGULATORY_STRICT_REG’ undeclared (first use in this function)
> wiphy->regulatory_flags&= ~REGULATORY_STRICT_REG;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:350:7: error: ‘struct wiphy’ has no member named ‘regulatory_flags’
> wiphy->regulatory_flags&= ~REGULATORY_DISABLE_BEACON_HINTS;
> ^
> /home/hp/rtl8192su-master/rtlwifi/regd.c:350:30: error: ‘REGULATORY_DISABLE_BEACON_HINTS’ undeclared (first use in this function)
> wiphy->regulatory_flags&= ~REGULATORY_DISABLE_BEACON_HINTS;
> ^
> make[2]: *** [/home/hp/rtl8192su-master/rtlwifi/regd.o] Errore 1
> make[1]: *** [_module_/home/hp/rtl8192su-master/rtlwifi] Errore 2
> make[1]: uscita dalla directory "/usr/src/linux-headers-3.13.0-40-generic"
> make: *** [all] Errore 2
> can you help me?
>
> Sent from Libero Mobile