* libv4l: add Lenovo Thinkpad Edge E325 to upside down devices table
@ 2012-03-24 19:14 Marien Zwart
2012-03-25 21:54 ` Gregor Jasny
0 siblings, 1 reply; 3+ messages in thread
From: Marien Zwart @ 2012-03-24 19:14 UTC (permalink / raw)
To: Linux Media Mailing List; +Cc: marien.zwart
[-- Attachment #1.1: Type: text/plain, Size: 700 bytes --]
Hi,
Like the recently added Thinkpad X200 and X201 the Thinkpad Edge E325
apparently has its camera upside down. dmidecode and lsusb output is
attached. I have also confirmed that Debian's libv4l-0.8.6 with the
following entry added to its table makes the camera work:
{ 0x04f2, 0xb27c, 0, "LENOVO", "12973MG",
V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED },
It looks like v4l-utils git master does not know about this model yet.
My apologies if it does and I overlooked it (I only grepped through that
code, I did not run it).
Please let me know if you need more information (note I'm not subscribed
to the list, so please CC me).
Thanks,
--
Marien.
[-- Attachment #1.2: dmidecode --]
[-- Type: text/plain, Size: 14729 bytes --]
# dmidecode 2.11
SMBIOS 2.6 present.
58 structures occupying 1829 bytes.
Table at 0x000F9D00.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
Version: 8SET33WW (1.15 )
Release Date: 11/17/2011
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 2048 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
3.5"/720 kB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 1.15
Firmware Revision: 1.17
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 12973MG
Version: ThinkPad Edge E325
Serial Number: LR8TVD8
UUID: 345E8401-507B-11CB-AC87-CAAA0B46EFF8
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: ThinkPad Edge E325
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: LENOVO
Product Name: 12973MG
Version: Not Available
Serial Number: 1ZK9U21H1B9
Asset Tag: Not Available
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Available
Chassis Handle: 0x0000
Type: Unknown
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: LENOVO
Type: Notebook
Lock: Not Present
Version: Not Available
Serial Number: LR8TVD8
Asset Tag: No Asset Information
Boot-up State: Unknown
Power Supply State: Unknown
Thermal State: Unknown
Security Status: Unknown
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: Unspecified
Contained Elements: 0
Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1902
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1900
Internal Connector Type: None
External Reference Designator: Touch Pad
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0006, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1300
Internal Connector Type: None
External Reference Designator: External LAN
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1400
Internal Connector Type: None
External Reference Designator: Internal LAN
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1500
Internal Connector Type: None
External Reference Designator: USB 0
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1300A
Internal Connector Type: None
External Reference Designator: USB 1
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1500
Internal Connector Type: None
External Reference Designator: USB 2
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1600
Internal Connector Type: None
External Reference Designator: USB 3.0
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB 4
Internal Connector Type: None
External Reference Designator: USB 4
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB 5
Internal Connector Type: None
External Reference Designator: USB 5
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB 6
Internal Connector Type: None
External Reference Designator: USB 6
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: USB 7
Internal Connector Type: None
External Reference Designator: USB 7
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1501
Internal Connector Type: None
External Reference Designator: USB 8
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1501
Internal Connector Type: None
External Reference Designator: USB 9
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1703
Internal Connector Type: None
External Reference Designator: SATA 0 (HDD)
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1705
Internal Connector Type: None
External Reference Designator: SATA 1 (Cable SATA ODD)
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1501
Internal Connector Type: None
External Reference Designator: SATA 2 (eSATA)
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1702
Internal Connector Type: None
External Reference Designator: SATA 3 (e-SATA)
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2106
Internal Connector Type: None
External Reference Designator: Audio Line In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2105
Internal Connector Type: None
External Reference Designator: Audio Line Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3702
Internal Connector Type: None
External Reference Designator: SIM Card
External Connector Type: Other
Port Type: Other
Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3304
Internal Connector Type: None
External Reference Designator: SD Card
External Connector Type: Other
Port Type: Other
Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2108
Internal Connector Type: None
External Reference Designator: WEBCAM
External Connector Type: Other
Port Type: Other
Handle 0x001B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J900
Internal Connector Type: None
External Reference Designator: VGA
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x001C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1800
Internal Connector Type: None
External Reference Designator: LVDS
External Connector Type: Other
Port Type: Video Port
Handle 0x001D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1850
Internal Connector Type: None
External Reference Designator: Display Port
External Connector Type: Other
Port Type: Video Port
Handle 0x001E, DMI type 9, 17 bytes
System Slot Information
Designation: MINI PCIE 0 (J3700)
Type: x1 PCI Express x1
Current Usage: Available
Length: Short
ID: 2
Characteristics:
3.3 V is provided
PME signal is supported
Hot-plug devices are supported
SMBus signal is supported
Bus Address: 0000:00:00.0
Handle 0x001F, DMI type 9, 17 bytes
System Slot Information
Designation: PCI-E GPP (J3600)
Type: x1 PCI Express x1
Current Usage: Available
Length: Long
ID: 5
Characteristics:
3.3 V is provided
PME signal is supported
Hot-plug devices are supported
SMBus signal is supported
Bus Address: 0000:00:00.0
Handle 0x0020, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: AMD Ontario GPU
Handle 0x0021, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Enabled
Description: AZALIA HD Audio
Handle 0x0022, DMI type 10, 6 bytes
On Board Device Information
Type: Ethernet
Status: Enabled
Description: Broadcom NIC BCM5761E
Handle 0x0023, DMI type 10, 6 bytes
On Board Device Information
Type: Ethernet
Status: Enabled
Description: Atheros NIC AR8151
Handle 0x0024, DMI type 10, 6 bytes
On Board Device Information
Type: SATA Controller
Status: Enabled
Description: AMD Hudsion 1
Handle 0x0025, DMI type 10, 6 bytes
On Board Device Information
Type: Unknown
Status: Enabled
Description: Infineon TPM SLB9635
Handle 0x0026, DMI type 10, 6 bytes
On Board Device Information
Type: Unknown
Status: Enabled
Description: NEC USB3.0 D720200F1
Handle 0x0027, DMI type 11, 5 bytes
OEM Strings
String 1: OEM default string
Handle 0x0028, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 4
en-US
fr-FR
ja-JP
ko-KR
Currently Installed Language: en-US
Handle 0x0029, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
Handle 0x002A, DMI type 135, 10 bytes
OEM-specific Type
Header and Data:
87 0A 2A 00 54 50 07 03 01 07
Handle 0x002B, DMI type 131, 22 bytes
OEM-specific Type
Header and Data:
83 16 2B 00 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 01
Strings:
TVT-Enablement
Handle 0x002C, DMI type 135, 34 bytes
OEM-specific Type
Header and Data:
87 22 2C 00 54 50 07 04 01 06 01 01 02 00 02 01
02 00 03 01 02 00 04 01 02 00 05 01 02 00 06 01
02 00
Handle 0x002D, DMI type 200, 7 bytes
OEM-specific Type
Header and Data:
C8 07 2D 00 01 02 03
Strings:
152D
PS3A
BQ3C61
Handle 0x002E, DMI type 4, 42 bytes
Processor Information
Socket Designation: Socket FT1
Type: Central Processor
Family: <OUT OF SPEC>
Manufacturer: AMD
ID: 20 0F 50 00 FF FB 8B 17
Version: AMD E-450 APU with Radeon(tm) HD Graphics
Voltage: 1.4 V
External Clock: 100 MHz
Max Speed: 1650 MHz
Current Speed: 1650 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x002F
L2 Cache Handle: 0x0030
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 2
Core Enabled: 2
Thread Count: 2
Characteristics:
64-bit capable
Handle 0x002F, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1 Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 128 kB
Maximum Size: 128 kB
Supported SRAM Types:
Pipeline Burst
Installed SRAM Type: Pipeline Burst
Speed: 1 ns
Error Correction Type: Multi-bit ECC
System Type: Unified
Associativity: 2-way Set-associative
Handle 0x0030, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 1024 kB
Maximum Size: 1024 kB
Supported SRAM Types:
Pipeline Burst
Installed SRAM Type: Pipeline Burst
Speed: 1 ns
Error Correction Type: Multi-bit ECC
System Type: Unified
Associativity: 16-way Set-associative
Handle 0x0031, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 1
Handle 0x0032, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Array Handle: 0x0031
Partition Width: 2
Handle 0x0033, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x0031
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: 1
Locator: J400
Bank Locator: Channel A
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: 802C
Serial Number: 332B6D2C
Asset Tag: 0918
Part Number: 384B544632353636
Rank: Unknown
Handle 0x0034, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0033
Memory Array Mapped Address Handle: 0x0032
Partition Row Position: 2
Interleave Position: 2
Interleaved Data Depth: 6
Handle 0x0035, DMI type 135, 36 bytes
OEM-specific Type
Header and Data:
87 24 35 00 54 50 07 02 42 41 59 20 49 2F 4F 20
02 00 02 00 00 00 00 18 31 26 31 FF 00 00 00 18
31 26 31 00
Handle 0x0036, DMI type 133, 5 bytes
OEM-specific Type
Header and Data:
85 05 36 00 01
Strings:
KHOIHGIUCCHHII
Handle 0x0037, DMI type 15, 29 bytes
System Event Log
Area Length: 50 bytes
Header Start Offset: 0x0000
Header Length: 16 bytes
Data Start Offset: 0x0010
Access Method: General-purpose non-volatile data functions
Access Address: 0x00F0
Status: Valid, Not Full
Change Token: 0x00000002
Header Format: Type 1
Supported Log Type Descriptors: 3
Descriptor 1: POST error
Data Format 1: POST results bitmap
Descriptor 2: Single-bit ECC memory error
Data Format 2: Multiple-event
Descriptor 3: Multi-bit ECC memory error
Data Format 3: Multiple-event
Handle 0x0038, DMI type 135, 18 bytes
OEM-specific Type
Header and Data:
87 12 38 00 54 50 07 01 01 00 01 00 00 00 01 00
00 00
Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
[-- Attachment #1.3: lsusb --]
[-- Type: text/plain, Size: 390 bytes --]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:b27c Chicony Electronics Co., Ltd
Bus 003 Device 002: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libv4l: add Lenovo Thinkpad Edge E325 to upside down devices table
2012-03-24 19:14 libv4l: add Lenovo Thinkpad Edge E325 to upside down devices table Marien Zwart
@ 2012-03-25 21:54 ` Gregor Jasny
2012-03-26 10:10 ` Marien Zwart
0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2012-03-25 21:54 UTC (permalink / raw)
To: Marien Zwart; +Cc: Linux Media Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello Marien,
On 3/24/12 8:14 PM, Marien Zwart wrote:
> Like the recently added Thinkpad X200 and X201 the Thinkpad Edge
> E325 apparently has its camera upside down. dmidecode and lsusb
> output is attached. I have also confirmed that Debian's
> libv4l-0.8.6 with the following entry added to its table makes the
> camera work:
>
> { 0x04f2, 0xb27c, 0, "LENOVO", "12973MG", V4LCONTROL_HFLIPPED |
> V4LCONTROL_VFLIPPED },
>
Thanks for the patch! I've applied this change in a slightly modified
form to the v4l-utils head and stable-0.8 branch.
I assume you're a Debian user: libv4l-0.8.6-2 got just uploaded to
Debian Sid. In case you're on Ubuntu, the libv4l/stable PPA will pick
up the patch with the next nightly build.
> It looks like v4l-utils git master does not know about this model
> yet. My apologies if it does and I overlooked it (I only grepped
> through that code, I did not run it).
Thanks again for the diff.
> Please let me know if you need more information (note I'm not
> subscribed to the list, so please CC me).
It would be great if you could test the updated package.
Thanks,
Gregor
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJPb5QHAAoJEBmaZPrftQD/hKkP/jpvILuhjowJOjdKGfmj9NQK
X6mCk8Sc7ViaMG/GrzdC+J3Aufry2k1X8ntqh09UbGqz5C+/pmV1pcwLHJr113Xe
PUZ0exNDszfGDB6VEYZIUd7eQGZnxmX6wnWjNKRM5SEirr65Fg6vYzz29zxxGgXq
XeryRSE4EfwPOIrkpmRbiG3Vfz2bkD5o9bpE7CTSX4Xjof1oUGRi8zVP6k/ItogL
GAjvtI1BUdscOHunxJK4kFPT+WpcCoQTCTvZdEhDIW5gZGFA+tIH6Swv/qIgPgYB
FC2tw5DzA7i1+HW2Cf/+o0iT5BRrvbJVaVFmBJDzM/oVY30nysfVukcSCOPKTYOi
0/YbIt/bnXGz3leltSMy9pBwndPz72H6fnV5uzZWaUHED+Nlwt1mnROXMAyvkjuw
auVmd5JZ1vMaC/oyJx/UsEwe7TOZRogoJnMviWlOrHXAyBW6OvHf17OYLNv0mKmU
70MsJyd0JF/mB5skHiEZWfZn5W27lndWRoM5/cjX9aN4sE4tngR+ZXkd50C6AXZJ
3eFCxvTl8zDR1mkyOuXwBrqrT8wVocgjdGLuv0B3ng7RuGOyKvH3Bl73iEXsxXSz
QEXnVdh+YfcuRsrKRkk9Xwdu4iS7swd6oapSlV48QMkNWDm5L+SWkKI1epG2JxWH
W/BQapX+yorgza4jKSJ/
=6Ow6
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libv4l: add Lenovo Thinkpad Edge E325 to upside down devices table
2012-03-25 21:54 ` Gregor Jasny
@ 2012-03-26 10:10 ` Marien Zwart
0 siblings, 0 replies; 3+ messages in thread
From: Marien Zwart @ 2012-03-26 10:10 UTC (permalink / raw)
To: Gregor Jasny; +Cc: Linux Media Mailing List
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
Hi,
On zo, 2012-03-25 at 23:54 +0200, Gregor Jasny wrote:
> I assume you're a Debian user: libv4l-0.8.6-2 got just uploaded to
> Debian Sid. In case you're on Ubuntu, the libv4l/stable PPA will pick
> up the patch with the next nightly build.
>
> It would be great if you could test the updated package.
I can confirm libv4l-0 and libv4lconvert0 from Debian testing (0.8.6-1)
give me an upside-down image in cheese, which is fixed by installing
libv4l-0 and libv4lconvert0 from unstable (0.8.6-2) on my testing
system.
Thanks for fixing this so quickly!
--
Marien.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-26 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 19:14 libv4l: add Lenovo Thinkpad Edge E325 to upside down devices table Marien Zwart
2012-03-25 21:54 ` Gregor Jasny
2012-03-26 10:10 ` Marien Zwart
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.