Published on Sake.in.th (https://sake.in.th)

หน้าแรก > หน้าหลัก > Compile Kermel module สำหรับ HP Webcam

Compile Kermel module สำหรับ HP Webcam [1]

เขียนโดย sake [2] เมื่อ 2008-10-01 20:48

เนื่องจากเครือง Compaq Presario B1200 ที่ซื้อมา มีเว็บแคมด้วย
จริง ๆ ใช้ kernel ของ ubuntu ก็ทำงานได้ตามปกติ แม้สีจะเพี้ยน ๆ ไปบ้าง
แต่หลัง ๆ เครื่องออกรวน ๆ เลยลอง compile kernel ใหม่ แต่ webcam ดันไม่เห็น เลยต้องไปโหลดมา compile ใหม่

search ไป ๆ มา ๆ พบ driver ไปที่ http://linux-uvc.berlios.de/ [3]

เริ่มลง

  1. # svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
  2. # cd trunk
  3. # make
  4. # make install
  5. # modprobe uvcvideo
  6. # dmesg
  7. [18354.306355] uvcvideo: Found UVC 1.00 device HP Webcam (064e:a110)
  8. [18354.311002] input: HP Webcam as /class/input/input8
  9. [18354.320072] usbcore: registered new interface driver uvcvideo
  10. [18354.323460] USB Video Class driver (SVN r255)

ก่อนหน้านั้น wireless ใช้ไม่ได้ หลัง kernel ใหม่ dmesg ดู เห็นว่าหา firmware ไม่เจอ แก้ง่าย ๆ โดยการคัดลอกเฟิร์มแวร์มา

  1. # cp -R /lib/firmware/2.6.24-19-generic /lib/firmware/2.6.26.5

เรียบร้อย :)

Tags: 
linux [4]
kernel [5]
HP Webcam [6]

Source URL (modified on 2008-10-01 20:48): https://sake.in.th/node/66

Links
[1] https://sake.in.th/blog/compile-kermel-module-%E0%B8%AA%E0%B8%B3%E0%B8%AB%E0%B8%A3%E0%B8%B1%E0%B8%9A-hp-webcam
[2] https://sake.in.th/users/sake
[3] http://linux-uvc.berlios.de/
[4] https://sake.in.th/tags/sitetags/linux
[5] https://sake.in.th/tags/sitetags/kernel
[6] https://sake.in.th/tags/sitetags/hp-webcam