Fedora :: How To Change Udev Attribute

Jun 10, 2011

I have two touch screen monitors tha tI'm configuring for a dual-head display.That is working.For the touch screens it's a bit more complicated, each touch screen requires that I apply a specific config file for each individual TS (touch screen). Each config file is unique to it display. for that I'm using xinput to apply those configuration.My problem here is that the TSs are the same model and show up under udev and xinput under the same the same name minus the different hardware IDs whish is the only way that I can currently distiguish them.So far I've experimented with tweaking the udev rules for a particular TS with no luck (more than likely because I might be doing it wrong).I ned to be able to tell the two appart when I apply the configurations in xinput so I can write a script that will do this automatically for me.

View 1 Replies


ADVERTISEMENT

Fedora :: Update - Attribute Error Object Has No Attribute 'rsplit'

Aug 30, 2009

Recently installed Fedora 11 from CD on eeepc900HA. Update manager suggested 402 updates available. trying to update I get the following traceback error report:

Traceback (most recent call last):

On trying this process a second time after having selected specific packages I noticed that a prepare machine for upgrade package (not selected by me) seemed to be where the process stalled.

Trying a third time with attempt to upgrade some (random) python packages I get the same result via a system/admin/upgrade or download software .

View 3 Replies View Related

Programming :: Modify 1 Of My Ldap Attribute If Have 2 Same Attribute Under 1 Entry ?

Jan 26, 2011

Assume, I have the below LDAP entry

Code:

Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret

Do we use?

Code:

And how?

View 1 Replies View Related

General :: Change Attributes Or Remove Files With The E Attribute Set

Jul 6, 2011

I have a bunch of files on a usb stick that have just the e attribute set. So I can't chattr them, rm -f fails and chmod fails, all whether as user or root. How can I get rid of the e attribute? Failing that, how can I get rid of the files?

View 3 Replies View Related

Debian Configuration :: Udev / Systemd Change Some Rules In 8.0

Apr 18, 2016

I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:

/dev/disk/by-id/ata-OCZ-SABER1000_A22MJ061512000074.

Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.

Can I create right udev rules for it in /etc/udev/rules.d?

I want to avoid any conflict with /lib/udev/rules.d.

Code: Select all# udevadm monitor --environment --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [9302.549485] add      /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0
DEVTYPE=scsi_target
SEQNUM=5210
SUBSYSTEM=scsi

[Code] ....

View 0 Replies View Related

Debian Configuration :: Udev Rules To Change R/W Permissions?

Mar 28, 2011

I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':

KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""

[code]....

However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?

View 7 Replies View Related

Debian Configuration :: Udev Static Device Change From Wheezy To Jessie

Sep 9, 2015

I am using a 3rd party kernel driver that does not support udev properly. When I was using wheezy I placed the required device files in /lib/udev/devices.

The udev in jessie does not appear to support this. Is there any way to have udev create these device files or will I have to create then using a script at boot-up?

View 1 Replies View Related

Debian :: Use Udev Rules To Prevent HDDs To Change Device Instead Of Using UUID In /etc/fstab?

Dec 15, 2010

UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?

View 2 Replies View Related

Fedora :: YUM Update Error - Object Has No Attribute

Oct 23, 2009

My os is fedora 11. The error message is :

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1830, in _runYumTransaction rpmDisplay=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3813, in processTransaction
pkgs = self._downloadPackages(callback)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3837, in _downloadPackages
probs = self.downloadPkgs(dlpkgs)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1372, in downloadPkgs
self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/presto.py", line 577, in predownload_hook
(problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
File "/usr/lib/yum-plugins/presto.py", line 419, in downloadPkgs
cb.start(text="<delta rebuild>", size=rebuild_size)
File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 129, in start self._do_start(now)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2551, in _do_start
self.updateProgress(name, 0.0, "", "")
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2593, in updateProgress
pkg = self._getPackage(name)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2534, in _getPackage
sections = name.rsplit('-', 2)
AttributeError: 'NoneType' object has no attribute 'rsplit'

View 5 Replies View Related

Fedora Servers :: OpenLDAP - Cannot Add Value To 'mail' Attribute

Nov 30, 2009

After installing F11, I installed OpenLdap with the command "yum -y install openldap*" And added the password obtained through the command "slappasswd -s password -h {MD5}" into /etc/openldap/slapd.conf. Also, I specified the domain information within the file on "suffix" and "rootdn". I also modified the domain name in both /etc/openldap/ldap.conf and /etc/ldap.conf. I copied the Copied the /usr/share/doc/openldap-servers-2.4.15/DB_CONFIG.example to /var/lib/ldap/DB_CONFIG. Then started the server with the command /etc/rc.d/init.d/ldap start I then was able to create and delete OU's and CN's with the help of ldapadd and ldapdelete. I also created PERSON records using the base.ldif file with the content ;

dn: cn=user1, ou=domain, dc=example, dc=com
objectClass: person
cn: user1
sn: user1

Everything is OK until I try to add a person with an email address in the "mail" attribute. The error message is ;

***************************
adding new entry "cn=user1, ou=domain, dc=example, dc=com
ldap_add: Object class violation (65)
additional info: attribute 'mail' not allowed
***************************

This error message is appearing also with "uid" attribute. I have searched some forums and found some suggestions to include the line
"include /etc/openldap/schema/inetorgperson.scheme" in the file /etcopenldap/slapd.conf, which is already in.

View 1 Replies View Related

Fedora :: AttributeError: 'NoneType' Object Has No Attribute 'transport'

Nov 9, 2010

i'm having an error when running a python script that uses the python-twisted-web components... i get the impression that this program was developed and tested in a debian environment. heres the readout:

Quote:

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1165, in run
self.mainLoop()

[code]......

View 6 Replies View Related

Fedora :: Yumex - Values Instance Has No Attribute Repos

Jan 29, 2011

I am trying to get Yumextender to work and I get a error window. The traceback is:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1314, in dispatcher
self.parse_command(args[0], args[1:])
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1242, in parse_command
self.get_packages(args[0], args[1]
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 71, in newFunc
return func(*args, **kwargs) .....
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 42, in enable_debuginfo_repos for opt, repoexp in opts.repos:
AttributeError: Values instance has no attribute 'repos'
I messed with some repos but with yum update it checks and says 0 Updates

View 12 Replies View Related

Fedora Servers :: Access 'description' Attribute From LDAP?

Sep 5, 2011

how can i access 'description' attribute stored in LDAP server from LDAP client(pam_ldap,nss_ldap).

View 2 Replies View Related

Fedora :: Yum Not Working: AttributeError: 'YumBaseCli' Object Has No Attribute 'preconf'

Oct 15, 2009

I use fedora 8 & had previously tried to upgrade to 10, unsuccessfully. From then onwards, yum & rpm have refused to work. I tried deleting & rebuilding rpm database but it doesnt solve anything. Here is the error when I run yum

Code:

# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)

[code]....

View 1 Replies View Related

Fedora Installation :: AttributeError: 'NoneType' Object Has No Attribute 'opts'

Nov 18, 2009

I tried to run preupgrade-cli and I get this error. This is on a fresh install of Fedora 11.

preupgrade-cli -y "Fedora 12 (Constantine)"
/usr/lib/python2.6/site-packages/yum/__init__.py:203: UserWarning: Use .preconf instead of passing args to _getConfig
warnings.warn('Use .preconf instead of passing args to _getConfig')
Loaded plugins: blacklist, whiteout

[code]....

View 3 Replies View Related

Fedora :: F11 Udev Acts Completely Broken?

Aug 10, 2009

/etc/udev/rules.d/20-our.rules has worked perfectly in FC6 and F10. In F11 I can't get udev to even look at it, much less execute the udev commands in it. Stat tells me that none of the relevant files have been accessed when I plug in a USB device that udevadm says was processed and which clearly matched the rules.. I reboot with several USB devices plugged in and according to stat nothing anywhere in /etc/udev was accessed during the boot process.

View 11 Replies View Related

Fedora :: Udev Rules For Using USB Device Not As Root

Oct 15, 2010

Having finally made the switch from Windows (7 Professional) to Linux (Fedora 13) on my laptop, I'm now trying to get all my devices working, specifically an Olympus VN-4100PC Digital Voice Recorder. I've installed odvr and it works in root, but not as a normal user. The installation instructions say: odvr *requires* access to the user-space USB interface.

It is recommended to place "41-odvr.rules" into "/etc/udev/rules.d" or setup your own udev rules rather than running odvr as root. After changing udev rules, don't forget to run "udevcontrol reload_rules" and to replugin your DVR. Again, root privileges are required unless udev is properly setup. The file "41-odvr.rules" (designed for Ubuntu) has the following content:
SUBSYSTEM=="usb", SYSFS{idVendor}=="07b4", SYSFS{idProduct}=="020d", ACTION=="add", GROUP="audio", MODE="0664"

I tried just doing what it said and copying it to "/etc/udev/rules.d" but it didn't seem to work. Looking at other files, I then changed it to:
SUBSYSTEM=="usb", ATTR{idVendor}=="07b4", ATTR{idProduct}=="020d", ACTION=="add", GROUP="audio", MODE="0664"

And now if I do "ls -l /dev/bus/usb/002", I get:
crw-rw-r--. 1 root audio 189, 134 Oct 15 01:21 007

Which seems to suggest that it is running the "41-odvr.rules" file, since lsusb gives:
Bus 002 Device 007: ID 07b4:020d Olympus Optical Co., Ltd Digital Voice Recorder VN-240PC

But odvr still doesn't work as a normal user, giving:
Failed to open Olympus device: couldn't claim interface

View 2 Replies View Related

Red Hat / Fedora :: Error While Configuring Iscsi Using Udev

May 3, 2010

I am setting up iSCSI on Oracle Enterprise Linux.

After configuring the iscsi service, the symbolic link iscsi under the /dev folder is not created when the iscsi service is started.

Created the following UNIX shell script /etc/udev/scripts/iscsidev.sh on iscsi client node:
..............................................
#!/bin/sh
# FILE: /etc/udev/scripts/iscsidev.sh

[Code]....

View 8 Replies View Related

Fedora X86/64bit :: F10 Boot Stops At Starting UDev

Mar 29, 2009

I have done a fresh text-only installation of Fedora 10 on a Dell Dimension E521 for the purpose of setting up a server. After installation I ran yum update to bring the system up to date. After the update, I rebooted the computer, but the boot process froze. I recycled power and pressed "I" after the Dell BIOS screen and the GRUB bootloader appeared. I selected the most current version, edited the kernel line by deleting "rhgb quiet" and replacing it with "3." After making this change, I continued with the boot and the computer stopped at "Starting udev:" I have two fedora 10 revisions showing in the GRUB bootloader, the original installation and the update after running yum.

I repeatedly tried rebooting both versions and, after about 30 attempts, the computer finished booting and got me to the command prompt. Reading through the forums indicated there might be some issue with my nVidia GeForce 6150 onboard video and fedora 10. So, when I got to the command prompt, I followed the instructions in the forums [URL] to load the rpmfusion drivers. This appeared to be successful and when I looked at /etc/X11/xorg.conf it appeared to be correct for the new nVidia drivers. After loading these new drivers I tried rebooting. Unfortunately, I have been trying now over and over to get back to the command prompt, but simply can't get past "Starting udev."

View 13 Replies View Related

Fedora :: Udev Warning Message At Boot Time?

Aug 11, 2009

i'm heaving the following message at boot time: "Starting udev: udevd[114]: unknown key 'DEVTYPE' in /etc/udev/rules.d/70-cups-libusb.rules:6", i guess it's something about usb printing support but i am not sure, and i don't know how to fix it, does any of you guys know what this exactly means and how to fix it

View 6 Replies View Related

Fedora :: Latest Udev Update Killed System?

Mar 24, 2010

I ran update on my ASUS N51Vf laptop yesterday and among the updates there was one for udev. After installing it udev refuses to start at all saying: "iTCO_wdt: unexpected close, not stopping watchdog". Then I get to login but not for long: after several seconds either system reboots instantly or it hangs shutting down display. Is there any way to rollback udev update somehow considering I can't even login into system?

View 5 Replies View Related

Fedora :: Possible That Udev Error Is Responsible For Stattup / Hang?

May 29, 2010

on bootime the system hangs till pressed <alt><esc> a couple of times. The splash image is shown and the bright spot nearly full. The network and disk led's are off. System is hanging.After <alt><esc> ing a couple of times the leds blink,, the system comes up and the gnome login screen appears. The same behaviour ( exept of the gnome login screen )if starting with runlevel 3.Press 'I' to enter interactive startup.udev starten: %G[ OK ] Is it possible that the udev error is responsible for the stattup - hang?

View 6 Replies View Related

Fedora :: Udev Rules: Hide Arrays From Nautilus?

Aug 19, 2010

In the not so distant past, I was able to hide arrays/encrypted arrays from nautilus with udev rules as follows:

Code:

## HIDE Encrypted "dm" partitions from nautilus
SUBSYSTEM=="block", KERNEL=="dm-*", ENV{ID_FS_USAGE}=="crypto", ENV{DKD_PRESENTATION_HIDE}="1"
## NOTE: not needed by Fedora

[code]....

View 1 Replies View Related

Fedora :: Troubleshoot Slow Udev-settle Service?

Jun 14, 2011

F15_x64, upgraded from F14 on Sandy Bridge. Any idea how to troubleshoot this slow loading service?

Code:
[root@sandy andy]# systemd-analyze blame
4598ms udev-settle.service
1611ms fedora-wait-storage.service
Code:
[root@sandy andy]# systemd-analyze
Startup finished in 2024ms (kernel) + 1527ms (initrd) + 11217ms (userspace) = 14770ms
[root@sandy andy]#

[Code]...

I've tried systemctl disable udev-settle.service, but it doesn't work, service loads on every boot.

View 2 Replies View Related

Fedora Hardware :: F13 - Udev Des Not Create Entries For SATA Disks

Jul 17, 2010

I have Fedora 13 installed in a new computer, and form some weird reason, udev is skipping three of my HDs. Looging the output for udev --triger, the entries for the HDs are skipped

Code:
[root@storage ~]# lspci
00:00.0 Host bridge: ATI Technologies Inc RD780 Northbridge only dual slot PCI-e_GFX and HT1 K8 part
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A)
00:06.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port C)
00:07.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port D)
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F) .....

View 5 Replies View Related

Hardware :: Booting Of Fedora 10 Waits At Starting Udev: For 5-6 Minutes?

Aug 9, 2009

my fedora 10 booting stops at starting udev for 5-6 minutes.when i pressed 'i' for interactive , i see ata3(i think its my DVD-R/W) responding too slow. so, booting stops there till it responds.o/p of

Code:
dmesg | grep -i ata3
gives

[code]...

View 1 Replies View Related

Fedora Installation :: 12 Unstable During Boot / Crashed From Starting Udev To The Login Screen?

Nov 22, 2009

Fedora 12 randomly crashes after a fresh install.Everything is left at its default during the installation except I install KDE and not Gnome.When I try to boot I hit esc at the splash screen to see where it hangs, but it never hangs at the same spot twice. Sometimes it hangs and sometimes it restarts. Its crashed everywhere from starting udev to the login screen.

I've been using kubuntu for the past year because I have the same problem with F10 and F11.
I dual boot with Windows 7 for games.

System specs:
Motherboard: MSI P45 Platinum
Processor: Intel Core 2 Duo E8500
Video Card: Radeon HD4850
Memory: 4GB (2x2GB) Patriot
HDD: Main: 250GB SATA Western Digital
code....

View 5 Replies View Related

Red Hat :: Yum Not Working Anymore - Cannot Set Attribute

Feb 24, 2010

After a update that has gone bad I can't use yum anymore, I have already reinstalled the latest versions of yum and python from the RedHat site but no luck.

My error:
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 145, in init_hook
Repo = RhnRepo(channel)
File "/usr/lib/yum-plugins/rhnplugin.py", line 243, in __init__
self.metadata_cookie = 'cookie'
AttributeError: can't set attribute

View 3 Replies View Related

Ubuntu :: Add New Attribute To Inode Structure?

Feb 3, 2010

In my project, there is a requirement for adding one more attribute for file properties which keeps track of previous file copies(Copy history).
So how can we accomplish this?
can we add/store this information in inode structure?

View 5 Replies View Related

OpenSUSE Install :: Extended Attribute Support In 11.3?

Aug 21, 2010

Just tried to test ea support by running setfattr on a test file and received an error message to the effect that this function is not supported. Is that corrects and if so how do I turn on ea support?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved