Dear SuSEians, I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a device via its USB connection. Linux Format issues 19, 20, & 22 all had info on mounting USB digital cameras as a storage device, but I'm still having problems. SuSE 7.3 loads the usbcore & usb-ohci modules for me ('lsmod' follows). ... usb-ohci 17680 0 (unused) usbcore 47264 1 [usb-ohci] ... Under /proc/bus/usb/devices the following info shows up upon connecting the camera. T: Bus=01 Lev=01 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=1132 ProdID=4335 Rev= 1.00 S: Manufacturer=TOSHIBA S: Product=PDR-M61 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms I thought I was in luck when I saw the maker and the model # show up, but the root console gives the following. hub.c: USB new device connect on bus1/1, assigned device number 3 usb.c: USB device 3 (vend/prod 0x1132/0x4335) is not claimed by any active driver This is far as I get. Is this just a telltale sign that my camera is not supported or am I missing something? I only get 'unknown device' when I try mounting as a SCSI drive (as all the sources I've read recommend I do). Anyone with some experience in this department? Thanks for reading, Eric __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
On Thursday 14 February 2002 2:06 pm, you wrote:
I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a device I thought I was in luck when I saw the maker and the model # show up
This means that the USB driver has recognised that a device has been connected, has queried the device to find out what it is, and the device has responded.
, but the root console gives the following. hub.c: USB new device connect on bus1/1, assigned device number 3 usb.c: USB device 3 (vend/prod 0x1132/0x4335) is not claimed by any active driver
This means that there isn't a driver in the kernel which knows how to deal with that type of device. That's OK because user land libraries (like gphoto) can talk to it directly as long as they recognise it.
This is far as I get. Is this just a telltale sign that my camera is not supported or am I missing something? I only get 'unknown device' when I try mounting as a SCSI drive (as all the sources I've read recommend I do).
Anyone with some experience in this department?
Only that I got a digital camera last week and I fiddled about and made it work. I don't understand this mass storage driver thing - it appears to be some concept whereby the camera is made to look like a disk drive and can be accessed as such. I didn't go near that. I just went and got the latest gphoto2 code, followed the instructions, and it worked first time. I've looked on the gphoto list and your camera isn't listed as supported. Unless it's a different make which has been rebadged, you might be out of luck for the moment. You could ask on the gphoto list. -- 2:11pm up 1 day, 5:55, 1 user, load average: 0.07, 0.03, 0.01
On Thursday 14 February 2002 09:26, Derek wrote:
I've looked on the gphoto list and your camera isn't listed as supported. Unless it's a different make which has been rebadged, you might be out of luck for the moment. You could ask on the gphoto list.
Or use the SanDisk Compact Flash reader, selling for about $23 at Best Buy. modprobe usb-storage mount -t vfat /dev/sda1 /camera (or whatever mount point you want). *************************************************** Powered by SuSE Linux 7.3 Professional KDE 2.2.1 KMail 1.3.1 This is a Microsoft-free computer Bryan S. Tyson bryantyson@earthlink.net ***************************************************
On Thursday 14 February 2002 06:06 am, Eric Pierce wrote:
Dear SuSEians,
I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a device via its USB connection. Linux Format issues 19, 20, & 22 all had info on mounting USB digital cameras as a storage device, but I'm still having problems.
I've got a toshiba pdr-m25 that I got running using the following method: The hardest part was finding out which device to use. I plugged the camera in, turned it on, waited a couple of seconds while it was recognized and; opened a shell became root fsck -l (the letter L) my camera was shown as /dev/sdc1 created a directory /media/camera added line to /etc/fstab /dev/sdc1 /media/camera vfat noauto,user 0 0 added line to /etc/init.d/boot.local /sbin/modprobe usb-storage (running the above line as root saves doing a reboot, putting it in boot.local runs it each time you boot up. created a disk link on my kde desktop mount point /media/camera device /dev/sdc1 file system vfat and set permissions as I wanted that was all, There was a thread last month if you need more info but this should do it for you. Good luck dh
I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a device via its USB connection. Linux Format issues 19, 20, & 22 all had info on mounting USB digital cameras as a storage device, but I'm still having problems.
I've got a toshiba pdr-m25 that I got running using the following method:
The hardest part was finding out which device to use. I plugged the camera in, turned it on, waited a couple of seconds while it was recognized and;
opened a shell became root fsck -l (the letter L) my camera was shown as /dev/sdc1
Are you sure you typed 'fsck -l'? All I get is the following... No devices specified to be checked! The man page for fsck doesn't have an '-l' option as far as I can tell. Would you mind double-checking what you did for me again? Much obliged, Eric __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com
On Friday 15 February 2002 08:51 am, Eric Pierce wrote:
I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a
device
via its USB connection. Linux Format issues 19,
20, &
22 all had info on mounting USB digital cameras as
a
storage device, but I'm still having problems.
I've got a toshiba pdr-m25 that I got running using the following method:
The hardest part was finding out which device to use. I plugged the camera in, turned it on, waited a couple of seconds while it was recognized and;
opened a shell became root
fsck -l (the letter L) -----WRONG COMMAND SEE BELOW-----------
my camera was shown as /dev/sdc1
Are you sure you typed 'fsck -l'? All I get is the following... No devices specified to be checked!
Oh man I'm really sorry, I was sure I had given you the right command, then I tried it and recieved the message "Parallelizing fsck version 1.19a", not what I expected. I guess I was just thinking about how fsck'd my system was behaving. I checked the old messages from the list The proper command is: /sbin/fdisk -l (the letter L) Really, this will tell you about all the mounted filesystems on your machine. good luck, dh
I checked the old messages from the list The proper command is: /sbin/fdisk -l (the letter L)
Really, this will tell you about all the mounted filesystems on your machine.
good luck, dh
Well, I tried that, and nothing new shows up when the camera is plugged in. I'm assuming the PDR-M61 just isn't support yet. Thanks all the same, Eric __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Saturday 16 February 2002 10:09 pm, Eric Pierce wrote: ------------snip---------------
Well, I tried that, and nothing new shows up when the camera is plugged in. I'm assuming the PDR-M61 just isn't support yet.
I've made an assumption that the PDR-M61 has a smart card in it. If it does then it should act as a usb-storage device (ie you can't control the camera like w/ gphoto but you should at least be able to download the pics off the camera like a hard disk). When I got my wife her camera everything I read said it was unsupported, I was really excited to overcome that. Treating it like a storage device really should work if usb is working on your machine. The only thing I can think might have been missed is plug camera in and turn on then: su password /sbin/modprobe usb-storage (put this in /etc.init.d/boot.local if everything else goes as planned) (I think this was mentioned in an earlier message) this should mount the camera as a storage device If your camera batteries are dead or weak then linux may not see it then: /sbin/fdisk -l heres part of my result: Disk /dev/sdc: 4 heads, 16 sectors, 250 cylinders <-CAMERA Units = cylinders of 64 * 512 bytes <-CAMERA Device Boot Start End Blocks Id System <-CAMERA /dev/sdc1 * 1 250 7987+ 1 FAT12 <-CAMERA Disk /dev/hdc: 255 heads, 63 sectors, 4865 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hdc1 1 33 265041 83 Linux /dev/hdc2 34 4865 38813040 f Win95 Ext'd (LBA) /dev/hdc5 34 66 265041 82 Linux swap ----------------------------snip------------------------- -----Below follow the relevant parts of my original message--(fixed)-------- opened a shell became root /sbin/fdisk -l (the letter L) (my camera was shown as /dev/sdc1) created a directory /media/camera added the following line to /etc/fstab /dev/sdc1 /media/camera vfat noauto,user 0 0 added following line to /etc/init.d/boot.local /sbin/modprobe usb-storage (running the above line in a shell as root saves doing a reboot, putting it in boot.local runs it each time you boot up.) created a disk link by right clicking on my kde desktop mount point /media/camera device /dev/sdc1 file system vfat and set permissions as I wanted This really should work. give it one more try let me know how things turn out dh
I've made an assumption that the PDR-M61 has a smart card in it. If it does then it should act as a usb-storage device (ie you can't control the camera like w/ gphoto but you should at least be able to download the pics off the camera like a hard disk). It says SmartMedia (TM). It's wafer thin... quite a bit thinner and wider than those sticks of gum that Sony puts out.
Treating it like a storage device really should work if usb is working on your machine. That's what I've been shooting for from the beginning (i.e., mounting it as a USB storage device).
The only thing I can think might have been missed is plug camera in and turn on then: I wish that were the case, but the power is definately on, and I get the following output on xconsole the moment I switch the camera's dial to the 'connect' setting. hub.c: USB new device connect on bus1/1, assigned device number 3 usb.c: USB device 3 (vend/prod 0x1132/0x4335) is not claimed by any active driver So I'm sure I've got things on the camera end squared away.
su password /sbin/modprobe usb-storage The usb-storage module & usb-ochi module are already being loaded up at boot time (see 'lsmod' from my 1st post).
then: /sbin/fdisk -l Here's what I get. Disk /dev/hda: 255 heads, 63 sectors, 526 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System /dev/hda1 1 261 2096451 6 FAT16 /dev/hda2 * 262 263 16065 83 Linux /dev/hda3 264 509 1975995 83 Linux /dev/hda4 510 526 136552+ 82 Linux swap Unfortunatley, nothing '/dev/sd*' at all.
This really should work. give it one more try let me know how things turn out
David, I truly appreciate all your help on this (as well as everyone else who replied). Did you read Gruss Olaf's response to this thread? Here's what he thought after seeing my /proc/bus/usb/devices:
Under /proc/bus/usb/devices the following info shows up upon connecting the camera. T: Bus=01 Lev=01 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=1132 ProdID=4335 Rev= 1.00 S: Manufacturer=TOSHIBA S: Product=PDR-M61 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
That last line means: It is a "sloppy" USB device and the vendor did not put a valid ident string in that thing. There is a file drivers/usb/storage/unusual_devs.h in the linux kernel source, that contains such devices (matched by vendor and product ID). But yours is not yet included in the upcoming 2.4.18 kernel. So you can either hack it in or try gphoto (check their website if it is supported).
Gruss Olaf
Eric __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Monday 18 February 2002 05:01 pm, Eric Pierce wrote: ---snip------
It says SmartMedia (TM). It's wafer thin...
sounds like what I have (a side note, should you ever get it working, is that you should be able to use your camera as a storage/transfer medium for any type of files you would transfer by a floppy or zip disk up to 32/64mb. I haven't actually tried this yet.)
Treating it like a storage device really should work
------snip----------
I wish that were the case, but the power is definately on, and I get the following output on xconsole the moment I switch the camera's dial to the 'connect' setting. hub.c: USB new device connect on bus1/1, assigned device number 3 usb.c: USB device 3 (vend/prod 0x1132/0x4335) is not claimed by any active driver So I'm sure I've got things on the camera end squared away.
su password /sbin/modprobe usb-storage
The usb-storage module & usb-ochi module are already being loaded up at boot time (see 'lsmod' from my 1st post).
Here's what you had in the first post
SuSE 7.3 loads the usbcore & usb-ohci modules for me ('lsmod' follows). ... usb-ohci 17680 0 (unused) usbcore 47264 1 [usb-ohci] ...
no mention of usb-storage --------This is the only thing that I can see that could keep your camera from showing up in the next commands
/sbin/fdisk -l
Here's what I get. Disk /dev/hda: 255 heads, 63 sectors, 526 cylinders Units = cylinders of 16065 * 512 bytes
If I remember you have 2 hard drives so the above should at least have shown /dev/hda and /dev/hdb I'm curious what your output was for this command, this should have given us the info we needed. -----------snip--------------
Unfortunatley, nothing '/dev/sd*' at all.
could be missing scsi-emulation in your kernel? This is the only other thing that I can think of. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Here are some other tips from a thread about a Fuji Finepix Camera that was on this list in late January don't know if any will help you but they're here if you want them Read the setup information at www.linux-usb.org you can find the correct name of a device using fdisk -l as someone suggested, or looking at the kernel log (with the dmesg command) # dmesg | less then search the line with the USB data
From what I've read the usb-storage module is treated as a scsi device, in one message someone mentioned the command;
/bin/rescan-scsi-bus.sh but I never tried this myself +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I'm really sorry I couldn't help you get this working. Best of luck dh
I have been watching this thread with a lot of attention, since it seemed to provide a solution for my problem: I have a Canon Powershot S20, and have only been able to use it in Linux with Gphoto over a serial connection (sooooo slow!). I have tried the usb-storage modules (the other usb modules are loaded since I use a USB adsl modem). Fdisk -l only shows the two hard disks, nothing else. fxf -- ______________________ Courtesy of SuSE Linux
On Tuesday 19 February 2002 11:00 am, FX Fraipont wrote:
I have been watching this thread with a lot of attention, since it seemed to provide a solution for my problem:
I have a Canon Powershot S20, and have only been able to use it in Linux with Gphoto over a serial connection (sooooo slow!).
I have tried the usb-storage modules (the other usb modules are loaded since I use a USB adsl modem).
Fdisk -l only shows the two hard disks, nothing else.
Did you run /sbin/modprobe usb-storage (as root) before doing fdisk -l?
fxf
Fdisk -l only shows the two hard disks, nothing
else.
Did you run /sbin/modprobe usb-storage (as root) before doing fdisk -l?
Yes, I did. # fdisk -l Disk /dev/hda: 255 heads, 63 sectors, 526 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 1 261 2096451 6 FAT16 /dev/hda2 * 262 263 16065 83 Linux /dev/hda3 264 509 1975995 83 Linux /dev/hda4 510 526 136552+ 82 Linux swap __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Tuesday 19 February 2002 04:11 pm, Eric Pierce wrote:
Fdisk -l only shows the two hard disks, nothing
else.
Did you run /sbin/modprobe usb-storage (as root) before doing fdisk -l?
Yes, I did. # fdisk -l
Disk /dev/hda: 255 heads, 63 sectors, 526 cylinders Units = cylinders of 16065 * 512 bytes -------------snip-------------------------
I'm fresh out of Ideas,there was a thread last month about fuji fine pix (Jan 23-24)but I don't think there was much there that I haven't already suggested in this recent incarnation. Sorry. dh
On Thu, Feb 14, Eric Pierce wrote:
Dear SuSEians,
I've been toying with my digital camera (Toshiba PDR-M61) for some time trying to mount it as a device via its USB connection. Linux Format issues 19, 20, & 22 all had info on mounting USB digital cameras as a storage device, but I'm still having problems.
SuSE 7.3 loads the usbcore & usb-ohci modules for me ('lsmod' follows). ... usb-ohci 17680 0 (unused) usbcore 47264 1 [usb-ohci] ...
Under /proc/bus/usb/devices the following info shows up upon connecting the camera. T: Bus=01 Lev=01 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=1132 ProdID=4335 Rev= 1.00 S: Manufacturer=TOSHIBA S: Product=PDR-M61 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
That last line means: It is a "sloppy" USB device and the vendor did not put a valid ident string in that thing. There is a file drivers/usb/storage/unusual_devs.h in the linux kernel source, that contains such devices (matched by vendor and product ID). But yours is not yet included in the upcoming 2.4.18 kernel. So you can either hack it in or try gphoto (check their website if it is supported). Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
Just a little closure letter here... A friend brought over a Sony (USB) digital camera of his (sorry, forgot the model #), and the /dev/sd* drive came right up on the console as well as with an 'fdisk -l'. So everything I had been trying was right... just the wrong camera. Here's a sniplet of a reply from Toshiba in regards to my kind (too kind?) request for a Linux driver for my PDR-M61. --snip-- "We do not support Linux at this time, and have no immediate plans to add support for it." --snip-- Time to sell the camera! Thanks to all who wrote! Eric __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com
Eric, I'm glad you got a Sony USB digital cam working. I've been watching for information to help me pick something for a webcam and your post interested me. Went to Google and searched for Sony and digital cam products (as in webcam) and came up with nothing for USA. There was an interesting product and apparently it is(or has been) marketed in the UK and Europe, but not here in USA. Is that the case for the Sony cam you installed? That it's a non-US (maybe PAL format) product? Tom N. Date sent: Wed, 27 Feb 2002 22:58:23 -0800 (PST) From: Eric Pierce <eric_suse@yahoo.com> To: suse-linux-e@suse.com Subject: Re: [SLE]CLOSURE-problem mounting a USB digital camera
Just a little closure letter here...
A friend brought over a Sony (USB) digital camera of his (sorry, forgot the model #), and the /dev/sd* drive came right up on the console as well as with an 'fdisk -l'. So everything I had been trying was right... just the wrong camera.
Here's a sniplet of a reply from Toshiba in regards to my kind (too kind?) request for a Linux driver for my PDR-M61.
--snip-- "We do not support Linux at this time, and have no immediate plans to add support for it." --snip--
Time to sell the camera!
Thanks to all who wrote! Eric
__________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
--- tomn@antelecom.net wrote:
Eric, I'm glad you got a Sony USB digital cam working. I've been watching for information to help me pick something for a webcam and your post interested me. Went to Google and searched for Sony and digital cam products (as in webcam) and came up with nothing for USA. There was an interesting product and apparently it is(or has been) marketed in the UK and Europe, but not here in USA. Is that the case for the Sony cam you installed? That it's a non-US (maybe PAL format) product? Well, it's not a webcam, it's a Sony Digital Still Camera - DSC-P1. Anyway, my friend picked up this camera in either Canada or Japan...
Eric
Just a little closure letter here...
A friend brought over a Sony (USB) digital camera of his (sorry, forgot the model #), and the /dev/sd* drive came right up on the console as well as with an 'fdisk -l'. So everything I had been trying was right... just the wrong camera.
Here's a sniplet of a reply from Toshiba in regards to my kind (too kind?) request for a Linux driver for my PDR-M61.
--snip-- "We do not support Linux at this time, and have no immediate plans to add support for it." --snip--
Time to sell the camera!
Thanks to all who wrote! Eric
__________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com
participants (7)
-
Bryan Tyson
-
David Herman
-
Derek Fountain
-
Eric Pierce
-
FX Fraipont
-
Olaf Hering
-
tomn@antelecom.net