Further information:
Here is additional information from the affected system (Lenovo ThinkPad T14s
Gen 6, Chicony 04F2:B83F Integrated Camera / HID sensor hub):
1. lsusb -v -d 04f2:b83f
lsusb -v -d 04f2:b83f
Bus 003 Device 002: ID 04f2:b83f Chicony Electronics Co., Ltd Integrated Camera
Negotiated speed: High Speed (480Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 [unknown]
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x04f2 Chicony Electronics Co., Ltd
idProduct 0xb83f Integrated Camera
bcdDevice 65.03
iManufacturer 3 Chicony Electronics Co.,Ltd.
iProduct 1 Integrated Camera
iSerial 2 0001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0452
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 4 Integrated Camera
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 5 Integrated Camera
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 1
iInterface 5 Integrated Camera
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.50
wTotalLength 0x008c
dwClockFrequency 15.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x0024000e
Auto-Exposure Mode
Auto-Exposure Priority
Exposure Time (Absolute)
Privacy
Region of Interest
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 3
bmControls 0x0000157f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
White Balance Temperature
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0x00
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 8
iTerminal 0
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {1229a78c-47b4-4094-b0ce-db07386fb938}
bNumControls 2
bNrInPins 1
baSourceID( 0) 2
bControlSize 4
bmControls( 0) 0x00
bmControls( 1) 0x06
bmControls( 2) 0x00
bmControls( 3) 0x00
iExtension 0
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 7
guidExtensionCode {26b8105a-0713-4870-979d-da79444bb68e}
bNumControls 8
bNrInPins 1
baSourceID( 0) 4
bControlSize 4
bmControls( 0) 0x04
bmControls( 1) 0x88
bmControls( 2) 0x0e
bmControls( 3) 0x03
iExtension 7 Realtek Extended Controls Unit
VideoControl Interface Descriptor:
bLength 29
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 8
guidExtensionCode {0f3f95dc-2632-4c4e-92c9-a04782f43bc8}
bNumControls 4
bNrInPins 1
baSourceID( 0) 7
bControlSize 4
bmControls( 0) 0x06
bmControls( 1) 0x21
bmControls( 2) 0x00
bmControls( 3) 0x00
iExtension 8 Microsoft Extended Controls Unit
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 6
VideoControl Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 3 (EP_INTERRUPT)
wMaxTransferSize 32
[..snip..]
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 4
bInterfaceCount 1
bFunctionClass 3 Human Interface Device
bFunctionSubClass 0 [unknown]
bFunctionProtocol 0
iFunction 20 Camera HID Device
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0
iInterface 20 Camera HID Device
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 1248
Report Descriptors:
** UNAVAILABLE **
[..snip..]
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0029
bNumDeviceCaps 2
Platform Device Capability:
bLength 28
bDescriptorType 16
bDevCapabilityType 5
bReserved 0
PlatformCapabilityUUID {d8dd60df-4589-4cc7-9cd2-659d9e648a9f}
CapabilityData[0] 0x00
CapabilityData[1] 0x00
CapabilityData[2] 0x03
CapabilityData[3] 0x06
CapabilityData[4] 0x17
CapabilityData[5] 0x06
CapabilityData[6] 0x15
CapabilityData[7] 0x00
** UNRECOGNIZED: 08 10 11 01 03 00 00 00
Device Status: 0x0000
(Bus Powered)
(The full descriptor is attached above in the bug; I’ve kept the key
parts here.)
2. udevadm info for the HID sensor hub
udevadm info -a /sys/bus/hid/devices/0003:04F2:B83F.0001
looking at device
'/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.4/0003:04F2:B83F.0001':
KERNEL=="0003:04F2:B83F.0001"
SUBSYSTEM=="hid"
DRIVER=="hid-sensor-hub"
ATTR{country}=="00"
ATTR{physical_location/dock}=="no"
ATTR{physical_location/horizontal_position}=="left"
ATTR{physical_location/lid}=="no"
ATTR{physical_location/panel}=="unknown"
ATTR{physical_location/vertical_position}=="upper"
ATTR{power/async}=="enabled"
ATTR{power/control}=="auto"
ATTR{power/runtime_active_kids}=="0"
ATTR{power/runtime_active_time}=="0"
ATTR{power/runtime_enabled}=="disabled"
ATTR{power/runtime_status}=="unsupported"
ATTR{power/runtime_suspended_time}=="0"
ATTR{power/runtime_usage}=="0"
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.4':
KERNELS=="3-4:1.4"
SUBSYSTEMS=="usb"
DRIVERS=="usbhid"
ATTRS{bInterfaceClass}=="03"
ATTRS{bInterfaceNumber}=="04"
ATTRS{bInterfaceProtocol}=="00"
ATTRS{bInterfaceSubClass}=="00"
ATTRS{bNumEndpoints}=="01"
ATTRS{interface}=="Camera HID Device"
[..snip..]
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb3/3-4':
KERNELS=="3-4"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{idVendor}=="04f2"
ATTRS{idProduct}=="b83f"
ATTRS{product}=="Integrated Camera"
[..snip..]
The HID interface is clearly bound to hid-sensor-hub, but as mentioned
earlier, the resulting IIO devices only expose proximity‑related
attributes (in_proximity*, in_attention*) and no ALS / illuminance
attributes.
3. hid-recorder not yet available
I attempted to capture raw HID reports:
sudo hid-recorder /dev/hidraw0 | head -n 200
sudo: 'hid-recorder': command not found
So far, hid-recorder is not installed on this system. If it would be
helpful, I can install the appropriate package (e.g. from hid-tools or
equivalent on Ubuntu) and provide a sample of raw HID reports from
/dev/hidraw0 in a later comment.
Summary / current state
The Chicony 04F2:B83F device exposes a UVC camera plus a separate HID
interface (“Camera HID Device”) with a 1248‑byte HID report descriptor, bound
to hid-sensor-hub.
The resulting IIO devices from this HID sensor hub only provide
proximity‑related channels; there are no ALS / illuminance channels exposed
under /sys/bus/iio/devices.
iio-sensor-proxy therefore does not expose an ambient light sensor, and
desktop auto‑brightness cannot work.
I’m happy to:
Install hid-recorder and attach raw HID traces from /dev/hidraw0.
Test any proposed kernel patches or Ubuntu kernels (e.g. from a PPA or
mainline builds).
Provide any additional logs you need (dmesg, journalctl -b, full IIO sysfs
dumps, etc.).
Please let me know what further information or testing would be most
useful
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151784
Title:
No ALS (ambient light sensor) exposed on ThinkPad T14s Gen 6 – Chicony
04F2:B83F HID sensor hub only provides proximity IIO devices
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2151784/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs