[linux-usb-devel] libusb

2004-09-06 Thread bastgiraud
> Hello, > I have install the libusb-0.1.8 in order to communicate easily with my HID device > which works in interrupt and it can receive and transmit 2 bytes in ep1. > As soon as I try to read or to write with the functions usb_interrupt_read & > usb_interrupt_write > they return me -16. Has a

[linux-usb-devel] Output pc->device with write

2004-08-26 Thread bastgiraud
Hi, I work on linux 2.4.20-8 My project consist in sending and receiving data from device via USB. Reading from device: NO problem Writing to device: never successful on linux but works properly on windows So, I have already used 2 ways: 1) Hiddev The write fonction always retu

[linux-usb-devel] Hiddev vs Evdev PLEASE HELP

2004-08-18 Thread bastgiraud
hello, I have a problem with my device who works under linux with usb. I have read 'the USB HID for Linux USB' of Brad Hards which had really help above all the part entitled "the hid device interface'. Nevertheless I can't write on dev/usv/hiddev0, I don't know why. So, I am interested in the

[linux-usb-devel] HELP HELP HELP : usb

2004-08-16 Thread bastgiraud
Hi, I would like to read and write informations (just some bytes) with USB. (For information my device is a pic which works in low speed in interruptb transfer but it's not important because the above program send me information from device properly.) That works properly under windows... And now

[linux-usb-devel] communication via usb

2004-08-06 Thread bastgiraud
Hi, I would like to read and write informations (just some bytes) with USB. (For information my device is a pic which works in low speed in interruptb transfer but it's not important because the above program send me information from device properly.) That works properly under windows... And now

[linux-usb-devel] (no subject)

2004-07-29 Thread bastgiraud
Hello, First I just want read 2 bytes sent by my device (the pic16c745/765). They are located in EP1. That communication send to the PC under linux2.4.20 (that works properly because I have do it under windows and it worked) and it uses the transfer interrupt. Now I use the fields of structure

[linux-usb-devel] structure INTERRUPT TRANSFER

2004-07-22 Thread bastgiraud
Hello, I receive some informations of descriptors from the pic16c745which works in interrupt transfer. But I don't succeed in receiving the data which is in the buffer with linux2.4.20. (that was succeful with windows) I have found the structure for the control and the bulk transfer struct us