spca5xx driver
eexpress
exp.exp at gmail.com
Sat Sep 23 15:45:58 BST 2006
hi, all
some trouble about usb camera.
laptop: A8H20Jc-DR
$ lsusb
Bus 005 Device 003: ID 0ac8:0321 Z-Star Microelectronics Corp.
from http://mxhaard.free.fr/download.html, i had download the 20060501
version of spca5xx. and compiler ok. (simplelly i "make" and "sudo make
install", for i had test "make CC=gcc-3.4", the ko file can not be
recognized by modprobe, it says "FATAL: Error inserting spca5xx
(/lib/modules/2.6.15-27-686/kernel/drivers/usb/media/spca5xx.ko): Invalid
module format").
$ uname -r
2.6.15-27-686
i had removed the directory /lib/modules/`uname
-r`/kernel/drivers/usb/media/spca5xx/. (this driver from system also do
nothing)
the new compiled one locate at
"/lib/modules/2.6.15-27-686/kernel/drivers/usb/media/spca5xx.ko"
and "sudo modprobe spca5xx",
$ lsmod|grep spca5
spca5xx 692368 0
videodev 10144 2 spca5xx,usbvideo
usbcore 139172 6 spca5xx,usbvideo,usbhid,ehci_hcd,uhci_hcd
but in Ekiga(i only know this software can test the video, plus
wengophone), no device appearred, i select V4l as video plugins.
if anyone do this ok.
append info:
$ lshal -l -u usb_device_ac8_321_noserial
udi = '/org/freedesktop/Hal/devices/usb_device_ac8_321_noserial'
info.udi = '/org/freedesktop/Hal/devices/usb_device_ac8_321_noserial'
(string)
linux.subsystem = 'usb' (string)
linux.hotplug_type = 1 (0x1) (int)
usb_device.bus_number = 5 (0x5) (int)
usb_device.can_wake_up = false (bool)
usb_device.is_self_powered = false (bool)
usb_device.version_bcd = 512 (0x200) (int)
usb_device.speed_bcd = 294912 (0x48000) (int)
usb_device.linux.device_number = 2 (0x2) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.max_power = 200 (0xc8) (int)
usb_device.device_revision_bcd = 256 (0x100) (int)
info.product = 'USB2.0 Web Camera' (string)
usb_device.product = 'USB2.0 Web Camera' (string)
info.vendor = 'Z-Star Microelectronics Corp.' (string)
usb_device.vendor = 'Z-Star Microelectronics Corp.' (string)
usb_device.product_id = 801 (0x321) (int)
usb_device.vendor_id = 2760 (0xac8) (int)
usb_device.device_protocol = 255 (0xff) (int)
usb_device.device_subclass = 255 (0xff) (int)
usb_device.device_class = 255 (0xff) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4' (string)
info.linux.driver = 'usb' (string)
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_7'
(string)
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4'
(string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4' (string)
----
eexpress
More information about the laptop-testing-team
mailing list