Google Groups Home
Help | Sign in
Message from discussion No media found Mustek mdc-3500 usb camera and other questions
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Piotr Pawłow  
View profile  
 More options Mar 14 2003, 7:44 am
Newsgroups: comp.os.linux.hardware
From: Piotr Pawłow <p...@siedziba.pl>
Date: Fri, 14 Mar 2003 13:44:42 +0100
Local: Fri, Mar 14 2003 7:44 am
Subject: Re: No media found Mustek mdc-3500 usb camera and other questions

Zarathustra wrote:
> I have tried a ton of tutorials on the web on usb cameras, and Ive visited
> the linux usb site to no avail.  Can someone tell me how to get this to
> work

Mustek MDC-3500 seems to have problems with some SCSI commands linux sends
to it. You need to insert following lines into
drivers/usb/storage/unusual_devs.h file:

UNUSUAL_DEV(  0x055f, 0xc233, 0x0000, 0x9999,
                "Mustek",
                "MDC-3500",
                US_SC_SCSI, US_PR_BULK, NULL, US_FL_MODE_XLATE | US_FL_START_STOP),

Then recompile kernel. Should work fine.

If you just want to extract images from the camera without all the troubles
of recompiling linux kernel, it can be easily done with tools from cdrecord
package:

1. Check what is the device number of your camera:

$ cdrecord -scanbus
Cdrecord 2.01a05 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg
Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) 'PIONEER ' 'DVD-ROM DVD-106 ' '1.22' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'USB     ' 'Device          ' '1.00' Removable Disk
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

In this case the camera is at 1,0,0

2. Dump camera memory to a file

$ readcd -dev=1,0,0 -f=disk.out
Capacity: 32768 Blocks = 16384 kBytes = 16 MBytes = 16 prMB
Sectorsize: 512 Bytes
Copy from SCSI (1,0,0) disk to file 'disk.out'
end:     32768
addr:    32768 cnt: 512
Time total: 82.930sec
Read 16384.00 kB at 197.6 kB/sec.

3. Mount the file

$ /sbin/losetup -o 20992 /dev/loop0 disk.out
$ mount /dev/loop0 /mnt/camera

Cheers,
--
 Piotr Paw³ow
 mailto:p...@siedziba.pl


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google