Re: Attaching a camera via USB

2009-08-19 Thread Amos Shapira
2009/8/19 David Suna :
> My son got an inexpensive digital camera and I am trying to plug it in to an
> Ubuntu system to be able to copy off the pictures.  When I plug in the
> camera to the USB a light on the camera flashes but the device is not
> detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

It's not a direct solution to your problem, and maybe things changed
since last time I checked, but personally I prefer to use a card
reader for such tasks:

1. It saves camera battery.
2. It's much faster than the camera's USB interface (?)
3. I suspect that taking out the card and putting it back in is less
unhealthy for the camera than connecting the mini/micro-usb cable.

It's been a few years now that many printers come with a built-in card
reader, so maybe you have one already.

As for getting your camera recognised, maybe the following link could
help or point to the right direction:
https://help.ubuntu.com/community/Mount/USB (pointing to possibly more
relevant link: https://help.ubuntu.com/community/UsbDriveDoSomethingHowto)

Cheers,

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Hetz Ben Hamo
Hi David,

Did you see this? http://osdir.com/ml/linux-media/2009-06/msg00852.html

Thanks,
Hetz

On Wed, Aug 19, 2009 at 4:59 PM, David Suna wrote:
> My son got an inexpensive digital camera and I am trying to plug it in to an
> Ubuntu system to be able to copy off the pictures.  When I plug in the
> camera to the USB a light on the camera flashes but the device is not
> detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
>
> lsusb -v for that device shows
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               1.10
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0         8
>  idVendor           0x0979 Jeilin Technology Corp., Ltd
>  idProduct          0x0227
>  bcdDevice            1.00
>  iManufacturer           1
>  iProduct                2
>  iSerial                 0
>  bNumConfigurations      1
>  Configuration Descriptor:
>   bLength                 9
>   bDescriptorType         2
>   wTotalLength           46
>   bNumInterfaces          1
>   bConfigurationValue     1
>   iConfiguration          0
>   bmAttributes         0x80
>     (Bus Powered)
>   MaxPower              384mA
>   Interface Descriptor:
>     bLength                 9
>     bDescriptorType         4
>     bInterfaceNumber        0
>     bAlternateSetting       0
>     bNumEndpoints           4
>     bInterfaceClass         0 (Defined at Interface level)
>     bInterfaceSubClass      0
>     bInterfaceProtocol      0
>     iInterface              0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x01  EP 1 OUT
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0040  1x 64 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x82  EP 2 IN
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0040  1x 64 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x03  EP 3 OUT
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0008  1x 8 bytes
>       bInterval               0
>     Endpoint Descriptor:
>       bLength                 7
>       bDescriptorType         5
>       bEndpointAddress     0x84  EP 4 IN
>       bmAttributes            2
>         Transfer Type            Bulk
>         Synch Type               None
>         Usage Type               Data
>       wMaxPacketSize     0x0008  1x 8 bytes
>       bInterval               0
> cannot read device status, Operation not permitted (1)
>
>
> I do not know how to move forward on getting this device to work as a
> storage device.  I do not need to use it as a webcam (which theoretically it
> can do) I just want to be able to copy off the pictures and delete them.  I
> tried searching but wasn't able to narrow down the search enough to be
> useful.  Any help on how to do this or pointers to online resources on how
> to do this would be appreciated.
>
>
> Thanks,
>
> --
> David Suna
> da...@davidsconsultants.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



-- 
Skepticism is the lazy person's default position.
my blog (hebrew): http://benhamo.org
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Steve Litt
On Wednesday 19 August 2009 09:59:42 David Suna wrote:
> My son got an inexpensive digital camera and I am trying to plug it in
> to an Ubuntu system to be able to copy off the pictures.  When I plug in
> the camera to the USB a light on the camera flashes but the device is
> not detected as a storage device.  When I run lsusb it sees the device

I think the first step is to see (from specifications or whatever) whether the 
storage on this camera is a filesystem. If not then you have a whole different 
level of trouble.

If it's a filesystem, then keep this in mind -- a lot of cameras require after 
plugging it into the computer you press some kind of button on the camera or 
from the camera perform some kind of menu option, and THEN Ubuntu pops up 
asking whether you want to run a program or just mount it.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread David Suna

Steve Litt wrote:

On Wednesday 19 August 2009 09:59:42 David Suna wrote:
  

My son got an inexpensive digital camera and I am trying to plug it in
to an Ubuntu system to be able to copy off the pictures.  When I plug in
the camera to the USB a light on the camera flashes but the device is
not detected as a storage device.  When I run lsusb it sees the device



I think the first step is to see (from specifications or whatever) whether the 
storage on this camera is a filesystem. If not then you have a whole different 
level of trouble.


If it's a filesystem, then keep this in mind -- a lot of cameras require after 
plugging it into the computer you press some kind of button on the camera or 
from the camera perform some kind of menu option, and THEN Ubuntu pops up 
asking whether you want to run a program or just mount it.


SteveT

  
Unfortunately I don't have any specs or really know how to read them.  
From a link someone posted earlier I got the idea to run fdisk -l and 
find out what the device is but there was no difference in the output 
whether I had the camera plugged in or not.



--
David Suna
da...@davidsconsultants.com



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread Amos Shapira
2009/8/20 David Suna :
> Unfortunately I don't have any specs or really know how to read them.  From
> a link someone posted earlier I got the idea to run fdisk -l and find out
> what the device is but there was no difference in the output whether I had
> the camera plugged in or not.

"fdisk -l" would be relevant after you got the camera recognised by
ubuntu, have you overcome this stage?

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-19 Thread sara fink
storage device is usually appears as dev/sdX when X is a or b or c.

Try to run ls -l /dev/sd* and see if you get something.

On 8/19/09, David Suna  wrote:
> My son got an inexpensive digital camera and I am trying to plug it in
> to an Ubuntu system to be able to copy off the pictures.  When I plug in
> the camera to the USB a light on the camera flashes but the device is
> not detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
>
> lsusb -v for that device shows
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
> Device Descriptor:
>   bLength18
>   bDescriptorType 1
>   bcdUSB   1.10
>   bDeviceClass0 (Defined at Interface level)
>   bDeviceSubClass 0
>   bDeviceProtocol 0
>   bMaxPacketSize0 8
>   idVendor   0x0979 Jeilin Technology Corp., Ltd
>   idProduct  0x0227
>   bcdDevice1.00
>   iManufacturer   1
>   iProduct2
>   iSerial 0
>   bNumConfigurations  1
>   Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength   46
> bNumInterfaces  1
> bConfigurationValue 1
> iConfiguration  0
> bmAttributes 0x80
>   (Bus Powered)
> MaxPower  384mA
> Interface Descriptor:
>   bLength 9
>   bDescriptorType 4
>   bInterfaceNumber0
>   bAlternateSetting   0
>   bNumEndpoints   4
>   bInterfaceClass 0 (Defined at Interface level)
>   bInterfaceSubClass  0
>   bInterfaceProtocol  0
>   iInterface  0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01  EP 1 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82  EP 2 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03  EP 3 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84  EP 4 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
> cannot read device status, Operation not permitted (1)
>
>
> I do not know how to move forward on getting this device to work as a
> storage device.  I do not need to use it as a webcam (which
> theoretically it can do) I just want to be able to copy off the pictures
> and delete them.  I tried searching but wasn't able to narrow down the
> search enough to be useful.  Any help on how to do this or pointers to
> online resources on how to do this would be appreciated.
>
>
> Thanks,
>
> --
> David Suna
> da...@davidsconsultants.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-20 Thread sara fink
There is a web site with all the drivers supported for cheap webcams.
http://mxhaard.free.fr/spca5xx.html
the bad news is that this camera doesn't appear in the list.

The good news is that it's the same guy who developed all these
drivers. I suggest you write him. Here is the link from where you can
get some info how to get in contact with him.

http://www.theinquirer.net/inquirer/news/1047633/one-writes-linux-drivers-235-usb-webcams

On 8/19/09, David Suna  wrote:
> My son got an inexpensive digital camera and I am trying to plug it in
> to an Ubuntu system to be able to copy off the pictures.  When I plug in
> the camera to the USB a light on the camera flashes but the device is
> not detected as a storage device.  When I run lsusb it sees the device
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
>
> lsusb -v for that device shows
>
> Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
> Device Descriptor:
>   bLength18
>   bDescriptorType 1
>   bcdUSB   1.10
>   bDeviceClass0 (Defined at Interface level)
>   bDeviceSubClass 0
>   bDeviceProtocol 0
>   bMaxPacketSize0 8
>   idVendor   0x0979 Jeilin Technology Corp., Ltd
>   idProduct  0x0227
>   bcdDevice1.00
>   iManufacturer   1
>   iProduct2
>   iSerial 0
>   bNumConfigurations  1
>   Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength   46
> bNumInterfaces  1
> bConfigurationValue 1
> iConfiguration  0
> bmAttributes 0x80
>   (Bus Powered)
> MaxPower  384mA
> Interface Descriptor:
>   bLength 9
>   bDescriptorType 4
>   bInterfaceNumber0
>   bAlternateSetting   0
>   bNumEndpoints   4
>   bInterfaceClass 0 (Defined at Interface level)
>   bInterfaceSubClass  0
>   bInterfaceProtocol  0
>   iInterface  0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01  EP 1 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82  EP 2 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0040  1x 64 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03  EP 3 OUT
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
>   Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84  EP 4 IN
> bmAttributes2
>   Transfer TypeBulk
>   Synch Type   None
>   Usage Type   Data
> wMaxPacketSize 0x0008  1x 8 bytes
> bInterval   0
> cannot read device status, Operation not permitted (1)
>
>
> I do not know how to move forward on getting this device to work as a
> storage device.  I do not need to use it as a webcam (which
> theoretically it can do) I just want to be able to copy off the pictures
> and delete them.  I tried searching but wasn't able to narrow down the
> search enough to be useful.  Any help on how to do this or pointers to
> online resources on how to do this would be appreciated.
>
>
> Thanks,
>
> --
> David Suna
> da...@davidsconsultants.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-20 Thread Shahar Dag
Hello

Many digital camera has 2 data transfer modes.
One is the disk like mode (same as DiskOnKey)
And I don't remember the name of the second.
Dig inside the menus & verify that you are in the correct mode.

When I bought my first digital camera (Nikon coolpix 4200), my dealer 
recommended me to use a card reader. According to his experience, many cameras 
become total lost because of the usage of the usb cable

Shahar
  - Original Message - 
  From: David Suna 
  To: IGLU Mailing list 
  Sent: Wednesday, August 19, 2009 4:59 PM
  Subject: Attaching a camera via USB


  My son got an inexpensive digital camera and I am trying to plug it in 
  to an Ubuntu system to be able to copy off the pictures.  When I plug in 
  the camera to the USB a light on the camera flashes but the device is 
  not detected as a storage device.  When I run lsusb it sees the device

  Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

  lsusb -v for that device shows

  Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor   0x0979 Jeilin Technology Corp., Ltd
idProduct  0x0227
bcdDevice1.00
iManufacturer   1
iProduct2
iSerial 0
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   46
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  384mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   4
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass  0
bInterfaceProtocol  0
iInterface  0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x01  EP 1 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x82  EP 2 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x03  EP 3 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x84  EP 4 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
  cannot read device status, Operation not permitted (1)


  I do not know how to move forward on getting this device to work as a 
  storage device.  I do not need to use it as a webcam (which 
  theoretically it can do) I just want to be able to copy off the pictures 
  and delete them.  I tried searching but wasn't able to narrow down the 
  search enough to be useful.  Any help on how to do this or pointers to 
  online resources on how to do this would be appreciated.


  Thanks,

  -- 
  David Suna
  da...@davidsconsultants.com


  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Attaching a camera via USB

2009-08-20 Thread David Suna


Amos Shapira wrote:


2009/8/20 David Suna :
  

Unfortunately I don't have any specs or really know how to read them.  From
a link someone posted earlier I got the idea to run fdisk -l and find out
what the device is but there was no difference in the output whether I had
the camera plugged in or not.



"fdisk -l" would be relevant after you got the camera recognised by
ubuntu, have you overcome this stage?

--Amos


  


No.  I don't know how to get it recognize the camera as a storage device.

--
David Suna
da...@davidsconsultants.com



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: [?? Probable Spam] Re: Attaching a camera via USB

2009-08-19 Thread David Suna
Yes.  However, they had a problem getting it to work as a web cam.  It 
automatically came up as a mass storage device.  For me it is not even 
coming up as a mass storage device.


David Suna
da...@davidsconsultants.com



Hetz Ben Hamo wrote:


Hi David,

Did you see this? http://osdir.com/ml/linux-media/2009-06/msg00852.html

Thanks,
Hetz

On Wed, Aug 19, 2009 at 4:59 PM, David Suna wrote:
  

My son got an inexpensive digital camera and I am trying to plug it in to an
Ubuntu system to be able to copy off the pictures.  When I plug in the
camera to the USB a light on the camera flashes but the device is not
detected as a storage device.  When I run lsusb it sees the device

Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd

lsusb -v for that device shows

Bus 003 Device 006: ID 0979:0227 Jeilin Technology Corp., Ltd
Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize0 8
 idVendor   0x0979 Jeilin Technology Corp., Ltd
 idProduct  0x0227
 bcdDevice1.00
 iManufacturer   1
 iProduct2
 iSerial 0
 bNumConfigurations  1
 Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   46
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  384mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   4
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass  0
bInterfaceProtocol  0
iInterface  0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x01  EP 1 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x82  EP 2 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0040  1x 64 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x03  EP 3 OUT
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x84  EP 4 IN
  bmAttributes2
Transfer TypeBulk
Synch Type   None
Usage Type   Data
  wMaxPacketSize 0x0008  1x 8 bytes
  bInterval   0
cannot read device status, Operation not permitted (1)


I do not know how to move forward on getting this device to work as a
storage device.  I do not need to use it as a webcam (which theoretically it
can do) I just want to be able to copy off the pictures and delete them.  I
tried searching but wasn't able to narrow down the search enough to be
useful.  Any help on how to do this or pointers to online resources on how
to do this would be appreciated.


Thanks,

--
David Suna
da...@davidsconsultants.com


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il






  


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il