LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-28-2009, 11:37 PM   #1
jaikat
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
detecting built-in irda receiver in analog tuner using saa7130/4 chip


hello everyone

i bought a "epro" analog tv tuner card with fm a few days ago which works just fine, the card was autodetected as "sabrent sbttvfm" with a saa7130/4 philips semiconducter. i check and turns out the autodetection was correct.

yet my problem lies with the irda receiver supplied with the card, which connects to the cards rear end, through a 2.5 mm jack.

i know for a fact that activating the irda port in the card must come through detection of an "event" in /proc/bus/input/devices which the system recognized, and here is mine:

=============
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0003 Vendor=045e Product=0752 Version=0111
N: Name="Microsoft Wired Keyboard 400"
P: Phys=usb-0000:00:13.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:13.0/usb1/1-2/1-2:1.0/input/input2
U: Uniq=
H: Handlers=kbd event1
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input3
U: Uniq=
H: Handlers=kbd event2
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input4
U: Uniq=
H: Handlers=mouse1 event3
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0019 Vendor=0000 Product=0002 Version=0000
N: Name="Power Button (FF)"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/virtual/input/input5
U: Uniq=
H: Handlers=kbd event4
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button (CM)"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=kbd event5
B: EV=3
B: KEY=100000 0 0 0
================

as you can see, there's nothing indicating detection of the irda receiver port...

after spending a few days probing the internet i realized that the problem lies in the driver used to detect the card. the driver "is" the one meant for this card, but it doesn't provide support for the card's irda input.. there's even some guy who wrote a patch for the driver in order to add support for the card's irda input port, but its too old (2005 maybe)..

i searched this and other forums, blogs, howtos, tutorials, reviews..etc.. but to no avail..

i really much appreciate it if someone could be of help here..

MJ
 
Old 09-29-2009, 10:16 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
http://www.linuxtv.org/wiki/index.php/Sabrent_SBT-TVFM

Based on what I see on the link I gave here, which is a Linuxtv.org Wiki page last edited May 6 2009, your card works with whatever the latest version of v4l-dvb was at that time.
This wiki page gives some instructions for making the necessary configuration file(s) on your system, in /etc/modprobe.d, and also gives a link to the v4l-dvb repository ( http://www.linuxtv.org/repo/ ) where you would find the latest v4l-dvb package or source-code you would need, if you do not have it already, as well as some instructions on building the kernel module(s) required to use your card.

The page does NOT mention the irda receiver specifically, however, since you mention a patch created a few years ago, and based on some of the mailing-list messages I read about while searching for info about your card, I am going to *guess* that the irda stuff has since been implemented into the v4l-dvb software (just a guess though! I don't have one of those, so I'm just going on what I read there).

You did not mention which linux you are using, but I think it's Ubuntu. Also, I don't know what kernel version your Ubuntu has, so I can't speculate on exactly what procedure you may need to do in order to get the latest v4l-dvb package onto your OS. But, Ubuntu has a package manager which you may need to use to install some stuff, like for example, you may need to install stuff you need to build (compile) the v4l kernel module(s). Your Ubuntu repo may even have a version of v4l-dvb that is suitable, but not being an Ubuntu user, I can't speculate on exactly what the repo offers.

Anyhow, check out those links and let us know what you figure out, and/or if you need further help, and we'll try our best.

Kind regards,
Sasha
 
  


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
How can I have my universal remote control to work with my irda receiver HGeneAnthony Linux - General 3 02-03-2008 09:10 PM
Philips SAA7130 tuner card alibar Slackware 35 04-02-2007 01:24 PM
saa7130 based TV-Tuner driver soup21 Linux - Hardware 1 12-08-2005 05:16 PM
Cable decryptor for saa7130 chip? PSHLOS_007 Linux - Software 0 03-25-2005 05:09 PM
TV with saa7130 chip on slackware PSHLOS_007 Slackware 7 03-09-2005 12:49 PM

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

All times are GMT -5. The time now is 08:28 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