You are not logged in.
Hey all,
I recently bought a brand new Lenovo X220T / X220 Tablet. It's working great with Arch, with one huge problem: the kernel seems to have no idea that I have a webcam.
Kernel:
^_^[ryan@bearden:~]$ uname -a
Linux bearden 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011 x86_64 Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz GenuineIntel GNU/Linux
lspci:
^_^[ryan@bearden:~]$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 6 Series Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
lsusb:
^_^[ryan@bearden:~]$ lsusb
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 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0a5c:217f Broadcom Corp. Bluetooth Controller
Bus 002 Device 003: ID 056a:00e6 Wacom Co., Ltd
Please let me know if you have any suggestions. I just hope I don't already have to send this in for a faulty webcam...
Last edited by tacostick (2011-08-04 14:44:21)
Offline
You are not alone.
Be brave.
Offline
What's the output of
ls -1 /dev/input/event*
I'm not sure if x220 is the same as x220t - here a (Windows) user reports that the camera is manufactured by Ricoh, not Chicony.
A fresh thread http://forums.opensuse.org/english/get- … ost2368058
For some Archers it seems to work out of the box https://bbs.archlinux.org/viewtopic.php?id=119332
Offline
Thanks for the replies.
I booted into Ubuntu, hoping that maybe I'd get different output in a different distro. The results:
ubuntu@ubuntu:~$ ls -1 /dev/input/event*
/dev/input/event0
/dev/input/event1
/dev/input/event2
/dev/input/event3
/dev/input/event4
/dev/input/event5
ubuntu@ubuntu:~$ lsusb
Bus 002 Device 004: ID 056a:00e6 Wacom Co., Ltd
Bus 002 Device 003: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive
Bus 002 Device 002: ID 8087:0024
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0a5c:217f Broadcom Corp.
Bus 001 Device 002: ID 8087:0024
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu@ubuntu:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation Cougar Point HECI Controller #1 [8086:1c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:1502] (rev 04)
00:1a.0 USB Controller [0c03]: Intel Corporation Cougar Point USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation Cougar Point High Definition Audio Controller [8086:1c20] (rev 04)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 1 [8086:1c10] (rev b4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 2 [8086:1c12] (rev b4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 4 [8086:1c16] (rev b4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Cougar Point PCI Express Root Port 5 [8086:1c18] (rev b4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller [0c03]: Intel Corporation Cougar Point USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:1c4f] (rev 04)
Kernel modules: iTCO_wdt
00:1f.2 SATA controller [0106]: Intel Corporation Cougar Point 6 port SATA AHCI Controller [8086:1c03] (rev 04)
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Cougar Point SMBus Controller [8086:1c22] (rev 04)
Kernel modules: i2c-i801
03:00.0 Network controller [0280]: Intel Corporation WiFi Link 1000 Series [8086:0084]
Kernel driver in use: iwlagn
Kernel modules: iwlagn
0d:00.0 System peripheral [0880]: Ricoh Co Ltd Device [1180:e823] (rev 04)
So, Ubuntu shows this 8087:0024 USB device, which is some sort of "Rate Matching Hub", but does not show the Ricoh device which Arch showed (and which I'm hoping is my webcam).
Generally speaking, what are my options if there is a physical device that doesn't even show up in lspci/lsusb at all? I noticed that in the Arch thread with the not-working Wacom, it at least showed up in lspci and whatnot.
Offline
Sorry, but I think that Ricoh thing is a card reader https://bugs.launchpad.net/ubuntu/+sour … bug/787606
Does Ubuntu have a 'lsinput' command? If it does, what's the output?
Here you have somebody with Ubuntu 11.04 on Lenovo x220. He got 9 device numbers from /dev/input/eventn ...
Last edited by karol (2011-07-26 17:25:15)
Offline
I'm back in Arch, I'll try `lsinput` in Ubuntu again in one second. But first, check this out:
^_^[ryan@bearden:~]$ ls -1 /dev/input/event*
/dev/input/event0
/dev/input/event1
/dev/input/event10
/dev/input/event2
/dev/input/event3
/dev/input/event4
/dev/input/event5
/dev/input/event6
/dev/input/event7
/dev/input/event8
/dev/input/event9
Way more output in Arch. I wonder if that ... matters at all.
Offline
I'm back in Arch, I'll try `lsinput` in Ubuntu again in one second. But first, check this out:
^_^[ryan@bearden:~]$ ls -1 /dev/input/event* /dev/input/event0 /dev/input/event1 /dev/input/event10 /dev/input/event2 /dev/input/event3 /dev/input/event4 /dev/input/event5 /dev/input/event6 /dev/input/event7 /dev/input/event8 /dev/input/event9
Way more output in Arch. I wonder if that ... matters at all.
That's what I wrote when I edited my previous post ;P Sorry.
There's a thing called key table. Maybe you need to press a button to make the webcam work?
Last edited by karol (2011-07-26 17:28:58)
Offline
lsinput was useless, but I'll post the output anyway, cause who knows who it might help someday. Hey, thanks for all the help by the way.
ubuntu@ubuntu:~$ sudo !!
sudo lsinput
/dev/input/event0
bustype : BUS_HOST
vendor : 0x0
product : 0x5
version : 0
name : "Lid Switch"
phys : "PNP0C0D/button/input0"
bits ev : EV_SYN EV_SW
/dev/input/event1
bustype : BUS_HOST
vendor : 0x0
product : 0x3
version : 0
name : "Sleep Button"
phys : "PNP0C0E/button/input0"
bits ev : EV_SYN EV_KEY
/dev/input/event2
bustype : BUS_HOST
vendor : 0x0
product : 0x1
version : 0
name : "Power Button"
phys : "LNXPWRBN/button/input0"
bits ev : EV_SYN EV_KEY
/dev/input/event3
bustype : BUS_ADB
vendor : 0x1
product : 0x1
version : 256
name : "Macintosh mouse button emulation"
bits ev : EV_SYN EV_KEY EV_REL
/dev/input/event4
bustype : BUS_I8042
vendor : 0x1
product : 0x1
version : 43860
name : "AT Translated Set 2 keyboard"
phys : "isa0060/serio0/input0"
bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
/dev/input/event5
bustype : BUS_I8042
vendor : 0x2
product : 0x1
version : 0
name : "PS/2 Synaptics TouchPad"
phys : "isa0060/serio1/input0"
bits ev : EV_SYN EV_KEY EV_REL
Anything else I should try in Ubuntu before I boot back to Arch?
Offline
The output is not exactly useless - it gives the names of respective devices. Sadly, there seem to be some events missing.
I'm out of ideas for now, sorry.
Offline
Okay, thanks anyway. To any other knights and damsels of the Internet, that thinkwiki link did tell me a little more. First, Fn+F6 is the XF86Webcam button, and second, /dev/input/event5 (which I have) is supposed to be the webcam.
1. Fn+F6 did nothing, which isn't surprising since there's no device for the keycode [212] to talk to, and besides, I haven't told my window manager to map any command to keycode 212.
2. /dev/input/event5, in Ubuntu, was the touchpad, so who the hell knows?
Offline
One user with a similar problem got his camera working this way: http://ubuntuforums.org/showthread.php?p=11030635
Yeah, I know this post is about system76 computer and not a Lenovo one, but at this point it's really the last thing I can think of.
Have you tried other Fn-F# combinations?
Offline
Yeah, none of them worked. One of them turned off my wifi.
Offline
In a horrible twist of events, I realized that the webcam that I thought wasn't being detected was actually a plastic placeholder. I called Lenovo and, sure enough, the system was configured without a webcam.
Which sucks, because I could swear I had chosen a webcam..........
On the bright side, I'll get a relatively cheap webcam that can clip to my monitor and is known to play nicely with Linux, and it'll never matter again.
Thanks for all your help; I'm marking this solved.
Offline
In a horrible twist of events, I realized that the webcam that I thought wasn't being detected was actually a plastic placeholder. I called Lenovo and, sure enough, the system was configured without a webcam.
I just died laughing.
Twice :-)
All's well that ends well, I guess.
Last edited by karol (2011-08-04 14:48:54)
Offline