Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 2:41 PM, Chris Stankevitz wrote: > a) ls -l /dev. Hint: grep for the vendor id in hex > > c) lsusb -v Combination of these: First use lsusb to determine the bus number and device number. For example "Bus 004 Device 009". Then use ls -l to show the

Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 2:53 PM, Greg KH wrote: > My larger question, why do you want to do such a thing? What problem > are you trying to solve here that console-kit (or the like), isn't > already solving today for you? Greg, Thank you for your reply. Give a man a fish and you feed him for a

Re: Determine owner/group of a USB device

2013-02-11 Thread Chris Stankevitz
On Mon, Feb 11, 2013 at 3:52 PM, Greg KH wrote: >> sed -i -e 's/SYSFS/ATTR/g' /etc/udev/rules.d/* > > I doubt that will solve your root problem correctly I created a rule many years ago that set the group to "usb" for a custom FPGA board my coworkers created. I decided to use udev as the mechani