* [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
@ 2008-09-09 21:42 William Austin
2008-09-10 0:55 ` Michael Krufky
0 siblings, 1 reply; 7+ messages in thread
From: William Austin @ 2008-09-09 21:42 UTC (permalink / raw)
To: linux-dvb
[-- Attachment #1.1: Type: text/plain, Size: 1505 bytes --]
I have a Hauppauge WinTV HVR-1950 USB box on a box running Ubuntu Intrepid. Although I should expect problems from a testing distro, I've tried getting this box working on stable, Live-CD versions of Ubuntu, Open Suse, and Mandriva as well (because they were what I had around the house.)
First, there is a kernel problem in Ubuntu Intrepid where, if the 1950 is plugged into USB, the system will hang on boot. Yet, if I boot without it and plug it in after boot, the drivers (pvrusb2 et al) seem to load, but no device nodes are created. I have downloaded the firmware, renamed it properly, and placed it in /lib/firmware. So I'm at a loss on how to troubleshoot. Here's the relevant information on plug-in the box in after the system has been booted.
dmesg says:
usbcore: registered new interface driver pvrusb2
pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
pvrusb2: Debug mask is 31 (0x1f)
lsmod (edit):
usbcore
pvrusb2
i2c_core
v4l2_common
tveeprom
dvb_core
cx2341x
videodev
v4l1_compat
/proc/devices lists DVB as a character device.
Now, I'm assuming I'm missing some chip drivers. I think I should have at least three, if memory serves, but only cx2341x is loading on plug-in. Unfortunately (and I assume this is another Ubuntu problem) I can't unload pvrusb2 once loaded. It hangs the terminal. It makes playing around with it a tedious endeavor.
If anyone has had the same problems or could give some advice, I appreciate it in advance.
Will
[-- Attachment #1.2: Type: text/html, Size: 1817 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
2008-09-09 21:42 [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid William Austin
@ 2008-09-10 0:55 ` Michael Krufky
2008-09-10 1:42 ` Michael Krufky
0 siblings, 1 reply; 7+ messages in thread
From: Michael Krufky @ 2008-09-10 0:55 UTC (permalink / raw)
To: William Austin; +Cc: linux-dvb
William Austin wrote:
> I have a Hauppauge WinTV HVR-1950 USB box on a box running Ubuntu Intrepid. Although I should expect problems from a testing distro, I've tried getting this box working on stable, Live-CD versions of Ubuntu, Open Suse, and Mandriva as well (because they were what I had around the house.)
>
> First, there is a kernel problem in Ubuntu Intrepid where, if the 1950 is plugged into USB, the system will hang on boot. Yet, if I boot without it and plug it in after boot, the drivers (pvrusb2 et al) seem to load, but no device nodes are created. I have downloaded the firmware, renamed it properly, and placed it in /lib/firmware. So I'm at a loss on how to troubleshoot. Here's the relevant information on plug-in the box in after the system has been booted.
What firmware did you " download and rename " ??
Where did you get " v4l-pvrusb2-73xxx-01.fw " ?? or did you forget it?
>
> dmesg says:
> usbcore: registered new interface driver pvrusb2
> pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
> pvrusb2: Debug mask is 31 (0x1f)
Those lines will show up is you simply "modprobe pvrusb2" even if the device is not present. What comes next? It should download firmware, disconnect & reconnect USB automatically, then continue on with driver initialization.
>
> lsmod (edit):
> usbcore
> pvrusb2
> i2c_core
> v4l2_common
> tveeprom
> dvb_core
> cx2341x
> videodev
> v4l1_compat
lsmod doesnt tell us anything. You can load all those modules by hand, and it says nothing about the device that you have plugged in.
> /proc/devices lists DVB as a character device.
>
> Now, I'm assuming I'm missing some chip drivers. I think I should have at least three, if memory serves, but only cx2341x is loading on plug-in. Unfortunately (and I assume this is another Ubuntu problem) I can't unload pvrusb2 once loaded. It hangs the terminal. It makes playing around with it a tedious endeavor.
>
> If anyone has had the same problems or could give some advice, I appreciate it in advance.
I think you're best off taking a look at the pvrusb2 home page and reading the information there. If you are still having trouble, then please just paste your full dmesg into an email so that we can have a better idea of what's wrong.
Good Luck,
Mike
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
2008-09-10 0:55 ` Michael Krufky
@ 2008-09-10 1:42 ` Michael Krufky
0 siblings, 0 replies; 7+ messages in thread
From: Michael Krufky @ 2008-09-10 1:42 UTC (permalink / raw)
To: William Austin; +Cc: linux-dvb
Michael Krufky wrote:
> William Austin wrote:
>> I have a Hauppauge WinTV HVR-1950 USB box on a box running Ubuntu Intrepid. Although I should expect problems from a testing distro, I've tried getting this box working on stable, Live-CD versions of Ubuntu, Open Suse, and Mandriva as well (because they were what I had around the house.)
>>
>> First, there is a kernel problem in Ubuntu Intrepid where, if the 1950 is plugged into USB, the system will hang on boot. Yet, if I boot without it and plug it in after boot, the drivers (pvrusb2 et al) seem to load, but no device nodes are created. I have downloaded the firmware, renamed it properly, and placed it in /lib/firmware. So I'm at a loss on how to troubleshoot. Here's the relevant information on plug-in the box in after the system has been booted.
>
> What firmware did you " download and rename " ??
>
> Where did you get " v4l-pvrusb2-73xxx-01.fw " ?? or did you forget it?
>
>
>> dmesg says:
>> usbcore: registered new interface driver pvrusb2
>> pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
>> pvrusb2: Debug mask is 31 (0x1f)
>
>
> Those lines will show up is you simply "modprobe pvrusb2" even if the device is not present. What comes next? It should download firmware, disconnect & reconnect USB automatically, then continue on with driver initialization.
>
>
>> lsmod (edit):
>> usbcore
>> pvrusb2
>> i2c_core
>> v4l2_common
>> tveeprom
>> dvb_core
>> cx2341x
>> videodev
>> v4l1_compat
>
>
> lsmod doesnt tell us anything. You can load all those modules by hand, and it says nothing about the device that you have plugged in.
>
>> /proc/devices lists DVB as a character device.
>>
>> Now, I'm assuming I'm missing some chip drivers. I think I should have at least three, if memory serves, but only cx2341x is loading on plug-in. Unfortunately (and I assume this is another Ubuntu problem) I can't unload pvrusb2 once loaded. It hangs the terminal. It makes playing around with it a tedious endeavor.
>>
>> If anyone has had the same problems or could give some advice, I appreciate it in advance.
>
> I think you're best off taking a look at the pvrusb2 home page and reading the information there. If you are still having trouble, then please just paste your full dmesg into an email so that we can have a better idea of what's wrong.
William,
I'm sorry -- I forgot to include the link to the pvrusb2 web page:
http://www.isely.net/pvrusb2
Also, I think I may have been unclear in my previous email. Basically, the information that you've shown us is not enough to indicate any problem, nor is it enough to indicate success.
The most common and likely reason that it might not be working is for lack of the "v4l-pvrusb2-73xxx-01.fw" firmware, but that is only a guess based on the incomplete information.
If you still cant it working, please show us a full dmesg dump.
I hope this helps...
-Mike
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
@ 2008-09-10 1:52 William Austin
2008-09-10 2:00 ` Michael Krufky
2008-09-10 2:11 ` Mike Isely
0 siblings, 2 replies; 7+ messages in thread
From: William Austin @ 2008-09-10 1:52 UTC (permalink / raw)
To: Michael Krufky; +Cc: linux-dvb
William Austin wrote:
>> I have a Hauppauge WinTV HVR-1950 USB box on a box running Ubuntu Intrepid. Although I should expect problems from a testing distro, I've tried getting this box working on stable, Live-CD versions of Ubuntu, Open Suse, and Mandriva as well (because they were what I had around the house.)
>>
>>First, there is a kernel problem in Ubuntu Intrepid where, if the 1950 is plugged into USB, the system will hang on boot. Yet, if I boot without it and plug it in after boot, the drivers (pvrusb2 et al) seem to load, but no device nodes are created. I have downloaded the firmware, renamed it properly, and placed it in /lib/firmware. So I'm at a loss on how to troubleshoot. Here's the relevant information on plug-in the box in after the system has been booted.
>What firmware did you " download and rename " ??
I tried both the version on Stephen Toth's site and the version that came with my windows driver CD (4.5a). The firmware was extracted with Mike Isely's perl script and renamed according to information on his website. There were three files total.
>Where did you get " v4l-pvrusb2-73xxx-01.fw " ?? or did you forget it?
See above.
>> dmesg says:
>> usbcore: registered new interface driver pvrusb2
>> pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
>> pvrusb2: Debug mask is 31 (0x1f)
>Those lines will show up is you simply "modprobe pvrusb2" even if the device is not present. What comes next? It should download firmware, >disconnect & reconnect USB automatically, then continue on with driver initialization.
That was the end of my dmesg as far as the dvb stuff is concerned. There were a few more lines dealing with my wireless adapter, but I didn't think it relevant. I did not modprobe pvrusb2. Those lines were the result of just plugging the device in.
>> lsmod (edit):
>> usbcore
>> pvrusb2
>> i2c_core
>> v4l2_common
>> tveeprom
>> dvb_core
>> cx2341x
>> videodev
>> v4l1_compat
>lsmod doesnt tell us anything. You can load all those modules by hand, and it says nothing about the device that you have plugged in.
But I didn't load them by hand. Just trying to help people help me.
>> /proc/devices lists DVB as a character device.
>>
>> Now, I'm assuming I'm missing some chip drivers. I think I should have at least three, if memory serves, but only cx2341x is loading on plug-in. Unfortunately (and I assume this is another Ubuntu problem) I can't unload pvrusb2 once loaded. It hangs the terminal. It makes playing around with it a tedious endeavor.
>>
>> If anyone has had the same problems or could give some advice, I appreciate it in advance.
>I think you're best off taking a look at the pvrusb2 home page and reading the information there. If you are still having trouble, then please just paste your full dmesg into an email so that we can have a better idea of what's wrong.
>Good Luck,
>Mike
If I hadn't already checked out the pvrusb2 home page and read the information there, I wouldn't be feeling patronised on a mailing list asking for help. But then, I understand requests like this can get tedious, so no worries.
I just rebooted with the device unplugged. Here is the end of my dmesg (the changes after I plugged in the HVR-1950):
[ 5115.393036] usb 2-2: new high speed USB device using ehci_hcd and address 12
[ 5115.529015] usb 2-2: configuration #1 chosen from 1 choice
[ 5115.616658] Linux video capture interface: v2.00
[ 5115.672945] usbcore: registered new interface driver pvrusb2
[ 5115.674849] pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
[ 5115.674857] pvrusb2: Debug mask is 31 (0x1f)
[ 5116.673636] firmware: requesting v4l-pvrusb2-73xxx-01.fw
[ 5116.697396] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
[ 5116.861037] usb 2-2: USB disconnect, address 12
[ 5116.862449] pvrusb2: Device being rendered inoperable
[ 5118.488036] usb 2-2: new high speed USB device using ehci_hcd and address 13
[ 5118.625005] usb 2-2: configuration #1 chosen from 1 choice
Now, for the first time (and it'd have to be after I've already written to the list asking about it) it seems to load the firmware correctly; however, I'm still without a device node for it.
Will
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
2008-09-10 1:52 William Austin
@ 2008-09-10 2:00 ` Michael Krufky
2008-09-10 2:11 ` Mike Isely
1 sibling, 0 replies; 7+ messages in thread
From: Michael Krufky @ 2008-09-10 2:00 UTC (permalink / raw)
To: William Austin; +Cc: linux-dvb
William,
On Tue, Sep 9, 2008 at 9:52 PM, William Austin <bsdskin@yahoo.com> wrote:
[snip]
> If I hadn't already checked out the pvrusb2 home page and read the information there, I wouldn't be feeling patronised on a mailing list asking for help. But then, I understand requests like this can get tedious, so no worries.
Sorry about that... I couldn't know for sure whether you had seen that
website or not.
> I just rebooted with the device unplugged. Here is the end of my dmesg (the changes after I plugged in the HVR-1950):
> [ 5115.393036] usb 2-2: new high speed USB device using ehci_hcd and address 12
> [ 5115.529015] usb 2-2: configuration #1 chosen from 1 choice
> [ 5115.616658] Linux video capture interface: v2.00
> [ 5115.672945] usbcore: registered new interface driver pvrusb2
> [ 5115.674849] pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
> [ 5115.674857] pvrusb2: Debug mask is 31 (0x1f)
> [ 5116.673636] firmware: requesting v4l-pvrusb2-73xxx-01.fw
> [ 5116.697396] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
> [ 5116.861037] usb 2-2: USB disconnect, address 12
> [ 5116.862449] pvrusb2: Device being rendered inoperable
> [ 5118.488036] usb 2-2: new high speed USB device using ehci_hcd and address 13
> [ 5118.625005] usb 2-2: configuration #1 chosen from 1 choice
>
> Now, for the first time (and it'd have to be after I've already written to the list asking about it) it seems to load the firmware correctly; however, I'm still without a device node for it.
Now this is interesting. Can you show me what lsusb looks like after the above?
Something indeed looks wrong.
Also -- just to confirm -- I am assuming that you are using the stock
intrepid 2.6.27-2 kernel? Please show me the output from 'uname -r'
-Mike
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
2008-09-10 1:52 William Austin
2008-09-10 2:00 ` Michael Krufky
@ 2008-09-10 2:11 ` Mike Isely
1 sibling, 0 replies; 7+ messages in thread
From: Mike Isely @ 2008-09-10 2:11 UTC (permalink / raw)
To: William Austin; +Cc: linux-dvb, Michael Krufky
On Tue, 9 Sep 2008, William Austin wrote:
>
> If I hadn't already checked out the pvrusb2 home page and read the information there, I wouldn't be feeling patronised on a mailing list asking for help. But then, I understand requests like this can get tedious, so no worries.
>
> I just rebooted with the device unplugged. Here is the end of my dmesg (the changes after I plugged in the HVR-1950):
> [ 5115.393036] usb 2-2: new high speed USB device using ehci_hcd and address 12
> [ 5115.529015] usb 2-2: configuration #1 chosen from 1 choice
> [ 5115.616658] Linux video capture interface: v2.00
> [ 5115.672945] usbcore: registered new interface driver pvrusb2
> [ 5115.674849] pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
> [ 5115.674857] pvrusb2: Debug mask is 31 (0x1f)
> [ 5116.673636] firmware: requesting v4l-pvrusb2-73xxx-01.fw
> [ 5116.697396] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
> [ 5116.861037] usb 2-2: USB disconnect, address 12
> [ 5116.862449] pvrusb2: Device being rendered inoperable
> [ 5118.488036] usb 2-2: new high speed USB device using ehci_hcd and address 13
> [ 5118.625005] usb 2-2: configuration #1 chosen from 1 choice
>
These same symptoms came across the pvrusb2 mailing list recently. A
couple things (unfortunately not very helpful)...
First, missing firmware should NEVER cause the driver to get stuck.
Even if the FX2 firmware is missing it should still be possible to
remove the kernel module. You're saying that isn't working, which is a
serious problem. But right now I have nothing to go on. This could be
a real bug. But it'd be nice to reproduce the problem using a vanilla
kernel from kernel.org.
Second, from the messages above, the point where things are getting
stuck is very, very early in initialization. The HVR-1950 (and similar
devices) actually have to appear "twice" before each will work. The
first time the driver is supposed to load the FX2 microcontroller's
firmware and reset the device. As part of that reset process, the
hardware will logically disconnect from the USB cable and then
reconnect. It's just like unplugging then re-plugging the device back
into the USB port. Except on this reconnect, the driver (pvrusb2 in
this case) must "figure out" that the FX2 firmware has already been
loaded - and take a different course of action. In the case of the
pvrusb2 driver, a test is performed to figure out if the firmware is
present and if the test passes then the driver continues normal
initialization and eventually you get stuff appearing in /dev.
But what you have showing above is running aground on that reconnect.
The hardware connects up, the driver sends the FX2 firmware, a reset
takes place, the device reappears, BUT the USB core never reassociates
the hardware with the pvrusb2 driver. The pvrusb2 driver hasn't even
started to run that second time yet so there's nothing in the driver
itself (e.g. the "test") that could have gone wrong. Thus the
initialization process gets stuck.
Bad FX2 firmware *could* do that (e.g. FX2 processor resets and crashes
after being loaded), however the extraction process simply won't let you
extract incorrect firmware and I think you said you tried downloaded FX2
firmware as well. In fact, in all the work I've done on the pvrusb2
driver, I've *never* actually had a case of bad FX2 firmware. Ever.
That makes me wonder if instead something with that kernel is causing
the FX2 firmware to be corrupted during the download process. But if
that were the case pretty much anything in your system requiring a
firmware download would probably be messed up (it's all common code
elsewhere in the kernel). So far the only reports I've heard of this
have involved Ubuntu's build of the 2.6.27 kernel - which itself is not
considered release-stable yet. Makes me wonder...
Well I said it wouldn't be very helpful. But that's where my line of
thinking is right now.
-Mike
--
Mike Isely
isely @ pobox (dot) com
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid
@ 2008-09-14 2:43 William Austin
0 siblings, 0 replies; 7+ messages in thread
From: William Austin @ 2008-09-14 2:43 UTC (permalink / raw)
To: linux-dvb
Thanks to both the Michaels for your help. My problem was an Ubuntu kernel problem. I tried using an older kernel and had no problems booting, having the modules and firmware loaded, and having apps see the tuner. I'm going to have to do some more reading on how to configure applications to make use of it, but thanks for taking time.
Will
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-09-14 2:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-09 21:42 [linux-dvb] Hauppauge HVR-1950 with Ubuntu Intrepid William Austin
2008-09-10 0:55 ` Michael Krufky
2008-09-10 1:42 ` Michael Krufky
-- strict thread matches above, loose matches on Subject: below --
2008-09-10 1:52 William Austin
2008-09-10 2:00 ` Michael Krufky
2008-09-10 2:11 ` Mike Isely
2008-09-14 2:43 William Austin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox