summaryrefslogtreecommitdiff
path: root/xpp/astribank_hook
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-10-13 18:21:17 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-10-13 18:21:17 +0000
commitee453cb6ce6863f1b3f87888bf4572d1f6455cb3 (patch)
tree18d6a3c3af7d01144c362f73f86e6f8f81662422 /xpp/astribank_hook
parent55b5a9cc5ea6f7f634a3b6b667c39b7c5cb02a8f (diff)
xpp: make /proc/bus/usb/devices optional
Get the information we read from /proc/bus/usb/devices from /sys/bus/usb/devices . Tested on my Debian Unstable with 2.6.30 kernel. The default is still /proc/bus/usb and sysfs is only used if the procfs file is not found. Also fixes a case of using the sysfs attribute busnum, that does not exist in kernel 2.6.9 . Devise the bus number from the name of the node. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7401 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/astribank_hook')
0 files changed, 0 insertions, 0 deletions