我在惠普刀片硬件中有一台Linux机器(RedHat版本5.6)。
我正试图从我的Linux操作系统(安装在HP Blade HW中的Linux操作系统)中找出服务器名的解决方案,(服务器名)出现在Access选项屏幕上
Example – how to configure the server name in the HP Blade:
from the HP Blade System Onboard Administrator screen
I configured the server name as the following:
click on Device
我试图在somedriver_cardSpecific.c中定义一个结构数组,在somedriver.h中声明它,然后在somedriver.c中使用它。但是我在somedriver.c中得到了一个编译错误
error: array '__mod_i2c__somedriver_idtable_device_table' assumed to have one element [-Werror]
extern const typeof(name) __mod_##type##__##name##_device_table
in expansion of macro '
出于纯粹的好奇心,我试图弄清楚在Linux中如何处理USB电源传输。我看到的是,针对外部设备的MaxPower被设置为合理的数字,这取决于设备;但是,内部根集线器将MaxPower设置为0mA。这是根集线器的特例吗?内核是否会忽略内部集线器在确定每跳到叶设备的路径上可用的最大功率时?
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
MaxPower 0mA
Bus 001 Device 003: ID 04f2:b6d9 Chicony Electronics Co., Ltd
我想每小时向我的用户发送推送通知。
from push_notifications.models import APNSDevice
print('test schedule task')
device = APNSDevice.objects.all()
if device is None:
print('None Device')
print('number of models is '+str(len(device)))
device.send_message('test')
以上是我尝试每小时执行的内容。
但是在执
我正在使用Garuda与Qtile管理器在联想P14 AMD笔记本电脑上,无法使内置摄像头功能。我试过奶酪和各种网站(Jitsi,Google等),它总是出现“没有设备发现”。
我没有video*文件位于/dev/。
Linux版本:Linux linux 5.19.9-zen1-1-zen
运行lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0489:e0cd Foxconn / Hon Hai Wireless_Device
Bus 003 Device
我需要能够从C程序中识别插入的USB设备(USB3和/或USB2)以及集线器中连接到哪个端口。我正在开发一个基于Yocto的嵌入式Linux系统。 我可以使用lsusb从命令行获取此信息。例如,我已经连接了两个USB摄像头,一个是USB3,另一个是USB2,如果我运行lsusb -t,我可以看到端口连接树: /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Por
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 041e:4055 Creative Technology, Ltd Live! Cam Video IM Pro
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 046d:c318 Logitech, Inc. Illuminated Keyboard
Bus 008 Device 001: ID 1
我最近买了一个Wacom竹子飞溅,我无法让它在12.04工作。lsusb的产出如下:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 0
我有一个Aukey网络适配器,上面说它只适用于Windows。但我读到过,有可能让它在Linux上工作,但它们都没有起作用。
你们谁能帮我把它修好吗?(我将使用Linux 18 Sarah,但我正在用Ubuntu14.04LTS的实时映像测试它)
lsusb的结果:
Bus 002 Device 004: ID 0e8d:7610 MediaTek Inc.
Bus 002 Device 003: ID 0781:5575 SanDisk Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008
我安装了奶酪,但我的摄像头不工作。我该怎么办?
这是lsusb的输出:
Bus 007 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 roo
我正在使用Ubuntu12.04。当我安装USB闪存驱动器时,我的笔记本电脑无法识别这些设备。您能帮我解决这个问题吗?lsusb输出:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foun
我带窗户的双面靴。由于我的内部无线网卡损坏,我不得不使用TP链路WN725n。
如何在没有任何互联网连接的情况下安装其驱动程序?
Bus 002 Device 003: ID 0408:20f5 Quanta Computer, Inc.
Bus 002 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1
我该怎么办?我在运行Ubuntu 16.04。这是我第一次在我的系统上使用Ubuntu。
旁白:在这台电脑里,它显示的是错误的显卡。是因为我还没安装驱动程序吗?
任何帮助都将不胜感激。
lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 Root Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 Root Hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 Root Hub
Bus 002 Devi
我在这个网站上搜索过,似乎没有多少答案。在windows 10操作系统上,前面的USB端口被检测到了,但是在Ubuntu中却没有。
这是我的输出:
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linu
我有 (通用)。手册是中文的,我看不懂。我有两台Linux机器,如果你通过USB插入它,它就会开机,如果你通过一张卡(打开了一个文本编辑器),你会得到一个类似如下的代码/字符串:
1303031110012015¿999999999999999
显然,在某个地方有卡信息(那是一张电影院联名卡),我想从这个号码中提取信息(比如所有者的姓名和其他数据)。如果我运行lsusb,我会得到类似这样的结果:
读卡器已拔出
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:00
当我通过USB chord插入设备时,什么都不会发生,设备也不会显示在桌面上。但是,当我在终端中输入"lsusb“时,这是输出:
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Fou
我试图了解linux内核初始化结构的不同方式。在这个查询中,我写了一个usb驱动程序示例,但是我不明白其中的一些要点,指出前面的注释吗?
static struct usb_device_id pen_table[] = //?? why pen_table is an array
{
{ USB_DEVICE(0xaaaa , 0x8816) }, //??what type of array initialization is this
{} /* Terminating entry */ //??how this terminates
我对Ubuntu非常陌生,在设置我的新无线适配器时遇到了困难。我在运行Ubuntu 14.04。我添加了一些关于适配器的更多信息。
th0 no wireless extensions.
lo no wireless extensions.
Bus 003 Device 003: ID 0846:9011 NetGear, Inc. WNDA3100v2 802.11abgn [Broadcom BCM4323]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 0
我试图打开我的SD记忆卡,但它没有显示时,插入。虽然当我看USB设备时,它被检测到了。
lsusb
然后我得到:
Bus 001 Device 002: ID 0ac8:c33e Z-Star Microelectronics Corp.
Bus 002 Device 010: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundat
我试图在linux中编写一个字符设备驱动程序。不幸的是,它不适用于任何大于255的数字。
我希望这个驱动程序专门使用long类型的值。每当我输入大于255的值时,数字就错了。256到0等。
我编写了一个简单的字符设备驱动程序,显示了这个问题,当我复制完整的驱动程序并删除几乎所有内容时,可能会有很多未使用的include语句:
chartest.c
#include <linux/init.h>
#include <linux/module.h> /* I mean this is a module after all! */
#include <linux/mod
由于我升级到15.10,我的拇指驱动器不是自动安装时,我插入我的棍子。德梅格里什么都没有。以下是syslog的日志:
Dec 30 07:28:55 thomas-linux-box kernel: [174764.056053] usb 8-1.8: new
full-speed USB device number 10 using ehci-pci
Dec 30 07:28:55 thomas-linux-box kernel: [174764.128031] usb 8-1.8: device descriptor read/64, error -32
Dec 30 07:28:55
我已经将我的Android平板电脑连接到Ubuntu,以便用Intellij编写一些代码。一切正常,但现在我不知道如何断开我的平板电脑。我的/media/和/mnt/目录是空的,lsusb显示如下:
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Dev
我有一个带有usb接口的汽车诊断设备ELM327,但是Mint不能识别它。以下是来自终端的设备列表:
~ $ lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 09da:000e A4 Tech Co., Ltd
我买了一个相当便宜的无线天线,现在不得不在Ubuntu14.04位上安装RT2870驱动程序。
我从它的官方网页下载了驱动程序文件2010_0709_RT2870_Linux_STA_v2.4.0.1,并试图编译它,但我得到了编译错误,我不知道如何克服。
所以,在我发布make之后,这个过程就开始了,过了一段时间,它就以
/home/xxx/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/home/xxx/Desk