SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
need some help here.
i can't get to work my canon powershot a95. i compiled from source libgphoto2, ghoto2 and gtkam. when i try gphoto2 --auto-detect i get nothing. the same goes for trying with gtkam. some time ago i borrowed some hp digicam and it worked alright.
tried google and but nothing helped
i'm using slack 10.2 and 2.4.31 kernel.
what do i do..?
root@hanuman:/home/pegazeka# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0d.0 Communication controller: Ambient Technologies Inc HaM controllerless modem (rev 02)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
00:14.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:14.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:14.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
root@hanuman:/home/pegazeka#
and also, here's what worked for me but i give no guarantees if this would work for you or not. but try it anyways.
1. using root create a group called "camera" (without the quotes...)
2. Still as root - add your user to that group (the non-root user)
3. Log out and then back in (to reset your groups).
4. Either rename /etc/hotplug/usb.usermap.new to usb.usermap or copy its contents across (cat usb.usermap.new >> usb.usermap).
Now, when you plug in the camera it should appear under /proc/bus/usb/devices and you should be able to access it through gphoto2/digikam/whatever other front-end you choose.
root@hanuman:/home/pegazeka# mount -t vfat /dev/sda1 /mnt/1
mount: /dev/sda1 is not a valid block device
root@hanuman:/home/pegazeka# dmesg | tail
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
root@hanuman:/home/pegazeka#
Code:
root@hanuman:/home/pegazeka# mount -t vfat /dev/sda1 /mnt/1
mount: /dev/sda1 is not a valid block device
Furlinastis, i'll try that with the groups and get back with the results
thank you for the quick replies!
edit:
tried that and nothing happend, still the same, the camera can't be detected
Originally posted by brokenflea 1. using root create a group called "camera" (without the quotes...)
2. Still as root - add your user to that group (the non-root user)
3. Log out and then back in (to reset your groups).
4. Either rename /etc/hotplug/usb.usermap.new to usb.usermap or copy its contents across (cat usb.usermap.new >> usb.usermap).
Now, when you plug in the camera it should appear under /proc/bus/usb/devices and you should be able to access it through gphoto2/digikam/whatever other front-end you choose.
How d'ya like that! I've been plagiarised...
Here's a link to my site which fully explains all the above.
Note: Step 4 of that process won't work unless you install the packages from the site linked to above. The packages are a bit old now (August 2004), but work fine for me on Slackware 10.2 with a Canon Powershot A85.
P.S. No hard feelings brokenflea. Just remember to credit your sources next time...
I also pwn a Canon95a camera and some time ago I wanted to get it functional in slackware.
I wanted to mount camera as any flash drive (i guess that was my mistake). Here's what ive had done:
1. plug the camera into usb, turn the device on
2. do a lsusb, find the bus number the camera is on
3. do a usbmosules --device /proc/bus/usb/[bus/slot id], this lists required modules for device to function (well i think so)
4. do a modprobe on the found modules
5. do a mount /dev/sdaX /mnt/camera -t auto to mount the device
Well sadly it didnt work for me (maby it works for someone else), sinc then i have given up a bit on accesing my camera from linux. Still I recently downloaded libgphoto and stuff packages, so I will be testing same crap soon.
Originally posted by lockout Well sadly it didnt work for me (maby it works for someone else), sinc then i have given up a bit on accesing my camera from linux.
In my experience, Canon cameras support only PTP. This means that you cannot access the camera like a storage device. You must use libgphoto. There are some Slackware packages of the required software at the site in my previous post.
There are packages for a newer version (2.1.6) of gphoto/libgphoto in linuxpackages.net. Those worked fine for a guy with a Kodak camera I talked to in ##slackware@freenode.net
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.