avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #7710] usb_libusb: Check VID/PID before opening dev


From: Stephen Roe
Subject: [avrdude-dev] [patch #7710] usb_libusb: Check VID/PID before opening device
Date: Sun, 29 Jan 2012 21:59:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

URL:
  <http://savannah.nongnu.org/patch/?7710>

                 Summary: usb_libusb: Check VID/PID before opening device
                 Project: AVR Downloader/UploaDEr
            Submitted by: sjroe
            Submitted on: Sun 29 Jan 2012 21:59:49 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently "usbdev_open" attempts to open a device before check that the USB
VID/PID combo match the required programmer.

This patch checks the USB VID/PID combo before attempting to open the device. 
This allows an error message to be generated for when the correct device has
been found on the bus but the user can't access it (for example due to
permissions).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 29 Jan 2012 21:59:49 GMT  Name: usb_libusb.patch  Size: 1001B   By:
sjroe

<http://savannah.nongnu.org/patch/download.php?file_id=24911>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7710>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]