LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2007, 05:55 PM   #1
alibar
Member
 
Registered: Mar 2007
Posts: 44

Rep: Reputation: 15
Philips SAA7130 tuner card


Could anyone help me out?


i have a mercury TV tuner card which has the philips SAA7130 chipset on it. From searching google iv'e found that various other linux distros offer drivers for this card but i cant seem to locate one for slackware! This is kind of a bother as i want to get everything no my pc running under slackware.... i never ever want to go back to anything else and this is the only thorn in my side?

P.S apart from mythTV is there any other tv tuner packages for linux?


Thank you
 
Old 03-25-2007, 06:44 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It seems that the 'saa7134' driver supports this card. It's already included in the 2.6.x kernels, and it's probably a module if you're using the stock 2.6.17.13 slackware kernel.

If you don't want MythTV you can try XdTV ... or
http://linuxtv.org/v4lwiki/index.php/TV_Recording
 
Old 03-25-2007, 07:11 PM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
I've always found TVTime to be more than sufficient for me to watch TV. I have the same chipset based card.
 
Old 03-25-2007, 08:22 PM   #4
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Kernel?

okay the last time i took a breath of air a krenel was something i popped in the microwave to make pop corn? i used the CD'S a friend gave me and i installed as per the on screen instructions. What in the name of holy socks is a freaking kernel? and why cant i just download an update?

okay this is all way too confusing. what ever happened to the the term "buy a new pc"


holy crap help!

p.s are you same htexmexh that fixed my printer? it works perfectly thanks if you are. oh 1 more thing how do u keep a 4 year old child off a computer? he just wont leave it alone!!! blooming kids!

Last edited by alibar; 03-25-2007 at 08:25 PM.
 
Old 03-25-2007, 09:39 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well ... check the wiki:
http://en.wikipedia.org/wiki/Kernel_...ter_science%29

Quote:
In computing, the kernel is the central component of most computer operating systems (OSs). Its responsibilities include managing the system's resources and the communication between hardware and software components. As a basic component of an operating system, a kernel provides the lowest-level abstraction layer for the resources (especially memory, processors and I/O devices) that applications must control to perform their function. It typically makes these facilities available to application processes through inter-process communication mechanisms and system calls.
to find out which kernel version you are running, open a terminal (konsole or rxvt or xterm, etc.), type 'uname -r' (no quotes) and press <Enter>. It's likely that you are running a 2.4.x kernel as this is the default for Slackware. If so, you might need to compile a module, which shouldn't be that hard. It may be easier to instead upgrade to a 2.6.x kernel ... your choice.

P.S. yup, that's me I'm here quite often ... whenever I get bored doing homework

Last edited by H_TeXMeX_H; 03-25-2007 at 09:40 PM.
 
Old 03-26-2007, 07:54 AM   #6
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Homework!!!

what are wasting you time doing homework for!!!! dag nab it the linux world needs you! hahaha. That was cool i did the whole uname -r thing and you were right! how did you know i had that version.....your watching me arent you... that's it im closing the blinds and becoming all paranoid like!

Okay i'll look into the kernel upgrade thing, sounds like it could be fun!

If i can make it i can break it! if i can break it then i didnt do a very good job of making it in the 1st place now did i?!!!
 
Old 03-26-2007, 11:20 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
First, go into '/boot' and rename 'vmlinuz' to 'vmlinuz.old', 'System.map' to 'System.map.old' and 'config' to 'config.old' and do the following to '/etc/lilo.conf': (the parts in red are important, the rest is specific to your computer (so /dev/hda1 may not be the same for you ... it may be /dev/hda2 or something else) ... this is so you can boot the old kernel if the new one doesn't work)

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
image = /boot/vmlinuz.old
  root = /dev/hda1
  label = Linux-old
  read-only
# Linux bootable partition config ends
And then download and 'installpkg' as root:
Code:
installpkg kernel-generic-2.6.17.13-i486-1.tgz
and
installpkg kernel-modules-2.6.17.13-i486-1.tgz
from a Slackware mirror ... like here or in 'extra/linux-2.6.17.13' of the install CD2/DVD

Then run '/sbin/lilo' as root (this is VERY IMPORTANT)
 
Old 03-27-2007, 11:30 AM   #8
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
kernel uprade confusion!

Right having done what was suggested and upgraded my kernel from 2.4.XX to 2.6.17.13, i now have a little problem. When i try to install the drivers for my wireless network card (it's ralink rt2561) i cant get any further then untaring it. It tells me that /usr/src/linux-2.6.17.13/build is missing, it's not missing there's a link there but it leads nowhere!! in comparison to the older kernel version theres very little contained here except a folder called kernel and some mod files.

but on the flip side i can use my tv card! hahaha

can anyone help? i know this is a bit vaue but becaus ei dont have the internet now i'm forced to post from a neighbours house about a mile away, which makes reading the error messages on my screen at home a bit difficult....even with binoculars!

thanks a million
 
Old 03-27-2007, 01:55 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well to compile kernel modules you need the kernel source installed, so go back to the above mirror or Slackware install CD2/DVD in 'extra/linux-2.6.17.13' and install this one too:
Code:
installpkg kernel-source-2.6.17.13-noarch-1.tgz
then you should be able to compile it just fine.

Also, if you did what I said, you can still boot with the old kernel and use your network card immediately ... when lilo comes up choose 'Linux-old' instead of 'Linux'.

Last edited by H_TeXMeX_H; 03-27-2007 at 01:59 PM.
 
Old 03-27-2007, 08:48 PM   #10
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Kernel upgrade! as if!!

Okay i am now 100% convinced that upgrading your kernel is both a right royal pain in the a$$ and an absolute waste of time!. i have spent the last 2 days following various peoples instructions, heck i even read the slack bible either way the outcome was the same, an incorrect boot which brought me to the stage of (Please select your keyboard map) or a boot up with no difference at all not even the kernel version. So after alot of swearing and blinding i am finally up and running and back to kernel version 2.4.33.3. but you know what? at least now i can post and i don't have to wait 30 minutes for each page to load.

Wine is SOOOOO not worth it. i have resigned myself to living in the dark ages with my stone age kernel.

Thanks but next time i decide to fry my pc i'm going to do it with 440V telsa coil

don't get me wrong it's not what i was told that set me wrong it was the 1 million ways to do it that confused the living cr@p out of mr.

Later folks!
 
Old 03-27-2007, 10:29 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, if you're gonna follow one way, do it that way, don't mix them. If you mix them it will fail.
 
Old 03-28-2007, 07:47 AM   #12
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
I followed the instructions on the back of the pack!

okay, i've changed my mind about upgrading...AGAIN... now as it stands i have all the files i need to run under 2.6, but i'm currently running under 2.4. i know what i can do to swap to kernel 2.6, but i was wondering if it's possible for me to be givin an option at boot up which will allow me to run the kernel of my choosing?

is it possible?

Last edited by alibar; 03-28-2007 at 11:21 AM.
 
Old 03-28-2007, 03:11 PM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Of course. Lemme try to explain.

You're probably using lilo as a bootloader, unless you changed it, which is unlikely.

So, lilo can let you choose which kernel to boot. lilo reads it's configuration option from a file at '/etc/lilo.conf', but it only does so every time you run '/sbin/lilo'. So, you first need to edit '/etc/lilo.conf' so that lilo knows which kernel you want it to boot, and then you run '/sbin/lilo' to have lilo read the '/etc/lilo.conf' you just edited and make the necessary changes to the system.

So, look at '/etc/lilo.conf' there should be a section similar to this:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
# Linux bootable partition config ends
right ?

Well, copy those 4 lines that don't start with a # and paste them right below 'read-only' to get something like this:

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
# Linux bootable partition config ends
Now there are two entires, and you have to distinguish between them. 'image = /boot/vmlinuz' is the kernel image that gets booted. You're probably already booting a kernel, so for the second entry you want to boot the other kernel. So change '/boot/vmlinuz' to the location of the other kernel. Say it is '/boot/kernel.old', then you do this:

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
image = /boot/vmlinuz.old
  root = /dev/hda1
  label = Linux
  read-only
# Linux bootable partition config ends
Now, you want to change the 'label = Linux' in the second entry so that you can recognize which kernel is which. Say you want to name it 'Linux-old', do this:

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda1
  label = Linux
  read-only
image = /boot/vmlinuz.old
  root = /dev/hda1
  label = Linux-old
  read-only
# Linux bootable partition config ends
Now, with every kernel comes a 'System.map', which I'm pretty sure the kernel needs in order to boot. The kernel will automatically find it as long as it is located in '/boot' and it is named properly. For your other kernel, you want to name 'System.map' with the same postfix as the 'vmlinuz'. In this case it is '.old', so rename 'System.map' to 'System.map.old' for that kernel and make sure it is located in '/boot' so it is '/boot/System.map.old'. This same theory goes for 'config', except it's not as important, and it doesn't really matter (at least that's what I've found). Still, it's better to have it in there so title that one 'config.old'.

So with two kernels, if you open a terminal and type this:
Code:
ls /boot
it will give you the contents of '/boot' which should look something like this:
Code:
README.initrd
System.map
System.map-ide-2.4.33.3
System.map.old
boot.0300
boot_message.txt
config
config-ide-2.4.33.3
config.old
diag1.img
map
vmlinuz
vmlinuz-ide-2.4.33.3
vmlinuz.old
One last thing, in 'lilo.conf', 'root = /dev/hda1' indicates the root partition of your hard-drive. This is probably already correct for you, so leave that line alone.

Remember to run '/sbin/lilo' when you are finished editing '/etc/lilo.conf' and moving stuff around it '/boot'. It should be the last thing you do, but it is the most important thing you do.

Last edited by H_TeXMeX_H; 03-28-2007 at 03:15 PM.
 
Old 03-28-2007, 06:30 PM   #14
alibar
Member
 
Registered: Mar 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Woohoo! it works!

Thank you sooo much htexmexh
Hmmm dejavu! did i say that before!?! okay i have dual boot options and wine works and so does my tv card, just one teeny tiny little thing. My internet is gone really slow. Iv'e looked at the drivers for kernel version 2.4.*.* and compared them visually against thos for kernel version 2.6.17.13 and they seem similar. iv'e alos run iwlist scan and hooked up a dead end wirless router by netopia (or as they are now motorola) and it sees them both fine, but when i go online my homepage takes ages to load and so to does every page thereafter. i know my connection is fine because when i boot under my old kernel and open the internet it's WHAM the page is loaded but when i select my new kernel it's really slow! i have a linksys card which uses the ralink chipset driver rt61. i have even tried serial monkeys driver but nothing. Would it have anything to do with my rc.inet1.conf file configuration settings?

this is what they are

## Config information for ra0:
IFNAME[1]="ra0"
IPADDR[1]=""
NETMASK[1]="255.255.255.0"
USE_DHCP[1]="yes"
DHCP_TIMEOUT[1]=20
DHCP_HOSTNAME[1]="eircom2204 0050"
WLAN_ESSID[1]="eircom2204 0050"
WLAN_KEY[1]="XXXXXXXXXXXXXXXXXXXXX"
WLAN_MODE[1]=Managed


as opposed to

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"


minus the ndiswrapper bit, this is pointless because i'm using the linux driver.

has anyone any ideas.........i SOOOOOOOOO swaer i'm not looking at you htexmexh

thanks again though it's nice to know that things do work!
 
Old 03-28-2007, 06:46 PM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
can you post the output of the commands 'lsmod' and '/sbin/lspci'. (run them in a terminal)

EDIT: you can also check out these threads in the meantime:

http://www.linuxquestions.org/questi...=slow+internet
http://www.linuxquestions.org/questi...=slow+internet

Last edited by H_TeXMeX_H; 03-28-2007 at 06:58 PM.
 
  


Reply



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
PHILIPS SAA7130 tuner card in Knoppix? drewbysan Debian 3 06-06-2009 10:18 AM
HELP!! Philips SAA7130 Based TV TUNER in FEDORA CORE 4 ukjairaj Fedora 9 08-07-2007 04:36 PM
problems with sound on AverMedia Studio TV tuner(Philips SAA7130) sensovision Linux - Hardware 1 11-14-2004 04:33 PM
Tv-tuner with PHILIPS SAA7130. How to make it work? buboleck Slackware 4 04-30-2004 03:30 AM
Philips SAA7130 based tv tuner card sound problem? sushant18 Linux - Software 2 04-02-2004 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration