Date: Wed, 3 Aug 2011 02:37:09 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: freebsd-usb@FreeBSD.org Subject: Access rights for specific USB device in /dev? (Was: Ippon UPS over USB (ugen1.2: <Cypress Semiconductor> at usbus1)?) Message-ID: <211179318.20110803023709@serebryakov.spb.ru> In-Reply-To: <1523100399.20110803022059@serebryakov.spb.ru> References: <1523100399.20110803022059@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, . You wrote 3 =E0=E2=E3=F3=F1=F2=E0 2011 =E3., 2:20:59: > I'm trying to attach IPPON SmartPower 1000 UPS to FreeBSD 8-STABLE > system via USB. > I'm posting it here, but not to NUT mailing list, because it seems, > that blazer_usb will need HID device, and FreeBSD doesn't detect one. Ok, it was bad error message from driver. Really, problem was in access rights to /dev/ugen1.2 node :) Now I have another question: devfs(8) uses device types or paths to specify access rules for /dev/*, which is bad idea for USB device, as it will change path when cable will be re-attached to another port. Is here any method to set owner:group of device node by VID/PID or ID string or something like this? --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?211179318.20110803023709>