Bug 681520 - kernel upgrade broke support for FM tuner in saa7134 due to the lack of V4L1 support on radio
Summary: kernel upgrade broke support for FM tuner in saa7134 due to the lack of V4L1 ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xawtv
Version: 14
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 680813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 13:25 UTC by Mauro Carvalho Chehab
Modified: 2013-07-04 22:58 UTC (History)
10 users (show)

Fixed In Version: xawtv-3.100-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of: 680813
Environment:
Last Closed: 2011-03-10 03:08:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mauro Carvalho Chehab 2011-03-02 13:25:18 UTC
+++ This bug was initially created as a clone of Bug #680813 +++

Description of problem:

The original kernel package in Fedora 14, 2.6.35.10-74, included support for the FM tuner for the Avermedia GO 007 FM card in the saa7134 module that worked fine, as did the kernel package in previous Fedora versions. I followed the recent kernel upgrade to 2.6.35.11-83 and found the FM tuner support no longer working, although the TV tuner continues to run fine. A /dev/radio0 device is still created, and can be opened, but an ioctl call that has worked for years now returns an error code.

Version-Release number of selected component (if applicable):

2.6.35.11-83

How reproducible:

Always

Steps to Reproduce:
1. Upgrade to 2.6.35.11-83
  
Actual results:

struct video_audio audio;
radfd = open("/dev/radio0",O_RDONLY);
status = ioctl(radfd,VIDIOCGAUDIO,&audio);
  returns an error status with the "Invalid argument" error number

Expected results:

Current FM tuner audio state returned in audio structure.

Additional info:

Booting back into 2.6.35.10-74 allows the FM tuner to run as before.

--- Additional comment from jarod on 2011-02-28 18:40:54 EST ---

Mauro, any ideas on this one?

--- Additional comment from jarod on 2011-03-01 15:59:53 EST ---

Can you provide dmesg output after a fresh boot for the non-working kernel? You might also want to try this kernel here:

http://kojipkgs.fedoraproject.org/packages/kernel/2.6.35.11/85.fc14/

It carries a tuner-related fix that *might* be relevant here as well...

--- Additional comment from mchehab on 2011-03-02 07:55:11 EST ---

Jarod,

It is simple: VIDIOCGAUDIO is an old V4L1 call. V4L1 API were removed.

John,

You need to use an application that works with V4L2 API. You can use "radio" application shipped with xawtv. I've ported it recently to work with the new API. I just built a new package for rawhide at:
    http://koji.fedoraproject.org/koji/taskinfo?taskID=2878324

Comment 1 Fedora Update System 2011-03-02 13:27:55 UTC
Package xawtv-3.100-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xawtv-3.100-1.fc14'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/xawtv-3.100-1.fc14
then log in and leave karma (feedback).

Comment 2 Fedora Update System 2011-03-02 14:29:38 UTC
Package xawtv-3.100-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xawtv-3.100-1.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/xawtv-3.100-1.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-03-03 03:20:12 UTC
xawtv-3.100-1.fc15 has been pushed to the Fedora 15 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xawtv'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/xawtv-3.100-1.fc15

Comment 4 Fedora Update System 2011-03-10 03:08:01 UTC
xawtv-3.100-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-03-27 19:28:20 UTC
xawtv-3.100-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.