Saturday, October 23, 2010

Compile the kernel to handle modifications to support the parallel port PS


PS modified the handle is connected to the parallel port printer port on the handle, compared to traditional multi-port connected to the analog sound card MIDI controller, it is purely digital, therefore the correct positioning (no need to adjust the image simulation to correct positioning of the handle), Moreover, the support of the keys can reach more than 10 (the handle much more than analog), can fully meet the needs of any game; handle because it is digital, so handle the circuit is very simple, low cost, here in Guangzhou, a pair of PS modified handle only 16, was sold through street has the effect was very good! (I believe many of my friends are using it!)

WIN version of PS handle very large drives, but under linux, its support has been very lack of information, the network also never seen people talk about; because I often play a variety of simulator under linux , which can not support the handle has been brooding on this matter. Recently, even unintentionally found among the kernel, in fact, has long provided support to some test + read kernel comes with documentation, and finally test success! introduce the following methods: System: Red 3.0desktop, kernel 2.4.18 (earlier one may also support, but I have not tested).

1. As the PS used the parallel port handles parallel port, but also handle equipment, so please check you have / dev / parport *, / dev / js *, / dev / input / js * These devices, if there can be ignored This step; If not, please set up, is:

cd / dev
rm js *
mkdir input
mknod input/js0 c 13 0
mknod input/js1 c 13 1
mknod input/js2 c 13 2
mknod input/js3 c 13 3
ln-s input/js0 js0
ln-s input/js1 js1
ln-s input/js2 js2
ln-s input/js3 js3

2. Into your kernel source file directory (for example mine is / usr/src/2.4.1, the implementation of the kernel make xconfig command configuration.

First configure the parallel port-related: the standard one is the best standard configuration into Y, M should also be selected, but not recommended; this function will be built parallel port support kernel, the kernel starts automatically detect parallel port and to / dev / parport * work.

3. Configuration input core support, to the local elections marked M, this function will be configured to handle the module, when loaded, so that / dev/js0 these works; Although the input core support of the help document that is to configure USB devices But in practice, these are universal handle equipment, do not configure it, you can not configure the next step (That's what I did not configure it, the results So now joystice the options are gray, it can not be configured )---- Configure compile step will generate input.o and joydev.o the two modules.

4. Configure joystick: Click the character device option in the joystick to enter the handle configuration window, choose the place marked M, is to configure sound card on a MIDI port (this should be omitted, according to documentation of the kernel is to support the analog controller , and the handle on the number of useless, but I have not tested), one PSX controller configuration support ---- This step will generate gameport.o and gamecon.o compile the two modules.

5. Save the configuration out, recompile the kernel and modules and install, here is not wordy, and the information on this site compiled kernel "Technology Forum" there is a lot.

6. Enter "/ lib / modules / your kernel / kernel / drivers /" (for example mine is / lib/modules/2.4.18/kernel/drivers) directory, see the input directory should have input.o and joydev.o two modules; char / joystick directory should have gamecon.o and gameport.o module.

7. Edit / etc / modules.conf file, add the following two lines:

alias pspad gamecon
options gamecon gc = 0,7,7,7,7,7

The first line means that the module starting to gamecon.o individual names pspad, then you can use this command to load modprobe pspad; the second line means to add this module gc gamecon this parameter, where "0,7 , 7,7,7,7 "and" 0 "indicates that the handle is connected in the first printer port (/ dev/parport0), if your handle is connected to the second, then with 1, analogy; behind the first a "7" represents the first handle, the handle type is converted PS, the second "7" represents the second handle, the handle type is PS, as the parallel port can simultaneously access the handle 5, so there is 5 7, If you have only one connected, just write a "7" on it (a term representing the super-modified handle, two handles represent the red and white conversions, 6 represents the modified N64 controller, 7 on behalf of PS converted handle); this two very important, especially the second line, without this parameter, then the module will get an error that loaded gamecon parameter error!

8. Restart, use the new kernel, the boot process, you will find a parallel port test message appears, because the parallel port support functions already in the kernel work; into the system, open a terminal window, execute the following command sequence:

modprobe input
modprobe joydev
modprobe pspad

Without any error message, then click again lsmod to confirm which input, joydev and gamecon three modules, one of the gameport usually automatically loaded with the sound card driver.

9. Run jstest / dev/js0 (if your system does not have this command, please visit www.rpmfind.net search keywords joystick to install a package called joystickxxx.rpm there will be a), when you click the button handle If there is a corresponding change in the screen output, then congratulations you handle drive completely successful!

10. You can now look at a simulator, or other games, with game controller feature set look, you can immediately use; such as epsxe this emulator, you can use ammo joydevice pad driver of this plug-in, click on configuration can be used, where / dev/js0 on behalf of a handle, / dev/js1 on behalf of the second handle, so on! After I test, all can be applied to the handle of the programs can handle the normal function to achieve the effect class! after you Step 8 can be in three lines that load modules modprobe command to rc.local in it with the boot from the load, then one can use the handle into the system after it! or written a script it needs to be further implementation can be!

Much of the information above is from the documentation that comes with the kernel, what if you do not understand, please read the kernel source directory under Documentation / input directory joystick.txt and joystick-parport.txt document.






Recommended links:



"Dream Zhu Xian," How the experience card



"Blue Collar" Talent Shortage Wages Rose More Than "white Collar"



Expert Q & A: formation of six key issues WLAN



Best System MAINTENANCE



windows will not open exe files how to repair



LISTS Debugging



3G operators SCRAMBLE for promotion blind users Costly



Investment Tools Specialist



for you Web SERVERS



Do not heat to high speed fully Raiders Summer Thunder



ASF to AVI



You Will enter the English phonetic it?



DAT to WMV



Used to create automatic play MUSIC listening Pros CD



3GP to AVI



Zhu Pengju: CAD is even more "integration" OF the operation



"Dragon Century: Origins," the official prequel novel Translation Preview



Friday, October 15, 2010

"Golden Land Project" supervision of our lifeline


Land and minerals is the lifeline of mankind's development, the most stringent way to control our lifeline, "Golden Land Project" issued after the rock, a "12 golden projects" under construction outside the Development and Reform Commission approved the first "King" character works.

1.43 mu of cultivated land per capita is only so much basketball, but also declining. However, individual local governments and farmers have chosen to describe land as a "get rich" shortcut; there are some private mining miners excessive digging, not only destroy the natural environment, also hit low prices on the international market, the "internal friction of war" , resulting in sales of rare earth when the dirt. With the IT tools, all kinds of Land and Resources will implement a comprehensive regulatory violations.

An investment 107 million yuan

June 29, Vice Minister of Land and Resources Lu Xinshe in 2005, Information Seminar on Land and Resources announced that the National Development and Reform Commission has formally approved the "Golden Land Project" construction project proposal, will focus on building national regulatory system to protect arable land , the national security system of mineral resources and geological hazard warning and emergency command system, and the national cadastral database, the national geological drilling database, resource and environmental remote sensing monitoring of database and other infrastructure, strategic land resource database. In 2002 the State Council, "Document No. 17," has focused on the development of "Golden Customs Project", "Golden Tax Project", "Golden Shield" and 12 e-government system, commonly known as "12 Gold Project"; so far only approved the State Development and Reform Commission the "Golden Audit", "Golden Shield Project", "Jinbaogongcheng" and a few other projects; as the "12 golden projects" matching project, "Golden Land Project" came from behind to become the "12 golden projects" started outside the building The first "golden" word works.

According to reports, "Golden Land Project," a construction period of two years, the central government invested 107 million yuan, will be Ministry of Land, 32 provinces and 32 farmland protection model city construction business management applications, and select a provincial jurisdiction, the establishment of food production capacity of arable land evaluation system, the dynamic changes of regional industrial land and building an integrated analysis system for analysis of land use system; will be Ministry of Land, 31 Provincial building important mineral resource management applications, and for coal, oil, iron and potassium four kinds of minerals, establishment of mineral resources in the Ministry of Land and analysis system for important resources and mineral products and global market information and analysis system. On the other hand, "Golden Land Project," a national e-government will be relying on external Web integration of existing data resources, construction, and improve the Ministry of Land, 31 provinces and 32 cities in all levels of data center model, and the basis of data centers and dynamically updated database, which, in the data center construction and improvement of land and resources include a variety of land and mineral information database based on 18 categories, in 31 provinces and municipalities including construction and improvement of a variety of land, mineral 14 categories of information based on the database, model cities in 32 data centers contain a variety of land development and improvement of the 10 classes based on database information.

In addition, would need to develop data collection, quality control, information exchange, 绯荤粺 11 security standards to establish and improve information technology Guo Tu Zi Yuan Hu mineral standard Ti Xi. It is learned, software and network construction investment by the central government, provinces and cities in the hardware model and data center computer room construction by the local financial commitment, and ultimately "to see through the sky, the ground search, online management, let off on every piece of land regulation" .

Land "red line" into the "spring line"

Farmland protection of national regulatory system is a "Golden Land Project," a top priority, is most urgently needed to protect the current land information system. According to regulations, local governments below the provincial level, especially county and township governments, no power to approve construction projects. However, some of the land law has been disclosed in terms of cases, county and township levels of government frequently took hundreds of thousands of acres of land granted to the land unit or individual. Statistics show that last year the local government and its functional departments have 4,746 illegal land use cases involving a land area of 10,100 ha, respectively over the previous year increased by 28.53% and 42.53%. What makes land a "red line" into the "spring line"?

Land and Natural Resources Information Center Director Wang Guanghua said that the current Ministry of Land and land involved in the protection of three divisions, Farmland Protection grant to the record management, land use management for the Secretary to the filing, the Division is responsible for cadastral land use remote sensing, due to sector can not fully share information between, to create an opportunity for individual local governments, so did not account for the first batch, more than accounted for less approved, ultra vires grant, unauthorized changes in land use such as frequent occurrence of the phenomenon of illegal sites, and even intensified.

National regulatory system to protect arable land must first get through the information barriers between the three departments, and made public land approval, the supply of information. It is reported that in the future regardless of the central government or provincial government land grants, are filing online, both as to land use for the basis of the Secretary, but also for people queries. In the future when the people of the land is occupied, please check the legality of the land occupied? Whether the land use compensation in full? If the land is occupied, and the information available online does not match, the local government law can be sued. Wang Guanghua said the government information the public is convenient to protect their rights and interests of the masses, but also strengthen the supervision of the masses of the local government, a government tool to improve their ability to govern. Meanwhile, Secretary for the use of remote sensing satellites Cadastral checks the actual utilization of land. According to reports, satellite remote sensing can clearly distinguish the ground in each square meter of land is arable land, barren hills, forests or buildings, to provide accurate information on land use around.

The establishment of national regulatory system to protect arable land, the Central and provincial government grant of land all in line for the record, at all levels of land development and land use sector is also on-line record for the same time, using satellite remote sensing systems to monitor land use, and then the three data adding together to discover, investigate illegal land disposal, land use phenomenon.

But objectively speaking, only the national regulatory systems rely on the protection of farmland, and not the most stringent protection of arable land, because IT is only a means. Wang Guanghua, said to be the most stringent protection of arable land, but also to develop stringent land conservation system for offenders both lose their jobs or even bankruptcy. Present high incidence of illegal land one of the important reasons is against the law covers the "cost" too low, and the "income" is very high, individual offenders or Zhaozhao "relationship" everything will be fine.

"Rare Earth" when "dirt" selling

Protection of mineral resources, national security system is the "golden land project" Another important system. Development and utilization of mineral resources in China is facing a dilemma, on the one hand is quite the world per capita consumption of only 58% of the per capita level, the majority of resources, poor quality oil, rich iron ore and other important minerals is a serious shortage; while on the other hand blind exploitation, destruction, loss is extremely serious. Rare earth mining, for example, although more than half the world's rare earth resources are concentrated in China, but in recent years, China's rare earth production and operation most difficult, because that is most rare earth mining enterprises blindly, high energy consumption, high pollution, and at low prices on the international market hit the "internal friction war", causing prices to unprofitable, even loss-making situation, most notably yttrium, europium oxide and other heavy rare-earth products decreased in 2 to 3 times Other rare earth products decreased by 20% to 50%. Individual countries or even a large number of imports from China Rare Earth, but it is not used but stored, such as resource depletion, when the Chinese rare earth again Nachulaimai.

For the protection and rational utilization of mineral resources, mineral land and resources will create the world's major information systems and cover the country's major mineral distribution of the underlying database and management information system to realize development and utilization of mineral resources in the process of effective supervision and regulation. According to reports, the world's major mineral resources information system, including the world's major mineral reserves, mineral deposits and dynamic pricing information; the national reserves of mineral resources management system, management information systems, including the mining rights for each type of mineral reserves, annual extraction volume, market demand amount of other information. If some minerals, such as rare earth, the international market prices, Ministry of Land Resources will analyze the availability of rare earth, including the current market supply and for the total, so as to decide whether to stop or reduce the development of rare earth approval, and to reduce approval and so on, to encourage enterprises to import from the international market of rare earth, save the country's rare earth reserves; the other hand, sufficient mineral reserves in the domestic context, the approval of the Ministry of Land and will expand the exploitation of mineral resources, encourage enterprises to export. Wang Guanghua said, mineral resources, the National Security system to achieve on the Mineral Resources of the scientific decision-making to maximize the protection of domestic mineral resources; on Yi Xie strategic mineral resources 涓嶄粎 have to study Quanqiu reserves, distribution, and so their information, but also to departments offer, joint exploration and so on.






相关链接:



Ubuntu can not solve the activation issue of Chinese input method



Reviews Firewall And Proxy Servers



Simple News Servers



Compilation of various source - CLEAN



The Basics of intrusion detection rules



UML, RUP and Zachman Framework: the perfect combination of [3]



Zhou Hongyi: Free Mode SUBVERSIVE



Real to MP4



MKV TO WMV



Chen Qishen: production Is not magic



Easy To Use Adventure And Roleplay



MPG to Flash



Picked Games Kids



Five European giants CEO signed a letter opposed to reform the EU patent law



Dialogue Negroponte: U.S. Dollar 100 Computers Who Moved The Cheese



on the oracle 10g flashback recovery area



Tuesday, October 5, 2010

John XINHUA introduction of Guangxi sugar set EAM2008



December 16, 2009, Guangxi Sugar Wing XINHUA Chint Group Co., Ltd., Guangzhou City Business Data Co., Ltd. signed a contract to set up the introduction of asset management system EAM2008, to achieve the company's equipment asset information management.

John XINHUA Sugar Group Co., Ltd. Guangxi is a consolidation of the sugar, fuel alcohol, pulp paper, specialty fertilizer and other biological bacteria sugarcane project focused on supporting large-scale sugar autonomous franchise business group. Companies under the jurisdiction of Guangxi sugar industry are An Yongxin Co., Ltd., Guangxi guests Yongxin xiaopingyang Sugar Company Limited, Guangxi Sugar Industry Co., Ltd. Guest Yong Xin, Yong Xin Guangxi Autonomous West Field Sugar Co., Ltd., Guangxi Daxin County Leiping Yong Xin Sugar Co. and other subsidiaries, in order to achieve the company's information technology equipment asset management, after repeated visits, the final choice in the data set Chint asset management system EAM2008, used in head office and all the subordinate branches, accelerating the company's information pace.

Sugar Group Co., Ltd. Guangxi John XINHUA asset management system covers the pre-management, asset management, operation management, maintenance management, maintenance management, special management modules, the system combines the assets of John XINHUA sugar equipment procurement, inspection, installation, operation, maintenance, repair, change, alteration, renovation until the end of life for the whole life-cycle management, in addition to the system through the establishment of early warning system for practical device operation, to guard against equipment asset maintenance system may not be implemented in accordance with equipment assets to, "according to the standard, automatic program in advance to remind and timely feedback, "the PDCA loop controlled standardized management, automated equipment necessary to remind any point of the recent inspection, maintenance or lubrication, and the implementation of a glance, as John XINHUA sugar to protect the safe operation of equipment assets.

The application is hosted EAM2008 for John XINHUA sugar and a standard asset management system, standardize the equipment asset management, content, equipment asset towards the promotion of refinement, information forward.







Recommended links:



MKV to MP4



3G2 to MOV



RMVB to MP4



design with c windows application template 4