LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2009, 12:33 PM   #1
ninja master
Member
 
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Rep: Reputation: 31
PTP camera + UDEV = hell


ok ill get a few things out of the way....

Code:
usermod -g camera mkultra
usermod -g plugdev mkultra
usermod -G users mkultra
results in

Code:
mkultra@mkultra:~$ cat /etc/group
root:x:0:
bin:x:1:bin
daemon:x:2:bin,daemon
sys:x:3:bin,adm
adm:x:4:adm,daemon
tty:x:5:
disk:x:6:adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel:x:10:
floppy:x:11:
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
audio:x:17:pulse
video:x:18:
cdrom:x:19:
games:x:20:
slocate:x:21:
utmp:x:22:
smmsp:x:25:smmsp
tape:x:26:
mysql:x:27:
rpc:x:32:
sshd:x:33:sshd
gdm:x:42:root
shadow:x:43:
ftp:x:50:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:
power:x:84:
pop:x:90:pop
scanner:x:93:
nobody:x:98:nobody
nogroup:x:99:
users:x:100:mkultra
console:x:101:
avahi:x:61:
avahi-autoipd:x:62:
netdev:x:63:
pulse:x:103:
pulse-rt:x:104:
pulse-access:x:105:
stb-admin::87:
camera:x:120:
pgsql::73:pgsql
netdev::87:avahi
Code:
mkultra@mkultra:~$ groups
plugdev floppy audio video cdrom users
Code:
mkultra@mkultra:/etc/udev/rules.d$ cat 45*
# DO NOT EDIT THIS FILE!
# Any custom changes will be lost if the libgphoto package is upgraded.

# Kodak ZD710
SYSFS{idVendor}=="040a", SYSFS{idProduct}=="05c0", MODE="0660", GROUP="plugdev"
#ATTR{idVendor}=="03f0", ATTR{idProduct}=="??17", OWNER="root", GROUP="lp", MODE="0660"
#ATTR{idVendor}=="040a", ATTR{idProduct}=="05c0", GROUP="users", MODE"0660"
ENV{INTERFACE}=="6/1/1", MODE="0660", GROUP="plugdev"
anyone any ideas? this is really pissing me off, 12 hours to setup a camera is NO GOOD.

Code:
root@mkultra:/etc/udev/rules.d# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 009 Device 001: ID 0000:0000
Bus 008 Device 001: ID 0000:0000
Bus 001 Device 008: ID 040a:05c0 Kodak Co. Digital Camera
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 002: ID 0763:200f Midiman M-Audio MobilePre
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'camera'.

i hate you udev!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Old 01-25-2009, 01:44 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
What are you trying to do? setup a webcam? Or just get your pictures off of your PTP camera?

$ gphoto2 --get-all-files

PTP cameras do not AFAIK create /dev/ entries. Webcams might, but you generally need a device driver for such devices. gspca? ivtv?

linuxtv.org
 
Old 01-25-2009, 07:44 PM   #3
ninja master
Member
 
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Original Poster
Rep: Reputation: 31
im trying to get photos off my camera, it creates a "/media/camera" folder when i press the docking station button but freaks out if i am not root. its a PTP camera, not a web cam.

i am using gtkam, and konqueror

konqueror says this

Code:
Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'camera'.
and no sh.... gtkam works now as a non root user! i must of fixed something =)

i did just install gphoto2, but i had "libgphoto2" going on before this.

my groups were jacked up, i figured it would put your primary group as the upper case G as it is harder to press shift g than just g. and make the primary group more obscure to change, but my group messages at the top of this thread are backwards.
 
  


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
controlling ptp camera graphically saf4 Linux - Software 2 12-27-2007 01:59 PM
Sony PTP Camera permission problems araldit Linux - Hardware 0 05-05-2005 01:10 PM
camera and udev JimBass Linux - Newbie 0 12-09-2004 09:17 AM
How do I safely disconnect USB camera operating in PTP mode? TakeAwayDave Linux - Hardware 4 07-22-2004 10:28 AM
Digital camera - PTP or USB (or both) kabads Linux - Hardware 2 03-01-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration