>I'm afraid I am just the messenger - @bigon (Laurent Bigonville, on GitHub) is >a Debian maintainer of NUT, and he was pointing out the >bug report filed with Debian:
>https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738122 >With other drivers, we sometimes see the "did not claim interface 0 before >use" error if a driver gets out of sync with its PID file, >and two copies of the driver are running. So maybe remove the PID file and >start the driver again? It should be possible to detect >this condition. Hi, attached there are a patch for the problem above. I think that this patch resolve the problem, however I don't be able to reproduce the problem on Debian Sid. I'm looking forward for the result of your test... Regards, Elio Parisi. -----Messaggio originale----- Da: Nut-upsdev [mailto:nut-upsdev-bounces+e.parisi=riello-ups....@lists.alioth.debian.org] Per conto di [email protected] Inviato: mercoledì 22 ottobre 2014 20.30 A: [email protected] Oggetto: Nut-upsdev Digest, Vol 112, Issue 3 Send Nut-upsdev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nut-upsdev digest..." Today's Topics: 1. R: New version of riello driver (Elio Parisi) 2. Re: New version of riello driver [Debian bug "did not claim interface 0 before use"] (Charles Lepple) ---------------------------------------------------------------------- Message: 1 Date: Wed, 22 Oct 2014 07:54:52 +0000 From: Elio Parisi <[email protected]> To: "[email protected]" <[email protected]> Subject: [Nut-upsdev] R: New version of riello driver Message-ID: <3c37dfbe2ddd414b852887e36a2c5...@am3pr07mb289.eurprd07.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" Hi Charles, I see the issue but I don't be able to reproduce it on the Debian SID. The steps I followed are: - start from debian wheezy; - upgrade to debian testing; - upgrade to debian sid; - in debian sid test nut with riello_usb driver; In this situation there are no trace of error (claim interface) in /var/log/syslog at the moment of attach of cypress usb or at the moment of driver riello_usb start. So, could you tell me how I reproduce the problem? -----Messaggio originale----- Da: Charles Lepple [mailto:[email protected]] Inviato: marted? 21 ottobre 2014 4.48 A: Elio Parisi Cc: [email protected] Oggetto: Re: [Nut-upsdev] New version of riello driver On Oct 17, 2014, at 6:24 AM, Elio Parisi <[email protected]> wrote: > Hi all, > attached there is a patch for a new version of riello drivers: Merged, thanks. Also, have you seen this issue? https://github.com/networkupstools/nut/issues/124 from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738122 -- Charles Lepple clepple@gmail ------------------------------ Message: 2 Date: Wed, 22 Oct 2014 09:17:38 -0400 From: Charles Lepple <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [Nut-upsdev] New version of riello driver [Debian bug "did not claim interface 0 before use"] Message-ID: <[email protected]> Content-Type: text/plain; charset=iso-8859-1 On Oct 22, 2014, at 3:54 AM, Elio Parisi <[email protected]> wrote: > I see the issue but I don't be able to reproduce it on the Debian SID. > > The steps I followed are: > > - start from debian wheezy; > - upgrade to debian testing; > - upgrade to debian sid; > - in debian sid test nut with riello_usb driver; > > In this situation there are no trace of error (claim interface) in > /var/log/syslog at the > moment of attach of cypress usb or at the moment of driver riello_usb start. Sounds reasonable. For reference, what version of NUT was in SID when you tested? > So, could you tell me how I reproduce the problem? I'm afraid I am just the messenger - @bigon (Laurent Bigonville, on GitHub) is a Debian maintainer of NUT, and he was pointing out the bug report filed with Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738122 With other drivers, we sometimes see the "did not claim interface 0 before use" error if a driver gets out of sync with its PID file, and two copies of the driver are running. So maybe remove the PID file and start the driver again? It should be possible to detect this condition. -- Charles Lepple clepple@gmail ------------------------------ Subject: Digest Footer _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev ------------------------------ End of Nut-upsdev Digest, Vol 112, Issue 3 ******************************************
riello.diff.gz
Description: riello.diff.gz
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
