[Ubuntu-BR] Gostaria de saber se existe alguma dependencia para corrigir este monte de erros

Jonh Wendell wendell em ubuntu.com
Terça Março 13 14:32:49 UTC 2007


On Ter, 2007-03-13 at 11:08 -0300, hamacker wrote:
> Pois é, mas a mesma página tem um update dizendo :
> UPDATE
> There is NO NEED to apply the patch, because it is already in Syntek SVN.
> 
> tentei aplicar o patch, mas veja o erro :
> $patch -p0 <syntek.patch
> patching file stk11xx.h
> Hunk #1 succeeded at 34 with fuzz 2 (offset -12 lines).
> patching file stk11xx-usb.c
> Hunk #1 FAILED at 59.
> Hunk #2 FAILED at 593.
> 2 out of 2 hunks FAILED -- saving rejects to file stk11xx-usb.c.rej
> 
> Aparentemente o patch realmente já foi aplicado ao svn.

Cara, você tem a versão 2.6.20 do kernel?

Pois aqui a struct usb_endpoint_descriptor tem sim um membro chamado
wMaxPacketSize.

Veja no arquivo 
/usr/src/linux-headers-2.6.20-10/include/linux/usb_ch9.h :

struct usb_endpoint_descriptor {
        __u8  bLength;
        __u8  bDescriptorType;

        __u8  bEndpointAddress;
        __u8  bmAttributes;
        __le16 wMaxPacketSize;
        __u8  bInterval;

        /* NOTE:  these two are _only_ in audio endpoints. */
        /* use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof. */
        __u8  bRefresh;
        __u8  bSynchAddress;
} __attribute__ ((packed));

T+,
-- 
Jonh Wendell
jonh.wendell em gmail.com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell





More information about the ubuntu-br mailing list