USB (permissions ?) problem on newly installed Bullseye : usb scanner wont communicate
Hi to Everyone, My old Debian Stretch having crashed after last update, I installed Bullseye. Most things operate OK after re-installing, except so far: 'gphoto2' and my Epson Scanner Perfection v500. I have re-installed the scanner using : epsonscan2_6.7.43.0-1_amd64.deb and epsonscan2_non-free-plugin_1.0.0.6-1.deb and the installed went Ok ; the scanner is reckognised and it appears on the list... But it does not operate ! Upon launching, it says: "impossible to communicate with the scanner... Verify if it is connected to usb port and powered on..." then appears a box showing : "EPSON EPSON scanner : USB:001:009", and I can't connect to it. Same thing with "gphoto2" once my camera is connected to usb port : $ gphoto2 --auto-detect => CANON EOS 600D usb: 001,015 OK, it is reckognized... but, now if I type: gphoto2 -L "Impossible to communicate with the USB peripherics..." Back to my scanner : # sane-find-scanner ...Could not fetch... Pipe error found USB scanner vendor=0x04b8 [EPSON] , PRODUCT=0x0130 [EPSON Scanner] at libusb:001:009 ls -l /dev/bus/usb/001/009 crw-rw-rw-+ root root Thanks in advance for your help
Re: usb permissions (?)
Umarzuki Mochlis wrote: 2009/1/30 Tamas Hegedus hege...@med.unc.edu I reinstalled lenny. Before that I could get the pics from my camera. with gtkam? with gthumb Now I get the message: 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 (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. I can get the pics as root. I am (as a regular user) in the group of plugdev. I think I should make usb ports accessible to regular users. But I do not know how - and I find only 2-3 year old recipes, which are obviously not up-to-date... Thanks for your help in advance, tamas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: usb permissions (?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tamas Hegedus wrote: I can get the pics as root. I am (as a regular user) in the group of plugdev. If you use gphotofs you also need to be member of the group 'fuse'. Cheers, Johannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmC/awACgkQC1NzPRl9qEVRmgCeOFvi13zWiNw++S7L9a5P9NC+ vsIAniRhFUUtnUiHyGTUpQMMKFmk607w =T3Ol -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
usb permissions (?)
Hi, I reinstalled lenny. Before that I could get the pics from my camera. Now I get the message: 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 (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. I can get the pics as root. I am (as a regular user) in the group of plugdev. I think I should make usb ports accessible to regular users. But I do not know how - and I find only 2-3 year old recipes, which are obviously not up-to-date... Thanks for your help in advance, tamas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: usb permissions (?)
2009/1/30 Tamas Hegedus hege...@med.unc.edu Hi, I reinstalled lenny. Before that I could get the pics from my camera. with gtkam? Now I get the message: 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 (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. I can get the pics as root. I am (as a regular user) in the group of plugdev. I think I should make usb ports accessible to regular users. But I do not know how - and I find only 2-3 year old recipes, which are obviously not up-to-date... Thanks for your help in advance, tamas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org -- Regards, Umarzuki Mochlis http://gameornot.net
Re: flphoto and usb permissions
On Sunday 03 October 2004 03:05, Clemens Schwaighofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2004 12:26 AM, David Goodenough wrote: I found one place you might get the userid of the user currently logged using either xdm or kdm, and that is the current owner of /var/run/xdmctl/xdmctl-:0 yeah but that might not bee the konsole owner or so. Well it is not mission critical, thought it might be nicer that the curroent owner is the one who plugged in the camera I suppose the only question that asks is whether console users are the problem? Console users tend to be more technically aware (horrible generalisation I know, but in the main true) and also they are capable of writing their own scripts. Graphical users tend to want more things done for them, so this facility is going to be of more use to them. David lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBX15ajBz/yQjBxz8RAhW4AKCrseZObywXoCkMN5uPMWWADzM9WgCeMNGZ eRnk7DLihA/doPi9gIQm7SY= =ZDv8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
On Saturday 02 October 2004 12:42 am, Clemens Schwaighofer wrote: On 10/02/2004 12:05 PM, John Kerr Anderson wrote: I have the hotplug package and even installed usb-perms, but I still have the same problem. If anyone can give me some pointers on how to get the camera accessible to users other than root I would be very appreciative. :-) I managed to do it for my Canon camera and I wrote down what I did: http://clemens-and.nihongonauts.com/index.php?p=30#more-30 hth lg, clemens One other Debian? specific bit is '/usr/lib/libgphoto2/print-usb-usermap' is actually '/usr/lib/libgphoto2-2/print-usb-usermap'. This is from the Gphoto USB permissions howto you referenced. -- Greg C. Madden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2004 12:05 PM, John Kerr Anderson wrote: I have the hotplug package and even installed usb-perms, but I still have the same problem. If anyone can give me some pointers on how to get the camera accessible to users other than root I would be very appreciative. :-) I managed to do it for my Canon camera and I wrote down what I did: http://clemens-and.nihongonauts.com/index.php?p=30#more-30 hth lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBXmn1jBz/yQjBxz8RAvDOAKDbSwhFYmp5VGmTkdqJEWgGksHKqwCeOM89 5zwef1TIztOb5VyiEJ7LEtk= =cloK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
Hi Clemens, Thank you so much for the advice! I followed your instructions and now my camera works for regular users. I can't thank you enough, I was *very* frustrated. Sincerely, John Kerr Anderson On Sat, 2 Oct 2004, Clemens Schwaighofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2004 12:05 PM, John Kerr Anderson wrote: I have the hotplug package and even installed usb-perms, but I still have the same problem. If anyone can give me some pointers on how to get the camera accessible to users other than root I would be very appreciative. :-) I managed to do it for my Canon camera and I wrote down what I did: http://clemens-and.nihongonauts.com/index.php?p=30#more-30 hth lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBXmn1jBz/yQjBxz8RAvDOAKDbSwhFYmp5VGmTkdqJEWgGksHKqwCeOM89 5zwef1TIztOb5VyiEJ7LEtk= =cloK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
On Saturday 02 October 2004 09:42, Clemens Schwaighofer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2004 12:05 PM, John Kerr Anderson wrote: I have the hotplug package and even installed usb-perms, but I still have the same problem. If anyone can give me some pointers on how to get the camera accessible to users other than root I would be very appreciative. :-) I managed to do it for my Canon camera and I wrote down what I did: http://clemens-and.nihongonauts.com/index.php?p=30#more-30 hth lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBXmn1jBz/yQjBxz8RAvDOAKDbSwhFYmp5VGmTkdqJEWgGksHKqwCeOM89 5zwef1TIztOb5VyiEJ7LEtk= =cloK -END PGP SIGNATURE- I found one place you might get the userid of the user currently logged using either xdm or kdm, and that is the current owner of /var/run/xdmctl/xdmctl-:0 David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2004 12:26 AM, David Goodenough wrote: I found one place you might get the userid of the user currently logged using either xdm or kdm, and that is the current owner of /var/run/xdmctl/xdmctl-:0 yeah but that might not bee the konsole owner or so. Well it is not mission critical, thought it might be nicer that the curroent owner is the one who plugged in the camera lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBX15ajBz/yQjBxz8RAhW4AKCrseZObywXoCkMN5uPMWWADzM9WgCeMNGZ eRnk7DLihA/doPi9gIQm7SY= =ZDv8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: flphoto and usb permissions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/2004 11:41 PM, John Kerr Anderson wrote: Hi Clemens, Thank you so much for the advice! I followed your instructions and now my camera works for regular users. I can't thank you enough, I was *very* frustrated. No problem. Happy I could help, and I am also happy that my little HowTo helped someone. Thats why I wrote it :) lg, clemens -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBX158jBz/yQjBxz8RAneFAKCneXmsQKtmT31QbrBys8wwLDt2QgCg6oXA tcAJ2QsBfCxX5HTE7/hXo0w= =0xne -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
flphoto and usb permissions
Hi, I have a fresh install of Debian sarge for a intel pentium iii machine. I have a Kodak CX6200 digital camera that I was able to get working only with flphoto. I created an alien package from the rpm on the flphoto website. The problem I'm having is I can access the camera's photos for root, however, a regular user cannot access the camera. The camera is recognised, but not accessible. I have the hotplug package and even installed usb-perms, but I still have the same problem. If anyone can give me some pointers on how to get the camera accessible to users other than root I would be very appreciative. :-) Sincerely, John Kerr Anderson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
usb permissions + export display
Hello everybody ! I'm new to Debian but not (quite!) to Linux. I used to run RedHat, and today I'm under Woody. I have to little problems that I never had to deal with under RH: 1. When I plug my didgital usb camera, I can only access it under root, not as a regular user. I know this is because /proc/bus/usb/000/... entries are accessible only by root, and I can't change it since as soon as I re-plug my camera, the permissions are back only for root. Someone mentionned the hotplug package (right now, I'm using usbmgr, I don't really know the difference), but I read the manual and didn't see anything helpfull regarding my problem. 2. I want to export my display on anothre computer. On the server running X, I issued the following command: xhost +, and on the client, when I launch an application, like xterm -display server:0, I get this error message: xterl Xt error: Can't open display: server:0. Isn't it odd since my X server is supposed to accept connections from any host ? Thanks in advance for your help in those 2 problems. Antoine ps: I hope you understood my questions because of my poor English. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb permissions + export display
On 12 May 2002, Antoine Jacoutot wrote: 1. When I plug my didgital usb camera, I can only access it under root, not as a regular user. I know this is because /proc/bus/usb/000/... entries are accessible only by root, and I can't change it since as soon as I re-plug my camera, the permissions are back only for root. I had the same problem and decided to install the USB perimssion daemon by myself, because I couldn't find any Debian package to deal with that problem. Take a look at http://www.xena.uklinux.net/Linux/usb_perms.html The init script is made for SuSE I think, so you must create one by yourself. 2. I want to export my display on anothre computer. On the server running X, I issued the following command: xhost +, and on the client, when I launch an application, like xterm -display server:0, I get this error message: xterl Xt error: Can't open display: server:0. I seriously recommend to use ssh instead of unencrypted X11 connections. However, It seems that your X server has been started with the -nolisten tcp option for security reasons. Are you using gdm? Look at /etc/gdm/gdm.conf. Using xdm? Try /etc/X11/xdm/Xservers. Change the line that starts the X server you are dealing with (probably :0). Please use ssh instead. Try $ ssh -x client and look at $ echo $DISPLAY It should look like localhost:10 or so. If not, enable X11 forwarding in /etc/ssh/sshd_config at the X11 clients side. When done, just type xterm. Hope this will help you. If not, request more details. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb permissions + export display
On Sun, May 12, 2002 at 02:39:43PM +0200, Jan Exss wrote: On 12 May 2002, Antoine Jacoutot wrote: 2. I want to export my display on anothre computer. On the server running X, I issued the following command: xhost +, and on the client, when I launch an application, like xterm -display server:0, I get this error message: xterl Xt error: Can't open display: server:0. I seriously recommend to use ssh instead of unencrypted X11 connections. Seconded. Please use ssh instead. Try $ ssh -x client Minor correction: that should be 'ssh -X client', at least with openssh. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usb permissions + export display
On Sun, 12 May 2002, Colin Watson wrote: On Sun, May 12, 2002 at 02:39:43PM +0200, Jan Exss wrote: I seriously recommend to use ssh instead of unencrypted X11 connections. Seconded. Please use ssh instead. Try $ ssh -x client Minor correction: that should be 'ssh -X client', at least with openssh. -- Colin Watson [EMAIL PROTECTED] Sure. Thank you for the comment. $ ssh -x client forces ssh to NOT forward X11, even if requested by default. I usually modify /etc/ssh/ssh(d)_config, so that I don't have to use any option at all and so I always mix the options when forced to use one ;-) Thanks, Colin. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
/proc/bus/usb permissions in Linux 2.4.4 (OT?)
Hi debian-user readers, I'm not sure that this question is appropriate for debian-user, since it's about Linux and not anything Debian-specific. Still, I first sent it to the linux-usb-users mailing list, but that list is very low-traffic, and I haven't heard anything back. So, I thought I'd throw it out to the wide and helpful audience of debian-user. I recently purchased a Kodak DC 4800 digital camera, and have been attempting to get it to work. I was using Woody with Linux 2.2.18, but I kept getting the device not accepting new address (error=-110) error. So, I upgraded to 2.4.4, and now the camera is properly recognized. However, it seems to me that the devmode and devgid mount options for usbdevfs, which worked fine with 2.2.18, no longer do anything. I have the following line in /etc/fstab: usb /proc/bus/usb usbdevfs devmode=0664,devgid=107 0 0 and I get no errors when mounting occurs; however, usb device files always get created with the permissions of 0644 and gid 0. For example: -rw-r--r--1 root root18 May 19 13:20 /proc/bus/usb/001/004 The same thing happens when I mount manually, specifying the devmode and devgid options with -o. Is this a bug, or am I doing something wrong? Are others having success using usbdevfs with these options in 2.4.4? Thanks for any answers you can provide. -- David Steinberg [EMAIL PROTECTED]