LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-18-2004, 08:05 PM   #1
nedwardss
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Testing/Unstable
Posts: 12

Rep: Reputation: 0
two usb issues, digital camera only as root and scanner module not found


i am running debian sid on a machine with regular usb ports (not 2.0).
i am able to use my digital camera through gphoto2, but only as root. i've searched all over and the only answer i see is "use hotplug". i do have hotplug installed and running but i can't seem to find out how to change the permissions.

as for my scanner, i've installed sane and done my modprobe scanner which returns:
# modprobe scanner
FATAL: Module scanner not found.

where/which module must i install?

thank you in advance,
n
 
Old 10-19-2004, 12:25 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Scanner module only works in 2.4 kernels, so if you have 2.4, it might not be enabled in the kernel. 2.6 kernels don't use "scanner", you'll need to set up your scanner with libusb. Ther'e more info here
 
Old 10-20-2004, 07:23 AM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
About gphoto2,

in order to use hotplug, your camera must be supported bu gphoto2. Actually, if your camera is not explicitly supported, but supports either USB mass storage or PTP mode, you may still be able to use it. You have just to add the corresponding keys into /etc/hotplug/usb.usermap or into a corresponding map (I don't have my debian box here right now, so I cannot check).

You can find the corresponding keys by /sbin/lsusb. They were called idVendor and idProduct, AFAIR.

Well, there is another and easier and less secure way. You have to mount usbfs with write access to non-root users. Use sth. like

usbfs /proc/bus/usb usbfs defaults,devmode=0666 0 0

in your /etc/fsatb file. The devmode option givew rw access to everybody. Look for more options, e.g. corresponding group options may be handy. But beware, this does not work before 2.6.8, AFAIK.

Best,

Ott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why I cannot modprobe this digital camera module? minike Slackware 6 07-31-2005 10:44 PM
USB Digital Camera CatSC Linux - Hardware 4 01-27-2004 02:49 AM
digital camera issues persianp Linux - Hardware 16 10-21-2003 06:40 AM
USB digital camera element Linux - Hardware 3 09-27-2003 06:48 PM
Digital Camera Software for an non-root user gboutwel Linux - Software 2 06-29-2002 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration