diff for duplicates of <2052749237.3448849.1332933329806.JavaMail.root@zmc> diff --git a/a/1.txt b/N1/1.txt index 039f369..007d386 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -2,26 +2,25 @@ David, ----- Original Message ----- -> >> + =C2=A0 =C2=A0 strncpy(hid->name, ev->u.create.name, 128); -> >> + =C2=A0 =C2=A0 hid->name[127] =3D 0; -> >> + =C2=A0 =C2=A0 hid->ll_driver =3D &uhid_hid_driver; -> >> + =C2=A0 =C2=A0 hid->hid_get_raw_report =3D uhid_hid_get_raw; -> >> + =C2=A0 =C2=A0 hid->hid_output_raw_report =3D uhid_hid_output_raw; -> >> + =C2=A0 =C2=A0 hid->bus =3D ev->u.create.bus; -> >> + =C2=A0 =C2=A0 hid->vendor =3D ev->u.create.vendor; -> >> + =C2=A0 =C2=A0 hid->product =3D ev->u.create.product; -> >> + =C2=A0 =C2=A0 hid->version =3D ev->u.create.version; -> >> + =C2=A0 =C2=A0 hid->country =3D ev->u.create.country; -> >> + =C2=A0 =C2=A0 hid->phys[0] =3D 0; -> >> + =C2=A0 =C2=A0 hid->uniq[0] =3D 0; -> >> + =C2=A0 =C2=A0 hid->driver_data =3D uhid; -> >> + =C2=A0 =C2=A0 hid->dev.parent =3D uhid->parent; +> >> + strncpy(hid->name, ev->u.create.name, 128); +> >> + hid->name[127] = 0; +> >> + hid->ll_driver = &uhid_hid_driver; +> >> + hid->hid_get_raw_report = uhid_hid_get_raw; +> >> + hid->hid_output_raw_report = uhid_hid_output_raw; +> >> + hid->bus = ev->u.create.bus; +> >> + hid->vendor = ev->u.create.vendor; +> >> + hid->product = ev->u.create.product; +> >> + hid->version = ev->u.create.version; +> >> + hid->country = ev->u.create.country; +> >> + hid->phys[0] = 0; +> >> + hid->uniq[0] = 0; +> >> + hid->driver_data = uhid; +> >> + hid->dev.parent = uhid->parent; > > -> > Here we have to make sure that we have all required information provide= -d +> > Here we have to make sure that we have all required information provided > > by userspace. Anything else that HID might require to work better. Or > > that BR/EDR or LE provides additionally over USB. ->=20 +> > Beside phys and uniq I have copied all information that HIDP and > USBHID use. I haven't found any other field that could be of interest > here. We can also always add UHID_CREATE2 with additional fields to @@ -38,5 +37,9 @@ to send/receive and query (kernel querying uhid client) feature reports could be of some interest. Cheers, ---=20 +-- Nicolas Pouillon +-- +To unsubscribe from this list: send the line "unsubscribe linux-input" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index b9de59e..d384e04 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -17,26 +17,25 @@ "\n" "----- Original Message -----\n" "\n" - "> >> + =C2=A0 =C2=A0 strncpy(hid->name, ev->u.create.name, 128);\n" - "> >> + =C2=A0 =C2=A0 hid->name[127] =3D 0;\n" - "> >> + =C2=A0 =C2=A0 hid->ll_driver =3D &uhid_hid_driver;\n" - "> >> + =C2=A0 =C2=A0 hid->hid_get_raw_report =3D uhid_hid_get_raw;\n" - "> >> + =C2=A0 =C2=A0 hid->hid_output_raw_report =3D uhid_hid_output_raw;\n" - "> >> + =C2=A0 =C2=A0 hid->bus =3D ev->u.create.bus;\n" - "> >> + =C2=A0 =C2=A0 hid->vendor =3D ev->u.create.vendor;\n" - "> >> + =C2=A0 =C2=A0 hid->product =3D ev->u.create.product;\n" - "> >> + =C2=A0 =C2=A0 hid->version =3D ev->u.create.version;\n" - "> >> + =C2=A0 =C2=A0 hid->country =3D ev->u.create.country;\n" - "> >> + =C2=A0 =C2=A0 hid->phys[0] =3D 0;\n" - "> >> + =C2=A0 =C2=A0 hid->uniq[0] =3D 0;\n" - "> >> + =C2=A0 =C2=A0 hid->driver_data =3D uhid;\n" - "> >> + =C2=A0 =C2=A0 hid->dev.parent =3D uhid->parent;\n" + "> >> + \302\240 \302\240 strncpy(hid->name, ev->u.create.name, 128);\n" + "> >> + \302\240 \302\240 hid->name[127] = 0;\n" + "> >> + \302\240 \302\240 hid->ll_driver = &uhid_hid_driver;\n" + "> >> + \302\240 \302\240 hid->hid_get_raw_report = uhid_hid_get_raw;\n" + "> >> + \302\240 \302\240 hid->hid_output_raw_report = uhid_hid_output_raw;\n" + "> >> + \302\240 \302\240 hid->bus = ev->u.create.bus;\n" + "> >> + \302\240 \302\240 hid->vendor = ev->u.create.vendor;\n" + "> >> + \302\240 \302\240 hid->product = ev->u.create.product;\n" + "> >> + \302\240 \302\240 hid->version = ev->u.create.version;\n" + "> >> + \302\240 \302\240 hid->country = ev->u.create.country;\n" + "> >> + \302\240 \302\240 hid->phys[0] = 0;\n" + "> >> + \302\240 \302\240 hid->uniq[0] = 0;\n" + "> >> + \302\240 \302\240 hid->driver_data = uhid;\n" + "> >> + \302\240 \302\240 hid->dev.parent = uhid->parent;\n" "> >\n" - "> > Here we have to make sure that we have all required information provide=\n" - "d\n" + "> > Here we have to make sure that we have all required information provided\n" "> > by userspace. Anything else that HID might require to work better. Or\n" "> > that BR/EDR or LE provides additionally over USB.\n" - ">=20\n" + "> \n" "> Beside phys and uniq I have copied all information that HIDP and\n" "> USBHID use. I haven't found any other field that could be of interest\n" "> here. We can also always add UHID_CREATE2 with additional fields to\n" @@ -53,7 +52,11 @@ "could be of some interest.\n" "\n" "Cheers,\n" - "--=20\n" - Nicolas Pouillon + "-- \n" + "Nicolas Pouillon\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-input\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -6176db8c8944d9fe1c7868c1329deb05c6486305314efd9d8b2bf7594f37a81f +a34e72a09c0de808611aa2499706e2193e5bdbd30fc5b65eb27549fd0e8416e9
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.