[pvrusb2] xawtv fix

Jeff Sadowski jeff_sadowski at yahoo.com
Wed Apr 12 14:29:14 CDT 2006


changing the 2 to a 1 made it work for me :-D I was watching tv in my car last night :-D now I just need a better antena :-?

Mike Isely <isely at isely.net> wrote: On Wed, 12 Apr 2006, Andreas Beck wrote:

> It does for me. I changed
>
> ret |= pvr2_write_encoder_vcmd(hdw, CX2341X_ENC_SET_OUTPUT_PORT, 2,
>         0x01, 0x02);
>
> to
>
> ret |= pvr2_write_encoder_vcmd(hdw, CX2341X_ENC_SET_OUTPUT_PORT, 2,
>         0x01, 0x00);
>
> around line 296 of driver/pvrusb2-encoder.c
>
> and it still works.
>
> I don't know, if this is the change, but that is what I figured from
> your post.

That's exactly what I was looking for!  Excellent.


>
> I have not checked, however, if it would now work with an unpatched
> xawtv.

Please try this with an unpatched xawtv.  This is significant.


>
>
> Moreover, I can confirm audio working for me now, when using the TV
> tuner.
>
> However, it still does not work, if I use the composite inputs.

Ah, I must have missed that before.  For the composite audio input, the 
audio pathway travels through the wm8775 chip on the device (before 
reaching the cx25840), and that part is not used when using the tuner. 
The wm8775 is an analog->digital converter for the external analog inputs 
(when using the tuner, then cx25840 handles that job directly).  So the 
problem is clearly with wm8775.  Check that wm8775.ko is in your kernel 
and that it is attaching to the driver (cat 
/sys/class/pvrusb2/sn-XXXXXX/debuginfo to see the list of attached 
modules).  There is a special step you have to take right now to get 
wm8775 to attach, because right now the chip isn't being detected 
correctly.  Reload wm8775.ko with the option "force=-1,27".  That will 
bypass the detection.

If that doesn't help, then there's another possible cause (recent API 
change in wm8775 sources) but before we go there, let's see if the above 
fixes it.

For others jumping into the middle of this thread, this issue is only 
relevant to the new model 24xxx hardware.  With the older 29xxx devices 
audio is handled differently (msp3400 in that case).

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |
_______________________________________________
pvrusb2 mailing list
pvrusb2 at isely.net
http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2


		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.


More information about the pvrusb2 mailing list