[pvrusb2] Only 6 lines in dmesg for OnAir GT
red1 at linuxstation.net
Sun Feb 28 13:20:30 CST 2010
I tried your suggestions only with Mandriva, not the other four distros. So far I've not been able to load the driver in Mandriva. By the way, it looks like all of Mandriva's kernel drivers/modules exist on the disk only as .gz files.
I looked in some of my log files for any record of the USB stack calling the kernel module. I don't know much about it but it seems like there should be some log that says a certain module has been called and found/not found. Unfortunately I didn't find any such logs, and as this is not my area of expertise I opened a Mandriva bug report about the issue.
I have a working HVR-850 which uses the em28xx kernel module. I was able to replicate the pvrusb2 problem with the HVR-850 just by renaming the em28xx directory where it's .gz drivers are stored. After renaming, connecting the HVR-850 resulted in just a few lines, maybe 6, in dmesg buffer, and no error message.
Mike Isely wrote:
> Did you try what I suggested below?
> On Sun, 28 Feb 2010, Dean wrote:
>> For a while I suspected a bug in Mandriva 2010.0 as the reason that pvrusb2 would not load when I connected my OnAir GT, however today I tested four live CD distros besides my installed Mandriva. These are all recent releases from fall 2009, less than 6 months old. The distros are Fedora, Suse, Kubuntu, Debian.
>> Result was the same with all; when connecting the OnAir GT I got either 2 or 6 lines in dmesg from the USB stack, depending on the distro. After that nothing, pvrusb2 did not load. I also tested each distro with my HVR-850; dmesg showed many more lines including an attempt to load firmware.
>> I still don't have a clue about why none of these live CD distros will load pvrusb2 when I connect the onAir GT.
>> Mike Isely wrote:
>>> On Fri, 26 Feb 2010, Dean wrote:
>>>> I am using Mandriva 2010.0 Linux. When I connect my OnAir GT it makes only 6 lines in dmesg.
>>>> usb 1-3: new high speed USB device using ehci_hcd and address 10
>>>> usb 1-3: New USB device found, idVendor=11ba, idProduct=1101
>>>> usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
>>>> usb 1-3: Product: USB HDTV-GT(1.1)
>>>> usb 1-3: Manufacturer: OnAirSolution
>>>> usb 1-3: configuration #1 chosen from 1 choice
>>>> Why is it not trying to load the firmware? My Hauppauge HVR-850 makes a lot more lines in dmesg, including some lines that show it looking for and loading firmware. Shouldn't this OnAir GT be doing the same?
>>> The firmware isn't being loaded because the driver isn't being loaded.
>>> You should see messages when the driver gets loaded into the kernel and
>>> then various other messages as it goes through its initialization
>>> process. The messages you do have here only come from the USB stack.
>>> There appears to be no attempt to autoload the driver.
>>>> I guess the pvrusb2 driver is included in my kernel, because I found the following file.
>>> Hmm, well it's there in the right spot, but what's with the .gz
>>> extension? Last time I checked, kernel modules have to be uncompressed
>>> in order to be loaded. Try this as root:
>>> cd /lib/modules/18.104.22.168-desktop586-lmnb/kernel/drivers/media/video/pvrusb2
>>> gunzip pvrusb2.ko.gz
>>> depmod -a
>>> Now unplug and re-plug in your tuner. Then do:
>>> lsmod | grep pvrusb2
>>> You should see a line that has "pvrusb2" in it. That's evidence that
>>> (this time) the driver has been loaded. Look at your dmesg output again
>>> and see if you can find messages from the driver this time.
>>>> I have already placed v4l-cx2341x-enc.fw into /lib/firmware/ so it is available whenever the driver wants to load it.
>>> Yes, that's definitely needed as well.
>>> Does anyone know if Mandriva something strange with kernel modules to
>>> save space?
More information about the pvrusb2