I m a Professional C programmer. I m 学习装置驱动器,希望书写(和测试)一个简单的序列号港口驱动器,按9600的注册率发送特性。 我开始撰写该守则。
The problem is the function request_region fails (returns NULL) when I try to allocate the serial port registers with address range 03f8-03ff. When I issue the command "cat /proc/ioports" I can see the following line
页: 1
之所以如此,是因为这些港口已经分配给现有的序列司机。
Do I need to unload the already existing serial driver to test my driver? If so, how can I do that?