Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Solved

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
dave-gallagher
n00b
n00b
Posts: 29
Joined: Wed Mar 01, 2006 2:01 am

Solved

  • Quote

Post by dave-gallagher » Mon Oct 30, 2006 11:34 pm

Last edited by dave-gallagher on Fri Jan 13, 2023 1:44 am, edited 3 times in total.
Top
Dlareh
Advocate
Advocate
User avatar
Posts: 2102
Joined: Sat Aug 06, 2005 8:33 pm

  • Quote

Post by Dlareh » Tue Oct 31, 2006 2:22 am

Make them world readable.
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Top
dave-gallagher
n00b
n00b
Posts: 29
Joined: Wed Mar 01, 2006 2:01 am

  • Quote

Post by dave-gallagher » Tue Oct 31, 2006 2:25 am

Last edited by dave-gallagher on Fri Jan 13, 2023 1:33 am, edited 1 time in total.
Top
Dlareh
Advocate
Advocate
User avatar
Posts: 2102
Joined: Sat Aug 06, 2005 8:33 pm

  • Quote

Post by Dlareh » Tue Oct 31, 2006 2:28 am

Now that I'm not so sure about. Probably fine if this is an average desktop computer, but if you really want to be safe chgrp them to the "games" group and make them 660.
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Tue Oct 31, 2006 3:27 am

Instead of manually changing the permissions you should use a custom udev and then add users to the group you create as need. Here is an example:

Code: Select all

BUS=="usb", SYSFS{idVendor}=="046d", SYSFS{idProduct}=="c01d", NAME="input/MX510", GROUP="mygroup", MODE="664"
You can find the idVendor and IdProduct numbers using lsusb and in this example, add the user to the mygroup group and it will have those permissions. (read/write)
(You have to create the group also.)
Top
dave-gallagher
n00b
n00b
Posts: 29
Joined: Wed Mar 01, 2006 2:01 am

  • Quote

Post by dave-gallagher » Fri Dec 01, 2006 10:03 pm

Last edited by dave-gallagher on Fri Jan 13, 2023 1:37 am, edited 1 time in total.
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Fri Dec 01, 2006 10:16 pm

dave-gallagher wrote:I ended up having to edit the udev configuration settings. Basically, udev would undo changes done on my mouse "event*" permissions.

1) cd /etc/udev/conf.d/rules.d
2) There should be a few udev configuration files here
3) Edit the one that starts with 50. (nano 50-udev.rules)
4) In the file, search for event, mice, and mouse.
5) Change the last permission bit from 0 or 4, to 6.
6) This essentially chmod’s the /dev/input/* devices so that a normal user can read and write to the devices.
7) Save, exit, reboot. Permissions changed.
Bad idea.

You should not modify this file as it will be overwritten on the next udev update.

You should make the entries in a lower number rule file and it will take precedence over the entries in 50-udev.rules.
(First matching entry is the one used.)

If for some reason it appeared the 50-udev.rules entry was overriding the lower file, double check to make sure the entry was right and was matching properly.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic