Hi guys
I finally made my camera work but is show low the resolution
Any way to increase resolution?
I finally made my camera work but is show low the resolution
Any way to increase resolution?
pwcview -s vga
Works better in higher resolutionHave you tried:
pwcview -s vga
usbconfig dump_device_desc dump_curr_config_desc
# usbconfig dump_device_desc dump_curr_config_desc
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <ATI>
iProduct = 0x0002 <OHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
Configuration index 0
[const@alpha] /dev# pwcview
Failed to set palette to YUV420P: Invalid argument
[const@alpha] /dev# usbconfig dump_device_desc dump_curr_config_desc
ugen7.2: <Lenovo EasyCamera Image Processor> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ef
bDeviceSubClass = 0x0002
bDeviceProtocol = 0x0001
bMaxPacketSize0 = 0x0040
idVendor = 0x090c
idProduct = 0x3371
bcdDevice = 0x2171
iManufacturer = 0x0001 <Image Processor>
iProduct = 0x0002 <Lenovo EasyCamera>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x01b7
bNumInterfaces = 0x0002
bConfigurationValue = 0x0001
iConfiguration = 0x0000 <no string>
bmAttributes = 0x0080
bMaxPower = 0x00fa
Additional Descriptor
bLength = 0x08
bDescriptorType = 0x0b
bDescriptorSubType = 0x00
RAW dump:
0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x00
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x0d
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x0d, 0x24, 0x01, 0x00, 0x01, 0x4d, 0x00, 0x80,
0x08 | 0xc3, 0xc9, 0x01, 0x01, 0x01
Additional Descriptor
bLength = 0x12
bDescriptorType = 0x24
bDescriptorSubType = 0x02
RAW dump:
0x00 | 0x12, 0x24, 0x02, 0x01, 0x01, 0x02, 0x00, 0x00,
0x08 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
0x10 | 0x00, 0x00
Additional Descriptor
bLength = 0x1a
bDescriptorType = 0x24
bDescriptorSubType = 0x06
RAW dump:
0x00 | 0x1a, 0x24, 0x06, 0x02, 0x92, 0x42, 0x39, 0x46,
0x08 | 0xd1, 0x0c, 0xe3, 0x4a, 0x87, 0x83, 0x31, 0x33,
0x10 | 0xf9, 0xea, 0xaa, 0x3b, 0x03, 0x01, 0x01, 0x01,
0x18 | 0xff, 0x00
Additional Descriptor
bLength = 0x0b
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x0b, 0x24, 0x05, 0x03, 0x02, 0x00, 0x00, 0x02,
0x08 | 0x7f, 0x17, 0x00
Additional Descriptor
bLength = 0x09
bDescriptorType = 0x24
bDescriptorSubType = 0x03
RAW dump:
0x00 | 0x09, 0x24, 0x03, 0x04, 0x01, 0x01, 0x00, 0x03,
0x08 | 0x00
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0083 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0008
bInterval = 0x0010
bRefresh = 0x0000
bSynchAddress = 0x0000
Additional Descriptor
bLength = 0x05
bDescriptorType = 0x25
bDescriptorSubType = 0x03
RAW dump:
0x00 | 0x05, 0x25, 0x03, 0x08, 0x00
Interface 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0000
bNumEndpoints = 0x0000
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Additional Descriptor
bLength = 0x0e
bDescriptorType = 0x24
bDescriptorSubType = 0x01
RAW dump:
0x00 | 0x0e, 0x24, 0x01, 0x01, 0xfb, 0x00, 0x81, 0x00,
0x08 | 0x04, 0x01, 0x00, 0x00, 0x01, 0x00
Additional Descriptor
bLength = 0x1b
bDescriptorType = 0x24
bDescriptorSubType = 0x04
RAW dump:
0x00 | 0x1b, 0x24, 0x04, 0x01, 0x05, 0x59, 0x55, 0x59,
0x08 | 0x32, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00,
0x10 | 0xaa, 0x00, 0x38, 0x9b, 0x71, 0x10, 0x01, 0x00,
0x18 | 0x00, 0x00, 0x00
Additional Descriptor
bLength = 0x2a
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2a, 0x24, 0x05, 0x01, 0x01, 0x80, 0x02, 0xe0,
0x08 | 0x01, 0x00, 0xec, 0x0d, 0x00, 0x00, 0xec, 0x0d,
0x10 | 0x00, 0x00, 0x60, 0x09, 0x00, 0x9a, 0x5b, 0x06,
0x18 | 0x00, 0x04, 0x9a, 0x5b, 0x06, 0x00, 0x2a, 0x2c,
0x20 | 0x0a, 0x00, 0x2b, 0x2c, 0x0a, 0x00, 0x2c, 0x2c,
0x28 | 0x0a, 0x00
Additional Descriptor
bLength = 0x2a
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2a, 0x24, 0x05, 0x02, 0x01, 0x60, 0x01, 0x20,
0x08 | 0x01, 0x00, 0xec, 0x0d, 0x00, 0x00, 0xec, 0x0d,
0x10 | 0x00, 0x00, 0x18, 0x03, 0x00, 0x9a, 0x5b, 0x06,
0x18 | 0x00, 0x04, 0x9a, 0x5b, 0x06, 0x00, 0x2a, 0x2c,
0x20 | 0x0a, 0x00, 0x2b, 0x2c, 0x0a, 0x00, 0x2c, 0x2c,
0x28 | 0x0a, 0x00
Additional Descriptor
bLength = 0x2a
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2a, 0x24, 0x05, 0x03, 0x01, 0x40, 0x01, 0xf0,
0x08 | 0x00, 0x00, 0xec, 0x0d, 0x00, 0x00, 0xec, 0x0d,
0x10 | 0x00, 0x00, 0x58, 0x02, 0x00, 0x9a, 0x5b, 0x06,
0x18 | 0x00, 0x04, 0x9a, 0x5b, 0x06, 0x00, 0x2a, 0x2c,
0x20 | 0x0a, 0x00, 0x2b, 0x2c, 0x0a, 0x00, 0x2c, 0x2c,
0x28 | 0x0a, 0x00
Additional Descriptor
bLength = 0x2a
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2a, 0x24, 0x05, 0x04, 0x01, 0xb0, 0x00, 0x90,
0x08 | 0x00, 0x00, 0xec, 0x0d, 0x00, 0x00, 0xec, 0x0d,
0x10 | 0x00, 0x00, 0xc6, 0x00, 0x00, 0x9a, 0x5b, 0x06,
0x18 | 0x00, 0x04, 0x9a, 0x5b, 0x06, 0x00, 0x2a, 0x2c,
0x20 | 0x0a, 0x00, 0x2b, 0x2c, 0x0a, 0x00, 0x2c, 0x2c,
0x28 | 0x0a, 0x00
Additional Descriptor
bLength = 0x2a
bDescriptorType = 0x24
bDescriptorSubType = 0x05
RAW dump:
0x00 | 0x2a, 0x24, 0x05, 0x05, 0x01, 0xa0, 0x00, 0x78,
0x08 | 0x00, 0x00, 0xec, 0x0d, 0x00, 0x00, 0xec, 0x0d,
0x10 | 0x00, 0x00, 0x96, 0x00, 0x00, 0x9a, 0x5b, 0x06,
0x18 | 0x00, 0x04, 0x9a, 0x5b, 0x06, 0x00, 0x2a, 0x2c,
0x20 | 0x0a, 0x00, 0x2b, 0x2c, 0x0a, 0x00, 0x2c, 0x2c,
0x28 | 0x0a, 0x00
Interface 1 Alt 1
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0001
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x1400
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 2
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0002
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x1340
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 3
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0003
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x1300
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
Interface 1 Alt 4
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0001
bAlternateSetting = 0x0004
bNumEndpoints = 0x0001
bInterfaceClass = 0x000e
bInterfaceSubClass = 0x0002
bInterfaceProtocol = 0x0000
iInterface = 0x0000 <no string>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0081 <IN>
bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS>
wMaxPacketSize = 0x12c0
bInterval = 0x0001
bRefresh = 0x0000
bSynchAddress = 0x0000
webcamd -d ugen7.2 -i 0 -v 0
it displaysAttached ugen7.2[0] to cuse unit 0
Creating /dev/video0
Webcam set to: 640x480 (vga) at 5 fps
Warning short read, got only 18349 of 460800 bytes
.
.
.
Warning short read, got only 19101 of 460800 bytes
^CError reading from webcam: Device not configured
hselasky said:Yes, it is currently for USB cameras only.
pwcview -h
Failed to set palette to YUV420P: Invalid argument
pwcview -s sqcif -h
Failed to set palette to YUV420P: Invalid argument
usbconfig dump_device_desc dump_curr_config_desc
ugen2.2: <product 0x0824 vendor 0x046d> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ef
bDeviceSubClass = 0x0002
bDeviceProtocol = 0x0001
bMaxPacketSize0 = 0x0040
idVendor = 0x046d
idProduct = 0x0824
bcdDevice = 0x0010
iManufacturer = 0x0000 <no string>
iProduct = 0x0000 <no string>
iSerialNumber = 0x0002 <340253A0>
bNumConfigurations = 0x0001
motion: [1] v4l_start: set input [8]
motion: [1] Retrying until successful connection with camera
webcamd -d ugen2.2 -i 0 -v 0 -B
Attached ugen2.2[0] to cuse unit 0
Creating /dev/video0
ls -l /dev/video0
crw-rw-rw- 1 root operator 0, 85 Mar 23 20:49 /dev/video0
ls /var/db/pkg | grep v4l
libv4l-0.8.1
v4l_compat-1.0.20101027_1
ugen2.2: <vendor 0x046d> at usbus2 (disconnected)
ugen2.2: <vendor 0x046d> at usbus2
mknod /dev/video0 c 81 0 root:wheel
mknod: /dev/video0: No such file or directory