我们看到带有video4linux字样的,他的设备号是 usb_device_ac8_303b_noserial_video4linux字样的,在其前面还有几个差不多的编号的设备。比如 usb_device_ac8_303b_noserial。我们就先查这个设备,大多数这样的一组相似的设备号,查第一个就能知道是什么设备。于是用。。
[root@localhost ~]# lshal -l -u usb_device_ac8_303b_noserial udi = '/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial' info.udi = '/org/freedesktop/Hal/devices/usb_device_ac8_303b_noserial' (string) linux.subsystem = 'usb' (string) linux.hotplug_type = 1 (0x1) (int) usb_device.bus_number = 3 (0x3) (int) usb_device.can_wake_up = false (bool) usb_device.is_self_powered = false (bool) usb_device.version_bcd = 272 (0x110) (int) usb_device.speed_bcd = 4608 (0x1200) (int) usb_device.linux.device_number = 2 (0x2) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.max_power = 160 (0xa0) (int) usb_device.device_revision_bcd = 256 (0x100) (int) info.product = 'ZC0303 WebCam' (string) usb_device.product = 'ZC0303 WebCam' (string) info.vendor = 'Z-Star Microelectronics Corp.' (string) usb_device.vendor = 'Z-Star Microelectronics Corp.' (string) usb_device.product_id = 12347 (0x303b) (int) usb_device.vendor_id = 2760 (0xac8) (int) usb_device.device_protocol = 0 (0x0) (int) usb_device.device_subclass = 0 (0x0) (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.1/usb3/3-1' (string) info.linux.driver = 'usb' (string) info.bus = 'usb_device' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_1' (string) linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-1' (string)
这回应该详细了吧。看上面的设备是哪个厂出品的?
usb_device.vendor_id = 2760 (0xac8) (int) usb_device.product_id = 12347 (0x303b) (int) info.product = 'ZC0303 WebCam' (string) info.vendor = 'Z-Star Microelectronics Corp.' (string) usb_device.product_id = 12347 (0x303b) (int)
在Gnome桌面环境下,还用hal-gnome软件包工具可用;您可以通过下面的方式来安装此软件包
[root@localhost ~]# yum install hal-gnome
然后运行hal-device-manager工具;
[root@localhost ~]# hal-device-manager
点鼠标查看摄像头的详细信息还是没有问题吧。
关于hal的相关知识:《Fedora Core 4.0 HAL配置即插即用移动存储(USB及1394)的实践》
2.2 根据摄像头信息到驱动网站对号入座
请参见: http://mxhaard.free.fr/spca5xx.html
请注意:这两个最重要的信息,也驱动网址摄像头芯片所对应地址对号入座,如果这张列表上没有摄像头,可能您得等一等了。不过也不是绝对的,给开发者捐赠一个不被支持的摄像头,肯定能解决。驱动开发者有捐赠主页,不妨捐一个看看。
usb_device.vendor_id = 2760 (0xac8) (int) usb_device.product_id = 12347 (0x303b) (int)
比如我的这款摄像头,在其网站上,显示为支持。
|