Device::USB::FAQ 0.21
Sponsored Links
Device::USB::FAQ 0.21 Ranking & Summary
File size:
0.027 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
8959
Date added:
2007-07-26
Publisher:
G. Wade Johnson
Publisher URL:
http://search.cpan.org/~g
Device::USB::FAQ 0.21 description
Device::USB::FAQ Perl module contains Frequently Asked Questions for Device::USB.
This is an attempt to answer some of the frequently asked questions about the Device::USB module.
Which platforms does Device::USB support?
Device:USB supports any platform that libusb supports. This list currently includes Linux, FreeBSD, NetBSD, OpenBSD, Darwin, and MacOS X.
There is a port of the libusb library to the Windows environment called LibUsb-Win32. Because I dont have a development environment for testing this library, Device::USB does not yet support this library.
Do I have to use Device::USB as root?
By default, access to the USB devices on a Unix-based system appear to be limited to the root account. This usually causes access to most of the libusb features to fail with a permission error.
Using the Device::USB module as root avoids this feature, but is not very satisfying from a security standpoint. (See the next question for more options.)
How do I enable use of Device::USB as a non-root user?
Some of the attributes of USB devices are available to non-root users, but accessing many of the more interesting features require special privileges. According to the libusb source, the open() function requires either device nodes to be present or the usbfs file system to be mounted in specific locations. Those places in order are:
1)
/dev/bus/usb - pre-2.6.11: via devfs / post-2.6.11: via udev
2)
/proc/bus/usb - usbfs
Look in both locations on your system for which of these two methods your libusb will use.
No matter which method your system uses, you will probably want to create a separate group to control access. Run this command to add a system group:
addgroup --system usb
or
groupadd --system usb
You can then add users to that group to allow access to your usb devices.
This is an attempt to answer some of the frequently asked questions about the Device::USB module.
Which platforms does Device::USB support?
Device:USB supports any platform that libusb supports. This list currently includes Linux, FreeBSD, NetBSD, OpenBSD, Darwin, and MacOS X.
There is a port of the libusb library to the Windows environment called LibUsb-Win32. Because I dont have a development environment for testing this library, Device::USB does not yet support this library.
Do I have to use Device::USB as root?
By default, access to the USB devices on a Unix-based system appear to be limited to the root account. This usually causes access to most of the libusb features to fail with a permission error.
Using the Device::USB module as root avoids this feature, but is not very satisfying from a security standpoint. (See the next question for more options.)
How do I enable use of Device::USB as a non-root user?
Some of the attributes of USB devices are available to non-root users, but accessing many of the more interesting features require special privileges. According to the libusb source, the open() function requires either device nodes to be present or the usbfs file system to be mounted in specific locations. Those places in order are:
1)
/dev/bus/usb - pre-2.6.11: via devfs / post-2.6.11: via udev
2)
/proc/bus/usb - usbfs
Look in both locations on your system for which of these two methods your libusb will use.
No matter which method your system uses, you will probably want to create a separate group to control access. Run this command to add a system group:
addgroup --system usb
or
groupadd --system usb
You can then add users to that group to allow access to your usb devices.
Device::USB::FAQ 0.21 Screenshot
Sponsored Links
Device::USB::FAQ 0.21 Keywords
FAQ
FAQ Perl
FAQ 0.21
USB.
DeviceUSBFAQ
Frequently Asked Questions
frequently asked
Perl module
module
questions
system
Libusb
frequently
asked
Device::USB::FAQ 0.21
Libraries
Bookmark Device::USB::FAQ 0.21
Device::USB::FAQ 0.21 Copyright
WareSeeker periodically updates pricing and software information of Device::USB::FAQ 0.21 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Device::USB::FAQ 0.21 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Device::USB::FAQ 0.21 Related Software
Device::Modem is a Perl extension to talk to modem devices connected via serial port.
Device::TNC is a Perl module that acts like a generic interface to a TNC.
Device::Serdisp is a Perl extension for talking to the serdisplib.
Device::SNP is a Perl extension for the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals.
Device::Cdio::Device is a class for disc and device aspects of Cdio.
sc101-nbd allows Linux to access a Netgear SC101 storage device as a block device, without requiring a new kernel module.
Device Control Device is a platform independent remote telescope and device control program.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD