我希望将 USB/IP 项目用于学校项目,但我无法启动主机。我们正在尝试通过 WiFi 将信号从用于有严重运动障碍的儿童的无障碍设备(例如 (CP))发送到服务器。然后服务器将模拟通常直接连接到学生正在使用的计算机的硬件。
我已阅读以下帖子:通过网络共享 USB 驱动器
列出的内核模块未构建到内核中。usbip-host 和 usbip-core 是,但是当运行 usbipd -D 以激活守护程序时,会出现需要上述帖子中列出的模块的 fatel 错误。
该项目将需要多个 USB/IP 连接。有没有人有这个或替代软件的解决方案。我只能找到商业解决方案。谢谢!
tyler@tyler-Latitude-E6410:~$ sudo modprobe usbip-core usbip-host
tyler@tyler-Latitude-E6410:~$ sudo usbipd -D
usbip err: stub_driver.c: 33 (open_sysfs_stub_driver)
usbip_common_mod.ko and usbip.ko must be loaded
** (process:11490): ERROR **: driver open failed
tyler@tyler-Latitude-E6410:~$
Run Code Online (Sandbox Code Playgroud) 我完全一窍不通。我卸载了,重新安装了gi和python2.7。你们有什么想法吗?
~ > /usr/bin/python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> import gi.repository
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named repository
Run Code Online (Sandbox Code Playgroud)
谢谢!
我试图为 pushbullet 运行一个指标,但无济于事。当我注意到 python3 无法导入 gi 时,我试图通过终端运行
bin > python3 pushbullet-indicator
Traceback (most recent call last):
File "pushbullet-indicator", line 26, in <module>
import gi
ImportError: No module named 'gi'
bin >
Run Code Online (Sandbox Code Playgroud)
尝试手动导入。
~ > python3
Python 3.4.1 (default, Sep 27 2014, 09:00:29)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'gi'
>>>
Run Code Online (Sandbox Code Playgroud)
但出于某种原因,Python2 可以吗?
Python 2.7.6 (default, …
Run Code Online (Sandbox Code Playgroud)