Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I hope this is the correct forum for a USB testing question. I'm running Ubuntu 12.04, kernel 3.2.0-23. I've been looking at testing USB using a flash drive. My first question is simply, where is the latest usbtest.c file? I installed kernel sources, but that did not give me this file. I see that the usbtest.ko module is available which leads me to believe that this test can still be used, and that the source must be somewhere. When I try to run 'testusb -D /dev/sdb1', I get messages like:
unknown speed /dev/bus/usb/001/007 0
./testusb: /dev/sdb1 may see only control tests
can't open dev file r/w: No such file or directory
So it appears something is trying to run, and 001/007 corresponds to my flash device based on 'lsusb -v' output. I don't know if this is a configuration issue, or something else and maybe the source will help? Or maybe someone on the forum has some info?
Since lsusb is saying that /dev/bus/usb/001/007 0 is the flash drive than I would say maybe it's a configuration issue
Maybe another member will know more about configuration issue's. Sorry I don't know how to tell--
If something on the flash drive is trying to run it may be that it is not functioning because your machine is not set to boot to usb first. Unless that is not what you want.
Is the flash drive formatted with grub and a distribution on it?
Thanx for the reply/info. I've since moved on to working with the USB libraries such as usb & libusb. I'm accessing the flash device in a 'raw' mode, no partitions, no format, no OS. I can detach the existing kernel driver, claim the interface, and open the device. But I'm not writing data to the device successfully yet.
So my direction has changed but the issue is not yet resolved. If anyone has helpful hints for working with the usb/libusb library functions, I'd appreciate seeing such :^).
Thanx for the reply/info. I've since moved on to working with the USB libraries such as usb & libusb. I'm accessing the flash device in a 'raw' mode, no partitions, no format, no OS. I can detach the existing kernel driver, claim the interface, and open the device. But I'm not writing data to the device successfully yet.
So my direction has changed but the issue is not yet resolved. If anyone has helpful hints for working with the usb/libusb library functions, I'd appreciate seeing such :^).
Regards,
Anders
Your Welcome.
Maybe ( I'm guessing) by learning how the usb/libusb libraries work in functionality and how they provide support and distribute it that will perhaps lead you to being able to manipulate them to perform the task/test you want to put in motion. Libraries are programs that do things. Not entirely sure what those things and processes are but it's worth finding out IMO-
Good Luck
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.