thanks.
In the mean time I tried a different HID device, made all the changes, but i seem to have the old problem : nothing listed again. It appears that using usb on PI with lazarus is not a walk in the park. This time i tried an usb programmer :
Bus 001 Device 010: ID 03eb:2104 Atmel Corp. AVR ISP mkII
and here is the lsb -vvv
Bus 001 Device 010: ID 03eb:2104 Atmel Corp. AVR ISP mkII
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x03eb Atmel Corp.
idProduct 0x2104 AVR ISP mkII
bcdDevice 2.00
iManufacturer 1 ATMEL
iProduct 2 AVRISP mkII
iSerial 3 0000A0005627
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Device Status: 0x0001
Self Powered
the new rules :
pi@raspberrypi:~ $ cat /etc/udev/rules.d/20-usb-rules-by-mark.rules
SUBSYSTEM=="usbmisc", ATTRS{idVendor}=="03eb" ,ATTRS{idProduct}=="2104", MODE="0666"
SUBSYSTEM=="usb",ATTRS{idVendor}=="03eb", ATTRS{idVendor}=="2104", MODE="0666"
KERNEL=="hidraw", SUBSYSTEM=="hidraw", ATTRS{idVendor}="03eb" , MODE="0666"
and i changed the code :
Vendor = $03eb;
Product = $2104;
when it did not work, i also tried with :
{.$DEFINE hidraw}
{$DEFINE hiddev}
But nothing. I was under assumption that all HID devices are the same with respect to jvHidcontroller. Under windows Delphi i use the Tjvhidcontroller for some years and it lists all HID devices. I hope you have some idea since this is a great component when using a PI.