[Bug 374245] Re: udev rules for libusb revokes permissions from normal users

2009-05-10 Thread wayoda
I looked into the issue a bit deeper and found the rreason why my devices 
stopped working:
I had all my local rules in files like 
50-avrprogrammer.rules
or 
50-cm.rules.

The new libusb-rule has moved the permissions for device-type usb_device 
from  
40-basic-rules to 50-udev-default.rules.

Suddenly my rules are applied _before_ the default-rules, therefore all
permission settings I made are invalidated by the default rule .

-- 
udev rules for libusb revokes permissions from normal users
https://bugs.launchpad.net/bugs/374245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374245] [NEW] udev rules for libusb revokes permissions from normal users

2009-05-09 Thread wayoda
Public bug reported:

Binary package hint: udev

release : Ubuntu 9.04

package:
udev:
  Installiert: 141-1.1
  Kandidat: 141-1.1
  Versions-Tabelle:
 *** 141-1.1 0
500 http://de.archive.ubuntu.com jaunty-updates/main Packages
100 /var/lib/dpkg/status
 141-1 0
500 http://de.archive.ubuntu.com jaunty/main Packages

file: /lib/udev/rules.d/50-udev-default.rules


I upraded to KUbuntu 9.04

Since Ubuntu 8.04 I'm using this udev rule here to give rw permissions to all 
users.

---
#Set permissions, allowing normal users to have read- and write-access to the 
device
ATTRS{idVendor}==07c0, ATTRS{idProduct}==1113, MODE=666  
ATTRS{idVendor}==07c0, ATTRS{idProduct}==1114, MODE=666  
---

After I did the upgrade the permissions are gone, only running my apps with 
sudo works!

The rule for libusb in /lib/udev/rules.d/50-udev-default.rules

# libusb device nodes
SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, 
NAME=bus/usb/$env{BUSNUM}/$env{DEVNUM}, MODE=0664

causes the trouble. The devices cannot be accessed by libusb for non-
root users no matter what privilegs are set on the individual device
node.

Thanks
Eberhard

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: udev 141-1.1 [modified: lib/udev/rules.d/50-udev-default.rules]
ProcEnviron:
 LANGUAGE=
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: udev
Uname: Linux 2.6.28-12-generic i686

** Affects: udev (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
udev rules for libusb revokes permissions from normal users
https://bugs.launchpad.net/bugs/374245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 374245] Re: udev rules for libusb revokes permissions from normal users

2009-05-09 Thread wayoda

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/26512548/Dependencies.txt

-- 
udev rules for libusb revokes permissions from normal users
https://bugs.launchpad.net/bugs/374245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 132623] Re: Add an udev-rule for the USB-IOWarrior devices

2007-09-25 Thread wayoda
If the suggested namespace /dev/usb/iowarrior is not possible in Ubuntu
right now, I would rather have no udev-rule for the device at all. Its
much easier to tell the user how to create a new rule then to edit an
existing one.

I will look into having the device registered with LANANA for some
future release of Ubuntu then...

Thanks
Eberhard Fahle

-- 
Add an udev-rule for the USB-IOWarrior devices 
https://bugs.launchpad.net/bugs/132623
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 132623] Re: Add an udev-rule for the USB-IOWarrior devices

2007-09-06 Thread wayoda
Hi,
The bug has been resolved on OpenSuse, what is ubuntu stopping to follow along 
???

On 2007-08-16 15:03   
https://bugzilla.novell.com/show_bug.cgi?id=300082#c1
Kay Sievers [EMAIL PROTECTED] changed:

           What    |Removed                     |Added

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Kay Sievers [EMAIL PROTECTED]  2007-08-16 07:03:12 MST 
---
I've added the device naming rule. Unfortunately, we can't default to world
readable permissions.
This needs to be granted dynamically to a locally logged in user, or the user
needs to add a custom rule that adds the permissions setting. Thanks!

Eberhard Fahle

-- 
Add an udev-rule for the USB-IOWarrior devices 
https://bugs.launchpad.net/bugs/132623
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 132623] Add an udev-rule for the USB-IOWarrior devices

2007-08-15 Thread wayoda
Public bug reported:

Binary package hint: udev

Applys to Ubuntu Gutsy Gibbon 

The kernel for the new release will be the first one that ships a driver
for the USB-IOWarrior (drivers/usb/misc/iowarrior).

Up until recently (Kernel = 2.6.21), users of these devices had to built the 
driver
themselves and install a new udev.rules file with this content:

snip
# udev rules for iowarrior device nodes
KERNEL==iowarrior*,  NAME=usb/iowarrior%n, GROUP=users, MODE=666
snip

Could this rule be put somewhere in the /etc/udev/rules.d dir, so the
IOWarriors will show up in the location where long-time users (and their
applications) expect them (i.e. /dev/usb/iowarriorXX).

Thanks for caring

Eberhard Fahle

** Affects: udev (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Add an udev-rule for the USB-IOWarrior devices 
https://bugs.launchpad.net/bugs/132623
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs