LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   mount USB Camera FC3 (https://www.linuxquestions.org/questions/fedora-35/mount-usb-camera-fc3-298288/)

frs 03-06-2005 09:01 AM

mount USB Camera FC3
 
Hi,

I have nice little camera "Praktica DCZ 2.2 S" and I want to mout it on my newly installed fedora FC3.
It used to be possible with fedora FC1 and of course under Windows XP. On FC3 nothing much happens although the systems gives some signs that it knows about the camera. I have searched the web extensively without much success.

Here the symptoms:

1) when I connect the camera it acknowledges the connection by beeping.

2) dmesg shows me:
usb 4-2: new full speed USB device using uhci_hcd and address 4
(find /proc/bus/usb/004/004)

3) With "cat /proc/bus/usb/devices" I find a new entry:
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0d64 ProdID=0108 Rev= 1.00
S: Manufacturer=DSC
S: Product=DIGITAL CAMERA USB
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

4) Then that is about it! No way to mount the camera
"fdisk -l" shows nothing

5) "gphoto2" cannot work of course and my camera is not in that gphoto2 data base anyway.

Any idea how to do this? For me that camera is just like a memory stick but those are selfdetected by FC3.

Many Thanks in advance!

Cheers, Frank

mjrich 03-07-2005 06:07 PM

fdisk -l alone won't provide much in the way of anything useful - have you tried something along the lines of
Code:

fdisk -l /dev/sd*
as root, after plugging the camera in and selecting connect via usb (if appropriate) from the menu on the camera ?

Cheers,

mj

frs 03-07-2005 06:17 PM

Quote:

Originally posted by mjrich
fdisk -l alone won't provide much in the way of anything useful - have you tried something along the lines of
Code:

fdisk -l /dev/sd*
as root, after plugging the camera in and selecting connect via usb (if appropriate) from the menu on the camera ?

Cheers,

mj

Hi,

Thanks for your reply!! The command "fdisk -l /dev/sd*" does nothing independent if the camera is properly connected or not. Too bad it isn't that easy! It seems to me that there is simply a driver missing???

Happy about more suggestions!

Cheers, Frank

Brian1 03-07-2005 06:26 PM

Well lets see a little more info from the following. Post all output info.
' fdisk -l ' I know it may only show /dev/hd* devices really looking for /dev/sd*
' cat /proc/scsi/scsi ' If detected should be foworded on to where fdisk can see.
' lsmod ' List loaded modules.

I would say some module is not loaded when device is plugged in. like usb_storage. If not there ' modprobe usb_storage '

kernel version?

May get down to the following. Get the SG3-Utils from here.
http://sg.torque.net/sg/index.html#U...nd%20sg3_utils
run the commands ' sg_map ' and ' sg_scan " and see what comes from that.

Also may require building a new kernel. Quite easy to do. Read over this post to see how to do if you wish to try. Some buggy issues with those precompiled kernels from up2date, syanptic, or yum.
http://www.linuxquestions.org/questi...36#post1401136
While in there make sure you check multi-lun support. This might be the issue with the camera also. Not likely but possiable.

Brian1
" Google the Linux way @ http://www.google.com/linux "

mjrich 03-07-2005 06:29 PM

If you've had no problems using a usb thumbdrive, then you shouldn't need any more drivers for the camera (especially if it worked ok with FC1). Where are your usb devices normally held ? It may be under /dev/usb/* - if so, re-run the above fdisk command but with the new search path.

Cheers,

mj

frs 03-07-2005 07:35 PM

Hi,

Thanks! I will answer both last posts:

If I plug a memory stick I get automatically an entry in "/etc/fstab":

/dev/sdf1 /media/usbdisk vfat pamconsole,exec,noauto,iocharset=utf8,noatime,sync,fscontext=system_u:object_r:removable_t,managed
0 0

and of course "fdisk -l /dev/sd*" gives the expected result!

None of this is happening for my camera.

Sorry to say that I am no longer certain if it ever worked on FC1. Right
now I do not get it either on my FC1 machine.

Here more details:

fdisk -l (no memory stick but the camera)


Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2815 22611456 7 HPFS/NTFS
/dev/hda2 2816 2847 257040 83 Linux
/dev/hda3 2848 24077 170529975 f W95 Ext'd (LBA)
/dev/hda4 24078 24321 1959898+ 1c Hidden W95 FAT32 (LBA)
/dev/hda5 2848 3109 2104483+ 82 Linux swap
/dev/hda6 3110 7189 32772568+ 83 Linux
/dev/hda7 7190 11269 32772568+ 83 Linux
/dev/hda8 11270 15285 32258488+ b W95 FAT32
/dev/hda9 15286 19492 33792696 83 Linux
/dev/hda10 19493 24077 36828981 1b Hidden W95 FAT32

cat /proc/scsi/scsi :

Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: psc 2175 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: Card Reader CF Rev: v1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: Generic Model: Card Reader MS Rev: v1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: Generic Model: Card ReadeMMC/SD Rev: v1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 03
Vendor: Generic Model: Card Reader SM Rev: v1.0
Type: Direct-Access ANSI SCSI revision: 02

lsmod:

Module Size Used by
cisco_ipsec 396940 0
nfs 180261 1
lockd 59625 2 nfs
libafs 499516 2
parport_pc 29701 1
lp 15405 0
parport 37129 2 parport_pc,lp
autofs4 21829 0
rfcomm 37721 0
l2cap 27969 5 rfcomm
bluetooth 48325 4 rfcomm,l2cap
sunrpc 135077 4 nfs,lockd
ipt_REJECT 10561 1
ipt_state 5825 1
ip_conntrack 45317 1 ipt_state
iptable_filter 7489 1
ip_tables 20929 3 ipt_REJECT,ipt_state,iptable_filter
vfat 16577 3
fat 41185 1 vfat
nls_utf8 6081 1
ntfs 158736 1
dm_mod 57925 0
video 19653 0
button 10577 0
battery 13253 0
ac 8773 0
nvidia 3474748 12
sd_mod 20545 0
md5 8001 1
ipv6 236897 12
ohci1394 35033 0
ieee1394 300537 1 ohci1394
usb_storage 63369 0
scsi_mod 115777 2 sd_mod,usb_storage
joydev 13057 0
uhci_hcd 33497 0
ehci_hcd 31817 0
tda9887 16601 0
tuner 23405 0
saa7134 98313 0
video_buf 24389 1 saa7134
v4l2_common 9793 1 saa7134
v4l1_compat 16197 1 saa7134
ir_common 8773 1 saa7134
videodev 13249 1 saa7134
i2c_i801 11981 0
i2c_core 24513 4 tda9887,tuner,saa7134,i2c_i801
snd_intel8x0 33889 2
snd_ac97_codec 68513 1 snd_intel8x0
snd_pcm_oss 51573 0
snd_mixer_oss 21313 1 snd_pcm_oss
snd_pcm 89541 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 27077 1 snd_pcm
snd 54821 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 12961 2 saa7134,snd
snd_page_alloc 13509 2 snd_intel8x0,snd_pcm
prism54 54221 0
ndiswrapper 114332 0
via_rhine 24521 0
mii 8641 1 via_rhine
floppy 56913 0
ext3 117961 4
jbd 57177 1 ext3

uname -a:

2.6.10-1.770_FC3smp #1 SMP Thu Feb 24 14:20:06 EST 2005 i686 i686 i386 GNU/Linux

Distribution:
Latest FC3 complete install from CD plus upgrade with up2date, apt_get, synaptic.
Special installs: NTFS, dkms, kernel-mppe, vpnclient, ppp, openafs, ndiswrapper (Wifi)

sg_map:
Stopping because no sg devices found
Strange, could not find device /dev/sda mapped to sg device??
Strange, could not find device /dev/sdb mapped to sg device??
Strange, could not find device /dev/sdc mapped to sg device??
Strange, could not find device /dev/sdd mapped to sg device??
Strange, could not find device /dev/sde mapped to sg device??

sg_scan (runs without output)

Yes as a last resort I might recompile the kernel. I would hate to do that since
that would mean another stop whenever the kernel changes!

Cheers and Thanks again!

Frank

Brian1 03-09-2005 03:42 PM

Sorry for the delay. Cold and flu yesterday. Odd to me if the thumbdrive works and the camera does not. I know what you mean when recompiling a kernel something else seems to not work.

Just out of curiosty, Looks like you have a multi card reader. Does that work for you?

At this time I have no other ideas other than compile a new kernel.

If you get it going please post your fix.
Brian1
" Google the Linux way @ http://www.google.com/linux "

frs 03-14-2005 05:57 PM

Hi,

Now it is me who is late, sorry! Well, I kind of gave up since the gphoto2 were quite negative in terms of providing any help. It seems that Linux will basically remain unsupported when it comes to drivers for not so popular devices. I am afraid about the future of Linux if that will remain like that! In conclusion any kind of periphery will probably NOT work under Linux! This means that I will remain doomed to stay dual-booted forever.

Anyway, besides this doomsday worries I did the obvious although it is like cheating: I took out the SD card out of my camera and plugged into the card reader and it worked - no surprise.

Sorry but that is all...


All times are GMT -5. The time now is 11:36 AM.