问题描述
好的,我将在这里尝试尽可能地说明问题,以解决此问题.我在一家制造大齿轮箱的公司工作,我们有运行Mills/Laths的计算机.这些计算机当前是运行XP的FIT-PC.这些计算机用于通过USB到串行转换器(PL2303_Prolific USB到串行转换器)控制板条/轧机.将其插入XP计算机时,将被识别为com端口.因此,这些机器非常老旧,并且左右故障,我打算用运行xfreerdp的树莓派替换它们,但是我似乎无法将USB串行设备重定向到要远程处理的虚拟机.有没有人遇到这个问题/知道它的解决方法?如果您不确定某些事情,请问我问题,因为我完全被困在这里. TLDR使用树莓派pi作为瘦客户端需要将usb 2串行电缆插入虚拟xp机器中
Okay I am going to try and be as discriptive as possible here to get this problem solved. I work at a company that makes BIG gear boxes and we have computers that run our Mills/Laths. These computers are currently FIT-PCs running XP. These computers are used to control the laths/mills via a usb to serial converter (PL2303_Prolific usb to serial converter). When it is plugged into an xp machine it is recognized as a com port. SO these machines are very old and are fail left and right, I intend to replace them with a raspberry pi running xfreerdp but I can't seem to get the usb serial device to be redirected to the virtual machine it is remoting into. Has anyone ran into this/know a fix for it? Please ask me questions if you are unsure of something because I am completely stuck here. TLDR Using raspberry pis as thin clients need to push a usb 2 serial cable through to the virtual xp machine
推荐答案
不幸的是,Raspberry Pi上的USB存在已知问题.他们已经知道了这个问题并正在研究中,但尚未解决.
Unfortunately there are known issues with USB on Raspberry Pi. They're aware of the issue and working on it, but it is as of yet unresolved.
创建了 USB Redux线程来捕获USB的状态.以及当前的解决方法列表. USB/串行转换器损坏是一个相关的线程.
The USB Redux thread was created to capture the state of the work as well as the current list of work-arounds. The USB/serial converters are broken is a related thread.
但是,仍然有希望.首先,他们正在积极修复它,所以我怀疑这只是时间问题.其次,您可以尝试一些方法.
There is hope, however. First, they are working actively to fix it, so I suspect it's just a matter of time. Second, there are a few things you can try.
- 其中有一个配置文件/boot/cmdline.txt,您可以在其中尝试添加一些条目.看起来很有效的一种是dwc_otg.speed = 1和dwc_otg.fiq_fix_enable = 1(但它们没有帮助我).有关某些示例,请参见此页面.
- 将内核更新(搜索 rpi-update )至至少#348(使用uname) -a确定内核级别)
- There's a config file in/boot/cmdline.txt where you can try adding a few entries. One that appears quite effective is dwc_otg.speed=1 and dwc_otg.fiq_fix_enable=1 (but they didn't help me). See this page for some examples.
- Update the kernel (search for rpi-update) to at least #348 (use uname -a to determine the kernel level)
祝你好运.
更新(2013年3月13日).的似乎是一个解决办法截至内核#389为止,大多数USB问题.使用 rpi-update 进行更新.
Update (Mar 13 2013). There appears to be a fix for the majority of USB issues as of kernel #389. Use rpi-update to update.
这篇关于Raspberry Pi USB重定向问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!