Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

An operating system, plug-and-play technology, applied in the use of stored programs for program control, instrumentation, electrical and digital data processing, etc., can solve the problem that the compatibility of the Linux operating system is not particularly good, increase the risk of user operation errors, and lack of contact plumbing and other issues

Inactive Publication Date: 2005-04-27
INVENTEC CORP
View PDF0 Cites 40 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 figure 1 As shown, 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 the USB device interface from the Linux system kernel according to the configuration files Enter the 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 in the syst...

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
IPC IPC(8): G06F9/06G06F9/445G06F13/00
Inventor 刘文涵宋建福岑驾科
Owner INVENTEC CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products