gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-18


From: Pawel Kot
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-187-gcec5388
Date: Fri, 18 Feb 2011 20:04:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  cec5388bf4e339284028315fd8286bfd424e0747 (commit)
      from  66da724e8cf001894bb118d81bb46f569984bd36 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=cec5388bf4e339284028315fd8286bfd424e0747


commit cec5388bf4e339284028315fd8286bfd424e0747
Author: Pawel Kot <address@hidden>
Date:   Fri Feb 18 21:02:31 2011 +0100

    Provide full explanation on the fbus-phonet buffer.

diff --git a/common/links/fbus-phonet.c b/common/links/fbus-phonet.c
index 80b07ec..38f8f57 100644
--- a/common/links/fbus-phonet.c
+++ b/common/links/fbus-phonet.c
@@ -228,8 +228,67 @@ static gn_error phonet_loop(struct timeval *timeout, 
struct gn_statemachine *sta
 {
        gn_error        error = GN_ERR_INTERNALERROR;
        /*
-         IMPORTANT: size of this buffer must be a multiple of 64 for USB 
compatibility
-         See http://libusb.sourceforge.net/api-1.0/packetoverflow.html
+        * IMPORTANT: size of this buffer must be a multiple of packet size for 
USB compatibility.
+        * See http://libusb.sourceforge.net/api-1.0/packetoverflow.html
+        * Packet size can be found in the lsusb output for the proper 
endpoint. In case of the
+        * overruns validate this information.
+           Interface Descriptor:
+             bLength                 9
+             bDescriptorType         4
+             bInterfaceNumber       11
+             bAlternateSetting       0
+             bNumEndpoints           0
+             bInterfaceClass         2 Communications
+             bInterfaceSubClass    254 
+             bInterfaceProtocol      0 
+             iInterface              0 
+             CDC Header:
+               bcdCDC               1.10
+             UNRECOGNIZED CDC:  05 24 ab 05 5c
+             CDC Union:
+               bMasterInterface        11
+               bSlaveInterface         12 
+           Interface Descriptor:
+             bLength                 9
+             bDescriptorType         4
+             bInterfaceNumber       12
+             bAlternateSetting       0
+             bNumEndpoints           0
+             bInterfaceClass        10 CDC Data
+             bInterfaceSubClass      0 Unused
+             bInterfaceProtocol      0 
+             iInterface              0 
+           Interface Descriptor:
+             bLength                 9
+             bDescriptorType         4
+             bInterfaceNumber       12
+             bAlternateSetting       1
+             bNumEndpoints           2
+             bInterfaceClass        10 CDC Data
+             bInterfaceSubClass      0 Unused
+             bInterfaceProtocol      0 
+             iInterface              0 
+             ** UNRECOGNIZED:  04 24 fd 01
+             Endpoint Descriptor:
+               bLength                 7
+               bDescriptorType         5
+               bEndpointAddress     0x88  EP 8 IN
+               bmAttributes            2
+                 Transfer Type            Bulk
+                 Synch Type               None
+                 Usage Type               Data
+               wMaxPacketSize     0x0040  1x 64 bytes          <==
+               bInterval               0
+             Endpoint Descriptor:
+               bLength                 7
+               bDescriptorType         5
+               bEndpointAddress     0x08  EP 8 OUT
+               bmAttributes            2
+                 Transfer Type            Bulk
+                 Synch Type               None
+                 Usage Type               Data
+               wMaxPacketSize     0x0040  1x 64 bytes          <==
+               bInterval               0
        */
        unsigned char   buffer[BUFFER_SIZE];
        int             count, res;

-----------------------------------------------------------------------

Summary of changes:
 common/links/fbus-phonet.c |   63 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 61 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]