Friday, 2024-11-01

*** florian <florian!~florian@dynamic-080-171-152-031.80.171.pool.telefonica.de> has quit IRC (Ping timeout: 248 seconds)00:56
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe01:47
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Quit: Gone)02:23
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)02:27
*** Notgnoshi <Notgnoshi!~quassel@184-83-174-55-dynamic.midco.net> has quit IRC (Ping timeout: 246 seconds)05:48
*** yocti` <yocti`!~limnoria@2a01:4f9:c010:c053::1> has joined #oe06:03
*** yocti <yocti!~limnoria@mail.yoctoproject.org> has quit IRC (Killed (NickServ (GHOST command used by yocti`!~limnoria@2a01:4f9:c010:c053::1)))06:03
*** yocti <yocti!~limnoria@mail.yoctoproject.org> has joined #oe06:03
*** yocti` <yocti`!~limnoria@2a01:4f9:c010:c053::1> has quit IRC (Remote host closed the connection)06:03
*** yocti <yocti!~limnoria@2a01:4f9:c010:c053::1> has joined #oe06:05
*** smurray is back06:19
*** Emantor is back06:25
*** smurray is now away: Auto-away06:41
*** smurray is back06:46
*** smurray is now away: Auto-away06:51
*** KanjiMonster is back06:58
*** smurray is back07:05
*** RP is back07:07
*** RP is now away: I'm not here right now07:12
*** smurray is now away: Auto-away07:26
*** RP is back07:29
*** RP is now away: I'm not here right now07:34
*** halstead is now away: Auto-away07:48
*** RP is back07:50
*** smurray is back07:51
*** JaMa <JaMa!~martin@user/JaMa> has quit IRC (Ping timeout: 264 seconds)07:55
*** RP is now away: I'm not here right now07:56
*** RP is back07:58
*** JaMa <JaMa!~martin@user/JaMa> has joined #oe08:01
*** halstead is back08:04
*** smurray is now away: Auto-away08:12
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe08:18
*** RP is now away: I'm not here right now08:18
*** KanjiMonster is now away: Auto away at Fri Nov 1 08:36:54 2024 UTC08:36
*** smurray is back08:50
*** Emantor is now away: Auto away at Fri Nov 1 09:00:24 2024 UTC09:00
*** Emantor is back09:01
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has joined #oe09:11
*** smurray is now away: Auto-away09:12
*** smurray is back09:21
*** smurray is now away: Auto-away09:26
*** Emantor is now away: Auto away at Fri Nov 1 09:30:04 2024 UTC09:30
*** paulbarker is back09:31
*** halstead is now away: Auto-away09:45
*** smurray is back09:51
*** RP is back10:06
*** madisox_ is back10:06
*** halstead is back10:07
*** Emantor is back10:10
*** madisox_ is now away: Auto-away10:11
*** smurray is now away: Auto-away10:12
*** halstead is now away: Auto-away10:17
*** smurray is back10:22
*** RP is now away: I'm not here right now10:24
*** halstead is back10:28
*** rburton is back10:28
*** aduskett <aduskett!~adam@2a02:a211:a140:6480:f59d:d8b2:eb04:8d6f> has quit IRC (Remote host closed the connection)10:29
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has joined #oe10:35
*** halstead is now away: Auto-away10:36
*** RP is back10:36
*** smurray is now away: Auto-away10:43
*** RP is now away: I'm not here right now10:45
*** RP is back10:46
*** RP is now away: I'm not here right now10:51
*** smurray is back10:52
*** halstead is back11:09
*** smurray is now away: Auto-away11:14
*** halstead is now away: Auto-away11:16
*** florian_kc <florian_kc!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has joined #oe11:19
*** RP is back11:23
*** smurray is back11:23
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has quit IRC (Ping timeout: 276 seconds)11:23
*** halstead is back11:38
*** RP is now away: I'm not here right now11:39
*** RP is back11:40
*** smurray is now away: Auto-away11:44
*** smurray is back11:53
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC (Ping timeout: 260 seconds)12:01
*** Kubu_work is now away: Je ne suis pas là pour l'instant.12:10
*** smurray is now away: Auto-away12:15
*** RP is now away: I'm not here right now12:17
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #oe12:18
*** RP is back12:19
*** sakoman is back12:26
*** RP is now away: I'm not here right now12:31
*** sakoman is now away: I'm not here right now12:31
*** RP is back12:35
*** Kubu_work is back12:36
*** RP is now away: I'm not here right now12:41
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC (Ping timeout: 272 seconds)12:42
*** sakoman is back12:46
*** flynn378 is back12:48
*** RP is back12:50
*** smurray is back12:56
*** sakoman is now away: I'm not here right now13:01
*** sakoman is back13:05
*** RP is now away: I'm not here right now13:07
*** RP is back13:13
*** smurray is now away: Auto-away13:17
*** RP is now away: I'm not here right now13:22
*** smurray is back13:26
*** sakoman is now away: I'm not here right now13:32
*** sakoman is back13:33
*** sakoman is now away: I'm not here right now13:47
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe13:55
*** RP is back13:59
*** RP is now away: I'm not here right now14:04
*** kergoth_ is now away: Auto-away14:07
*** RP is back14:08
*** RP is now away: I'm not here right now14:13
*** RP is back14:14
*** smurray is now away: Auto-away14:15
*** RP is now away: I'm not here right now14:24
*** RP is back14:26
*** smurray is back14:26
*** RP is now away: I'm not here right now14:31
*** Kubu_work is now away: Je ne suis pas là pour l'instant.14:36
*** RP is back14:41
*** Kubu_work is back14:41
*** smurray is now away: Auto-away14:48
*** smurray is back14:57
*** RP is now away: I'm not here right now14:59
*** flynn378 is now away: Auto-away15:00
*** flynn378 is back15:01
*** florian_kc is now known as florian15:03
*** RP is back15:04
*** JPEW is back15:05
*** Emantor is now away: Auto away at Fri Nov 1 15:07:42 2024 UTC15:07
*** RP is now away: I'm not here right now15:09
*** sakoman is back15:14
*** smurray is now away: Auto-away15:18
*** RP is back15:19
*** RP is now away: I'm not here right now15:26
mortSay you're setting up a yocto system where you want your application software to run as non-root. Changing the group of devices to give your application software user permission to use them is easy enough with udev, just matching on it and setting GROUP="whatever"15:27
mortHowever, how do you deal with kernel drivers which uses sysfs? Surely there's a better way than running /usr/bin/chgrp in ACTION="add" in a udev rule or running chgrp on boot?15:28
mortor is that how people typically do it?15:28
*** smurray is back15:28
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:b7b2:b24b:410b:6c5b> has joined #oe15:30
*** RP is back15:34
*** sakoman is now away: I'm not here right now15:37
*** RP is now away: I'm not here right now15:41
*** sakoman is back15:41
*** RP is back15:43
*** RP is now away: I'm not here right now15:48
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #oe15:49
*** smurray is now away: Auto-away15:49
*** RP is back15:55
*** sakoman is now away: I'm not here right now16:07
*** RP is now away: I'm not here right now16:14
*** Emantor is back16:19
*** sakoman is back16:22
*** RP is back16:24
*** smurray is back16:28
khemmort: have something like /etc/udev/rules.d/99-sysfs.rules or somesuch file16:34
khemand code all rules in it16:34
khemI am sure you can change the driver too set default permissions16:35
khemsomething in device_create_file()16:36
*** RP is now away: I'm not here right now16:37
*** hexbrex <hexbrex!~hexbrex@162.247.41.140> has quit IRC (Read error: Connection reset by peer)16:39
*** |Xagen <|Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has joined #oe16:45
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Ping timeout: 252 seconds)16:46
*** sakoman is now away: I'm not here right now16:48
*** RP is back16:50
*** RP is now away: I'm not here right now16:56
*** RP is back16:59
*** Emantor is now away: Auto away at Fri Nov 1 17:03:04 2024 UTC17:03
*** hexbrex <hexbrex!~hexbrex@162.247.41.140> has joined #oe17:05
*** smurray is now away: Auto-away17:05
*** smurray is back17:05
*** RP is now away: I'm not here right now17:12
*** RP is back17:13
*** smurray is now away: Auto-away17:15
*** RP is now away: I'm not here right now17:19
mortkhem: yeah I was thinking udev, but what should the rules contain? Do they actually need `ACTION=="add", RUN+="/usr/bin/chgrp blah /sys/class/blah/%k/thing"` or is there a better way17:19
khemyeah17:20
khemyou have to trigger on device creation17:21
mortand it has to be a chgrp command, it's not enough to do GROUP="somegroup"17:21
*** smurray is back17:26
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)17:29
*** RP is back17:36
khemyeh because its created by module in kernel17:37
*** smurray is now away: Auto-away17:48
*** RP is now away: I'm not here right now17:49
*** RP is back17:49
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)17:50
mortI don't understand what that has to do with this, files in /dev are created by kernel modules too are they not? Yet you can set their group with GROUP=17:55
*** RP is now away: I'm not here right now17:55
*** RP is back17:56
*** smurray is back17:57
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)17:59
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:6007:8b56:5d04:cdfe> has joined #oe18:00
*** Kubu_work is now away: Je ne suis pas là pour l'instant.18:01
*** Kubu_work is back18:02
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has joined #oe18:02
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:04
*** RP is now away: I'm not here right now18:05
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:e13b:2fc0:b328:1c5f> has joined #oe18:06
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:11
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe18:12
*** RP is back18:14
*** KanjiMonster is back18:23
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:28
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:c093:b16b:4d8c:e4d6> has joined #oe18:29
*** Kubu_work is now away: Je ne suis pas là pour l'instant.18:30
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:33
*** smurray is now away: Auto-away18:34
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:fc40:d287:8038:f497> has joined #oe18:35
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Remote host closed the connection)18:40
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe18:41
*** smurray is back18:43
*** RP is now away: I'm not here right now18:44
*** Kubu_work is back18:48
*** RP is back18:55
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Ping timeout: 244 seconds)18:58
*** RP is now away: I'm not here right now19:00
*** RP is back19:03
*** smurray is now away: Auto-away19:05
*** RP is now away: I'm not here right now19:08
*** smurray is back19:14
*** smurray is now away: Auto-away19:35
*** smurray is back19:36
*** smurray is now away: Auto-away19:57
*** reavertm <reavertm!~reavertm@2a01:112f:4600:2c00:85e3:78c2:dd9c:2f33> has joined #oe19:57
*** smurray is back20:07
*** sakoman is back20:21
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has quit IRC (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)20:25
*** smurray is now away: Auto-away20:28
*** smurray is back20:37
*** UraM <UraM!~quassel@user/UraM> has joined #oe20:40
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)20:44
*** smurray is now away: Auto-away20:47
*** UraM <UraM!~quassel@user/UraM> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)20:52
*** halstead is now away: Auto-away20:58
*** RP is back20:59
*** smurray is back21:01
*** RP is now away: I'm not here right now21:04
*** smurray is now away: Auto-away21:22
*** halstead is back21:26
rburtonfiles in dev are created by udev21:27
rburtonunless you're not using a device manage and devtmpfs is being used, in which case you don't get a script to set the permissions either21:27
*** sakoman is now away: I'm not here right now21:29
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Quit: Gone)21:33
*** RP is back21:35
*** RP is now away: I'm not here right now21:46
*** smurray is back21:48
*** florian <florian!~florian@dynamic-093-131-200-006.93.131.pool.telefonica.de> has joined #oe21:53
*** sgw is back21:53
*** RP is back21:54
*** RP is now away: I'm not here right now21:59
*** smurray is now away: Auto-away22:09
*** smurray is back22:20
*** KanjiMonster is now away: Auto away at Fri Nov 1 22:40:33 2024 UTC22:40
*** smurray is now away: Auto-away22:41
*** halstead is now away: Auto-away22:48
*** rburton is now away: Auto-away22:50
*** smurray is back22:50
*** paulg <paulg!~paulg@104-195-159-10.cpe.teksavvy.com> has quit IRC (Ping timeout: 245 seconds)22:52
*** sgw is now away: I'm not here right now22:53
*** sgw is back22:56
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)23:00
*** dankm <dankm!~dan@user/dankm> has joined #oe23:02
*** RP is back23:10
*** smurray is now away: Auto-away23:12
*** RP is now away: I'm not here right now23:19
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)23:19
*** RP is back23:22
*** RP is now away: I'm not here right now23:27
*** smurray is back23:32
*** sgw is now away: I'm not here right now23:37
*** sgw is back23:38
*** smurray is now away: Auto-away23:54

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!