If you do have a driver already driving your device, and you need to
remove that driver, you can use a UsbInterfacePolicy while claiming the
UsbInterface, and make the "forceClaim" method in the policy return true.
You will need a kernel with USBDEVFS_DISCONNECT support in it. While
building
If you do have a driver already driving your device, and you need to
remove that driver, you can use a UsbInterfacePolicy while claiming the
UsbInterface, and make the "forceClaim" method in the policy return true.
You will need a kernel with USBDEVFS_DISCONNECT support in it. While
building
Hello,
Do you mean that your devices are RS232 or USB? If you want to
communicate with USB devices, you should use javax.usb, however if you
want to talk to RS232 devices, you should use javax.comm. Since you say
your devices are RS232, I think you probably want to use javax.comm.
If your d
Hello all,
I wasn't running the code as root (I must admit it was quite
obvious) now I can see the devices.
Thank you very much for your help!
Best regards,
André
Roberto Perpuly wrote:
Andre,
You are running the examples as root user, correct?
I am developing a driver for a USB device. I
Dan et al. could you give Chrisian
an hand?
Boyd Dimmock
Senior Technical Staff
IBM Retail Store Solutions, Raleigh
919-301-5713; TieLine 8-352-5713
[EMAIL PROTECTED]
07/14/2004 07:07 AM
To
Boyd Dimmock/Raleigh/[EMAIL PROTECTED]
cc
Subject
Java USB API
Dear Boyd Dimmock
Great! Is it ok if I add it to the javax-usb-example package?
On Sat, 10 Jul 2004, Judy Kerr wrote:
>It can be downloaded from http://members.cox.net/judykerr/. This is a
>very simple USB device, so the download may also be helpful as example
>code.
>
>BTW thanks for all the good work on the
You need /proc/bus/usb/ mounted (the usbfs filesystem) and you need
read-write access to the device nodes (/proc/bus/usb/NNN/NNN). By default
the nodes are read-write only be root. On 2.4 kernels you can make them
read-write by mounting the filesystem with the mount option "devmode",
e.g.:
m
Andre,
You are running the examples as root user, correct?
I am developing a driver for a USB device. I am using red hat 9.0 (kernel 2.4). For
my driver to work, I need to disbale the hotplug driver. You might want to check if
the devices you are developing drivers for have already been cl
Hello,
I am trying to submit a control IRP packet to an USB device (UsbDevice.
asyncSubmit(UsbControlIrp irp)) and I get the following Exception:
javax.usb.UsbException: Error submitting IRP : Device or resource busy
at
com.ibm.jusb.os.linux.LinuxPipeRequest.completeUsbIrp(LinuxPipeReques
Hello,
We are working in a project at about three years, we've always used
RS-232 and the javax.comm API to connect several apparatus to different
computers, but now we've decided to use USB to control the new apparatus.
Since we use Linux and Java, I've decided to use your API, but when I
run o
10 matches
Mail list logo