FS#33535 - Hauppauge PVR-150 missing firmware causes sound to break

Attached to Project: Arch Linux
Opened by Fredrick Brennan (frb) - Wednesday, 23 January 2013, 19:36 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 06 May 2013, 17:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current Arch Linux kernel is missing the IVTV firmwares found here: http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz

This causes the system to not be able to load the ivtv driver, which breaks sound for people with TV tuners!

The "patch" is to download that file and extract its contents to /lib/firmware.

Below is an example log.

Jan 22 19:53:53 desktop kernel: ivtv: Start initialization, version 1.4.3
Jan 22 19:53:53 desktop kernel: ivtv0: Initializing card 0
Jan 22 19:53:53 desktop kernel: ivtv0: Autodetected Hauppauge card (cx23416 based)
Jan 22 19:53:53 desktop kernel: ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card1/in
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input5
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input6
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input7
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card1/in
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card
Jan 22 19:53:53 desktop kernel: input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card1/i
Jan 22 19:53:53 desktop kernel: hda-intel: 0000:01:00.1: Handle VGA-switcheroo audio client
Jan 22 19:53:53 desktop kernel: i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
Jan 22 19:53:53 desktop kernel: snd_hda_intel 0000:01:00.1: irq 53 for MSI/MSI-X
Jan 22 19:53:53 desktop kernel: usb 1-1.6: new high-speed USB device number 6 using ehci_hcd
Jan 22 19:53:53 desktop kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: Hauppauge model 25012, rev C5A3, serial# 10653304
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: TV standards NTSC(M) (eeprom 0x08)
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: audio processor is CX25843 (idx 37)
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: decoder processor is CX25843 (idx 30)
Jan 22 19:53:53 desktop kernel: tveeprom 8-0050: has radio
Jan 22 19:53:53 desktop kernel: ivtv0: Autodetected Hauppauge WinTV PVR-150
Jan 22 19:53:53 desktop kernel: cx25840 8-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
Jan 22 19:53:53 desktop kernel: tda9887 8-0043: creating new instance
Jan 22 19:53:53 desktop kernel: tda9887 8-0043: tda988[5/6/7] found
Jan 22 19:53:53 desktop kernel: tuner 8-0043: Tuner 74 found with type(s) Radio TV.
Jan 22 19:53:53 desktop kernel: tuner 8-0061: Tuner -1 found with type(s) Radio TV.
Jan 22 19:53:53 desktop kernel: wm8775 8-001b: chip found @ 0x36 (ivtv i2c driver #0)
Jan 22 19:53:53 desktop kernel: tuner-simple 8-0061: creating new instance
Jan 22 19:53:53 desktop kernel: tuner-simple 8-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
Jan 22 19:53:53 desktop kernel: ivtv0: Registered device video0 for encoder MPG (4096 kB)
Jan 22 19:53:53 desktop kernel: ivtv0: Registered device video32 for encoder YUV (2048 kB)
Jan 22 19:53:53 desktop kernel: ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
Jan 22 19:53:53 desktop kernel: ivtv0: Registered device video24 for encoder PCM (320 kB)
Jan 22 19:53:53 desktop kernel: ivtv0: Registered device radio0 for encoder radio
Jan 22 19:53:53 desktop kernel: ivtv0: Initialized card: Hauppauge WinTV PVR-150
Jan 22 19:53:53 desktop kernel: ivtv: End initialization
Jan 22 19:53:53 desktop kernel: ivtv-alsa: module loading...
Jan 22 19:53:53 desktop systemd[1]: Starting Printer.
Jan 22 19:53:53 desktop systemd[1]: Reached target Printer.
Jan 22 19:53:53 desktop kernel: usblp 1-1.6:1.0: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F
Jan 22 19:53:53 desktop kernel: usbcore: registered new interface driver usblp
Jan 22 19:53:54 desktop kernel: usb 4-1.1: new full-speed USB device number 3 using ehci_hcd
Jan 22 19:53:54 desktop kernel: usbcore: registered new interface driver usbhid
Jan 22 19:53:54 desktop kernel: usbhid: USB HID core driver
Jan 22 19:53:54 desktop kernel: logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logit
Jan 22 19:53:54 desktop kernel: input: Logitech Unifying Device. Wireless PID:1025 as /devices/pci0000:00/0000:00:1d.
Jan 22 19:53:54 desktop kernel: logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech U
Jan 22 19:53:54 desktop kernel: ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
Jan 22 19:53:54 desktop kernel: ivtv0: Did you put the firmware in the hotplug firmware directory?
Jan 22 19:53:54 desktop kernel: ivtv0: Retry loading firmware
Jan 22 19:53:55 desktop kernel: usb 1-1.5: new full-speed USB device number 7 using ehci_hcd
Jan 22 19:53:55 desktop kernel: input: Unicomp Inc G+SpaceSaver as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-
Jan 22 19:53:55 desktop kernel: hid-generic 0003:17F6:0802.0005: input,hidraw2: USB HID v1.11 Keyboard [Unicomp Inc G
Jan 22 19:53:55 desktop kernel: ivtv0: Unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
Jan 22 19:53:55 desktop kernel: ivtv0: Did you put the firmware in the hotplug firmware directory?
Jan 22 19:53:55 desktop kernel: ivtv0: Failed to initialize on device video32
Jan 22 19:53:55 desktop kernel: ivtv0: Failed to initialize on device vbi0
Jan 22 19:53:55 desktop kernel: ivtv0: Failed to initialize on device video0
Jan 22 19:53:55 desktop kernel: ivtv0: Failed to initialize on device radio0
Jan 22 19:53:55 desktop kernel: ivtv0: Failed to initialize on device video24

When alsa tries to load something weird happens to it because ivtv is not there, and many sound issues emerge. This bug totally kills pulseaudio, which I installed afterwards.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

* Have a Hauppauge PVR-150
* Use Arch and Alsa and kernel Linux desktop 3.7.4-1-ARCH #1 SMP PREEMPT Mon Jan 21 23:05:29 CET 2013 x86_64 GNU/Linux
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 06 May 2013, 17:40 GMT
Reason for closing:  No response
Additional comments about closing:  You can create an AUR package for such firmware, or maybe request to be included in linux-firmware upstream.
Comment by Daniel Wallace (gtmanfred) - Wednesday, 23 January 2013, 19:39 GMT
is this really a bug? or should you just package the firmware in a seperate package and upload it to the aur?
Comment by Fredrick Brennan (frb) - Wednesday, 23 January 2013, 19:40 GMT
Yes, it is a bug. The firmware is very small and should be there so that it can be loaded. It took me quite a while to track this issue down.
Comment by Tobias Powalowski (tpowa) - Wednesday, 23 January 2013, 20:27 GMT
This is definitly a separate package or a case for linux-firmware.
Thomas what do you think?

Loading...