Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hotplug at work???
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
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 816

PostPosted: Fri Aug 08, 2003 2:02 pm    Post subject: hotplug at work??? Reply with quote

Hi all,
This is a phenomenon I cannot explain. Most probably I borked somewhere but I don't know what exactly I have done. So I hope that someone here could give me a hint.

Usb is managed by hotplug and it's doing a good job. Webcam and scanner are at my service whenever I want to use them.

I have a digicam too ( Canon Powershot Pro 90 IS ) which only root could use until recently. I've rectified the pernission-issue by following the steps described in the gphoto2 documentation:

Code:
# /usr/lib/libgphoto2/print-usb-usermap >> /etc/hotplug/usb.usermap


Then I copied the usbcam.group-file from /usr/share/doc/libgphoto2/linux-hotplug into /etc/hotplug/usb, renamed it usbcam and edited it so that group=camera has access to the digicam.

Then I made the file executable:

Code:
 chmod +x /etc/hotplug/usb/usbcam


I've switched on the camera and the permission-issue was no more:

Code:
$ ls -lR /proc/bus/usb/
/proc/bus/usb/:
total 0
dr-xr-xr-x    1 root     root            0 Aug  8 11:59 001
dr-xr-xr-x    1 root     root            0 Aug  8 11:59 002
dr-xr-xr-x    1 root     root            0 Aug  8 11:59 003
-r--r--r--    1 root     root            0 Aug  8 15:26 devices
-r--r--r--    1 root     root            0 Aug  8 15:26 drivers

/proc/bus/usb/001:
total 0
-rw-r--r--    1 root     root           18 Aug  8 11:59 001

/proc/bus/usb/002:
total 0
-rw-r--r--    1 root     root           18 Aug  8 11:59 001

/proc/bus/usb/003:
total 0
-rw-r--r--    1 root     root           18 Aug  8 12:00 001
-rw-r--r--    1 root     root           18 Aug  8 12:00 002
-rw-rw----    1 root     camera         18 Aug  8 15:26 010


Gentoo still boots fine since then but when hotplug is being started I can watch it work with some scripts. I cannot see what it is - it is running too fast; something concerning drivers.
This happens for roughly half a minute. After finish the booting continues normally :?

Does anyone have an idea?

TIA

transsib
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