Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284358 - media-tv/linuxtv-dvb-firmware-2009.07.06 wrong filename for dibusb dib3000mb firmware
Summary: media-tv/linuxtv-dvb-firmware-2009.07.06 wrong filename for dibusb dib3000mb ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 21:18 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-09-09 21:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linuxtv-dvb-firmware-2009.07.06-r2.ebuild.diff (linuxtv-dvb-firmware-2009.07.06-r2.ebuild.diff,713 bytes, patch)
2009-09-09 21:25 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-09 21:18:43 UTC
Opening a new bug as requested by bug 245813 comment 2

The kernel expects the firmware for dib3000mb based devices to be named dvb-usb-dibusb-5.0.0.11.fw but media-tv/linuxtv-dvb-firmware names it dvb-dibusb-5.0.0.11.fw instead.



Reproducible: Always

Steps to Reproduce:
1. DVB_CARDS="dibusb-usb1" emerge media-tv/linuxtv-dvb-firmware
2. Connect a dib3000mb USB DVB-T device (in my case, Twinhan DTV MagicBox)

Actual Results:  
from dmesg:
---
[ 9573.461425] dvb-usb: found a 'TwinhanDTV USB-Ter USB1.1 / Magic Box I / HAMA USB1.1 DVB-T device' in cold state, will try to load a firmware                                       
[ 9573.461434] usb 1-4.2: firmware: requesting dvb-usb-dibusb-5.0.0.11.fw
[ 9573.489740] dvb-usb: did not find the firmware file. (dvb-usb-dibusb-5.0.0.11.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
[ 9573.489768] dvb_usb_dibusb_mb: probe of 1-4.2:1.0 failed with error -22
---
# qlist linuxtv-dvb-firmware
/lib/firmware/dvb-dibusb-5.0.0.11.fw

Expected Results:  
Name firmware file correctly.

In bug 245813 comment 1 it was claimed that the ebuild to bug 275667 (which was since committed to the tree) fixes this issue, however it contains

use dvb_cards_dibusb-usb1 && mv dvb-usb-dibusb-5.0.0.11.fw dvb-dibusb-5.0.0.11.fw

which introduced this problem in the first place.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-09 21:25:14 UTC
Created attachment 203645 [details, diff]
linuxtv-dvb-firmware-2009.07.06-r2.ebuild.diff

diff to updated ebuild
Comment 2 Daniel Pielmeier gentoo-dev 2009-09-09 21:45:36 UTC
Thanks for the report. I just committed the fix to the linuxtv-dvb-firmware-2009.07.06-r1.ebuild.