LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-23-2011, 11:46 AM   #1
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Rep: Reputation: 0
Cannot install Edimax driver on OpenSuse 11.4


I have a dual bootable (OpenSuse 11.4/Windows Vista Home Premium) Dell Inspiron 530; works well. Network connectivity is an Edimax Nano; works well on Windows. To do the same on Linux I downloaded the driver file rtl8192CU_8188CU_linux_v2.0.939.20100726 and tried to install. Running make in accordance with the install instructions I get the following:

(see attachment)

A similar problem was addressed in the thread 'edimax ew-7318usg openSuse 11 - make - problem' some while back. That was solved by reddazz pointing out that ralink chipsets (as I understand it my own adapter also uses a ralink chipset) are natively supported by Linux. He recommended using Yast to see if the card in that instance was recognised and if so simply to configure it with Yast. I have been poking around in Yast but have had no success; although I have been able to configure something as wlan0 I have no idea whether that is a real bit of hardware or me just filling in gaps in the configuration screens.

All very disappointing, as I had hoped either to install the driver or simply to configure the device in Yast. This is probably down to my ignorance of how to proceed - although I did succeed in using ndiswrapper to set up my last adapter before it failed on me.

Can anyone please help?
Attached Files
File Type: txt make driver.txt (1.3 KB, 10 views)
 
Old 08-24-2011, 04:58 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hello forsate,

in the directory where you've executed the installer, there should be a logfile. Please post the logfile.

Markus
 
Old 08-25-2011, 03:51 AM   #3
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Hi Markus

Thanks for getting back. In answer to your request for a logfile, I can't find anything in the directory that fits that description, only the files resulting from untarring the driver files that I was trying to install. I have also looked under other directories where I understand logfiles can be found but nothing that I can identify.

I have also been pursuing the suggestion that my wifi adapter has native Linux support. Nowhere on my installation can I find anything that looks like wifi drivers of any kind, but that is almost certainly due to my limited knowledge of where to look.

As far as the wifi adapter itself is concerned, looking at Yast->Network devices->Network settings again has not helped. All I have is reference to ndiswrapper from my previous (now failed) adapter. Running hwinfo --short and lsusb shows that the system is seeing the device but is not recognising it as a wireless device. The output in both cases is in the two attached files.

One thing I seem to have got wrong; further investigation shows that my adapter does not have a Ralink driver as I originally assumed but a Realtek driver. According to the openSuse documentation this "works out of the box". I must be looking in the wrong box.

Not much for you to go on, I am afraid, but do you have any further advice?
Attached Files
File Type: txt hwinfo.txt (3.7 KB, 2 views)
File Type: txt lsusb.txt (934 Bytes, 2 views)
 
Old 08-25-2011, 04:08 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Well, referring to your lsusb-output the device is recognized by the system.

Did you simply try to configure your computer for the wireless network? And if you did, what exactly did not work?

Markus
 
Old 08-25-2011, 04:52 AM   #5
helixo
LQ Newbie
 
Registered: Aug 2011
Distribution: opensuse
Posts: 24

Rep: Reputation: Disabled
did you try installin things from zypper ??? from the XTerm ???? search using it , there are chances of you gettin it through zypper. . . . .
 
Old 08-26-2011, 04:52 AM   #6
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Well, referring to your lsusb-output the device is recognized by the system.

Did you simply try to configure your computer for the wireless network? And if you did, what exactly did not work?

Markus
Correct; I used Yast: Yast=>Network Devices=>Network Settings. There was no clue as to the Module Name I should be looking for and no indication of where the driver might be located. So what I ended up with was an unworkable configuration for wlan0. My assumption is that since I could not associate any driver with my wifi device hwinfo listed it as unknown, as shown in the hwinfo.txt file attached to my first post.

I have been doing some further investigation. It appears that the drivers installed on my system are in /lib/modules/2.6.37.1-1.2-desktop/kernel/drivers/net/wireless/. Does that sound right? If so, the rtl8188cus driver isn't among them, so it would seem I do have to find a way of getting the driver download to work. Further investigation suggests to me that the makefile supplied with the driver needs to be worked on. I'm now getting to grips with GNU make documentation and the content of the makefile - could be interesting. Any advice you can give would be much appreciated.

All this digging round is the reason I haven't got back to you before. It seems to revolve around getting the driver installed and associated with my wifi device, unless you think I am on the wrong track.

forsate
 
Old 08-26-2011, 04:56 AM   #7
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by helixo View Post
did you try installin things from zypper ??? from the XTerm ???? search using it , there are chances of you gettin it through zypper. . . . .
Hi helixo

Can you be more specific? I am not familiar with zypper; my understanding is that it is a package manager, and since I have not found any appropriate packages I can't see where it is going to help me.

forsate
 
Old 08-26-2011, 04:59 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by forsate View Post
...I'm now getting to grips with GNU make documentation and the content of the makefile - could be interesting...
I've checked the manpage for make and therefore suggested to search the logfile. There must be a logfile anywhere, if you find it you'll find hints about what's gone wrong.

Markus
 
Old 08-26-2011, 01:10 PM   #9
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
I've checked the manpage for make and therefore suggested to search the logfile. There must be a logfile anywhere, if you find it you'll find hints about what's gone wrong.

Markus
Markus

I still can't find any sign of a logfile anywhere, and the GNU Make manual doesn't seem to make any reference to where it might be. Looking at the response to make:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.37.1-1.2-desktop/build M=/root/workspace/Linux_Driver/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726 modules
make[1]: Entering directory `/lib/modules/2.6.37.1-1.2-desktop/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.37.1-1.2-desktop/build'
make: *** [modules] Error 2
and the following line in the makefile (see attachment for the full context; it's line 262 or thereabouts, I think):
modules:
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(PWD) modules
it appears to be an apparent recursion on 'modules' that is causing the problem. Unfortunately I don't have enough knowledge of how make works to find a way round this. But my searches on the internet have thrown up several instances of others having the same problem, without anyone coming up with a conclusive response. The odd thing is I have also found a number of cases where the driver has been successfully installed.

Sorry to keep imposing on you, but I can't see my way out of this.
Attached Files
File Type: txt Makefile.txt (6.5 KB, 1 views)
 
Old 08-26-2011, 01:23 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hi,

please post the link where I can download the package, I'll try it here with Archlinux/multilib, maybe I can find a hint.

Markus
 
Old 08-26-2011, 02:29 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,125

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Quote:
make[1]: *** No rule to make target `modules'. Stop.
Looks like you have no package "kernel-devel".
# zypper in kernel-devel

cd rtl8192CU_linux_v2.0.939.20100726/ && make : Runs for a while,
creating 29 objects. Stops with this error on Suse 11.4, 64bits :
rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.c:291:2: error:
implicit declaration of function ‘init_MUTEX’

The download link is : (version 20100726)
http://www.edimax.com/images/Image/D...9.20100726.zip

Same result with the later version '2.0.1212.20101208' :
http://download.wireless-driver.com/..._v2.0.1212.zip

May be you have a 32bits QS ? And hopefully can compile the module OK.

..
 
Old 08-26-2011, 04:24 PM   #12
forsate
LQ Newbie
 
Registered: Mar 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Hi,

please post the link where I can download the package, I'll try it here with Archlinux/multilib, maybe I can find a hint.

Markus
This is Realtek's own site. It's just one I have downloaded files from in the hope of finding one which works:

http://www.realtek.com.tw/downloads/...rue#RTL8188CUS

Many thanks for bearing with me.

forsate
 
Old 08-26-2011, 04:31 PM   #13
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
well this will not work here, the package is for kernel 2.6.38 and earlier, I have only 3.xxx on all my computers. Which kernel do you have? please post the output of
Code:
uname -a
Markus
 
Old 08-26-2011, 04:40 PM   #14
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by knudfl View Post
The download link is : (version 20100726)
http://www.edimax.com/images/Image/D...9.20100726.zip

Same result with the later version '2.0.1212.20101208' :
http://download.wireless-driver.com/..._v2.0.1212.zip
..
both don't compile here on Archlinux 32bit.

Markus
 
Old 08-26-2011, 05:48 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,125

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
# 14
Quote:
both don't compile here on Archlinux 32bit.
OK with kernel 2.6.33.7, gcc-4.4.1 , PCLinuxOS 2010 - 32bits.

Looks like a "Not working with later than gcc-4.4.4" issue.
 
  


Reply

Tags
drivers, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
After re-booting my laptop my edimax-ew7711 device not working, using rt3070 driver akitta Linux - Wireless Networking 5 04-29-2010 03:22 PM
edimax ew-7318usg openSuse 11 - make - problem buran Linux - Newbie 4 11-14-2008 07:15 PM
Network Camera driver for Edimax. ravi_chobey Linux - Kernel 0 06-24-2008 03:30 AM
Edimax EW-7608Pg driver install in Ubuntu imacbo Linux - Newbie 1 03-29-2007 03:59 AM
Is there an Edimax driver? Tux-O-Matic Linux - Hardware 0 09-28-2006 05:37 PM


All times are GMT -5. The time now is 05:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration