lsusb
استفاده کردم و این نتیجه رو داد وقتی وصلش میکنی،dmesg چی میگه؟dmesg: read kernel buffer failed: Operation not permitted
با sudo امتحان کنید. کل خروجی رو هم لازم نیست بزارید. فقط قسمتهای آخر. از سوییچ h- هم میتونید استفاده کنید تا خروجی بهتری برای خوندن نمایش بده.از dmesg با sudo و -h استفاده کنم؟
بله. سوییچ h- مال dmesg هست. نه sudo. یعنی دستوری که باید وارد کنید اینه:با sudo امتحان کنید. کل خروجی رو هم لازم نیست بزارید. فقط قسمتهای آخر. از سوییچ h- هم میتونید استفاده کنید تا خروجی بهتری برای خوندن نمایش بده.از dmesg با sudo و -h استفاده کنم؟
sudo dmesg -h
ممنون میدونم sudo برای دسترسی به روت هست و -h ندارهبله. سوییچ h- مال dmesg هست. نه sudo. یعنی دستوری که باید وارد کنید اینه:با sudo امتحان کنید. کل خروجی رو هم لازم نیست بزارید. فقط قسمتهای آخر. از سوییچ h- هم میتونید استفاده کنید تا خروجی بهتری برای خوندن نمایش بده.از dmesg با sudo و -h استفاده کنم؟کد: [انتخاب]sudo dmesg -h
بله. سوییچ h- مال dmesg هست. نه sudo. یعنی دستوری که باید وارد کنید اینه:با sudo امتحان کنید. کل خروجی رو هم لازم نیست بزارید. فقط قسمتهای آخر. از سوییچ h- هم میتونید استفاده کنید تا خروجی بهتری برای خوندن نمایش بده.از dmesg با sudo و -h استفاده کنم؟کد: [انتخاب]sudo dmesg -h
Display or control the kernel ring buffer.
Options:
-C, --clear clear the kernel ring buffer
-c, --read-clear read and clear all messages
-D, --console-off disable printing messages to console
-E, --console-on enable printing messages to console
-F, --file <file> use the file instead of the kernel log buffer
-f, --facility <list> restrict output to defined facilities
-H, --human human readable output
-k, --kernel display kernel messages
-L, --color[=<when>] colorize messages (auto, always or never)
colors are enabled by default
-l, --level <list> restrict output to defined levels
-n, --console-level <level> set level of messages printed to console
-P, --nopager do not pipe output into a pager
-p, --force-prefix force timestamp output on each line of multi-line messages
-r, --raw print the raw message buffer
--noescape don't escape unprintable character
-S, --syslog force to use syslog(2) rather than /dev/kmsg
-s, --buffer-size <size> buffer size to query the kernel ring buffer
-u, --userspace display userspace messages
-w, --follow wait for new messages
-W, --follow-new wait and print only new messages
-x, --decode decode facility and level to readable string
-d, --show-delta show time delta between printed messages
-e, --reltime show local time and time delta in readable format
-T, --ctime show human-readable timestamp (may be inaccurate!)
-t, --notime don't show any timestamp with messages
--time-format <format> show timestamp using the given format:
[delta|reltime|ctime|notime|iso]
Suspending/resume will make ctime and iso timestamps inaccurate.
-h, --help display this help
-V, --version display version
Supported log facilities:
kern - kernel messages
user - random user-level messages
mail - mail system
daemon - system daemons
auth - security/authorization messages
syslog - messages generated internally by syslogd
lpr - line printer subsystem
news - network news subsystem
Supported log levels (priorities):
emerg - system is unusable
alert - action must be taken immediately
crit - critical conditions
err - error conditions
warn - warning conditions
notice - normal but significant condition
info - informational
debug - debug-level messages
For more details see dmesg(1).
sudo dmesg -H
ببخشید، حواسم نبود. H باید بزرگ باشه. یعنی اینجوریاینو میزنهکد: [انتخاب]sudo dmesg -H
این ابتداشه. وقتی وبکم رو وصل میکنی، باید آخرش رو ببینی.باش رفتم خونه امتحان میکنم میگم
این ابتداشه. وقتی وبکم رو وصل میکنی، باید آخرش رو ببینی.متنی که مینویسه خیلی طولانیه انجمن نمیزاره بفرستم منم سر در نمیارم کجاشو باید بفرستم میشه بگی کجاشو بفرستم
sudo dmesg | tail -n 100
پس از اتصال دستگاه dmesg را اجرا کنید، خروجی دستور را به tail بفرستید و ۱۰۰ خط پایانی را انتخاب کنید.این هم صد خط آخرکد: [انتخاب]sudo dmesg | tail -n 100
[ 51.164076] loop15: detected capacity change from 0 to 104360
[ 51.200032] loop16: detected capacity change from 0 to 367752
[ 56.985048] intel_rng: Firmware space is locked read-only. If you can't or
intel_rng: don't want to disable this in firmware setup, and if
intel_rng: you are certain that your system has a functional
intel_rng: RNG, try using the 'no_fwh_detect' option.
[ 56.996992] i5k_amb: probe of i5k_amb.0 failed with error -16
[ 57.024124] EDAC MC0: Giving out device to module i5000_edac.c controller I5000: DEV 0000:00:10.0 (POLLED)
[ 57.024146] EDAC PCI0: Giving out device to module i5000_edac controller EDAC PCI controller: DEV 0000:00:10.0 (POLLED)
[ 57.189389] coretemp coretemp.0: Using relative temperature scale!
[ 57.191870] coretemp coretemp.1: Using relative temperature scale!
[ 57.191914] coretemp coretemp.0: Using relative temperature scale!
[ 57.192488] coretemp coretemp.1: Using relative temperature scale!
[ 57.566035] intel_powerclamp: No package C-state available
[ 57.599963] intel_powerclamp: No package C-state available
[ 57.659926] intel_powerclamp: No package C-state available
[ 57.695860] intel_powerclamp: No package C-state available
[ 58.633111] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.4)
[ 60.022786] mc: Linux media interface: v0.10
[ 60.069756] videodev: Linux video capture interface: v2.00
[ 60.118041] snd_hda_codec_idt hdaudioC0D0: autoconfig for STAC9200: line_outs=1 (0xe/0x0/0x0/0x0/0x0) type:line
[ 60.118053] snd_hda_codec_idt hdaudioC0D0: speaker_outs=1 (0x11/0x0/0x0/0x0/0x0)
[ 60.118057] snd_hda_codec_idt hdaudioC0D0: hp_outs=1 (0xd/0x0/0x0/0x0/0x0)
[ 60.118061] snd_hda_codec_idt hdaudioC0D0: mono: mono_out=0x0
[ 60.118064] snd_hda_codec_idt hdaudioC0D0: inputs:
[ 60.118066] snd_hda_codec_idt hdaudioC0D0: Mic=0x10
[ 60.118069] snd_hda_codec_idt hdaudioC0D0: Line=0xf
[ 60.134108] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 60.134207] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[ 60.134275] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 60.134349] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[ 60.257997] gspca_main: v2.14.0 registered
[ 60.392815] gspca_main: sonixb-2.14.0 probing 0c45:6005
[ 60.395735] input: sonixb as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/input/input16
[ 60.396184] usbcore: registered new interface driver sonixb
[ 70.747391] audit: type=1400 audit(1626796973.720:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=723 comm="apparmor_parser"
[ 70.747408] audit: type=1400 audit(1626796973.720:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=723 comm="apparmor_parser"
[ 70.748095] audit: type=1400 audit(1626796973.724:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=720 comm="apparmor_parser"
[ 70.748103] audit: type=1400 audit(1626796973.724:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=720 comm="apparmor_parser"
[ 70.748107] audit: type=1400 audit(1626796973.724:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=720 comm="apparmor_parser"
[ 70.786561] audit: type=1400 audit(1626796973.760:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=721 comm="apparmor_parser"
[ 70.786571] audit: type=1400 audit(1626796973.760:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=721 comm="apparmor_parser"
[ 70.816779] audit: type=1400 audit(1626796973.792:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=728 comm="apparmor_parser"
[ 70.871502] audit: type=1400 audit(1626796973.848:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=724 comm="apparmor_parser"
[ 70.908590] audit: type=1400 audit(1626796973.884:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=722 comm="apparmor_parser"
[ 77.974794] process '/usr/bin/anydesk' started with executable stack
[ 80.437391] loop17: detected capacity change from 0 to 8
[ 81.592052] kauditd_printk_skb: 37 callbacks suppressed
[ 81.592062] audit: type=1400 audit(1626796984.568:49): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=863 comm="cupsd" capability=12 capname="net_admin"
[ 82.831264] audit: type=1400 audit(1626796985.804:50): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=930 comm="cups-browsed" capability=23 capname="sys_nice"
[ 84.614092] tg3 0000:0b:00.0 enp11s0: Link is up at 100 Mbps, full duplex
[ 84.614101] tg3 0000:0b:00.0 enp11s0: Flow control is off for TX and off for RX
[ 84.614121] IPv6: ADDRCONF(NETDEV_CHANGE): enp11s0: link becomes ready
[ 86.017960] vboxdrv: loading out-of-tree module taints kernel.
[ 86.018387] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 86.023894] vboxdrv: Found 4 processor cores
[ 86.024292] vboxdrv: fAsync=0 offMin=0x908 offMax=0x2530
[ 86.124519] vboxdrv: TSC mode is Synchronous, tentative frequency 2659999661 Hz
[ 86.124525] vboxdrv: Successfully loaded version 6.1.18_Ubuntu (interface 0x00300000)
[ 86.188447] VBoxNetFlt: Successfully started.
[ 86.230339] VBoxNetAdp: Successfully started.
[ 95.341842] blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 95.341859] floppy: error 10 while reading block 0
[ 119.992608] rfkill: input handler disabled
[ 133.581150] blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 133.581167] floppy: error 10 while reading block 0
[ 148.676350] rfkill: input handler enabled
[ 171.817373] blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 171.817391] floppy: error 10 while reading block 0
[ 176.143010] rfkill: input handler disabled
[ 178.029915] audit: type=1400 audit(1626797080.697:51): apparmor="DENIED" operation="capable" profile="/snap/snapd/12398/usr/lib/snapd/snap-confine" pid=2233 comm="snap-confine" capability=4 capname="fsetid"
[ 184.537032] audit: type=1326 audit(1626797087.205:52): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.snap-store.ubuntu-software pid=2233 comm="snap-store" exe="/snap/snap-store/547/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fb8550eb639 code=0x50000
[ 200.945260] audit: type=1107 audit(1626797103.613:53): pid=771 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.7" pid=2233 label="snap.snap-store.ubuntu-software" peer_pid=782 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 200.945706] audit: type=1107 audit(1626797103.613:54): pid=771 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.7" pid=2233 label="snap.snap-store.ubuntu-software" peer_pid=782 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 201.078432] audit: type=1107 audit(1626797103.749:55): pid=771 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.7" pid=2233 label="snap.snap-store.ubuntu-software" peer_pid=782 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 201.078799] audit: type=1107 audit(1626797103.749:56): pid=771 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.7" pid=2233 label="snap.snap-store.ubuntu-software" peer_pid=782 peer_label="unconfined"
exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[ 202.007983] audit: type=1400 audit(1626797104.677:57): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/etc/PackageKit/Vendor.conf" pid=2233 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 210.548384] blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 210.548400] floppy: error 10 while reading block 0
[ 242.365052] perf: interrupt took too long (2509 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
[ 248.772575] blk_update_request: I/O error, dev fd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 248.772592] floppy: error 10 while reading block 0
[ 292.589888] perf: interrupt took too long (3146 > 3136), lowering kernel.perf_event_max_sample_rate to 63500
[ 382.074589] perf: interrupt took too long (3941 > 3932), lowering kernel.perf_event_max_sample_rate to 50750
[ 480.902814] perf: interrupt took too long (4929 > 4926), lowering kernel.perf_event_max_sample_rate to 40500
[ 2025.757829] usb 2-2: USB disconnect, device number 3
[ 2028.265663] usb 2-2: new low-speed USB device number 4 using uhci_hcd
[ 2028.463577] usb 2-2: New USB device found, idVendor=1c4f, idProduct=0026, bcdDevice= 1.10
[ 2028.463583] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2028.463586] usb 2-2: Product: USB Keyboard
[ 2028.463588] usb 2-2: Manufacturer: SIGMACHIP
[ 2028.479738] input: SIGMACHIP USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/0003:1C4F:0026.0005/input/input17
[ 2028.542472] hid-generic 0003:1C4F:0026.0005: input,hidraw0: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-0000:00:1d.0-2/input0
[ 2028.555837] input: SIGMACHIP USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1/0003:1C4F:0026.0006/input/input18
[ 2028.613984] input: SIGMACHIP USB Keyboard System Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.1/0003:1C4F:0026.0006/input/input19
[ 2028.614421] hid-generic 0003:1C4F:0026.0006: input,hidraw1: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-0000:00:1d.0-2/input1
از خروجی دستور چیزی برداشت نکردمحقیقتا نمیدونم usb 2 هست 3 ولی با دوتا پورت مختلف تست کردم کار نکرد
به چه پورتی نصب کردید؟
اینجا (https://askubuntu.com/a/390936/678872) نوشته به جای اتصال به USB3 به USB2 وصل کرده درست شده.
پیوندهای مرتبطhttps://askubuntu.com/questions/461657/integrated-webcam-not-detected-after-update-to-14-04
http://www.linuxintro.org/wiki/Set_up_a_Webcam_with_Linux