Any plans to drag in accelerometer driver from STMicroelectronics?


New Member

Reaction score: 2
Messages: 10

Just a subject.
Here is a linux source SUB-tree from manufacturer:
Here is a plain independed driver sources:

for example, this HW sensor installed in DELL Inpirion 3147. Visible via boot deviceprobe as
uhid0: <STMicroelectronics STSENSORHUB, class 0/0, rev 2.00/0.32, addr 3> on usbus0
usbconfig -d ugen0.4 dump_all_config_desc:
Configuration index 0

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0022
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x00e0
bMaxPower = 0x0032

Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x0003 <HID device>
bInterfaceSubClass = 0x0000
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>

Additional Descriptor

bLength = 0x09
bDescriptorType = 0x21
bDescriptorSubType = 0x10
RAW dump:
0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x73,
0x08 | 0x0c

Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0040
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Perhaps, the same HW-device present in any "YOGA" ("2-in-1" or other named) notebooks, with a 180 degree flipping screen



Reaction score: 875
Messages: 1,840


This sort of subject usually get more attention in mail lists, where most of developers hang. The forum is more towards to sysadmins and end users.

Cheers. ;)


New Member

Reaction score: 2
Messages: 10

Let's dig into the residence of developers... On updates arrive, I'll repost suggestions here for keyword search response.
[User gone left to perform a subscribe to maillists]


Well-Known Member

Reaction score: 159
Messages: 428

As a GPL USB (?) driver this probably fits into Webcamd scope.