Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
02f54fca
Verified
Commit
02f54fca
authored
4 months ago
by
Jack K
Committed by
Newbyte
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
exynos4412: add udev rule for camera flash (MR 5888)
parent
52d5adb0
No related branches found
No related tags found
1 merge request
!5888
exynos4: add camera configs to kernel and flash udev rules to devices
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/community/soc-samsung-exynos4412/60-flashlight.rules
+1
-0
1 addition, 0 deletions
device/community/soc-samsung-exynos4412/60-flashlight.rules
device/community/soc-samsung-exynos4412/APKBUILD
+10
-1
10 additions, 1 deletion
device/community/soc-samsung-exynos4412/APKBUILD
with
11 additions
and
1 deletion
device/community/soc-samsung-exynos4412/60-flashlight.rules
0 → 100644
+
1
−
0
View file @
02f54fca
SUBSYSTEM=="leds", DEVPATH=="*/*:flash", RUN+="/bin/chmod g+w /sys%p/brightness /sys%p/flash_strobe", RUN+="/bin/chown :video /sys%p/brightness /sys%p/flash_strobe"
This diff is collapsed.
Click to expand it.
device/community/soc-samsung-exynos4412/APKBUILD
+
10
−
1
View file @
02f54fca
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname
=
soc-samsung-exynos4412
pkgdesc
=
"Common package for Samsung Exynos 4412 devices"
pkgver
=
1
pkgver
=
2
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"BSD-3-Clause"
arch
=
"armv7"
options
=
"!check !archcheck !tracedeps"
subpackages
=
"
$pkgname
-cameraflash
$pkgname
-haptics
"
source
=
"
60-flashlight.rules
90-feedbackd-max77693-haptic.rules
"
...
...
@@ -18,6 +20,12 @@ package() {
mkdir
-p
"
$pkgdir
"
}
cameraflash
()
{
# Rear camera flash udev rules
install
-Dm644
"
$srcdir
"
/60-flashlight.rules
\
-t
"
$subpkgdir
"
/usr/lib/udev/rules.d
}
haptics
()
{
# feedbackd haptics udev rules
install
-Dm644
"
$srcdir
"
/90-feedbackd-max77693-haptic.rules
\
...
...
@@ -25,5 +33,6 @@ haptics() {
}
sha512sums
=
"
9170da7ac869254644f2fc8d914102f2c16e917dbeb53e33b96c76936711d0540f55fa5c2526d73d5fe244500bc2728bc9d629e2524cf52c573d11e833aee666 60-flashlight.rules
083bd692bd52f6ea2dc80351b91c24d8856d3ecd68bb2823dd821073c31b0f2d4556a2b5d861bf4b709cb3b1a4dc4d28648834ee2dd09b795ebfa3b30182ae94 90-feedbackd-max77693-haptic.rules
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment