Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacBook Pro 5,5 segfault #5

Open
kaiwang27 opened this issue Dec 13, 2015 · 0 comments
Open

MacBook Pro 5,5 segfault #5

kaiwang27 opened this issue Dec 13, 2015 · 0 comments
Assignees

Comments

@kaiwang27
Copy link
Owner

Reported by David O'Rourke via private email.

# uhidd -dD -vvv -kmohu /dev/ugen0.3
uhidd[3252]: open /usr/local/etc/uhidd.conf failed: No such file or directory
uhidd[3252]: proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 156
ugen0.3[0]-> Report descriptor dump:
        USAGE PAGE Generic Desktop(0x1)
        USAGE Keyboard(0x6)[Generic Desktop(0x1)]
        COLLECTION Application(1)
          REPORT ID 1
          USAGE PAGE Keyboard(0x7)
          USAGE MINIMUM Keyboard LeftControl(224)
          USAGE MAXIMUM Keyboard Right GUI(231)
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 1
          REPORT SIZE 1
          REPORT COUNT 8
          INPUT ( Data Variable Absolute ) (2)
          REPORT COUNT 1
          REPORT SIZE 8
          INPUT ( Const Array Absolute ) (1)
          REPORT COUNT 5
          REPORT SIZE 1
          USAGE PAGE LEDs(0x8)
          USAGE MINIMUM Num Lock(1)
          USAGE MAXIMUM Kana(5)
          OUTPUT ( Data Variable Absolute ) (2)
          REPORT COUNT 1
          REPORT SIZE 3
          OUTPUT ( Const Array Absolute ) (1)
          REPORT COUNT 6
          REPORT SIZE 8
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 255
          USAGE PAGE Keyboard(0x7)
          USAGE MINIMUM Reserved (no event indicated)(0)
          USAGE MAXIMUM Unknown Usage(255)
          INPUT ( Data Array Absolute ) (0)
          USAGE PAGE Consumer(0xc)
          REPORT SIZE 1
          REPORT COUNT 1
          USAGE Eject(0xb8)[Consumer(0xc)]
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 1
          INPUT ( Data Variable Absolute ) (2)
          USAGE PAGE Unknown Page(0xff)
          USAGE Unknown Page(0x3)[Unknown Page(0xff)]
          REPORT SIZE 7
          REPORT COUNT 1
          INPUT ( Data Variable Absolute ) (2)
        END COLLECTION
        USAGE PAGE Consumer(0xc)
        USAGE Consumer Control(0x1)[Consumer(0xc)]
        COLLECTION Application(1)
          REPORT ID 82
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 1
          REPORT SIZE 1
          REPORT COUNT 1
          USAGE Play/Pause(0xcd)[Consumer(0xc)]
          INPUT ( Data Variable Absolute ) (2)
          USAGE Fast Forward(0xb3)[Consumer(0xc)]
          INPUT ( Data Variable Absolute ) (2)
          USAGE Rewind(0xb4)[Consumer(0xc)]
          INPUT ( Data Variable Absolute ) (2)
          USAGE Scan Next Track(0xb5)[Consumer(0xc)]
          INPUT ( Data Variable Absolute ) (2)
          USAGE Scan Previous Track(0xb6)[Consumer(0xc)]
          INPUT ( Data Variable Absolute ) (2)
          INPUT ( Const Array Absolute ) (1)
          INPUT ( Const Array Absolute ) (1)
          INPUT ( Const Array Absolute ) (1)
          REPORT ID 9
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 1
          REPORT SIZE 8
          REPORT COUNT 1
          USAGE PAGE Unknown Page(0xff01)
          USAGE Unknown Page(0xb)[Unknown Page(0xff01)]
          FEATURE ( Data Variable Absolute ) (2)
          REPORT SIZE 8
          REPORT COUNT 2
          FEATURE ( Const Array Absolute ) (1)
        END COLLECTION
ugen0.3[0]-> Kernel driver is not active
ugen0.3[0]-> Find IN interrupt ep: 0x83 packet_size=0xa
ugen0.3[1]-> HID interface
ugen0.3[1]-> Report descriptor size = 27
ugen0.3[1]-> Report descriptor dump:
        USAGE PAGE Microsoft(0xff00)
        USAGE Unknown Usage(0x1)[Microsoft(0xff00)]
        COLLECTION Report(3)
          USAGE PAGE Microsoft(0xff00)
          USAGE Unknown Usage(0x1)[Microsoft(0xff00)]
          LOGICAL MINIMUM 0
          LOGICAL MAXIMUM 255
          REPORT ID 68
          REPORT SIZE 8
          REPORT COUNT 511
          INPUT ( Data Array Absolute ) (0)
        END COLLECTION
ugen0.3[1]-> Kernel driver is not active
ugen0.3[1]-> Find IN interrupt ep: 0x81 packet_size=0x40
ugen0.3[2]-> HID interface
ugen0.3[2]-> Report descriptor size = 52
ugen0.3[2]-> Report descriptor dump:
        USAGE PAGE Generic Desktop(0x1)
        USAGE Mouse(0x2)[Generic Desktop(0x1)]
        COLLECTION Application(1)
          USAGE Pointer(0x1)[Generic Desktop(0x1)]
          COLLECTION Physical(0)
            USAGE PAGE Button(0x9)
            USAGE MINIMUM Button1(1)
            USAGE MAXIMUM Button3(3)
            LOGICAL MINIMUM 0
            LOGICAL MAXIMUM 1
            REPORT ID 2
            REPORT COUNT 3
            REPORT SIZE 1
            INPUT ( Data Variable Absolute ) (2)
            REPORT COUNT 1
            REPORT SIZE 5
            INPUT ( Const Array Absolute ) (1)
            USAGE PAGE Generic Desktop(0x1)
            USAGE X(0x30)[Generic Desktop(0x1)]
            USAGE Y(0x31)[Generic Desktop(0x1)]
            LOGICAL MINIMUM -127
            LOGICAL MAXIMUM 127
            REPORT SIZE 8
            REPORT COUNT 2
            INPUT ( Data Variable Relative ) (6)
          END COLLECTION
        END COLLECTION
ugen0.3[2]-> Kernel driver is not active
ugen0.3[2]-> Find IN interrupt ep: 0x84 packet_size=0x8
HID APPLICATION COLLECTION (Keyboard) size(90)
  HID REPORT: ID 1
    INPUT:
      POS:0 SIZE:1 COUNT:8 [VARIABLE]
        USAGE Keyboard LeftControl
        USAGE Keyboard LeftShift
        USAGE Keyboard LeftAlt
        USAGE Keyboard Left GUI
        USAGE Keyboard RightControl
        USAGE Keyboard RightShift
        USAGE Keyboard RightAlt
        USAGE Keyboard Right GUI
      POS:8 SIZE:8 COUNT:1 [CONST]
      POS:16 SIZE:8 COUNT:6 [ARRAY]
        USAGE [0 -> 255] (Keyboard)
      POS:64 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Eject
      POS:65 SIZE:7 COUNT:1 [VARIABLE]
        USAGE Unknown Page
    OUTPUT:
      POS:0 SIZE:1 COUNT:5 [VARIABLE]
        USAGE Num Lock
        USAGE Caps Lock
        USAGE Scroll Lock
        USAGE Compose
        USAGE Kana
      POS:5 SIZE:3 COUNT:1 [CONST]
HID APPLICATION COLLECTION (Consumer Control) size(66)
  HID REPORT: ID 82
    INPUT:
      POS:0 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Play/Pause
      POS:1 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Fast Forward
      POS:2 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Rewind
      POS:3 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Scan Next Track
      POS:4 SIZE:1 COUNT:1 [VARIABLE]
        USAGE Scan Previous Track
      POS:5 SIZE:1 COUNT:1 [CONST]
      POS:6 SIZE:1 COUNT:1 [CONST]
      POS:7 SIZE:1 COUNT:1 [CONST]
  HID REPORT: ID 9
    FEATURE:
      POS:0 SIZE:8 COUNT:1 [VARIABLE]
        USAGE Unknown Page
      POS:8 SIZE:8 COUNT:2 [CONST]
ugen0.3[0]-> kbd device name: vkbdctl0
ugen0.3[0]-> kbd device name: vkbdctl1
ugen0.3[0]-> kbd status changed: leds=0x0
hid_set_report (2) 0x01 0x00
ugen0.3[0]-> set_report: id(1) 1 0
Assertion failed: (ha != NULL), function hid_parser_init, file uhidd_hidcore.c, line 448.
Abort (core dumped)
@kaiwang27 kaiwang27 self-assigned this Dec 13, 2015
kaiwang27 added a commit that referenced this issue Dec 13, 2015
MacBook Pro 5,5 input device seems to report such collection to
carry vendor-specific data.

Issue: #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant