ubuntuusers.de

Titel:
udevadm monitor, software history
Autor:
WeiMar
Datum:
6. Juni 2017 13:00
Aktionen:
Code:
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
# plug mouse

KERNEL[120485.577500] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5 (usb)
KERNEL[120485.579003] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0 (usb)
KERNEL[120485.581204] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030 (hid)
KERNEL[120485.581484] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50 (input)
KERNEL[120485.581712] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50/mouse0 (input)
KERNEL[120485.640237] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50/event4 (input)
KERNEL[120485.640273] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/hidraw/hidraw0 (hidraw)
UDEV  [120486.155928] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5 (usb)
UDEV  [120486.161456] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0 (usb)
UDEV  [120486.164932] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030 (hid)
UDEV  [120486.169638] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/hidraw/hidraw0 (hidraw)
UDEV  [120486.169806] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50 (input)
UDEV  [120486.175754] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50/mouse0 (input)
UDEV  [120486.270212] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.0030/input/input50/event4 (input)



Date:   Thu May 25 20:41:15 2017 +0200
    -linux-generic-hwe-16.04 4.8.0.52.23 amd64
    +linux-generic-hwe-16.04 4.8.0.53.24 amd64
    +linux-headers-4.8.0-53 4.8.0-53.56~16.04.1 all
    +linux-headers-4.8.0-53-generic 4.8.0-53.56~16.04.1 amd64
    -linux-headers-generic-hwe-16.04 4.8.0.52.23 amd64
    +linux-headers-generic-hwe-16.04 4.8.0.53.24 amd64
    +linux-image-4.8.0-53-generic 4.8.0-53.56~16.04.1 amd64
    +linux-image-extra-4.8.0-53-generic 4.8.0-53.56~16.04.1 amd64
    -linux-image-generic-hwe-16.04 4.8.0.52.23 amd64
    +linux-image-generic-hwe-16.04 4.8.0.53.24 amd64

lsusb -v -d 045e:0737

Bus 002 Device 030: ID 045e:0737 Microsoft Corp. Compact Optical Mouse 500
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0737 Compact Optical Mouse 500
  bcdDevice            1.04
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      62
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10

# schauen ob sie in /proc/bus/input/devices auftaucht:

I: Bus=0003 Vendor=045e Product=0737 Version=0111
N: Name="Microsoft  Compact Optical Mouse 500"
P: Phys=usb-0000:00:1d.0-1.5/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:045E:0737.003A/input/input60
U: Uniq=
H: Handlers=mouse0 event4 
B: PROP=0
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=103
B: MSC=10

# grep mouse /proc/bus/input/handlers
N: Number=3 Name=mousedev Minor=32