[linux-usb-devel] Starting a program with hotplug?

2005-11-24 Thread Guenther . Obrist
Hello! I would like to start a C-Server for my USB-Device every time it is plugged on. I tried it using udev but this did not work. I used as example to call the shell which starts eclipse: BUS="usb", SYSFS{serial}="1.0.0", NAME="usb/%k", SYMLINK= "usb/Moeller_HID_GW", PROGRAM="/usr/bin/eclips

Re: [linux-usb-devel] Libhid for Java?

2005-11-07 Thread Guenther . Obrist
Yes, i did, so what does that mean to me? Is it usable for me or not? Have i to use libhid? -Günther Am Montag, 7. November 2005 15:06 schrieben Sie: > Hi Gunther, > Have you looked at javax.usb? (http://javax-usb.org/) That is a > java JSR designed to allow java apps to talk directly to USB

[linux-usb-devel] Libhid for Java?

2005-11-07 Thread Guenther . Obrist
Hey, it's me again... I would like to use my HID device in Java and not C. I tested my device with the test_libhid.c and it worked (I could send data to it). Now I want to use it for java...is it possible to use libhid in java, or does exist a test_libhid.java??? greetings! -- Günther Obrist

[linux-usb-devel] Fwd: Recieving data from HID with libhid (wrong attachment)

2005-11-06 Thread Guenther . Obrist
-- Weitergeleitete Nachricht -- Subject: Fwd: Recieving data from HID with libhid (wrong attachment) Date: Freitag, 4. November 2005 16:05 From: "Obrist Günther (AUT Wien Entwicklung)" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Hi, it s me again, my output attachment was the wr

[linux-usb-devel] No communication with my HID-Device

2005-11-04 Thread Guenther . Obrist
Hello! I am working on a project with HID devices and I want to communicate with them. But I could not found any clear description how to use library hiddev.h and I could not clear how I can use it. Somehow I managed to write a little c-programm using hiddev which uses the ioctl() which doe

Re: [linux-usb-devel] hiddev - __s32 value to small?

2005-11-03 Thread Guenther . Obrist
Am Donnerstag, 3. November 2005 15:27 schrieben Sie: > > The second value is on ffb1 and not on b1, that must be because value > > is defined as __s32, or not? How can I modify this in linux, because I > > think it is not enough to adapt the hiddev.h and set "_u32 value" in the > > hiddev_usage

[linux-usb-devel] hiddev - __s32 value to small?

2005-11-03 Thread Guenther . Obrist
Hi! I am working on a hid under Linux Suse and i want to communicate with it. it is working under Windows, I have to adapt it also for Linux. I was able to read out some device infos, but I have some problem with sending and recieving data from the device. I wrote a little c-program to handle a

[linux-usb-devel] hiddev - __s32 value to small?

2005-11-03 Thread Guenther . Obrist
Hi! I am working on a hid under Linux Suse and i want to communicate with it. it is working under Windows, I have to adapt it also for Linux. I was able to read out some device infos, but I have some problem with sending and recieving data from the device. I wrote a little c-program to handle a