LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2006, 12:25 AM   #1
Hackiller
LQ Newbie
 
Registered: Jun 2003
Location: Brazil
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
Unhappy Problems with LG LTT 200 TV Tuner on Slackware...


Hi,

I'm having problems on configuring my LG LTT 200 card on Slackware.
Well, the output of lspci -v command is:

00:0c.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d0)
Subsystem: Philips Semiconductors Unknown device 0000
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at fac00000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

So, I'm trying to use the saa7134 module that should work for this chipset. It's compiled as module in my kernel (2.6.18) and on startup it tries to auto detect, but give me this message:

saa7133[0]: found at 0000:00:0c.0, rev: 208, irq: 10, latency: 64, mmio: 0xfac00000
saa7133[0]: subsystem: 1131:0000, board: UNKNOWN/GENERIC [card=0,autodetected]
saa7133[0]: board init: gpio is 40
i2c_adapter i2c-1: adapter [saa7133[0]] registered
i2c_adapter i2c-1: master_xfer[0] R, addr=0x7a, len=0
i2c_adapter i2c-1: master_xfer[0] R, addr=0x47, len=0
i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
saa7133[0]: Huh, no eeprom present (err=-5)?
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0

I think that the part "Huh, no eeprom present (err=-5)?" is the problem. So I tried to remove and load the module manually with card=x and tuner=x parameters many times, within a script. But no way. It didn't worked too.

By the way, I'm using Slackware 11, with 2.6.18 kernel.

Anyone have an idea of what should I do to get my tv tuner working?

Thanks,

Gilcio
 
Old 10-14-2006, 08:18 PM   #2
petersum
Member
 
Registered: May 2006
Location: Karachi, Pakistan
Posts: 140

Rep: Reputation: 15
I dont know this saa module but I assume it is the same basically as the bttv module.
In the past I could install my Pixelview card with
modprobe bttv card=37 tuner=5 pll=1 radio=0
or put "options bttv card=....etc" in /etc/modules.conf

Now with newer kernels and systems using udev, this doesn't work!

So, I put the options line in a new file named "bttv" in /etc/modprobe.d
No immediate results on rebooting.

Next, I went to the directory containing the actual bttv.ko module. Here, I first tried "insmod bttv card=....." and got an error message.
So I tried "modprobe bttv card=...." again!

Don't ask me how but next time I rebooted, the card was detected correctly. After setting up tvtime, it worked perfectly and continues to work every time.

The dmesg output of that first time had a reference to "insmod" when in the bttv section, so I think the insmod command had the desired effect even though it gave an error. It doesn't come anymore.

This is a bit a black magic which I don't understand, but I hope it will help you.
 
Old 10-15-2006, 11:35 AM   #3
Hackiller
LQ Newbie
 
Registered: Jun 2003
Location: Brazil
Distribution: Slackware 9
Posts: 24

Original Poster
Rep: Reputation: 15
Hum, thanks for answering!

I've tried almost everything you said, but with the module saa7134 and it continues loading the module but showing no eeprom present. Just reminding, in my case, I load the module successfully with any parameter card=X and tuner=X but with any one I always get that "no eeprom present" message, that I think I shouldn't get it.

I think that the bttv module is easer configuring. At least, it's very more documented on web than the saa7134 module.

Thanks anyway! Any other suggests will be very welcome.
 
Old 10-15-2006, 08:30 PM   #4
petersum
Member
 
Registered: May 2006
Location: Karachi, Pakistan
Posts: 140

Rep: Reputation: 15
I get the same message about an Eeprom, but since my card doesn't have one anyway, it is safe to ignore it. The card works anyway! You will also see lots of messages about looking for various sound chips - again, ignore them!
The main thing is that the card is detected - it will actually be named in the dmesg blurb.
 
Old 10-16-2006, 01:53 PM   #5
petersum
Member
 
Registered: May 2006
Location: Karachi, Pakistan
Posts: 140

Rep: Reputation: 15
OK, I've done some more research and testing.

Make a new file in /etc/modprobe.d/ called whatever-you-like and enter the
options saa7134 card=xx .....
as a single line.

Then, in /etc/modprobe.conf
add the line
include /etc/modprobe.d/<your filename>

That's it! Next reboot should get it working.

Here is part of my /var/log/messages showing how the card and even the tuner is actually identified.

Oct 16 20:02:56 (none) logger: /etc/rc.d/rc.hotplug start (entering script)
Oct 16 20:02:57 (none) kernel: Linux video capture interface: v1.00
Oct 16 20:02:58 (none) kernel: bttv: driver version 0.9.16 loaded
Oct 16 20:02:58 (none) kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Oct 16 20:02:58 (none) kernel: bttv: Bt8xx card found (0).
Oct 16 20:02:58 (none) kernel: PCI: Found IRQ 11 for device 0000:00:08.0
Oct 16 20:02:58 (none) kernel: PCI: Sharing IRQ 11 with 0000:00:08.1
Oct 16 20:02:58 (none) kernel: bttv0: Bt878 (rev 17) at 0000:00:08.0, irq: 11, latency: 32, mmio: 0xe7000000
Oct 16 20:02:58 (none) kernel: bttv0: using: Prolink PixelView PlayTV pro [card=37,insmod option]
Oct 16 20:02:58 (none) kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 16 20:02:58 (none) kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 16 20:02:58 (none) kernel: bttv0: i2c: checking for TDA9887 @ 0x86... not found
Oct 16 20:02:58 (none) kernel: tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
Oct 16 20:02:58 (none) kernel: tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
Oct 16 20:02:58 (none) kernel: bttv0: registered device video0
Oct 16 20:02:58 (none) kernel: bttv0: registered device vbi0
Oct 16 20:02:58 (none) kernel: bttv0: PLL: 28636363 => 35468950 .. ok
Oct 16 20:02:58 (none) kernel: bt878: AUDIO driver version 0.0.0 loaded
Oct 16 20:02:58 (none) kernel: bt878: Bt878 AUDIO function found (0).
Oct 16 20:02:58 (none) kernel: PCI: Found IRQ 11 for device 0000:00:08.1
Oct 16 20:02:58 (none) kernel: PCI: Sharing IRQ 11 with 0000:00:08.0
Oct 16 20:02:58 (none) kernel: bt878(0): Bt878 (rev 17) at 00:08.1, irq: 11, latency: 32, memory: 0xe7001000
 
Old 10-17-2006, 06:54 PM   #6
Hackiller
LQ Newbie
 
Registered: Jun 2003
Location: Brazil
Distribution: Slackware 9
Posts: 24

Original Poster
Rep: Reputation: 15
Well, I tried everything you said but it continues not working. Even if I specify an card=XX, for example, I can't watch any channel with any software.
I think the problem is about the module in somewhere, because everyone's comment that I see on the web that has that module working, has an output with some different eeprom messages. But I understand that that eeprom message might be appearing because it isn't detecting my eeprom or maybe my card doesn't have an eeprom.
When I choose a card on the mudule's parameter, I get something like this:

Oct 17 20:49:37 hackiller kernel: saa7130/34: v4l2 driver version 0.2.14 loaded
Oct 17 20:49:37 hackiller kernel: saa7133[0]: found at 0000:00:0c.0, rev: 208, irq: 10, latency: 64, mmio: 0xfac00000
Oct 17 20:49:37 hackiller kernel: saa7133[0]: subsystem: 1131:0000, board: Pinnacle PCTV 40i/50i/110i (saa7133) [card=77,insmod option]
Oct 17 20:49:37 hackiller kernel: saa7133[0]: board init: gpio is 4a60e40
Oct 17 20:49:37 hackiller kernel: tuner 1-004b: chip found @ 0x96 (saa7133[0])
Oct 17 20:49:37 hackiller kernel: tuner 1-004b: setting tuner address to 61
Oct 17 20:49:37 hackiller kernel: tuner 1-004b: type set to tda8290+75a
Oct 17 20:49:37 hackiller kernel: saa7133[0]: Huh, no eeprom present (err=-5)?
Oct 17 20:49:39 hackiller kernel: saa7133[0]: registered device video0 [v4l2]
Oct 17 20:49:39 hackiller kernel: saa7133[0]: registered device vbi0
Oct 17 20:49:39 hackiller kernel: saa7133[0]: registered device radio0

But like I said, it doesn't work!

Here is some information from 'lspci -v' output:

00:0c.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d0)
Subsystem: Philips Semiconductors Unknown device 0000
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at fac00000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2

Any other ideia?

Thanks
 
  


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
Slackware 10.2 + Kernel (generic) 2.6.13 + Tv LG LTT-200 Capture Card Problems SoulSlave Slackware 10 11-27-2005 03:17 PM
D-link 200 rev b1 adn slackware? ARCIS_house Linux - Newbie 5 11-06-2005 09:03 AM
Winfast tv tuner and Slackware an5w3r_ro Linux - Hardware 12 09-23-2005 04:30 AM
How reliable is /proc/stat information vs LTT ? rbarara Linux - Software 0 11-25-2004 09:07 PM
ATI Radeon TV Tuner in Slackware pkdk657 Slackware 27 04-11-2003 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:53 AM.

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