Hello.
I am new to this list. I have a question.
After some investigation can I now see my camera registred in the
kernel. I can still not see the usb device listed and have no access to
the camera. Here is a lot of information that Ihope can be in your
interests if you can help me out...
$ dmesg
[131379.369857] usb 2-3: new full-speed USB device number 54 using xhci_hcd
[131379.520713] usb 2-3: New USB device found, idVendor=04da,
idProduct=231d, bcdDevice= 1.00
[131379.520717] usb 2-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[131379.520719] usb 2-3: Product: DVC
[131379.520722] usb 2-3: Manufacturer: Panasonic
[131379.520724] usb 2-3: SerialNumber: 0000b16313d5
[131379.527065] uvcvideo: Found UVC 1.00 device DVC (04da:231d)
[131379.528890] uvcvideo 2-3:1.0: Entity type for entity SU was not
initialized!
[131379.528896] uvcvideo 2-3:1.0: Entity type for entity Camera was not
initialized!
[131379.528900] uvcvideo 2-3:1.0: Entity type for entity MTIT was not
initialized!
[131379.529170] input: DVC: Web-Camera as
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input42
:~$ sudo udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[137510.512307] add /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
KERNEL[137510.515438] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[137510.518719] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
(video4linux)
KERNEL[137510.518954] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
(video4linux)
KERNEL[137510.519151] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/media1 (media)
KERNEL[137510.519352] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input45 (input)
KERNEL[137510.519490] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input45/event17
(input)
KERNEL[137510.519593] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[137510.520607] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1 (usb)
KERNEL[137510.520756] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1 (usb)
KERNEL[137510.520854] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2 (usb)
KERNEL[137510.522548] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2 (sound)
KERNEL[137510.523760] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2/pcmC2D0c
(sound)
KERNEL[137510.523812] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2/controlC2
(sound)
KERNEL[137510.523865] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2 (usb)
KERNEL[137510.523910] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3 (usb)
KERNEL[137510.523957] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3 (usb)
KERNEL[137510.524007] bind /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
UDEV [137510.557083] add /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
UDEV [137510.560369] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
UDEV [137510.561955] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2 (usb)
UDEV [137510.564563] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1 (usb)
UDEV [137510.567597] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2 (sound)
UDEV [137510.569183] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3 (usb)
UDEV [137510.569242] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1 (usb)
UDEV [137510.573796] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/media1 (media)
UDEV [137510.575225] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video2
(video4linux)
UDEV [137510.575747] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/video4linux/video3
(video4linux)
UDEV [137510.579563] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2/pcmC2D0c
(sound)
UDEV [137510.581118] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input45 (input)
KERNEL[137510.581594] change
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2 (sound)
UDEV [137510.581964] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.3 (usb)
UDEV [137510.594775] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2/controlC2
(sound)
UDEV [137510.599292] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2 (usb)
UDEV [137510.634954] add
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input45/event17
(input)
UDEV [137510.638198] bind
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0 (usb)
UDEV [137510.640240] bind /devices/pci0000:00/0000:00:14.0/usb2/2-3 (usb)
UDEV [137510.642502] change
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.2/sound/card2 (sound)
~$ sudo udevadm info --path=/devices/pci0000:00/0000:00:14.0/usb2/2-3
P: /devices/pci0000:00/0000:00:14.0/usb2/2-3
N: bus/usb/002/055
E: BUSNUM=002
E: DEVNAME=/dev/bus/usb/002/055
E: DEVNUM=055
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb2/2-3
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=DVC
E: ID_MODEL_ENC=DVC
E: ID_MODEL_FROM_DATABASE=DVC Web Camera Device
E: ID_MODEL_ID=231d
E: ID_REVISION=0100
E: ID_SERIAL=Panasonic_DVC_0000b16313d5
E: ID_SERIAL_SHORT=0000b16313d5
E: ID_USB_INTERFACES=:0e0100:0e0200:010100:010200:
E: ID_VENDOR=Panasonic
E: ID_VENDOR_ENC=Panasonic
E: ID_VENDOR_FROM_DATABASE=Panasonic (Matsushita)
E: ID_VENDOR_ID=04da
E: MAJOR=189
E: MINOR=182
E: PRODUCT=4da/231d/100
E: SUBSYSTEM=usb
E: TYPE=239/2/1
E: USEC_INITIALIZED=132815614640
dmesg | tail
[138098.871354] usb 2-3: New USB device found, idVendor=04da,
idProduct=231d, bcdDevice= 1.00
[138098.871360] usb 2-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[138098.871364] usb 2-3: Product: DVC
[138098.871367] usb 2-3: Manufacturer: Panasonic
[138098.871370] usb 2-3: SerialNumber: 0000b16313d5
[138098.877601] uvcvideo: Found UVC 1.00 device DVC (04da:231d)
[138098.880262] uvcvideo 2-3:1.0: Entity type for entity SU was not
initialized!
[138098.880268] uvcvideo 2-3:1.0: Entity type for entity Camera was not
initialized!
[138098.880272] uvcvideo 2-3:1.0: Entity type for entity MTIT was not
initialized!
[138098.880431] input: DVC: Web-Camera as
/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0/input/input47
in /etc/udev/rules.d I have created this file:
-usb.rules with those two lines.
SUBSYSTEM=="usb", ACTION=="add", DRIVER=="usb",
ENV{DEVTYPE}=="usb_device" RUN+="/home/karl/koble_til_usb.sh"
SUBSYSTEM=="usb", ACTION=="remove", DRIVER=="usb"
ENV{DEVTYPE}=="usb_device" RUN+="/home/karl/koble_fra_usb.sh"
I have never tried this before so therefore all this information. I love
this stuff but now I need help!
Thanks for your advice.
Karl