View previous topic :: View next topic |
Author |
Message |
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Tue Jul 15, 2014 8:02 pm Post subject: sys-fs/eudev & hwdb |
|
|
Hi there!
I've just replaced udev with eudev (thanks to Tractor Girl's mini guide).
Now I trying to update a system, but emerge complains about "hwdb" USE flag (requires by eudev).
If I enabling hwdb, it in turns, pulls in another one flag: udev.
I'm not sure do I really need this hardware database that may pull in some other crap? |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue Jul 15, 2014 8:25 pm Post subject: |
|
|
I have it installed with eudev and it should only depend on perl and virtual/udev (satisfied with eudev)
I think udev/eudev uses it to identify things like usb devices and other hardware that it manages.
I'm not 100% sure if it is needed. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Jul 15, 2014 8:29 pm Post subject: |
|
|
That really depends on your system. The answer is "I don't know. Do you need it?"
If you needed it before, then yes you still do. If you didn't need it the answer is no, you don't need it.
Switching to eudev should be as simple as using emerge -1 eudev. As far as other programs are concerned eudev and udev should be identical.
You may need to check your use flags. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6102 Location: Dallas area
|
Posted: Tue Jul 15, 2014 8:46 pm Post subject: |
|
|
A little more about it https://forums.gentoo.org/viewtopic-t-950616-start-0.html
hwids (hwdb) is used by pciutils and usbutils so if those are installed then it should be on your system. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Tue Jul 15, 2014 9:06 pm Post subject: |
|
|
thanks for replies, guys.
I read that topic before.
I didn't have it installed before, it emerged after switching to eudev.
usbutils isn't installed, but pciutils is here. If this database intended for "human-readable" purposes only, I think it may be removed. |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Tue Jul 15, 2014 9:39 pm Post subject: |
|
|
I've patched eudev ebuild and updated a system. Seems all works, lspci still shows all the devices. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Jul 16, 2014 6:37 am Post subject: |
|
|
The hwids files are required for /etc/udev/hwdb.bin generation. Without the files, it ends up as empty database, and udev will misrecognize devices. The USE="-hwdb" (as in, disabled) option is left for embedded systems with harddisk size considerations mainly.
I removed whole flag from sys-fs/udev because it's too dangerous to not have the database files, it only causes people to report invalid bug reports, to gentoo and to upstream. If people really want to avoid the hwids files, I prefer they use package.provided instead,
to indicate such setup is not supported. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Wed Jul 16, 2014 7:26 am Post subject: |
|
|
ssuominen wrote: | The hwids files are required for /etc/udev/hwdb.bin generation. Without the files, it ends up as empty database, and udev will misrecognize devices. The USE="-hwdb" (as in, disabled) option is left for embedded systems with harddisk size considerations mainly.
I removed whole flag from sys-fs/udev because it's too dangerous to not have the database files, it only causes people to report invalid bug reports, to gentoo and to upstream. If people really want to avoid the hwids files, I prefer they use package.provided instead,
to indicate such setup is not supported. | That kind of makes sense, but since there is a valid reason why a group of users would want to disable it wouldn't it make more sense to leave the flag but force it to be enabled?
As I recall there where/are several use flags of that type in KDE. USE="consolkit" was forced if I recall correctly (I haven't used KDE for over a year. My memory may be shaky on this point.) _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
|