Re: [javax-usb-devel] Cannot find USB devices

2004-07-15 Thread Andre Neto
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

Re: [javax-usb-devel] Cannot find USB devices

2004-07-15 Thread Dan Streetman
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

Re:[javax-usb-devel] Cannot find USB devices

2004-07-15 Thread Roberto Perpuly
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

[javax-usb-devel] Cannot find USB devices

2004-07-15 Thread Andre Neto
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