LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot install Edimax driver on OpenSuse 11.4 (http://www.linuxquestions.org/questions/linux-newbie-8/cannot-install-edimax-driver-on-opensuse-11-4-a-898977/)

forsate 08-23-2011 10:46 AM

Cannot install Edimax driver on OpenSuse 11.4
 
1 Attachment(s)
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?

markush 08-24-2011 03:58 AM

Hello forsate,

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

Markus

forsate 08-25-2011 02:51 AM

2 Attachment(s)
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?

markush 08-25-2011 03:08 AM

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

helixo 08-25-2011 03:52 AM

did you try installin things from zypper ??? from the XTerm ???? search using it , there are chances of you gettin it through zypper. . . . .

forsate 08-26-2011 03:52 AM

Quote:

Originally Posted by markush (Post 4452868)
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

forsate 08-26-2011 03:56 AM

Quote:

Originally Posted by helixo (Post 4452897)
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

markush 08-26-2011 03:59 AM

Quote:

Originally Posted by forsate (Post 4453856)
...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

forsate 08-26-2011 12:10 PM

1 Attachment(s)
Quote:

Originally Posted by markush (Post 4453867)
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.

markush 08-26-2011 12:23 PM

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

knudfl 08-26-2011 01:29 PM

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.

..

forsate 08-26-2011 03:24 PM

Quote:

Originally Posted by markush (Post 4454246)
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

markush 08-26-2011 03:31 PM

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

markush 08-26-2011 03:40 PM

Quote:

Originally Posted by knudfl (Post 4454301)
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

knudfl 08-26-2011 04:48 PM

# 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.


All times are GMT -5. The time now is 06:15 AM.