ArticleDirectory
Method -:
Method 2:
Use Windows APIs
MSComm control used in MFC
Use USB to serial drive cypress_m8.ko (kernel> = 2.6)
Use hiddev
Introduction: USB 2com is a virtual serial port driver of USB to serial port converter.
Program (Windows2000/XP),
This article is divided into three sections to describe how to construct a simple USB filter driver, including "Fundamentals", "Program implementation", "Use INF installation." The purpose of this article is to want readers to understand the rationale, you can use the most popular and most convenient driver development tools other than DDK DriverStudio to impleme
few states, you need to know what USB devices are, and so on.The second step is to peep the whole picture;How does a USB device work? In fact, the USB subsystem is a sub-level work, they cooperate with tacit understanding, do their own part of the matter, everything to the overall situation.
Windows version is too low
For some friends who are still using Windows 95 or Windows 97 systems, even if the computer is equipped with a USB interface, because the operating system before Windows 98 does not support USB peripherals, install the driver anyway, Setting the CMOS parameters does not allow the removable hard drive to work properly. One workaround f
] usbcore:registered new Interface driver usbserial[668.692900] USBSERIAL:USB serial support registered for generic[668.692968] usbcore:registered new Interface driver Usbserial_generic[668.692973] USBSERIAL:USB serial Driver Core[668.704495] USBSERIAL:USB serial support registered for pl2303[668.716444] USB 5-1: pl230
The three main members of Linux I²C subsystem I2c_adapter, I2c_driver and I2c_client are briefly described in (a). The relationship of the three is also described in the previous section. There should be a preliminary understanding of the Linux I²c subsystem. The following further analysis of their relationship to the code layer, I think the better the understanding of their relationship, the more conducive to the development and commissioning of the drive of the I²C
, process management, file management, storage management, equipment management, network and communication management, user interface, in which the processor management is actually process management. Because the processor is allocated and executed in a process-based unit. and storage management means memory management.Further, the computer has a network card, video card, sound card, etc., you can also external USB flash drive, printer and so on perip
Original URL: http://www.cnblogs.com/biglucky/p/4059582.html
The three main members of Linux I²C subsystem I2c_adapter, I2c_driver and I2c_client are briefly described in (a). The relationship of the three is also described in the previous section. There should be a preliminary understanding of the Linux I²c subsystem. The following further analysis of their relationship to the code layer, I think the better the understanding of their relationship, the more conducive to the development
directory, we know that each file in the/dev directory corresponds to a device, as to whether the device is present or not, And these special files are located on the root file system, we have built these device files when we make the file system, so by manipulating these special files, we can interact with the kernel.However, the Devfs file system has some draw
, process management, file management, storage management, equipment management, network and communication management, user interface, in which the processor management is actually process management. Because the processor is allocated and executed in a process-based unit. and storage management means memory management.Further, the computer has a network card, video card, sound card, etc., you can also external USB flash drive, printer and so on perip
It is often said that a device usually has multiple configurations, and the configuration usually has multiple interfaces, and the interface usually has multiple endpoints. The interface represents a logical device, such as a sound card divided into recording and playback. When you access a device, you are accessing an interface (a logical
display. // When bdeviceclass is 0, this value is 0; when this value is FFH, it indicates that the vendor-defined device subclass is 0x00, /* bdeviceprotocol * // The device protocol used. When the value is FFH, it indicates that the device protocol is customized by the supplier 0x40,/* bmaxpacketsize0 * // The maximum packet length (in bytes) supported by the e
In Linux, USB storage devices are managed as local storage devices, just like local disks. Therefore, after you enter the fdisk-l command, the USB storage device is listed with the local disk. Www.2cto.com the USB flash drive device name is sdb, which is simulated as a SCSI
1, equipment description structure CdevDrive modelIn the Linux system, the device type is very numerous, character device, block device, network interface device, USB device, PCI device
Last time, I was initially exposed to the mounting problem of Android USB client, so I wrote the first article about the feelings. There are still some problems in many places, some of which are not clear enough, so I want to continue writing.
First, the last verification shows that the device can be mounted, but only one storage device can be mounted at a time.
I recently developed a USB custom device and encountered the following problems. I 'd like to write them out and share them with you.
During the development of USB devices, you often need to change the name or PID and vid of the USB devices, especially for custom USB device
Address: http://fsysky.blog.163.com/blog/static/11381650920114260420177/
Pid/vid definition file ---- kernel_imx \ drivers \ USB \ storage \ unusual_devs.h
After the PID vid of the USB driver is modified in the Linux Kernel of the Android device, the ADB tool may not be able to identify the
Note: The user-level USB driver is well written. It seems that QT embedded porting is also based on this.Kernel-level USB drivers have problems in the following aspects:
1. When the customers who use our products have a 2.4 kernel platform and a 2.6 kernel platform, we need to design a driver that is compatible with th
Android Studio Solutions for USB device not foundWhen we use Android Studio for Android Development, when we use the real machine for debugging, there is a good chance that USB device not found is a problem. Many solutions have been put forward on the internet, many of them are wrong. Now give the correct solution:1. I
round check protocol. When a device needs to send data to the master controller, the master controller must notice and send a request to the device that wants to send the data. That is, the USB device does not need to interrupt the master computer in the traditional way, but provides the interrupt endpoint, and the ho
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.