I am a complete novice in this area so please bear with me. I have installed nut version 2.6.2-1 for my debian 64bit system. I am trying to implement 'nut' for a new VIX2120 home UPS and have determined that I need the richcomm_usb driver [usb 0925:1234]. But it is not in /lib/nut although referenced in the documentation (driver.list) How do get hold of a copy? Due to ignorance I am not very keen on compiling from scratch. tia Iain
On Nov 16, 2011, at 8:22 AM, Iain Simpson wrote:> I am a complete novice in this area so please bear with me. > I have installed nut version 2.6.2-1 for my debian 64bit system. > I am trying to implement 'nut' for a new VIX2120 home UPS and have determined that I need the richcomm_usb driver [usb 0925:1234]. But it is not in /lib/nut although referenced in the documentation (driver.list) > > How do get hold of a copy? > Due to ignorance I am not very keen on compiling from scratch.A fix is pending - see this email: http://article.gmane.org/gmane.comp.monitoring.nut.user/6727 However, I don't think that a new revision of the nut package is available yet. Compiling from scratch shouldn't be too hard, as Arnaud has listed the exact ./configure command line earlier in that thread: http://article.gmane.org/gmane.comp.monitoring.nut.user/6724 You can file a bug to remind Arnaud: http://www.debian.org/Bugs/Reporting Or you can subscribe to this list:> Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Charles Lepple
2011-Nov-17 00:40 UTC
[Nut-upsuser] How do I get the richcomm_usb driver - to work !
On Nov 16, 2011, at 3:34 PM, Iain Simpson wrote:> Here yet again > got the driver built but when I ran got the following errors : > > > $19:54:10 ~/nut/nut-2.6.2/drivers >sudo ./upsdrvctl -D start > [sudo] password for iain: > Network UPS Tools - UPS driver controller 2.6.2 > 0.000000 Starting UPS: vix2120 > Network UPS Tools - Richcomm dry-contact to USB driver 0.04 (2.6.2) > Warning: This is an experimental driver. > Some features may not function correctly. > > USB device [0925:1234] matches, but driver callback failed: could not detach kernel driver from interface 0: Operation not permitted > 0.091309 Driver failed to start (exit status=1)What does 'ls -lR /proc/bus/usb' say? Also, what if you try 'sudo /lib/nut/richcomm_usb -D -a vix2120 -u root'?> Sorry I don't really understand what's happening.'Operation not permitted' means there's probably a permissions error, in this case on the node in /proc/bus/usb corresponding to your UPS.