Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
default@aspwest2mint ~/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0 $ edit Makefile, option INCLUDE_EXTRA_DVB (comment out line "INCLUDE_EXTRA_DVB := include-300", delete comment in front of "INCLUDE_EXTRA_DVB := include-320")
bash: syntax error near unexpected token `('
The instructions given were to 'copy and paste' which I did, but the whole command is incomprehensible to me anyway, so I am dumbfounded!
This is the first distro which is really working for me, but not being able to install this, is the break for me.
I am the IT administrator of my school (just an ordinary teacher with no training!), so although on unfamiliar territory, I am not completely illeterate. But definetly a first starter!
Help (with explanations, so that I can learn from this) will be greatly appreciated.
edit Makefile, option INCLUDE_EXTRA_DVB (comment out line "INCLUDE_EXTRA_DVB := include-300", delete comment in front of "INCLUDE_EXTRA_DVB := include-320")
Are you sure this was given to copy and paste? This is not bash syntax at all. Nor is 'edit' a shell command.
If I am reading the wiki correctly, you are supposed to be copying and pasting from this link:
The wiki is just an overview. Try reading the information provided on github. It's the same stuff, just expanded on a little. If you have any trouble, please post back.
Edit: I just read the github link and it doesn't explain how to edit the kernel makefile. When you are in the source directory, try typing 'make xconfig' or 'make menuconfig'.
Out of curiosity, what version of Mint do you use which runs the 3.0 kernel?
Last edited by flyinggeorge; 08-23-2013 at 10:22 PM.
Not what I expected, I thought my version was 3.2.0. Could be why things are strange!
However what is source dir? That is, from where?
default@aspwest2mint ~/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0 $ make xconfig
make: *** No rule to make target `xconfig'. Stop.
Out of my depth again, I need to learn the linguo if I am to stay with it... In the meantime I am in your debt.
edit; I looked into this file, found the titbits and I had a look into Linuxtv.org. Well, what a group of dedicated people! But so confusing to me. I still can't find "rtl2832u_linux_driver" and don't yet know where to find them (they may have been replaced by more up to date ones?).
Under;
That was totally my fault. For some reason, I thought you were trying to recompile your kernel to add a new module.
Okay, so when you cd to ~/default/DVB-Realtek-RTL2832U-2.2.2-10turner-mod_kernel-3.0.0 there should be a file called "Makefile" in that directory. To edit this file, use a text editor such as nano (command line) or whatever editor you use normally. I use geany, but geany needs to be installed separately. If you prefer you can use vim, but nano is easier to use as far as command line text editors go. Not better, but easier.
So do something like this:
Code:
nano Makefile
OR
geany Makefile
Replace 'geany' with your text editor of choice. (kwite, gedit, or what have you). Once you have opened the Makefile, look for a line that says: INCLUDE_EXTRA_DVB
I don't really know what option you will need to set that line to. Hopefully there will be some explanation. Sorry for confusing you above.
Thank you for that, it is becoming clearer now.
However here is the itch, as I was afraid early on. I thought my core was 2.2.0. It isn't, so I have no guarantee it will work, unless you know something I do not know!
Here are the instructions, spelling error et all;
# License: GPL
# RTL2832U Driver
# Choose here wich include file to use: from kernel 3.0.0 (good for 3.1.0) or from kernel 3.2.0
Should I carry on with ":=-320", and do I risk stuffing up my OS if I do so (ie a good freeze 'a la' bad windoes 95????
Do you have any other ideas? do I enclose the whole argument in Brackets as in; "$(INCLUDE_EXTRA_DVB:=320)".
Well I don't think there is a very large risk of stuffing up your OS. You're just compiling a module for your kernel, you can always make uninstall or manually remove any existing *.ko files. Following what would appear to be the trend listed above, I would GUESS -- notice that I don't know for sure. But following what would appear to be the trend here, try to set the INCLUDE_EXTRA_DVB := include-380 then try to compile. Worst case scenario, the module just won't work and I will have to look a little harder into a solution.
Again, no guarantees here, but if it does compile, try to modprobe the module you have just built and see if it works.
Code:
- edit Makefile, option INCLUDE_EXTRA_DVB (choose which include file set)
- compile code
make clean
make
- install module
sudo make install
- insert module (or reboot)
modprobe dvb_usb_rtl2832u
*EDIT
It looks like if you install the 'media_build' script from here:
I did post a quick reply, but somehow it is not showing!! very strange.
I did say that I had a look in those packages, and it looks like what I need.
So I did get to;
default@aspwest2mint ~/media_build $ ./build
Checking if the needed tools for Linux Mint 15 Olivia are available
ERROR: please install "Proc::ProcessTable", otherwise, build won't work.
I don't know distro Linux Mint 15 Olivia. So, I can't provide you a hint with the package names.
Be welcome to contribute with a patch for media-build, by submitting a distro-specific hint
to linux-media@vger.kernel.org
Build can't procceed as 1 dependency is missing at ./build line 266.
I can see the line from which this comment came about, but I am buggered if I know what to do next!
Do I just drop "dvb-usb-rtl2832.patch" into "media_build" folder, but then how do I point to it. My expertise in things linux is at the zero point. There is not much in term of explanations, unless I missed something!
Where to from there,
Daniel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.