Plug-and-play method for USB equipment under linux operation system

An operating system, plug-and-play technology, applied in the direction of using stored programs for program control, instruments, electrical digital data processing, etc., can solve the problem of increasing user burden, Linux operating system compatibility is not particularly good, and lack of connection channels And other issues

Inactive Publication Date: 2007-03-07
INVENTEC CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to historical reasons, the compatibility of the Linux operating system is not particularly good
When a USB device is connected to a computer running on the Linux operating system, although the operating system kernel (Kernel) can detect the insertion or removal of the USB device, the application program cannot get these messages, that is to say, the kernel and There is a lack of pipelines between applications, which requires manual user intervention to select and configure USB devices when using applications
[0004] In contrast to the functions provided by the Windows operating system, after Windows 2000, the detection function for USB devices has been done very well, especially for some standard USB storage devices, which can be recognized and used only by plugging them in, but Windows systems and Linux The system's plug-and-play support technology for hardware is completely different. Moreover, Windows also has many unsatisfactory places. For example, when a USB printer is plugged in, the Windows system can prompt the user which manufacturer's plug-in is inserted. No matter what type of printer it is, the user still needs to select the driver, or the user needs to install the driver of the printer independently, which increases the burden on the user and increases the risk of user error.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Plug-and-play method for USB equipment under linux operation system
  • Plug-and-play method for USB equipment under linux operation system
  • Plug-and-play method for USB equipment under linux operation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0043] The present invention provides a method for plug-and-play to USB devices under the Linux operating system, by establishing a daemon process (Process) between the system core and the application program, so that the application program can know the connection situation of the USB device in real time, such as As shown in Fig. 1, the method includes: storing a plurality of USB device drivers and generating a list of devices (step 101); setting corresponding configuration files (step 102) for USB device support; obtaining USB from the Linux system kernel according to the configuration files Device access message (step 103); analyze the message and identify the brand of the access device (step 104); read the internal information of the device to obtain its model (step 105); according to the device brand and model Search the system for the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides plug-and-play method for USB equipment under Linux operation system. First, several USB equipment drive programs are stored and one equipment list is created; then, corresponding configuration file is set, USB equipment access message is obtained from the system kernel based on the configuration file, the brand of the equipment is analyzed and distinguished, the equipment type number is read out and the equipment drive program is searched; and finally, the drive program is loaded automatically and the specific information of the equipment is informed to the application program. The present invention establishes relationship between the Linux operation system and the application program to makes it possible for the application program to understand the USB equipment inserting and removing information timely without need of user's intervention.

Description

technical field [0001] The invention relates to a plug-and-play method for a USB device, in particular to a plug-and-play method for a USB device under a Linux operating system. Background technique [0002] At present, with the popularity of the Linux operating system, more and more individuals and industries use Linux, and more and more applications are developed for Linux. On the other hand, Universal Serial Bus (Universal Serial Bus, USB) is as a new generation of peripheral device interface, because its transfer rate is much faster than the parallel port or serial port used by personal computers, for computer equipment and The transmission efficiency of the peripheral interface has been significantly improved, so it has been widely used once it is launched on the market. [0003] However, due to historical reasons, the compatibility of the Linux operating system is not particularly good. When a USB device is connected to a computer running on the Linux operating syste...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/00G06F9/06G06F9/445
Inventor 刘文涵宋建福岑驾科
Owner INVENTEC CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products