UPS usb connection issue


(Daco) #1

Hi all, I’m facing a weird problem regarding the connection between a UPS and the FreePBX system, now the introduction:

I have a Legrand Keor SP 800 that I’m trying to install, the manufacturer have the linux daemon for reading the data coming from the UPS via usb, the only problem is that the device isn’t sending anything, when hexdumping the device on hidraw* I catch nothing, but when I try to connect the UPS on another linux machine it sends events properly, I’ve done a fresh install and migrated from 14 to 15, I even tried to install a virtual machine with the same version of FreePBX and loaded the 14’s backup, the usb does “talk” with all but the machine in production.

I’m out of ideas, it’s over one month now, my last suspects are there is something in the HID descriptor of the device it doesn’t like or the usb controller on the server is somewhat messed up.

Preventively I leave some info about the device:

usb info:

descriptor:


#2

I would start with

udevadm monitor

(Daco) #3

When plugged

KERNEL[300427.585538] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
KERNEL[300427.588442] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
KERNEL[300427.713996] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031 (hid)
KERNEL[300427.715846] add      /class/usbmisc (class)
KERNEL[300427.716188] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/usbmisc/hiddev0 (usbmisc)
KERNEL[300427.716481] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031/hidraw/hidraw0 (hidraw)
UDEV  [300427.718341] add      /class/usbmisc (class)
UDEV  [300427.719302] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV  [300427.721442] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV  [300427.723261] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031 (hid)
UDEV  [300427.723850] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/usbmisc/hiddev0 (usbmisc)
UDEV  [300427.725251] add      /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031/hidraw/hidraw0 (hidraw)

When unplugged

KERNEL[300506.704593] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/usbmisc/hiddev0 (usbmisc)
KERNEL[300506.704680] remove   /usbmisc (class)
KERNEL[300506.706549] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031/hidraw/hidraw0 (hidraw)
KERNEL[300506.706684] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031 (hid)
KERNEL[300506.706755] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV  [300506.707253] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/usbmisc/hiddev0 (usbmisc)
UDEV  [300506.707636] remove   /usbmisc (class)
KERNEL[300506.708688] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV  [300506.709394] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031/hidraw/hidraw0 (hidraw)
UDEV  [300506.710316] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:1CB0:0032.0031 (hid)
UDEV  [300506.711702] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV  [300506.712655] remove   /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)

#4

So hardware seems to working, Next make sure there is traffic

https://www.kernel.org/doc/Documentation/usb/usbmon.txt


(Daco) #5

When plugging the usb there is some initial traffic but nothing else

ffff936ee95209c0 785323051 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
ffff936ee95209c0 785323087 C Ci:3:001:0 0 4 = 01030100
ffff936ee95209c0 785323097 S Co:3:001:0 s 23 01 0010 0001 0000 0
ffff936ee95209c0 785323109 C Co:3:001:0 0 0
ffff936ee95209c0 785323116 S Ci:3:001:0 s a3 00 0000 0002 0004 4 <
ffff936ee95209c0 785323128 C Ci:3:001:0 0 4 = 00010000
ffff936ef60743c0 785424028 S Ii:3:001:1 -115:128 2 <
ffff936ee95209c0 785424057 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
ffff936ee95209c0 785424083 C Ci:3:001:0 0 4 = 01030000
ffff936ee95209c0 785424108 S Co:3:001:0 s 23 03 0004 0001 0000 0
ffff936ee95209c0 785424122 C Co:3:001:0 0 0
ffff936ee95209c0 785485017 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
ffff936ee95209c0 785485059 C Ci:3:001:0 0 4 = 01030000
ffff936ee95209c0 785485079 S Co:3:001:0 s 23 03 0004 0001 0000 0
ffff936ee95209c0 785485092 C Co:3:001:0 0 0
ffff936ee95209c0 785686022 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
ffff936ee95209c0 785686071 C Ci:3:001:0 0 4 = 01030000
ffff936ee95209c0 785686082 S Co:3:001:0 s 23 03 0004 0001 0000 0
ffff936ee95209c0 785686094 C Co:3:001:0 0 0

this is what i get by reading the usb from the system where it works (about 20 seconds of capture)

ffff9adf38704900 323422513 C Ii:2:001:1 0:128 2 = 0400
ffff9adf38704900 323422524 S Ii:2:001:1 -115:128 2 <
ffff9adf03029d80 323422586 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323422598 C Ci:2:001:0 0 4 = 01030100
ffff9adf03029d80 323422601 S Co:2:001:0 s 23 01 0010 0002 0000 0
ffff9adf03029d80 323422621 C Co:2:001:0 0 0
ffff9adf03029d80 323422623 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323422628 C Ci:2:001:0 0 4 = 01030000
ffff9adf03029d80 323449423 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323449437 C Ci:2:001:0 0 4 = 01030000
ffff9adf03029d80 323478028 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323478068 C Ci:2:001:0 0 4 = 01030000
ffff9adf03029d80 323505870 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323505912 C Ci:2:001:0 0 4 = 01030000
ffff9adf03029d80 323531988 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323532017 C Ci:2:001:0 0 4 = 01030000
ffff9adf03029d80 323532025 S Co:2:001:0 s 23 03 0004 0002 0000 0
ffff9adf03029d80 323558697 C Co:2:001:0 0 0
ffff9adf03029d80 323620418 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323620463 C Ci:2:001:0 0 4 = 11030000
ffff9adf38704900 323670427 C Ii:2:001:1 0:128 2 = 0400
ffff9adf38704900 323670433 S Ii:2:001:1 -115:128 2 <
ffff9adf03029d80 323682450 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323682462 C Ci:2:001:0 0 4 = 03031000
ffff9adf03029d80 323682465 S Co:2:001:0 s 23 01 0014 0002 0000 0
ffff9adf03029d80 323682484 C Co:2:001:0 0 0
ffff9adf03029d80 323733421 S Ci:2:000:0 s 80 06 0100 0000 0040 64 <
ffff9adf03029d80 323748974 C Ci:2:000:0 0 18 = 12011001 00000008 b01c3200 02000301 0501
ffff9adf03029d80 323749031 S Co:2:001:0 s 23 03 0004 0002 0000 0
ffff9adf03029d80 323770313 C Co:2:001:0 0 0
ffff9adf03029d80 323832013 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323832043 C Ci:2:001:0 0 4 = 13030000
ffff9adf03029d80 323893451 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 323893500 C Ci:2:001:0 0 4 = 13030000
ffff9adf38704900 323916999 C Ii:2:001:1 0:128 2 = 0400
ffff9adf38704900 323917004 S Ii:2:001:1 -115:128 2 <
ffff9adf38704900 323957016 C Ii:2:001:1 0:128 2 = 0400
ffff9adf38704900 323957026 S Ii:2:001:1 -115:128 2 <
ffff9adf03029d80 324097529 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf03029d80 324097557 C Ci:2:001:0 0 4 = 03031000
ffff9adf03029d80 324097573 S Co:2:001:0 s 23 01 0014 0002 0000 0
ffff9adf03029d80 324097586 C Co:2:001:0 0 0
ffff9adf03029d80 324150015 S Co:2:000:0 s 00 05 0004 0000 0000 0
ffff9adf03029d80 324160921 C Co:2:000:0 0 0
ffff9adf03029d80 324173508 S Ci:2:004:0 s 80 06 0100 0000 0012 18 <
ffff9adf03029d80 324175002 C Ci:2:004:0 0 18 = 12011001 00000008 b01c3200 02000301 0501
ffff9adf03029d80 324175059 S Ci:2:004:0 s 80 06 0200 0000 0009 9 <
ffff9adf03029d80 324177949 C Ci:2:004:0 0 9 = 09022200 01010080 32
ffff9adf03029d80 324177988 S Ci:2:004:0 s 80 06 0200 0000 0022 34 <
ffff9adf03029d80 324180977 C Ci:2:004:0 0 34 = 09022200 01010080 32090400 00010300 00000921 11010001 221e0307 05810308
ffff9adf03029d80 324181015 S Ci:2:004:0 s 80 06 0300 0000 00ff 255 <
ffff9adf03029d80 324186988 C Ci:2:004:0 0 4 = 04030904
ffff9adf03029d80 324187033 S Ci:2:004:0 s 80 06 0301 0409 00ff 255 <
ffff9adf03029d80 324195068 C Ci:2:004:0 0 28 = 1c034c00 65006700 72006100 6e006400 20005500 50005300 20002000
ffff9adf03029d80 324195102 S Ci:2:004:0 s 80 06 0303 0409 00ff 255 <
ffff9adf03029d80 324204014 C Ci:2:004:0 0 20 = 14034c00 65006700 72006100 6e006400 20002000
ffff9adf03029d80 324204055 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf03029d80 324209007 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf03029d80 324209045 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf03029d80 324214003 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf03029d80 324214040 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf03029d80 324219007 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf03029d80 324219043 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf03029d80 324222965 C Ci:2:004:0 -32 2 = 1403
ffff9adf03029d80 324223011 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf03029d80 324227998 C Ci:2:004:0 -32 2 = 1403
ffff9adf03029d80 324228049 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf03029d80 324233023 C Ci:2:004:0 -32 2 = 1403
ffff9adf03029300 324233230 S Co:2:004:0 s 00 09 0001 0000 0000 0
ffff9adf03029300 324245949 C Co:2:004:0 0 0
ffff9adf0306fd80 324246023 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf0306fd80 324267026 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf0306fd80 324267066 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf0306fd80 324272006 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf0306fd80 324272057 S Ci:2:004:0 s 80 06 0305 0409 00ff 255 <
ffff9adf0306fd80 324284968 C Ci:2:004:0 -32 255 = 14034c00 65006700 72006100 6e006400 20002000 50005300 20002000 05810308
ffff9adf0306fd80 324285055 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf0306fd80 324294034 C Ci:2:004:0 -32 2 = 1403
ffff9adf0306fd80 324294081 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf0306fd80 324299024 C Ci:2:004:0 -32 2 = 1403
ffff9adf0306fd80 324299074 S Ci:2:004:0 s 80 06 0305 0409 0002 2 <
ffff9adf0306fd80 324304010 C Ci:2:004:0 -32 2 = 1403
ffff9adf0306fd80 324304073 S Co:2:004:0 s 21 0a 0000 0000 0000 0
ffff9adf0306fd80 324307988 C Co:2:004:0 -32 0
ffff9adf0306fd80 324308048 S Ci:2:004:0 s 81 06 2200 0000 031e 798 <
ffff9adf0306fd80 324482042 C Ci:2:004:0 0 798 = 05840904 a1010924 a1008528 09fe7901 75089501 150026ff 00b10385 2b09fd79
ffff9adf3840f780 324483540 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
ffff9adf3840f780 324483576 C Ci:2:001:0 0 4 = 03030000
ffff9adefcf4de40 327516405 S Ci:2:004:0 s 80 06 0300 0000 0040 64 <
ffff9adefcf4de40 327536418 C Ci:2:004:0 0 4 = 04030904
ffff9adefcf4de40 327536472 S Ci:2:004:0 s 80 06 0305 0409 0200 512 <
ffff9adefcf4de40 327540400 C Ci:2:004:0 -32 512 = 04030904 a1010924 a1008528 09fe7901 75089501 150026ff 00b10385 2b09fd79
ffff9adefcf4de40 327540444 S Ci:2:004:0 s 80 06 0300 0000 0040 64 <
ffff9adefcf4de40 327545381 C Ci:2:004:0 0 4 = 04030904
ffff9adefcf4de40 327545424 S Ci:2:004:0 s 80 06 0303 0409 0200 512 <
ffff9adefcf4de40 327554459 C Ci:2:004:0 0 20 = 14034c00 65006700 72006100 6e006400 20002000
ffff9adefcf4de40 327554546 S Ci:2:004:0 s 80 06 0300 0000 0040 64 <
ffff9adefcf4de40 327559425 C Ci:2:004:0 0 4 = 04030904
ffff9adefcf4de40 327559483 S Ci:2:004:0 s 80 06 0301 0409 0200 512 <
ffff9adefcf4de40 327567416 C Ci:2:004:0 0 28 = 1c034c00 65006700 72006100 6e006400 20005500 50005300 20002000
ffff9adefcf4de40 327568333 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 327829333 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 327829424 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 328341337 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 328341420 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 329013321 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 329013407 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 329244603 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 329244694 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 329525327 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 329525459 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4d840 329676188 S Ci:2:004:0 s a1 01 0338 0000 0005 5 <
ffff9adefcf4d840 329681676 C Ci:2:004:0 0 2 = 381e
ffff9adefcf4de40 329756683 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 329756838 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4dcc0 329785226 S Ci:2:004:0 s a1 01 0351 0000 0005 5 <
ffff9adefcf4dcc0 329797698 C Ci:2:004:0 0 2 = 5100
ffff9adefcf4de40 330005279 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 330005353 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 330229310 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 330229354 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 330517300 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 330517347 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 330709333 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 330709439 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 330869213 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 330869261 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 331094821 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 331094991 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 331350791 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 331350836 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 331606894 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 331607032 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 331862946 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 331863050 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 332124996 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 332125062 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 332373286 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 332373346 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 332599030 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 332599070 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 332855085 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 332855157 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 333111069 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 333111128 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 333673169 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 333673242 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 334357297 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 334357373 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 334613217 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 334613275 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 334837255 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 334837341 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 335125236 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 335125339 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 335349227 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 335349280 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f540 335370005 S Ci:2:004:0 s a1 01 0334 0000 0005 5 <
ffff9adf3840f540 335411379 C Ci:2:004:0 0 2 = 3464
ffff9adf3840f780 335511509 S Ci:2:004:0 s a1 01 031e 0000 0005 5 <
ffff9adf3840f780 335559433 C Ci:2:004:0 0 2 = 1e00
ffff9adefcf4de40 335605212 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 335605285 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4d840 335663413 S Ci:2:004:0 s a1 01 0335 0000 0005 5 <
ffff9adefcf4d840 335687394 C Ci:2:004:0 0 3 = 35fb0a
ffff9adefcf4d840 335787929 S Ci:2:004:0 s a1 01 0351 0000 0005 5 <
ffff9adefcf4d840 335793419 C Ci:2:004:0 0 2 = 5100
ffff9adefcf4de40 335829252 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 335829286 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 336117223 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 336117304 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 336373203 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 336373264 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 336630516 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 336630586 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 336886557 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 336886643 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 337142582 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 337142655 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 337398615 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 337398669 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 337654635 C Ii:2:004:1 0:128 2 = 3464
ffff9adefcf4de40 337654680 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 337909199 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adefcf4de40 337909257 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 338134721 C Ii:2:004:1 0:128 4 = 32000019
ffff9adefcf4de40 338134792 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4de40 338390737 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 338390806 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 338646769 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 338646867 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 339029210 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 339029278 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 339189195 C Ii:2:004:1 0:128 4 = 32000019
ffff9adf3840f840 339189276 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 339382849 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 339382998 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 339637143 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 339637211 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 339893172 C Ii:2:004:1 0:128 4 = 32000019
ffff9adf3840f840 339893242 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 340118967 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 340119063 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 340374947 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 340375063 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 340629166 C Ii:2:004:1 0:128 4 = 32000019
ffff9adf3840f840 340629235 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 340854961 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 340855052 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 341111051 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 341111135 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4d900 341280113 S Ci:2:004:0 s a1 01 0334 0000 0005 5 <
ffff9adefcf4d900 341292024 C Ci:2:004:0 0 2 = 3464
ffff9adf3840f840 341303063 C Ii:2:004:1 0:128 4 = 32000019
ffff9adf3840f840 341303117 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4d540 341392602 S Ci:2:004:0 s a1 01 031e 0000 0005 5 <
ffff9adefcf4d540 341407096 C Ci:2:004:0 0 2 = 1e00
ffff9adefcf4dcc0 341510589 S Ci:2:004:0 s a1 01 0335 0000 0005 5 <
ffff9adefcf4dcc0 341526096 C Ci:2:004:0 0 3 = 35fb0a
ffff9adf3840f840 341589125 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 341589200 S Ii:2:004:1 -115:128 8 <
ffff9adefcf4d0c0 341627171 S Ci:2:004:0 s a1 01 0351 0000 0005 5 <
ffff9adefcf4d0c0 341681123 C Ci:2:004:0 0 2 = 5100
ffff9adf3840f840 341813171 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 341813255 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 342229138 C Ii:2:004:1 0:128 4 = 32000019
ffff9adf3840f840 342229215 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 342485158 C Ii:2:004:1 0:128 2 = 3464
ffff9adf3840f840 342485280 S Ii:2:004:1 -115:128 8 <
ffff9adf3840f840 342741093 C Ii:2:004:1 0:128 3 = 35fb0a
ffff9adf3840f840 342741165 S Ii:2:004:1 -115:128 8 <

#6

I would go to the author of the ‘server’ for the device,


(Dave Burgess) #7

The Legrand seems to be supported in the Sysadmin Pro UPS setup. If you are using the distro, it might be worth your time to check that out.

Also, the Legrand appears to use the USBHAL extension which may or may not be correctly installed with the system.


(Daco) #8

do you see something off? sorry but I don’t have a good eye in spotting issues based only on these captures, when you say “the author of the ‘server’ for the device” do you refer who gave us the machine? I only know it was the leftover of a desktop pc.


(Daco) #9

We do not have Sysadmin Pro and I’m afraid that I will need to solve the problem without it, we have already faced issues that could be easily solved by having the module installed but every time I had to find a workaround.

Apart from that, what really puzzles me is the motivation behind the device refusing to even send data through the raw channel, hidraw0 in this case.

Tell me more about that, can’t find more around, also I would exclude it since the same identical system is on a virtual machine on different hardware (working as expected), unless it is something is installed when FreePBX itself is installing


(Daco) #10

@dicko

Any other idea?
your last answer was a bit cryptic, I can only assume there is something wrong with the server machine, I can provide some other info if you feel like it.


#11

Your problem is unrelated to FreePBX , the manufacturer of your hardware apparently provide a ‘device driver’ which they apparently call a ‘server’ , this needs to be kernel specific, you need to find out if they have a compatible driver for your kernel.


(Daco) #12

I will try to contact the UPS manufacturer then, thanks for the time.