I got this camera communicating with gphoto2 but the pictures are very
under exposed.
When I had my work laptop running Windoze XP, there were proper exposure
and clear to view and print.
So I'm not sure why the pictures are low brightness - and also appears
to be no color in them either?
Regards,
-Martin
> I installed libgphoto2-2.1.6.
>
> Edited the source file pdc640.c in the directory,
libgphoto2-2.1.6/camlibs/polaroid/
> and added the lines,
>
> {"Clever CAM 360", 0x797, 0x8001, {
> jd350e,
> BAYER_TILE_BGGR,
> &jd350e_postprocessing_and_flip,
> "scope%04i.ppm"
> }
> },
>
> which is similar to the lines already there for,
> {"GrandTek ScopeCam", 0x797, 0x801c, {
> jd350e,
> BAYER_TILE_BGGR,
> &jd350e_postprocessing_and_flip,
> "scope%04i.ppm"
> }
> },
>
> and did a make and make install.
Also, here is the output from --> lsusb:
============================
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 0.00
iManufacturer 0
iProduct 2 USB OHCI Root Hub
iSerial 1 c6844000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 2
bInterval 255
Language IDs: (length=4)
0000 (null)((null))
Bus 001 Device 005: ID 05d8:4002 Ultima Electronics Corp. Lifetec LT9385
Scanner
Language IDs: none (invalid length string descriptor bf; len=0)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x05d8 Ultima Electronics Corp.
idProduct 0x4002 Lifetec LT9385 Scanner
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 496mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: none (invalid length string descriptor bf; len=0)
Bus 001 Device 006: ID 0797:8001 Grandtech Semiconductor Corp. SmartCam
string descriptor 1 invalid (1e 03; len=1)
string descriptor 2 invalid (1e 03; len=1)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x0797 Grandtech Semiconductor Corp.
idProduct 0x8001 SmartCam
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
string descriptor 3 invalid (0e 02; len=1)
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 960
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
string descriptor 4 invalid (0e 02; len=1)
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type none
wMaxPacketSize 0
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
[root@oldpc root]#
============================
Hubert Figuiere wrote:
>Martin wrote:
>
>
>>>>Btw, what is the USB ids of this camera?
>>>>
>>>>
>>[root@oldpc root]# /usr/local/bin/gphoto2 --auto-detect
>>Model Port
>>----------------------------------------------------------
>>Clever CAM 360 usb:
>>Clever CAM 360 usb:001,017
>>
>>Is this what you're asking for?
>>
>>
>
>
>no. these are the device #, specific to the current USB subsystem
>change. Will change at next connection.
>
>cat /proc/bus/usb/devices
>
>OR
>
>lsusb -v
>
>
>
>
>
--
-------------- next part --------------
Skipped content of type multipart/related
From [email protected] Sat Sep 17 12:06:04 2005
From: [email protected] (Michael Conrad)
Date: Sat Sep 17 12:06:23 2005
Subject: Re2(!): [sane-devel] End of file reached OSX
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
Message-ID: <[email protected]>
Is there no idea, why this happens and how to soulute it? I really
need to get this work.
Greetings
Michael
Am 14.09.2005 um 23:47 schrieb Michael Conrad:
> Hi,
>
> Its me again, i found debug possibilty.
>
> The error message, which appears short before "End of File", is
>
> gt68xx] gt68xx_device_read: trying to read 7872 bytes
> [gt68xx] gt68xx_device_read_raw: enter: size=7872
> [gt68xx] gt68xx_device_read_raw: bulk read failed: End of file reached
> [gt68xx] gt68xx_device_read: read failed
> [gt68xx] somewhere: gt68xx_device_read (reader->dev, pixel_buffer,
> &size): End of file reached
> [gt68xx] gt68xx_afe_cis_read_lines: gt68xx_line_reader_read failed:
> End of file reached
> [gt68xx] somewhere: gt68xx_afe_cis_read_lines (&values, scanner, 0,
> first, r_obuffer, g_obuffer, b_obuffer): End of file reached
> [gt68xx] gt68xx_scanner_calibrate: gt68xx_afe_*_auto failed: End of
> file reached
> [gt68xx] somewhere: gt68xx_scanner_calibrate (s, &scan_request):
> End of file reached
>
> This is all, everything before looks normal and like with scanimage
>
> Any ideas?
>
> Greetings
>
> Michael
>
> Am 14.09.2005 um 21:11 schrieb Henning Meier-Geinitz:
>
>
>
>
>
>> Hi,
>>
>> On Tue, Sep 13, 2005 at 05:08:07PM +0400, Michael Conrad wrote:
>>
>>
>>
>>
>>
>>> i am using an Mustek 1248UB, which is fully supported by gt48xx.
>>>
>>> Operating System is OSX.
>>>
>>> I installed all necessary packages for OSX and scanimage -L and
>>> scanning with scanimage works.
>>>
>>> But when i use an application, which uses the Twain-Sane-Bridge, the
>>> scanner does something short and dies after it. And i get the error
>>> message : End of file reached. It happens with all applications,
>>> which are using this bridge.
>>>
>>>
>>>
>>>
>>>
>>
>> Does this happen with sane-backends 1.0.16?
>>
>> Is there a way to generate a debug log when using the
>> Twain-Sane-Bridge? For scanimage and bash this would look like this:
>>
>> export SANE_DEBUG_GT68XX=255
>> scanimage >image.pnm 2>log.txt
>>
>> Bye,
>> Henning
>>
>> --
>> sane-devel mailing list: [email protected]
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to [email protected]
>>
>>
>>
>>
>>
>
>
>
> Am 14.09.2005 um 21:11 schrieb Henning Meier-Geinitz:
>
>
>
>> Hi,
>>
>> On Tue, Sep 13, 2005 at 05:08:07PM +0400, Michael Conrad wrote:
>>
>>
>>
>>> i am using an Mustek 1248UB, which is fully supported by gt48xx.
>>>
>>> Operating System is OSX.
>>>
>>> I installed all necessary packages for OSX and scanimage -L and
>>> scanning with scanimage works.
>>>
>>> But when i use an application, which uses the Twain-Sane-Bridge, the
>>> scanner does something short and dies after it. And i get the error
>>> message : End of file reached. It happens with all applications,
>>> which are using this bridge.
>>>
>>>
>>>
>>
>> Does this happen with sane-backends 1.0.16?
>>
>> Is there a way to generate a debug log when using the
>> Twain-Sane-Bridge? For scanimage and bash this would look like this:
>>
>> export SANE_DEBUG_GT68XX=255
>> scanimage >image.pnm 2>log.txt
>>
>> Bye,
>> Henning
>>
>> --
>> sane-devel mailing list: [email protected]
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>> to [email protected]
>>
>>
>>
>
>
> --
> sane-devel mailing list: [email protected]
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to [email protected]
>
>
>