No udev events when exporting / unexporting pwm devices on BeagleBone Blue
@pdp7 đang làm issue này rồi.
Từ ngày 10/6/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
On kernel 4.4.49-ti-r89 of the default beaglebone blue image, when exporting and un-exporting there is no udev event fired.
root@beaglebone:/sys/devices/platform/ocp/48302000.epwmss/48302200.pwm/pwm/pwmchip2# echo 0 > unexport
root@beaglebone:/sys/devices/platform/ocp/48302000.epwmss/48302200.pwm/pwm/pwmchip2# echo 0 > export
No udev events from udevadm monitor
With the gpio lines you get a udev event for export/uneport:
root@beaglebone:/sys/class/gpio# echo 10 > unexport
root@beaglebone:/sys/class/gpio# echo 10 > export
generates:
debian@beaglebone:~$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[449.118706] remove /devices/platform/ocp/44e07000.gpio/gpio/gpio10 (gpio)
UDEV [449.193955] remove /devices/platform/ocp/44e07000.gpio/gpio/gpio10 (gpio)
KERNEL[454.849166] add /devices/platform/ocp/44e07000.gpio/gpio/gpio10 (gpio)
UDEV [456.275388] add /devices/platform/ocp/44e07000.gpio/gpio/gpio10 (gpio)
With no udev rules to firing it makes it impossible to have a rule to set the permissions. This is compounded by the having to unexport the export one channel to set the frequency of the pwm chip.
- Ngôn ngữ chính
- C
- Star
- 814
- Fork
- 583
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của beagleboard/linux
-
AM335x OMAP watchdog: reading inactive watchdog timeleft causes external abortCó thể làm lại được @RobertCNelson đã nhận 31 ngày trước và không có pull request nào đang mở. Đang mởmainline_driver_broken_forcing_boot_override
beagleboard/linux#297 · 21 bình luận · 1 người được giao ·
-
Greybus fetch firmware request incorrect signatureCó thể làm lại được @Ayush1325 đã nhận 379 ngày trước và không có pull request nào đang mở. Đang mở
beagleboard/linux#295 · 1 người được giao ·
-
MikroBus and Beagle CapesCó thể làm lại được @Ayush1325 đã nhận 446 ngày trước và không có pull request nào đang mở. Đang mởupstream
beagleboard/linux#292 · 1 người được giao ·
-
ITE mainlineĐang mởupstream
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
beagleboard/linux#291 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
beagleboard/linux#290 · 4 bình luận ·
Tất cả issue của beagleboard/linux
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
FujiNetWIFI/fujinet-firmware#2261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/infrared type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DarkFlippers/unleashed-firmware#1201 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pocoproject/poco#5626 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
VMAFx/vmafx#3260 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FujiNetWIFI/fujinet-lib#272 ·
Maintainer thường phản hồi trong vòng 1 ngày