Thursday, January 29, 2009

Lenovo Thinkpad R400 Linux Drivers

Lol ! my first non-Cisco post! What's happening?
....Today I'm wasting my time installing drivers on my new Lenovo (IBM) Thinkpad R400 with CentOs Linux. Obviously there aren't Linux drivers on Lenovo site, so I watched on the various vendors:

1) Ati Radeon HD 3400 video: go to the Ati site and install the proprietary drivers, they will work, but remember to disable the graphical boot, or u will experience a good Kernel Panic ( I think only on x64 platforms)

To disable it, simply edit the /boot/grub/grub.conf file and remove the "rhgb" word from the boot string

2) a little help for the people using a kernel older than 2.6.20
(in kernel 2.6.20 and above, UVC drivers are integrated by default)

to run the integrated webcam see the "lsusb -v" output:


Bus 001 Device 003: ID 17ef:1004 Lenovo
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x17ef Lenovo
idProduct 0x1004
bcdDevice 3.20
iManufacturer 2 Chicony Electronics Co., Ltd.
iProduct 1 Integrated Camera
iSerial 3 SN0001
bNumConfigurations 1
Configuration Descriptor:
... [snip]

well, download the Linux UVC drivers ( http://linux-uvc.berlios.de/ )
and simply compile and install it (make , make install )

After a reboot, webcam will work and you will see a /dev/video0 device ,-)




More Tips about the drivers on Lenovo R400 will follow, as usual stay tuned!

No comments: