Dan Streetman | 3 Jun 2008 22:33
Picon

javax.usb release 1.0.2

A new release has just been put out, release 1.0.2.  This includes all
changes/fixes that were waiting in CVS since 1.0.1, including the
change to work with the new /dev/bus/usb/001/001 and /dev/bus/usb/1/1
location/naming of the usbfs filesystem.

No RPMs or binaries are provided with this release; too many
incompatibilites with old/new java compilers/jres, as well as the
native library incompatibilities, make the binary releases not very
useful.

To install, download either the tar.bz2 or .zip file for the API, RI,
and Linux imp, and build all 3; then install all 3 jarfiles into your
JRE's jre/lib/ext/ directory, the properties file into your JRE's
jre/lib directory, and the native .so library into /usr/lib/.

Please send any questions to the mailing list!

thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Marion Decrouez | 16 Jun 2008 16:57
Picon
Picon

bit stuff exception

Hi,
I'm trying to communicate with a HID device and I have an  
UsbBitStuffException while sending data to it. Does anyone know what  
can be the cause of this exception?

Thanks

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Dan Streetman | 25 Jun 2008 17:50
Picon

Re: bit stuff exception

That is typically a USB bus error, I believe caused by the hardware
misbehaving.  If it's reproducable, it could be a bug in your hardware
firmware.  You would really need to get a USB bus trace to know for
sure.

On Mon, Jun 16, 2008 at 10:57 AM, Marion Decrouez
<marion.decrouez <at> student.ecp.fr> wrote:
> Hi,
> I'm trying to communicate with a HID device and I have an
> UsbBitStuffException while sending data to it. Does anyone know what
> can be the cause of this exception?
>
> Thanks
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> javax-usb-devel mailing list
> javax-usb-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
(Continue reading)

Marion Decrouez | 26 Jun 2008 11:37
Picon
Picon

Re: bit stuff exception

Quoting Dan Streetman <ddstreet <at> ieee.org>:

Thank you very much. Do you know a free software that can analyse the usb bus?
Thanks

> That is typically a USB bus error, I believe caused by the hardware
> misbehaving.  If it's reproducable, it could be a bug in your hardware
> firmware.  You would really need to get a USB bus trace to know for
> sure.
>
> On Mon, Jun 16, 2008 at 10:57 AM, Marion Decrouez
> <marion.decrouez <at> student.ecp.fr> wrote:
>> Hi,
>> I'm trying to communicate with a HID device and I have an
>> UsbBitStuffException while sending data to it. Does anyone know what
>> can be the cause of this exception?
>>
>> Thanks
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> javax-usb-devel mailing list
>> javax-usb-devel <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel
>>
(Continue reading)

Dan Streetman | 26 Jun 2008 14:25
Picon

Re: bit stuff exception

getting a usb bus trace requires hardware, not software.  There are
bus tracers made by LeCroy/CATC, Ellisys, and others.  The cost varies
widely.

On Thu, Jun 26, 2008 at 5:37 AM, Marion Decrouez
<marion.decrouez <at> student.ecp.fr> wrote:
> Quoting Dan Streetman <ddstreet <at> ieee.org>:
>
> Thank you very much. Do you know a free software that can analyse the usb bus?
> Thanks
>
>> That is typically a USB bus error, I believe caused by the hardware
>> misbehaving.  If it's reproducable, it could be a bug in your hardware
>> firmware.  You would really need to get a USB bus trace to know for
>> sure.
>>
>> On Mon, Jun 16, 2008 at 10:57 AM, Marion Decrouez
>> <marion.decrouez <at> student.ecp.fr> wrote:
>>> Hi,
>>> I'm trying to communicate with a HID device and I have an
>>> UsbBitStuffException while sending data to it. Does anyone know what
>>> can be the cause of this exception?
>>>
>>> Thanks
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
(Continue reading)

Jeremy Mawson | 26 Jun 2008 14:28
Picon
Gravatar

/proc/bus/usb/devices dropped from distros

Hi there.

I have no devices file at /proc/bus/usb

A quick Google led me to 
http://www.mail-archive.com/ubuntu-bugs <at> lists.ubuntu.com/msg536499.html

This thread states that /proc/bus/usb/devices was "racey" and that 
applications should move to using /dev/bus/usb instead (see post #2).

FYI, my /dev/bus/usb doesn't contain a devices file, but rather is a 
collection of binary files in the structure:

/dev/bus/usb
|-- 001
|   |-- 001
|   `-- 005
|-- 002
|   |-- 001
|   `-- 003
|-- 003
|   `-- 001
|-- 004
|   |-- 001
|   `-- 003
`-- 005
    |-- 001
    `-- 006

So, it would seem that the linux RI is currently incompatible with 
(Continue reading)

Jeremy Mawson | 26 Jun 2008 14:58
Picon
Gravatar

Re: javax.usb release 1.0.2

Thanks Dan

Are there any special reasons why javax.usb jars/props need to be 
installed *into* the JRE?

Are there any special instructions to get the /dev/bus/usb/** usbfs 
naming scheme working?

Cheers
Jem

From: Dan Streetman <ddstreet <at> ie...> - 2008-06-03 20:33

    A new release has just been put out, release 1.0.2. This includes all
    changes/fixes that were waiting in CVS since 1.0.1, including the
    change to work with the new /dev/bus/usb/001/001 and /dev/bus/usb/1/1
    location/naming of the usbfs filesystem.

    No RPMs or binaries are provided with this release; too many
    incompatibilites with old/new java compilers/jres, as well as the
    native library incompatibilities, make the binary releases not very
    useful.

    To install, download either the tar.bz2 or .zip file for the API, RI,
    and Linux imp, and build all 3; then install all 3 jarfiles into your
    JRE's jre/lib/ext/ directory, the properties file into your JRE's
    jre/lib directory, and the native .so library into /usr/lib/.

    Please send any questions to the mailing list!

(Continue reading)

Dan Streetman | 26 Jun 2008 15:23
Picon

Re: /proc/bus/usb/devices dropped from distros

The 1.0.2 release should work fine with it.

On Thu, Jun 26, 2008 at 8:28 AM, Jeremy Mawson <jem.mawson <at> gmail.com> wrote:
> Hi there.
>
> I have no devices file at /proc/bus/usb
>
> A quick Google led me to
> http://www.mail-archive.com/ubuntu-bugs <at> lists.ubuntu.com/msg536499.html
>
> This thread states that /proc/bus/usb/devices was "racey" and that
> applications should move to using /dev/bus/usb instead (see post #2).
>
> FYI, my /dev/bus/usb doesn't contain a devices file, but rather is a
> collection of binary files in the structure:
>
> /dev/bus/usb
> |-- 001
> |   |-- 001
> |   `-- 005
> |-- 002
> |   |-- 001
> |   `-- 003
> |-- 003
> |   `-- 001
> |-- 004
> |   |-- 001
> |   `-- 003
> `-- 005
>    |-- 001
(Continue reading)

Dan Streetman | 26 Jun 2008 15:26
Picon

Re: javax.usb release 1.0.2

On Thu, Jun 26, 2008 at 8:58 AM, Jeremy Mawson <jem.mawson <at> gmail.com> wrote:
> Thanks Dan
>
> Are there any special reasons why javax.usb jars/props need to be
> installed *into* the JRE?

They do not need to be installed in the JRE, but like all other
extensions (like javax.comm) they *can* be installed there.

> Are there any special instructions to get the /dev/bus/usb/** usbfs
> naming scheme working?

No special instructions.

>
> Cheers
> Jem
>
>
>
> From: Dan Streetman <ddstreet <at> ie...> - 2008-06-03 20:33
>
>
>    A new release has just been put out, release 1.0.2. This includes all
>    changes/fixes that were waiting in CVS since 1.0.1, including the
>    change to work with the new /dev/bus/usb/001/001 and /dev/bus/usb/1/1
>    location/naming of the usbfs filesystem.
>
>    No RPMs or binaries are provided with this release; too many
>    incompatibilites with old/new java compilers/jres, as well as the
(Continue reading)

Gabriel Queiroz | 27 Jun 2008 03:30
Picon

Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

Hi all,

It's my first post to this list (javax newbie).

I'm developing a usb device using an Atmel microcontroller (http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3784). For now, it works like a mouse. The microcontroller has 4 push buttons, and these push buttons make the mouse pointer move around the screen.I

I've got this device to work under windows and linux with the default hid drivers, but when i let the MouseDriver example drive it I'm getting the following error:

Unable to submit data buffer to HID mouse : Error submitting IRP : Error 62

I've digged through javax-usb code, and the exception is being thrown on the asyncSubmit( UsbIrpImp irp ) method, call on file LinuxPipeOsImp, line 64:

getLinuxInterfaceOsImp().submit(request);

I understand javax is not being able to send an IRP to the device, but i can't really understand why. Any ideas?

Is there somewhere I can understand what does "Error 62" mean?!

Many thanks and kind regards.

PS: I'm a newbie to USB devices implementation as well, so, big chances of this being something really stupid! =)

--
Gabriel Queiroz Silva
E-mail: gabrielqs <at> gmail.com
Tel: +55 61 9604.1412
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Gmane