PDA

View Full Version : Small USB/camera problem.



spydie
01-05-2004, 09:03 PM
When I was running knoppix from the CD on my Dell 2300 I could plug in my Kodak DX6340 camera into the front USB and it worked great.

I was also running a USB mouse at the same time as the camera and they both worked fine.

Now that I have done a HD install I can not seem to get the camera to work.
My usb mouse still works fine, but it will not auto detect my camera like it did when I was running knoppix from the CD.

I went into setting, control center and manualy put the camera in, but it still will not work.

BTW: I can go to system, info center and try to view my usb devices and I just get a blank screen on the right half.
It use to show my USB devices fine when I was running knoppix from the CD.

I have done some searching and tried a couple of differant things, but just can't seem to get the camera to work.

What else could I try?

Thanks,

Stephen
01-05-2004, 09:51 PM
When I was running knoppix from the CD on my Dell 2300 I could plug in my Kodak DX6340 camera into the front USB and it worked great.

I was also running a USB mouse at the same time as the camera and they both worked fine.

Now that I have done a HD install I can not seem to get the camera to work.
My usb mouse still works fine, but it will not auto detect my camera like it did when I was running knoppix from the CD.

I went into setting, control center and manualy put the camera in, but it still will not work.

BTW: I can go to system, info center and try to view my usb devices and I just get a blank screen on the right half.
It use to show my USB devices fine when I was running knoppix from the CD.

I have done some searching and tried a couple of differant things, but just can't seem to get the camera to work.

What else could I try?

Thanks,

Edit the file /etc/fstab and add this line:


none /proc/bus/usb usbdevfs defaults 0 0


For so stupid reason this is left out when knoppix is installed to the HD.

spydie
01-06-2004, 12:57 AM
I have never edited a file before, so could you please tell me step by step how I edit the file /etc/fstab and add that line to it? :oops:

Thanks,

Stephen
01-06-2004, 01:57 AM
I have never edited a file before, so could you please tell me step by step how I edit the file /etc/fstab and add that line to it? :oops:

Thanks,

Open a console window (clam shell icon on taskbar) the type in su then enter key type in root password enter key again. You are now root next type in gvim /etc/fstab to open the file for editing then hit the INSERT key to enter insert editing mode move to the bottom of the file and add the line hit the ESC key to exit the insert mode then save the file.

spydie
01-06-2004, 02:51 AM
Well I must be getting close.
I put the line in, typed it just like this

none /proc/bus/usb usbdevfs defaults 0 0

I can see my usb items including the camera in system, info center.

When I go into control center I can also see the camera icon, but when I click on the test button I get,

error message

Unable to initialize camera. Check your port settings and camera connectivity and try again.

When I type camera:/ in the location bar on Konqueror it see's the camera as a file, but when I click on the camera file I get the error message,

Could not read file /

Did I maybe type in the line wrong?

Thanks

BTW: I rebooted after saving the new line, do I have to reboot after adding the line?

Stephen
01-06-2004, 04:49 AM
Well I must be getting close.
I put the line in, typed it just like this

none /proc/bus/usb usbdevfs defaults 0 0

I can see my usb items including the camera in system, info center.

When I go into control center I can also see the camera icon, but when I click on the test button I get,

error message

Unable to initialize camera. Check your port settings and camera connectivity and try again.

When I type camera:/ in the location bar on Konqueror it see's the camera as a file, but when I click on the camera file I get the error message,

Could not read file /

Did I maybe type in the line wrong?

Thanks

BTW: I rebooted after saving the new line, do I have to reboot after adding the line?

That's progress anyway. I have never setup one of these cameras but I know that they get accessed as scsi devices so boot from the CD and look at the boot messages with dmesg | less or dmesg | grep scsi should give you the information needed and check to see where the camera is detected then you need to duplicate the settings on your HD install. You will need to add a line into the /etc/fstab for the device and mount point if you post the dmesg with the camera being detected I may be able to figure out the correct line.

CrashedAgain
01-06-2004, 04:54 AM
Hey! Me too. I was having exactly the same problem. and now I'm getting exactly the same results. Canon PS200 camera still gives 'Unable to initialize error' error when attempting to connect but at least now shows up in the info centre.

>>For some stupid reason this is left out when knoppix is installed to the HD.

There seems to be a fair amount of things 'left out' when Knoppix is installed to the HD. Like for instance 'automount' works for CD but not for floppies. but floppies WILL auto-mount if you attempt to open a file on a floppy from an application (ie Kwrite or some other app). And 'Halt' will not power down my desktop box. but it will power down the laptop.

I suppose to be fair it must be admitted that Knoppix was never intended to be used as a Debian installer instead of a run from CD distro but I'll bet that is what it gets used for most so the HD install maybe deserves get more attention.

Stephen, I don't know how you are managing to work the bugs out of it but this is about three times you have come up with solutions to problems that were driving me nuts. Thanks.

Spydie, you may find 'Kate' an easier to use file editor than gvim. You must be root to edit config files, you can start Kate the same way as above ie su-to-root then 'Kate /etc/fstab'. If you find you are using it a lot you can drag the 'Kate' item from the start menu to the desktop ('Copy here' not 'move here') then edit the properties to 'run as a different user'...'root'. Oddly, you may find that it will not let you edit the drag 'n' drop copy. The way around this is to open the desktop 'shortcut' in a text editor (Kate) as user then 'save as' a new name. You will then be able to edit the new 'shortcut' as user.

CrashedAgain
01-08-2004, 06:14 AM
Any more help on this? Spydie, did you get your camera working?

spydie
01-08-2004, 06:45 AM
Not yet, I'm still working on it.
I'm starting to run out of idea's
I booted from the cd to look at the /etc/fstab and compare it to /etc/fstab from when I boot to the HD.

I tried to add the camera like a usb card reader /dev/sda1

I should maybe add that I do not have a memory card in the camera, but I'm using the built in memory that the camera has.

This maybe why I can not use it as /dev/sda1 as I get some error message.
I can't remember just what the error message was now, but it's like when you don't have a floopy or cd in a drive and you try to use the drive.

The camera works great without a memory card install and using the built in memory of the camera when running knoppix from the cd so I don't see why I can't run the camera from the hard drive.


Anyway, I'm reading and learning. I will get it sooner for later.
I have learned a lot well trying to get the camera to work. That's what it's all about :)
Please feel free to let me know what I should try next.

Thanks for asking :)

Stephen
01-08-2004, 10:28 AM
Please feel free to let me know what I should try next.

Thanks for asking :)

Post the boot messages from both the knoppix boot with the camera working and then having changed nothing boot into the hd install and post them messages and then we can try to see the differences in how it gets detected. And the line you are trying to use in the /etc/fstab as well.

spydie
01-08-2004, 08:37 PM
/etc/fstab (running knoppix from the CD, camera works)



proc /proc proc defaults 0 0
pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ntfs
noauto,users,exec,ro,umask=000,uid=knoppix,gid=kno ppix 0 0
# Added by KNOPPIX
/dev/hdb1 /mnt/hdb1 auto noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdb2 /mnt/hdb2 ext3 noauto,users,exec 0 0


and this one is when running knoppix/debian from the HD and the camera does not work.



# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdb2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb3 none swap sw 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda2 /mnt/hda2 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdb1 /mnt/hdb1 auto noauto,users,exec 0 0
# Added to see USB devices
none /proc/bus/usb usbdevfs defaults 0 0


The only line I have added is at the bottom,
# Added to see USB devices
none /proc/bus/usb usbdevfs defaults 0 0

Thanks for taking a look.

CrashedAgain
01-09-2004, 04:41 AM
My camera will not work even from CD. It is a Canon Powershot S200. auto detects as a Canon IXUS v2 but gtkam gives errors:'could not list folders in '/' followed by 'Could not initialize camera'. It acts the same running from CD and from HD and gives the same results if manually installed as the correct Powershot S200 model.
my fstab is essentially the same (added the 'none /proc/bus/usb usbdevfs defaults 0 0' line)

I also have Mandrake installed, camera works under Mandrake.

champagnemojo
01-09-2004, 06:48 AM
I have to use sudo gtkam to run it on my Kodak DX6330...but it works perfectly on my hd-install. Have either of you tried putting sudo in front when running gtkam? It's worth a shot.

CrashedAgain
01-09-2004, 03:07 PM
Ah, the permissions issue yet again! Unfortunately, it didn't work. gtkam reacted the same as sudo.
HOWEVER
I did get the camera working. The problem was with gtkam, I don't know what but I installed flphoto which is what I was using in Mandrake & it worked right off. (gtkam wouldn't work in Mandrake either). Flphoto is much a nicer application than gtkam anyway. It's only available as an rpm but 'alien' made a .deb pkg.
Thanks for all the help

ckassab
01-31-2004, 07:55 PM
well, here is my fstab:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdd1 / ext3 defaults,errors=remount-ro 0 1

proc /proc proc defaults 0 0
pts /dev/pts devpts mode=0620 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hdd2 none swap defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0

and i ran gtkam like this:

kdesu gtkam

yes, only as root i can acces my camera.