darrylb123 / usbrelay

Control usb relay - based on hidapi
GNU General Public License v2.0
315 stars 98 forks source link

No devices found #82

Closed joshuar87 closed 2 years ago

joshuar87 commented 2 years ago

Hi guys,

Library working well for about a week and then get issue with no devices found. Reinstall, change usb port. Worked briefly and now get: ioctl (GFEATURE): Broken pipe hid_get_feature_report : Broken pipe

Using Linux mint 20.2

joshuar87 commented 2 years ago

I think we may be dealing with a cheapie relay too. When it does work: libusbrelay: 0.9-26-g1476a27ec6 usbrelay: 0.9-26-g1476a27ec6 enumerate_relay_boards()Found 1 devices Device Found type: 16c0 05df path: /dev/hidraw0 serial_number: BITFT Manufacturer: www.dcttech.com Product: USBRelay2 Release: 100 Interface: 0 Number of Relays = 2 Module_type = 1 BITFT_1=0 BITFT_2=0

joshuar87 commented 2 years ago

So after working briefly it goes back to: libusbrelay: 0.9-26-g1476a27ec6 usbrelay: 0.9-26-g1476a27ec6 enumerate_relay_boards()Found 0 devices

darrylb123 commented 2 years ago

Try lsusb before and when it stops working. Probably disappearing. Cable or relay hardware.

On Tue, 22 Mar 2022, 11:14 pm joshuar87, @.***> wrote:

So after working briefly it goes back to: libusbrelay: 0.9-26-g1476a27ec6 usbrelay: 0.9-26-g1476a27ec6 enumerate_relay_boards()Found 0 devices

— Reply to this email directly, view it on GitHub https://github.com/darrylb123/usbrelay/issues/82#issuecomment-1075164891, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTSUVI2VVINIH5CQIOEVDDVBHBRTANCNFSM5RKYL5JQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>