[mythtv-users] Problems with armv5tel and hdpvr SOLVED

Devin Heitmueller dheitmueller at kernellabs.com
Fri Sep 3 12:02:26 UTC 2010


On Thu, Sep 2, 2010 at 7:34 PM, MacLaren, James M <maclaren at tulane.edu> wrote:
> I needed to edit hdpvr-video.c to add to add buf->urb->transfer_flags |=
> URB_NO_TRANSFER_DMA_MAP after the call to usb_fill_bulk_urb.  Now I can
> capture just fine.
> I noticed in the linux device driver book that line was added too.
>
> the code block is:
>
>                 usb_fill_bulk_urb(buf->urb, dev->udev,
>                                   usb_rcvbulkpipe(dev->udev,
>
> dev->bulk_in_endpointAddr),
>                                   mem, dev->bulk_in_size,
>                                   hdpvr_read_bulk_callback, buf);
>
>                 buf->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;  //
> added JMM
>                 buf->status = BUFSTAT_AVAILABLE;
>
> HTH others
> James

James,

You should report this to the linux-media mailing list if you want it
fixed upstream.  This is actually a pretty common problem with USB
devices on ARM (I've made the same fix against two other tuners in the
past).

Cheers,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com


More information about the mythtv-users mailing list