avrdude-dev
[Top][All Lists]
Advanced

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

[patch #10029] linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors


From: Alex Sverdlin
Subject: [patch #10029] linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
Date: Sun, 21 Feb 2021 09:25:31 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

URL:
  <https://savannah.nongnu.org/patch/?10029>

                 Summary: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
                 Project: AVR Downloader/UploaDEr
            Submitted by: sverdlin
            Submitted on: Sun 21 Feb 2021 02:25:29 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This is not something purely theoretical, as strace shown:

openat(AT_FDCWD, "/dev/spidev1.0", O_RDWR|O_LARGEFILE) = 3
openat(AT_FDCWD, "/sys/class/gpio/gpiochip32", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, GPIO_GET_LINEHANDLE_IOCTL, 0xbe8e07f4) = -1 ENOTTY (Inappropriate
ioctl for device)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Feb 2021 02:25:29 PM UTC  Name:
0003-linuxspi-Report-GPIO_GET_LINEHANDLE_IOCTL-errors.patch  Size: 1KiB   By:
sverdlin

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

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?10029>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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