Summary: | sys-fs/owfs-2.7_p21: '/etc/init.d/owfs start' fails for ds2490 with permission problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | whissi |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 277265 | ||
Bug Blocks: | |||
Attachments: |
/etc/udev/rules.d/46_ds2490.rules
/etc/udev/scripts/ds2490.sh part of /var/log/messages while plugging in ds2490 |
Description
Juergen Rose
2010-04-18 10:49:22 UTC
Created attachment 228249 [details]
/etc/udev/rules.d/46_ds2490.rules
Created attachment 228251 [details]
/etc/udev/scripts/ds2490.sh
Created attachment 228253 [details]
part of /var/log/messages while plugging in ds2490
I found the solution at http://owfs.org/index.php?page=udev-and-usb. Using the following four lines as /etc/udev/rules.de/46_ds2490.rules SUBSYSTEM!="usb_device", ACTION!="add", GOTO="owfs_rules_end" # DS2490 1-Wire adapter SYSFS{idVendor}=="04fa", SYSFS{idProduct}=="2490", MODE="660", GROUP="owfs" LABEL="owfs_rules_end" the permission problem starting /etc/init.d/owfs disapeared. It's also true for any devices used by owfs. For example, my 1wire network is exposed on my BananaPI thru an I2C adapter, and I had to add the following rule : --- /lib/udev/rules.d/60-i2c.rules --- KERNEL=="i2c-*", GROUP="owfs", MODE="0660" --- Best regards, Laurent Is anyone willing to proxy maintain this? https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers sys-fs/owfs-3.1p1 is now in tree which should fix the reported problem: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e788d1233936b0c24d52abd74c43fc6a4a6e09cf Thanks for reporting! |