Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB camera with digikam and /dev/pts/3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
beijingjj
Apprentice
Apprentice


Joined: 01 Jul 2006
Posts: 212

PostPosted: Mon Dec 18, 2006 2:35 am    Post subject: USB camera with digikam and /dev/pts/3 Reply with quote

I am no longer able to connect to my USB camera when I run digikam as an ordinary user. It works as root only. I noticed that when I start digikam as root, before I even connect to the camera, it creates a file /dev/pts/3 but this does not happen when I start digikam as a regular user. I believe this must be the device that is used to connect to the camera.

When I run digikam as an unprivileged user it still recognizes the camera, but just can't connect to it.

Can someone explain to me what /'dev/pts/3 is, and why it doesn't show up when I start the program as a regular user? Does this have something to do with one of the recent upgrades, perhaps the change to udev? Most importantly, how can I get it to work for my unprivileged user?

Thanks!
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 547
Location: London,UK

PostPosted: Mon Dec 18, 2006 4:43 am    Post subject: Reply with quote

As a normal user type this in a shell
Code:
export USB_DEVFS_PATH=/proc/bus/usb

and then execute digikam from shell.
Back to top
View user's profile Send private message
beijingjj
Apprentice
Apprentice


Joined: 01 Jul 2006
Posts: 212

PostPosted: Wed Dec 20, 2006 10:57 pm    Post subject: Reply with quote

This worked, thanks, but

1. Why did it work? (what does it do?)
2. How can I make it permanent?
Back to top
View user's profile Send private message
kly84g
n00b
n00b


Joined: 31 Aug 2004
Posts: 55
Location: Houston

PostPosted: Fri Dec 22, 2006 2:51 am    Post subject: Reply with quote

beijingjj wrote:
This worked, thanks, but

1. Why did it work? (what does it do?)
2. How can I make it permanent?


Add
Code:
export USB_DEVFS_PATH=/proc/bus/usb


to your .bash_profile (assuming your SHELL is bash).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum