LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-31-2018, 07:27 AM   #16
mostefa
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by rocq View Post
Great!

Now verify that 113 is actually the group ID of the "video" group:
Code:
cat /etc/group | grep video
Secondly, I would recommend that you remove your own rule 99-permissions.rules since 50-udev-default.rules already applies the video group to /dev/fb0
Yes actually 113 is the video group id

I removed my own rule 99-permissions.rules
I restarted the system and i am having always root for gid

and when i run the command :

udevadm test `udevadm info -q path -n /dev/fb0`

I have:

root@TBX01:~ udevadm test `udevadm info -q path -n /dev/fb0`
run_command: calling: test
adm_test: version 181
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

builtin_kmod_init: load module index
add_matching_files: unable to open '/etc/udev/rules.d': No such file or directory
add_matching_files: unable to open '/run/udev/rules.d': No such file or directory
parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
util_lookup_group: specified group 'audio' unknown
parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-net-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/75-tty-description.rules' as rules file
parse_file: reading '/lib/udev/rules.d/78-sound-card.rules' as rules file
parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
parse_file: reading '/lib/udev/rules.d/85-usb-drives-auto-mounting.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
parse_file: reading '/lib/udev/rules.d/99-systemd.rules' as rules file
parse_file: reading '/lib/udev/rules.d/99-usb-serial.rules' as rules file
udev_rules_new: rules use 16968 bytes tokens (1414 * 12 bytes), 12065 bytes buffer
udev_rules_new: temporary index used 11860 bytes (593 * 20 bytes)
udev_device_new_from_syspath: device 0x3a318 has devpath '/devices/platform/mxc_sdc_fb.0/graphics/fb0'
udev_device_new_from_syspath: device 0x3a470 has devpath '/devices/platform/mxc_sdc_fb.0/graphics/fb0'
udev_device_read_db: device 0x3a470 filled with db file data
udev_rules_apply_to_event: GROUP 113 /lib/udev/rules.d/50-udev-default.rules:38
udev_node_add: handling device node '/dev/fb0', devnum=c29:0, mode=0660, uid=0, gid=113
node_fixup: set permissions /dev/fb0, 020660, uid=0, gid=113
node_symlink: preserve already existing symlink '/dev/char/29:0' to '../fb0'
udev_device_update_db: created db file '/run/udev/data/c29:0' for '/devices/platform/mxc_sdc_fb.0/graphics/fb0'
ACTION=add
DEVNAME=/dev/fb0
DEVPATH=/devices/platform/mxc_sdc_fb.0/graphics/fb0
ID_USB_INTERFACE_NUM=
MAJOR=29
MINOR=0
SUBSYSTEM=graphics
UDEV_LOG=6
USEC_INITIALIZED=12967592
builtin_kmod_exit: unload module index


Any suggestion?

Last edited by mostefa; 07-31-2018 at 07:29 AM.
 
Old 07-31-2018, 08:09 AM   #17
rocq
Member
 
Registered: Jan 2013
Location: Netherlands
Distribution: XUbuntu
Posts: 57

Rep: Reputation: Disabled
Are you running systemd? If yes, what's the output of commands 'systemctl status -l --no-pager -n 1000 systemd-udevd' and 'systemctl status -l --no-pager -n 1000 systemd-udev-trigger'?
 
Old 08-13-2018, 09:40 AM   #18
rocq
Member
 
Registered: Jan 2013
Location: Netherlands
Distribution: XUbuntu
Posts: 57

Rep: Reputation: Disabled
any update mostefa?
 
Old 08-16-2018, 03:06 AM   #19
mostefa
LQ Newbie
 
Registered: Jul 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear rocq

the output of the command:

systemctl status -l --no-pager -n 1000 systemd-udevd' and 'systemctl status -l --no-pager -n 1000 systemd-udev-trigger

is:
systemctl: invalid option -- 'l'


After debugging the startup of my embedded linux i found that in one startup script , i am having :

mdev -s

and according to the help , this command:

root:~ mdev --h
BusyBox v1.18.5 (2018-07-30 10:15:17 CEST) multi-call binary.

Usage: mdev [-s]

-s Scan /sys and populate /dev during system boot


So i think that the problem is that i am populating agin /dev and /sys after udev rules are applied.

I deleted this line , and for no , i am not having this problem anymore !

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logged in as "root"/Fedora 8 but get "Operation not permitted" when using "chmod etc gosunlee Linux - Newbie 7 02-10-2008 06:56 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". HELP! badgerbox76 Linux - Newbie 35 03-08-2007 03:27 AM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". badgerbox76 Linux - Games 13 01-11-2006 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration