Re: gphoto2 & USB access

2002-06-10 Thread Roger Oberholtzer

Although this is in fstab, it is something that is not really mounted
by a user. If you check subdirs there, you will see entries come and go as
USP devices are added or taken away. It is used as info for things like
user-land libusb. These files are not opened to access the device. Only
to tell which devices are present. 

On Fri, 7 Jun 2002 17:00:02 -0700
Tom Condon <[EMAIL PROTECTED]> wrote:

> On Friday 07 June 2002 12:24, Net Llama! carved in granite:
> > This is very weird.  It opens the USB device earlier, but then can't
> > later on.
> > You don't have anything in fstab that is setting perms on the USB
> > devices?
> 
> Slimy dogs!  I didn't even know that something if fstab would affect the 
> USB devices.  But there it is:
> 
> usbdevfs/proc/bus/usb   usbdevfsnoauto 0 0
> 
> 
> So, the obvious answer to me was that I should change the usbdevfs to 
> have the user option set.  But the same error message resulted when it 
> was changed to:
> 
> usbdevfs/proc/bus/usb   usbdevfsnoauto,user 0 0
> 
> 
> In Harmony's Way and In A Chord,
> 
> Tom  ;-})
> 
> Barbershop Bass Singer
> 
> ___
> Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above
> URL.


-- 
++===+
| Roger Oberholtzer  |   E-mail:[EMAIL PROTECTED] |
| OPQ Systems AB |  WWW:  http://www.opq.se/ |
| Erik Dahlbergsgatan 41-43  |Phone: Int + 46 8   314223 |
| 115 32 Stockholm   |   Mobile: Int + 46 733 621657 |
| Sweden |  Fax: Int + 46 8   302602 |
++===+

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: gphoto2 & USB access

2002-06-07 Thread Tom Condon

On Friday 07 June 2002 12:24, Net Llama! carved in granite:
> This is very weird.  It opens the USB device earlier, but then can't
> later on.
> You don't have anything in fstab that is setting perms on the USB
> devices?

Slimy dogs!  I didn't even know that something if fstab would affect the 
USB devices.  But there it is:

usbdevfs/proc/bus/usb   usbdevfsnoauto 0 0


So, the obvious answer to me was that I should change the usbdevfs to 
have the user option set.  But the same error message resulted when it 
was changed to:

usbdevfs/proc/bus/usb   usbdevfsnoauto,user 0 0


In Harmony's Way and In A Chord,

Tom  ;-})

Barbershop Bass Singer

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: gphoto2 & USB access

2002-06-07 Thread Net Llama!

On Fri, 7 Jun 2002, Tom Condon wrote:
> On Friday 07 June 2002 10:05, Net Llama! carved in granite:
> > And what does the output look like when running the same command with
> > the --debug option as the 'tom' user?
>
> *
> tom@blanket:~> gphoto2 --debug --get-all-files
> cli: checking "--debug":
>
> cli: checking "--get-all-files":
> gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product
> 0x500)... found.
> gphoto2-abilities-list.c(2): Found 'Kodak DX-3500' (0x40a,0x500)
> gphoto2-port(2): Freeing port...
> gphoto2-port(2): Closing port...
> gphoto2-port-info-list(2): Looking for path 'usb:' (25 entries
> available)...
> gphoto2-camera(2): Setting abilibites ('Kodak DX-3500')...
> setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
> setting/gphoto2-setting.c(2): Loading settings from file
> "/home/tom/.gphoto/settings"
> gphoto2-setting(2): Setting key 'model' to value 'Kodak DX-3500'
> (gphoto2)
> gphoto2-setting(2): Saving 2 setting(s) to file
> "/home/tom/.gphoto/settings"
> gphoto2-port-info-list(2): Getting info of entry 23 (25 available)...
> gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at
> 'usb:'...
> gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
> gphoto2-port(2): Setting settings...
> gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
> gphoto2-setting(2): Saving 2 setting(s) to file
> "/home/tom/.gphoto/settings"
> gphoto2-camera(2): Listing files in '/'...
> gphoto2-camera(2): Initializing camera...
> gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product
> 0x500)... found.
> gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.0/libgphoto2_ptp.so'...
> gphoto2-port(2): Opening USB port...
> gphoto2-port(ERROR): Could not claim interface 0 (Operation not
> permitted). Make sure no other program or kernel module (i.e. dc2xx) is
> using the device and you have read/write access to the device.
> context(ERROR): An error occurred in the io-library ('Could not claim
> the USB device'): Could not claim interface 0 (Operation not
> permitted). Make sure no other program or kernel module (i.e. dc2xx) is
> using the device and you have read/write access to the device.
>
> *** Error ***
> An error occurred in the io-library ('Could not claim the USB device'):
> Could not claim interface 0 (Operation not permitted). Make sure no
> other program or kernel module (i.e. dc2xx) is using the device and you
> have read/write access to the device.
> *** Error ('Could not claim the USB device') ***
>
> gp-camera(2): Freeing camera...
> gphoto2-port(2): Freeing port...
> gphoto2-port(2): Closing port...
> gphoto2-port(ERROR): Could not release interface 0 (Operation not
> permitted).
> gphoto2-filesystem(2): Internally deleting all folders from '/'...
> tom@blanket:~>
> *

This is very weird.  It opens the USB device earlier, but then can't later
on.
You don't have anything in fstab that is setting perms on the USB devices?

-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step & TyGeMo  http://netllama.ipfox.com

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: gphoto2 & USB access

2002-06-07 Thread Matthew Carpenter

Wow, that's ugly.  On COLW311, all I saw in the /dev/usb directory were
the device(s) currently plugged in.  When I unplugged it, the entry went
away.

On Fri, 7 Jun 2002 09:07:51 -0700
"Tom Condon" <[EMAIL PROTECTED]> wrote:

> 
> Folks,
> 
> My SuSE 8.0 installation included gphoto & gphoto2, so they are there.  
> The usb ports used for the camera connection (/dev/usb/dc2xx0 according 
> to gphoto2), however, were all owned by root and group root.  So, of 
> course, my user doesn't happen to have access to them.  I can access 
> and download the files as root, but I prefer not to do that.  I changed 
> the ports (dc2xx) to be root/users ownership, but still don't have 
> access when logged in as a normal user.
> 
> Currently my /dev/usb directory looks like this:
> crw-rw1 root root 180, 112 Mar 23 11:50 auer0
> crw-rw1 root root 180, 113 Mar 23 11:50 auer1
> crw-rw1 root root 180, 114 Mar 23 11:50 auer2
> crw-rw1 root root 180, 115 Mar 23 11:50 auer3
> crw-rw1 root root 180, 116 Mar 23 11:50 auer4
> crw-rw1 root root 180, 117 Mar 23 11:50 auer5
> crw-rw1 root root 180, 118 Mar 23 11:50 auer6
> crw-rw1 root root 180, 119 Mar 23 11:50 auer7
> crw-rw1 root root 180, 240 Mar 23 11:50 dabusb0
> crw-rw1 root root 180, 241 Mar 23 11:50 dabusb1
> crw-rw1 root root 180, 242 Mar 23 11:50 dabusb2
> crw-rw1 root root 180, 243 Mar 23 11:50 dabusb3
> crw-rw1 root root 180, 244 Mar 23 11:50 dabusb4
> crw-rw1 root root 180, 245 Mar 23 11:50 dabusb5
> crw-rw1 root root 180, 246 Mar 23 11:50 dabusb6
> crw-rw1 root root 180, 247 Mar 23 11:50 dabusb7
> crw-rw1 root users180,  80 Mar 23 11:50 dc2xx0
> crw-rw1 root users180,  81 Mar 23 11:50 dc2xx1
> crw-rw1 root users180,  82 Mar 23 11:50 dc2xx2
> crw-rw1 root users180,  83 Mar 23 11:50 dc2xx3
> crw-rw1 root users180,  84 Mar 23 11:50 dc2xx4
> crw-rw1 root users180,  85 Mar 23 11:50 dc2xx5
> crw-rw1 root users180,  86 Mar 23 11:50 dc2xx6
> crw-rw1 root users180,  87 Mar 23 11:50 dc2xx7
> crw-rw1 root root 180,  32 Mar 23 11:50 ez0
> crw-rw1 root root 180,  33 Mar 23 11:50 ez1
> crw-rw1 root root 180,  34 Mar 23 11:50 ez2
> crw-rw1 root root 180,  35 Mar 23 11:50 ez3
> crw-rw1 root root 180,  36 Mar 23 11:50 ez4
> crw-rw1 root root 180,  37 Mar 23 11:50 ez5
> crw-rw1 root root 180,  38 Mar 23 11:50 ez6
> crw-rw1 root root 180,  39 Mar 23 11:50 ez7
> crw-rw1 root lp   180,   0 Mar 23 11:50 lp0
> crw-rw1 root lp   180,   1 Mar 23 11:50 lp1
> crw-rw1 root lp   180,   2 Mar 23 11:50 lp2
> crw-rw1 root lp   180,   3 Mar 23 11:50 lp3
> crw-rw1 root lp   180,   4 Mar 23 11:50 lp4
> crw-rw1 root lp   180,   5 Mar 23 11:50 lp5
> crw-rw1 root lp   180,   6 Mar 23 11:50 lp6
> crw-rw1 root lp   180,   7 Mar 23 11:50 lp7
> crw-rw1 root root 180,  16 Mar 23 11:50 mouse0
> crw-rw1 root root 180,  17 Mar 23 11:50 mouse1
> crw-rw1 root root 180,  18 Mar 23 11:50 mouse2
> crw-rw1 root root 180,  19 Mar 23 11:50 mouse3
> crw-rw1 root root 180,  20 Mar 23 11:50 mouse4
> crw-rw1 root root 180,  21 Mar 23 11:50 mouse5
> crw-rw1 root root 180,  22 Mar 23 11:50 mouse6
> crw-rw1 root root 180,  23 Mar 23 11:50 mouse7
> crw-rw1 root root 180,  64 Mar 23 11:50 rio500
> crw---1 tom  users180,  48 Mar 23 11:50 scanner0
> crw---1 tom  users180,  49 Mar 23 11:50 scanner1
> crw---1 tom  users180,  50 Mar 23 11:50 scanner2
> crw---1 tom  users180,  51 Mar 23 11:50 scanner3
> crw---1 tom  users180,  52 Mar 23 11:50 scanner4
> crw---1 tom  users180,  53 Mar 23 11:50 scanner5
> crw---1 tom  users180,  54 Mar 23 11:50 scanner6
> crw---1 tom  users180,  55 Mar 23 11:50 scanner7
> crw-rw1 root users188,   0 Mar 23 11:50 ttyUSB0
> crw-rw1 root users188,   1 Mar 23 11:50 ttyUSB1
> crw-rw1 root users188,  10 Mar 23 11:50 ttyUSB10
> crw-rw1 root users188,  11 Mar 23 11:50 ttyUSB11
> crw-rw1 root users188,  12 Mar 23 11:50 ttyUSB12
> crw-rw1 root users188,  13 Mar 23 11:50 ttyUSB13
> crw-rw1 root users188,  14 Mar 23 11:50 ttyUSB14
> crw-rw1 root users188,  15 Mar 23 11:50 ttyUSB15
> crw-rw  

Re: gphoto2 & USB access

2002-06-07 Thread Tom Condon

On Friday 07 June 2002 10:05, Net Llama! carved in granite:
> And what does the output look like when running the same command with
> the --debug option as the 'tom' user?

*
tom@blanket:~> gphoto2 --debug --get-all-files
cli: checking "--debug":

cli: checking "--get-all-files":

cli: ALWAYS INCLUDE THE FOLLOWING LINE WHEN SENDING DEBUG MESSAGES TO 
THE MAILING LIST:
cli: gphoto2 2.0: Turning on debug mode
cli: Getting all files
cli: Setting globals...
gphoto2-filesystem(2): Internally appending folder /...
gphoto2-port(2): Creating new device...
gphoto2-abilities-list(2): Loading camera libraries in 
'/usr/lib/gphoto2/2.0'...
gphoto2-abilities-list(2): Note that failing to load *.a and *.la is NOT 
an error!
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_agfa.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_agfa.la': 
/usr/lib/gphoto2/2.0/libgphoto2_agfa.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_agfa.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_barbie.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_barbie.la': 
/usr/lib/gphoto2/2.0/libgphoto2_barbie.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_barbie.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_canon.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_canon.la': 
/usr/lib/gphoto2/2.0/libgphoto2_canon.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_canon.so'...
canon/library.c(2): camera_id()
canon/library.c(2): camera_abilities()
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_casio_qv.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_casio_qv.la': 
/usr/lib/gphoto2/2.0/libgphoto2_casio_qv.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_casio_qv.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_digita.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_digita.la': 
/usr/lib/gphoto2/2.0/libgphoto2_digita.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_digita.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimagev.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimagev.la': 
/usr/lib/gphoto2/2.0/libgphoto2_dimagev.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimagev.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimera3500.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimera3500.la': 
/usr/lib/gphoto2/2.0/libgphoto2_dimera3500.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_dimera3500.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_directory.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_directory.la': 
/usr/lib/gphoto2/2.0/libgphoto2_directory.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_directory.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jamcam.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jamcam.la': 
/usr/lib/gphoto2/2.0/libgphoto2_jamcam.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jamcam.so'...
jamcam/jamcam.c(2): * camera_id
jamcam/jamcam.c(2): * camera_abilities
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jd11.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jd11.la': 
/usr/lib/gphoto2/2.0/libgphoto2_jd11.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_jd11.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc120.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc120.la': 
/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc120.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc120.so'...
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc240.la'...
gphoto2-abilities-list(2): Failed to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc240.la': 
/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc240.la: invalid ELF header.
gphoto2-abilities-list(2): Trying to load 
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc240.so'...
gphoto2-abilities-list(2): Trying to loa

Re: gphoto2 & USB access

2002-06-07 Thread Net Llama!

On Fri, 7 Jun 2002, Tom Condon wrote:
> On Friday 07 June 2002 09:11, Net Llama! carved in granite:
> > It might help if you told us what the problem was.  All i see is "it
> > doesn't work".
>
> Sorry, sometimes my mind isn't all I seem to remember it once was.
>
> Here is the output of a command:
>
> *
> tom@blanket:~> gphoto2 --get-all-files
>
> *** Error ***
> An error occurred in the io-library ('Could not claim the USB device'):
> Could not claim interface 0 (Operation not permitted). Make sure no
> other program or kernel module (i.e. dc2xx) is using the device and you
> have read/write access to the device.
> *** Error ('Could not claim the USB device') ***
>
> For debugging messages, please use the --debug option.
> Debugging messages may help finding a solution to your problem.
> If you intend to send any error or debug messages to the gphoto
> developer mailing list <[EMAIL PROTECTED]>, please run
> gphoto2 as follows:
>
> env LANG=C gphoto2 --debug --get-all-files
>
> Please make sure there is sufficient quoting around the arguments.
>
> tom@blanket:~>
> *
>
> The same command works fine as root and downloads all of the files in
> the camera memory chip.

And what does the output look like when running the same command with the
--debug option as the 'tom' user?

-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step & TyGeMo  http://netllama.ipfox.com

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: gphoto2 & USB access

2002-06-07 Thread Tom Condon

On Friday 07 June 2002 09:11, Net Llama! carved in granite:
> It might help if you told us what the problem was.  All i see is "it
> doesn't work".

Sorry, sometimes my mind isn't all I seem to remember it once was.

Here is the output of a command:

*
tom@blanket:~> gphoto2 --get-all-files

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): 
Could not claim interface 0 (Operation not permitted). Make sure no 
other program or kernel module (i.e. dc2xx) is using the device and you 
have read/write access to the device.
*** Error ('Could not claim the USB device') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <[EMAIL PROTECTED]>, please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --get-all-files

Please make sure there is sufficient quoting around the arguments.

tom@blanket:~>
*

The same command works fine as root and downloads all of the files in 
the camera memory chip.


In Harmony's Way and In A Chord,

Tom  ;-})

Barbershop Bass Singer

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: gphoto2 & USB access

2002-06-07 Thread Net Llama!

It might help if you told us what the problem was.  All i see is "it
doesn't work".

On Fri, 7 Jun 2002, Tom Condon wrote:

>
> Folks,
>
> My SuSE 8.0 installation included gphoto & gphoto2, so they are there.
> The usb ports used for the camera connection (/dev/usb/dc2xx0 according
> to gphoto2), however, were all owned by root and group root.  So, of
> course, my user doesn't happen to have access to them.  I can access
> and download the files as root, but I prefer not to do that.  I changed
> the ports (dc2xx) to be root/users ownership, but still don't have
> access when logged in as a normal user.
>
> Currently my /dev/usb directory looks like this:
> crw-rw1 root root 180, 112 Mar 23 11:50 auer0
> crw-rw1 root root 180, 113 Mar 23 11:50 auer1
> crw-rw1 root root 180, 114 Mar 23 11:50 auer2
> crw-rw1 root root 180, 115 Mar 23 11:50 auer3
> crw-rw1 root root 180, 116 Mar 23 11:50 auer4
> crw-rw1 root root 180, 117 Mar 23 11:50 auer5
> crw-rw1 root root 180, 118 Mar 23 11:50 auer6
> crw-rw1 root root 180, 119 Mar 23 11:50 auer7
> crw-rw1 root root 180, 240 Mar 23 11:50 dabusb0
> crw-rw1 root root 180, 241 Mar 23 11:50 dabusb1
> crw-rw1 root root 180, 242 Mar 23 11:50 dabusb2
> crw-rw1 root root 180, 243 Mar 23 11:50 dabusb3
> crw-rw1 root root 180, 244 Mar 23 11:50 dabusb4
> crw-rw1 root root 180, 245 Mar 23 11:50 dabusb5
> crw-rw1 root root 180, 246 Mar 23 11:50 dabusb6
> crw-rw1 root root 180, 247 Mar 23 11:50 dabusb7
> crw-rw1 root users180,  80 Mar 23 11:50 dc2xx0
> crw-rw1 root users180,  81 Mar 23 11:50 dc2xx1
> crw-rw1 root users180,  82 Mar 23 11:50 dc2xx2
> crw-rw1 root users180,  83 Mar 23 11:50 dc2xx3
> crw-rw1 root users180,  84 Mar 23 11:50 dc2xx4
> crw-rw1 root users180,  85 Mar 23 11:50 dc2xx5
> crw-rw1 root users180,  86 Mar 23 11:50 dc2xx6
-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step & TyGeMo  http://netllama.ipfox.com

___
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



gphoto2 & USB access

2002-06-07 Thread Tom Condon


Folks,

My SuSE 8.0 installation included gphoto & gphoto2, so they are there.  
The usb ports used for the camera connection (/dev/usb/dc2xx0 according 
to gphoto2), however, were all owned by root and group root.  So, of 
course, my user doesn't happen to have access to them.  I can access 
and download the files as root, but I prefer not to do that.  I changed 
the ports (dc2xx) to be root/users ownership, but still don't have 
access when logged in as a normal user.

Currently my /dev/usb directory looks like this:
crw-rw1 root root 180, 112 Mar 23 11:50 auer0
crw-rw1 root root 180, 113 Mar 23 11:50 auer1
crw-rw1 root root 180, 114 Mar 23 11:50 auer2
crw-rw1 root root 180, 115 Mar 23 11:50 auer3
crw-rw1 root root 180, 116 Mar 23 11:50 auer4
crw-rw1 root root 180, 117 Mar 23 11:50 auer5
crw-rw1 root root 180, 118 Mar 23 11:50 auer6
crw-rw1 root root 180, 119 Mar 23 11:50 auer7
crw-rw1 root root 180, 240 Mar 23 11:50 dabusb0
crw-rw1 root root 180, 241 Mar 23 11:50 dabusb1
crw-rw1 root root 180, 242 Mar 23 11:50 dabusb2
crw-rw1 root root 180, 243 Mar 23 11:50 dabusb3
crw-rw1 root root 180, 244 Mar 23 11:50 dabusb4
crw-rw1 root root 180, 245 Mar 23 11:50 dabusb5
crw-rw1 root root 180, 246 Mar 23 11:50 dabusb6
crw-rw1 root root 180, 247 Mar 23 11:50 dabusb7
crw-rw1 root users180,  80 Mar 23 11:50 dc2xx0
crw-rw1 root users180,  81 Mar 23 11:50 dc2xx1
crw-rw1 root users180,  82 Mar 23 11:50 dc2xx2
crw-rw1 root users180,  83 Mar 23 11:50 dc2xx3
crw-rw1 root users180,  84 Mar 23 11:50 dc2xx4
crw-rw1 root users180,  85 Mar 23 11:50 dc2xx5
crw-rw1 root users180,  86 Mar 23 11:50 dc2xx6
crw-rw1 root users180,  87 Mar 23 11:50 dc2xx7
crw-rw1 root root 180,  32 Mar 23 11:50 ez0
crw-rw1 root root 180,  33 Mar 23 11:50 ez1
crw-rw1 root root 180,  34 Mar 23 11:50 ez2
crw-rw1 root root 180,  35 Mar 23 11:50 ez3
crw-rw1 root root 180,  36 Mar 23 11:50 ez4
crw-rw1 root root 180,  37 Mar 23 11:50 ez5
crw-rw1 root root 180,  38 Mar 23 11:50 ez6
crw-rw1 root root 180,  39 Mar 23 11:50 ez7
crw-rw1 root lp   180,   0 Mar 23 11:50 lp0
crw-rw1 root lp   180,   1 Mar 23 11:50 lp1
crw-rw1 root lp   180,   2 Mar 23 11:50 lp2
crw-rw1 root lp   180,   3 Mar 23 11:50 lp3
crw-rw1 root lp   180,   4 Mar 23 11:50 lp4
crw-rw1 root lp   180,   5 Mar 23 11:50 lp5
crw-rw1 root lp   180,   6 Mar 23 11:50 lp6
crw-rw1 root lp   180,   7 Mar 23 11:50 lp7
crw-rw1 root root 180,  16 Mar 23 11:50 mouse0
crw-rw1 root root 180,  17 Mar 23 11:50 mouse1
crw-rw1 root root 180,  18 Mar 23 11:50 mouse2
crw-rw1 root root 180,  19 Mar 23 11:50 mouse3
crw-rw1 root root 180,  20 Mar 23 11:50 mouse4
crw-rw1 root root 180,  21 Mar 23 11:50 mouse5
crw-rw1 root root 180,  22 Mar 23 11:50 mouse6
crw-rw1 root root 180,  23 Mar 23 11:50 mouse7
crw-rw1 root root 180,  64 Mar 23 11:50 rio500
crw---1 tom  users180,  48 Mar 23 11:50 scanner0
crw---1 tom  users180,  49 Mar 23 11:50 scanner1
crw---1 tom  users180,  50 Mar 23 11:50 scanner2
crw---1 tom  users180,  51 Mar 23 11:50 scanner3
crw---1 tom  users180,  52 Mar 23 11:50 scanner4
crw---1 tom  users180,  53 Mar 23 11:50 scanner5
crw---1 tom  users180,  54 Mar 23 11:50 scanner6
crw---1 tom  users180,  55 Mar 23 11:50 scanner7
crw-rw1 root users188,   0 Mar 23 11:50 ttyUSB0
crw-rw1 root users188,   1 Mar 23 11:50 ttyUSB1
crw-rw1 root users188,  10 Mar 23 11:50 ttyUSB10
crw-rw1 root users188,  11 Mar 23 11:50 ttyUSB11
crw-rw1 root users188,  12 Mar 23 11:50 ttyUSB12
crw-rw1 root users188,  13 Mar 23 11:50 ttyUSB13
crw-rw1 root users188,  14 Mar 23 11:50 ttyUSB14
crw-rw1 root users188,  15 Mar 23 11:50 ttyUSB15
crw-rw1 root users188,   2 Mar 23 11:50 ttyUSB2
crw-rw1 root users188,   3 Mar 23 11:50 ttyUSB3
crw-rw1 root users188,   4 Mar 23 11:50 ttyUSB4
crw-rw1 root users188,   5 Mar 23 11:50 ttyUSB5
crw-rw1 root users188,   6 Mar 23 11:50 ttyUSB6
crw-rw1 root users188,   7 Mar 23 11:50 ttyUSB7
crw-rw