⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Epson BA-T500USB在Linux 2.4下的设备驱动
💻 TXT
字号:
<<Simple USB Device Driver for BA-T500USB>>

It's based on the usb-skeleton.c usb-to serial driver. 

Using environment:

	Redhat Linux 9.0 (Kernal 2.4.20-8)
	
Note: actually if you modified the config.mk, I believe
it could run well on most Linux distribution today on the
market.

How to USE:

1. su to "root";

2. Copy all the files into same folder; 

3. make
if you kernel is different, please modify the config.mk

4. Make the node, which one you could access as a simple file :-)
eg: \mknod /dev/usb/t500usb c 180 200

Note: the device number:
	Major:180 -- is for USB device
	Minor:200 -- it's defined in t500usb.c, I select it.

4. Add the t500usb Modula to the kernel,
/sbin/insmod t500usb.o

5. Connect the BA-T500USB + M-T500 printer
Note: You could check the Step 4 and 5, from the /var/log/messages

Run the testing sample:
6. vi app.c
7. gcc -o app app.c
8. ./app

Note: You could also check the /var/log/messages to check the kernel output.

Enjoy it! Thanks!

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -