Re: [M560x-driver-devel] How to read the usbsnoop file...

2008-09-03 Thread Erik Andrén
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



~ Lukáš Karas wrote:
|> ... and exploit it... I don't know how to do it.
|>
|> In the m5602_s5k83a.h file there is the init_s5k83a variable, which
|> is used in the s5k83a_init function of the m5602_s5k83a.c file. I
|> suppose, I have to improve the init_s5k83a variable after my
|> usbsnoop. is this right?
|>
|> If it is right, what I can't figure out, is how to understand wheter
|> the usbsnoop block refers to a BRIDGE or to a SENSOR operation
|> (writing). I read the webpages linked to tthis page
|> http://groups.google.com/group/microdia/web/usb-sniffing-on-windows.
|>
|> Http links and guides welcome!
|>
|> Best regards to you all!
|>
|> Gabriele
|
| Hi Gabriele.
|
| I wrote simple howto and put to
| http://www.karry.wz.cz/doc/howreadusbsnoop.html
|

Great writeup, I'll add the link to the wiki.

| I try today write init sequence exactly like usb snoop from windows,
but this dont work for me.
| I dont know what make I incorrectly

That's because we don't do exactly as the windows drivers. Different
Hsync and Vsync values are needed forntime Environment (build 1.6.0_06-b02)
> Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
>Reporter: Stu Hood
> Fix For: 3.0.0
>
> Attachments: stat-callback-test.diff
>
>
> StatCallback appears to be broken in trunk. I'll attach a patch for AsyncTest 
> that triggers the behaviour.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-132) Create Enum to replace CreateFlag in ZooKepper.create method

2008-09-03 Thread Jakob Homan (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Homan updated ZOOKEEPER-132:
--

Attachment: ZOOKEEPER-132.patch

OK, per Ben's request the patch now:
   * Creates an Enum CreateMode that handles all of the possible znode creation 
combinations
   * The enum can be converted to/from an int flag for sending over the wire 
without changing the jute protocol.
   * The enum provides type-safety and clarity for users, and convenience 
methods for once it gets to the server
   * Unit tests for new enum
   * All the other stuff from above.

Again, if this approach looks good, I'll use it for the other constants that 
need replacing.
-jg


> Create Enum to replace CreateFlag in ZooKepper.create method
> 
>
> Key: ZOOKEEPER-132
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-132
> Project: Zookeeper
>  Issue Type: Sub-task
>  Components: java client
>Affects Versions: 3.0.0
>Reporter: Jakob Homan
>Assignee: Jakob Homan
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-132.patch, ZOOKEEPER-132.patch
>
>
> Replace the current named constant integer in the craete method with a 
> typesafe enum value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-134) findbugs cleanup

2008-09-03 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-134:
---

Status: Patch Available  (was: Open)

> findbugs cleanup
> 
>
> Key: ZOOKEEPER-134
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-134
> Project: Zookeeper
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-134.patch
>
>
> cleaned up a number of findbugs warnings, in particular:
> 1) added @overrides appropriately
> 2) import cleanups
> 3) log or document many empty blocks
> 4) resource cleanup (usually by adding finally blocks)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-134) findbugs cleanup

2008-09-03 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-134:
---

Attachment: ZOOKEEPER-134.patch

> findbugs cleanup
> 
>
> Key: ZOOKEEPER-134
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-134
> Project: Zookeeper
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-134.patch
>
>
> cleaned up a number of findbugs warnings, in particular:
> 1) added @overrides appropriately
> 2) import cleanups
> 3) log or document many empty blocks
> 4) resource cleanup (usually by adding finally blocks)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (ZOOKEEPER-134) findbugs cleanup

2008-09-03 Thread Patrick Hunt (JIRA)
findbugs cleanup


 Key: ZOOKEEPER-134
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-134
 Project: Zookeeper
  Issue Type: Improvement
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0
 Attachments: ZOOKEEPER-134.patch

cleaned up a number of findbugs warnings, in particular:

1) added @overrides appropriately
2) import cleanups
3) log or document many empty blocks
4) resource cleanup (usually by adding finally blocks)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-132) Create Enum to replace CreateFlag in ZooKepper.create method

2008-09-03 Thread Benjamin Reed (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Reed updated ZOOKEEPER-132:


Status: Open  (was: Patch Available)

-1 I think the patch is okay except for the protocol change. We would like to 
keep int flags in the protocol, so that we can add new features without doing a 
protocol change. Could you use ordinals for getting the flag value: 
PERSISTENT(0), PERSISTENT_SEQUENTIAL(2),  EPHEMERAL(1), EPHEMERAL_SEQUENTIAL(3)

> Create Enum to replace CreateFlag in ZooKepper.create method
> 
>
> Key: ZOOKEEPER-132
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-132
> Project: Zookeeper
>  Issue Type: Sub-task
>  Components: java client
>Affects Versions: 3.0.0
>Reporter: Jakob Homan
>Assignee: Jakob Homan
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-132.patch
>
>
> Replace the current named constant integer in the craete method with a 
> typesafe enum value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-133) hudson tests failing intermittently

2008-09-03 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-133:
---

Attachment: ZOOKEEPER-133.patch

fixes timing issue with data watch obj test

also adds test which verifies multiple watches on a node work properly


> hudson tests failing intermittently
> ---
>
> Key: ZOOKEEPER-133
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-133
> Project: Zookeeper
>  Issue Type: Bug
>  Components: tests
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-133.patch
>
>
> There is a bug in the ClientTest.java unit test, timing issue in 
> "withWatcherObj" test. Patch forthcoming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-133) hudson tests failing intermittently

2008-09-03 Thread Patrick Hunt (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-133:
---

Status: Patch Available  (was: Open)

> hudson tests failing intermittently
> ---
>
> Key: ZOOKEEPER-133
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-133
> Project: Zookeeper
>  Issue Type: Bug
>  Components: tests
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Patrick Hunt
> Fix For: 3.0.0
>
> Attachments: ZOOKEEPER-133.patch
>
>
> There is a bug in the ClientTest.java unit test, timing issue in 
> "withWatcherObj" test. Patch forthcoming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (ZOOKEEPER-133) hudson tests failing intermittently

2008-09-03 Thread Patrick Hunt (JIRA)
hudson tests failing intermittently
---

 Key: ZOOKEEPER-133
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-133
 Project: Zookeeper
  Issue Type: Bug
  Components: tests
Affects Versions: 3.0.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
 Fix For: 3.0.0


There is a bug in the ClientTest.java unit test, timing issue in 
"withWatcherObj" test. Patch forthcoming.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.