|
|
操作系统:redhat 9.0 (windows 虚拟机)
内核: 2.4.20-8
usb转串口线: 高尖(High-Edeg)
产品型号:HE800P
没有安装驱动,直接将转串口线插上,出现信息:
- usb.c: USB device 2 (vend/prod 0x67b/0x2303) is not claimed by any active driver.
- usb.c: registered new driver serial
- usbserial.c: USB Serial support registered for Generic
- usbserial.c: USB Serial Driver core v1.4
- usbserial.c: USB Serial support registered for PL-2303
- usbserial.c: PL-2303 converter detected
- usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
复制代码
使用串口调试程序时(打开 /dev/ttyUSB0 正常 打开/dev/USB/ttyUSB0 出错),
发送信息显示成功,但接受端的串口没有收到任何信息
接受信息正确。
当关闭串口时,出现一下信息:
-
- Unable to handle kernel NULL pointer dereference at virtual address 00000014
- printing eip:
- cc880764
- *pde = 00000000
- Oops: 0000
- pl2303 usbserial parport_pc lp parport autofs pcnet32 mii keybdev mousedev hid input uhci usbcore ext3 jbd BusLogic sd_mod scsi_mod
- CPU: 0
- EIP: 0060:[<cc880764>] Not tainted
- EFLAGS: 00000006
- EIP is at uhci_reset_interrupt [uhci] 0x24 (2.4.20-8)
- eax: cbfc1000 ebx: c9a08380 ecx: c173a000 edx: 00000000
- esi: c17f5680 edi: c9a08380 ebp: 00000292 esp: c9a0dd80
- ds: 0068 es: 0068 ss: 0068
- Process com.o (pid: 2335, stackpage=c9a0d000)
- Stack: c9a08380 c17f5680 c173a1f8 00000282 cc8814e8 c9a08380 c9a08380 00000000
- c9a08384 00000000 c97c401c c97c401c 00000000 cc86a47d c9a08380 cc8f1461
- c9a08380 00000000 00000001 c97c401c c97c401c cc8e95c7 c97c401c c9838900
- Call Trace: [<cc8814e8>] uhci_unlink_urb [uhci] 0x138 (0xc9a0dd90))
- [<cc86a47d>] usb_unlink_urb_Rf46ee7fc [usbcore] 0x3d (0xc9a0ddb4))
- [<cc8f1461>] pl2303_close [pl2303] 0xe1 (0xc9a0ddbc))
- [<cc8e95c7>] __serial_close [usbserial] 0x87 (0xc9a0ddd4))
- [<cc8e9680>] serial_close [usbserial] 0xa0 (0xc9a0dde4))
- [<c0183dae>] release_dev [kernel] 0x5ee (0xc9a0de00))
- [<c012eb1c>] __free_pte [kernel] 0x4c (0xc9a0de24))
- [<c0131187>] zap_pte_range [kernel] 0x137 (0xc9a0de30))
- [<c01841ff>] tty_release [kernel] 0xf (0xc9a0de74))
- [<c0147d62>] fput [kernel] 0x102 (0xc9a0de7c))
- [<c014633d>] filp_close [kernel] 0x4d (0xc9a0de98))
- [<c011f01c>] put_files_struct [kernel] 0x6c (0xc9a0deb0))
- [<c011f710>] do_exit [kernel] 0x110 (0xc9a0decc))
- [<c011f994>] do_group_exit [kernel] 0x54 (0xc9a0dee8))
- [<c01278fd>] get_signal_to_deliver [kernel] 0x19d (0xc9a0def8))
- [<c01092f4>] do_signal [kernel] 0x64 (0xc9a0df20))
- [<c0125c17>] schedule_timeout [kernel] 0x67 (0xc9a0df64))
- [<c0125ba0>] process_timeout [kernel] 0x0 (0xc9a0df84))
- [<c0125d85>] sys_nanosleep [kernel] 0x115 (0xc9a0df9c))
- [<c0109570>] signal_return [kernel] 0x14 (0xc9a0dfc0))
- Code: 8b 52 14 83 ea 1c 8b 42 04 8b 5a 08 25 00 00 00 2f 0d 00 00
复制代码
请各位帮忙看看是什么原因。
或者推荐一款Linux支持的USB转串口线。 |
|