Comment 47 for bug 67532

Revision history for this message
nobtiba (nghevd) wrote : RE: [Bug 67532] Re: udev-rule for PTP class detection broken

Hi,

Thank you for suggestion. In fact, i tried to work with fuser but not sure what to replace /dev/usbx
From: gphoto2 --auto-detect i get:
Model Port
----------------------------------------------------------
Aiptek Pencam usb:
Aiptek Pencam usb:001,020
Aiptek Pencam usb:001,019
I tried

fuser -uv /dev/usb:001,020 but it said
Cannot stat /dev/usb:001,020: No such file or directory

Then I tried:

fuser -uv /Aiptek Pencam
fuser -uv /dev/usb/Aiptek Pencam
fuser -uv /AiptekPencam

but no one seems to be the right command.

So could you tell me a bit more detail how should i do to debug the error since i was only a beginner

Thank you !
-----Original Message-----
From: <email address hidden> on behalf of Brian Visel
Sent: Sat 12/8/2007 12:22 AM
To: Vuong Dao Nghe
Subject: RE: [Bug 67532] Re: udev-rule for PTP class detection broken

fuser -uv /dev/usbx

where /dev/usbx is the device for your camera.

That will give you the process ID, account username, and command of any
process using that device.

..This should be started as a separate bug, since the two problems
(permissions, and blocking as already used) aren't the same. Feel free
to email me with questions, I'll help out where I can -- however, I'm
very busy, and it may take a while to respond.

-brian

--
udev-rule for PTP class detection broken
https://bugs.launchpad.net/bugs/67532
You received this bug notification because you are a direct subscriber
of a duplicate bug.