* Script is called multiple times
@ 2005-05-17 12:48 Rob Draaijer
2005-05-17 13:09 ` Alexander E. Patrakov
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Rob Draaijer @ 2005-05-17 12:48 UTC (permalink / raw)
To: linux-hotplug
Hi guys,
I encountering a weird problem using hotplug. My script to automatically mount
a mass storage device and start some services is always called two times
(with the same environment variables). Does anyone how to resolve this?
Regards,
Rob Draaijer
Environment variables during execution:
DEVFS=/proc/bus/usb
REMOVER=/var/run/usb/%proc%bus%usb%001%012
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTIONd
PWD=/etc/hotplug
HOME=/
SHLVL=3
DEVICE=/proc/bus/usb/001/012
INTERFACE=8/6/80
PRODUCT×d/1620/100
TYPE=usb
_=/usr/bin/env
Part of usb.usermap:
usb-storage 0x000f 0x03ee 0x0000 0x0000 0x0245 0x00
0x00 0x00 0x00 0x00 0x00
0x00000000
usb-storage 0x000f 0x03f0 0x0107 0x0200 0x0200 0x00
0x00 0x00 0x00 0x00 0x00
0x00000000
usb-storage 0x000f 0x04e6 0x0001 0x0200 0x0200 0x00
0x00 0x00 0x00 0x00 0x00
0x00000000
..... .... .....
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
@ 2005-05-17 13:09 ` Alexander E. Patrakov
2005-05-17 13:30 ` Kay Sievers
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Alexander E. Patrakov @ 2005-05-17 13:09 UTC (permalink / raw)
To: linux-hotplug
Rob Draaijer wrote:
>Hi guys,
>
>I encountering a weird problem using hotplug. My script to automatically mount
>a mass storage device and start some services is always called two times
>(with the same environment variables). Does anyone how to resolve this?
>
>Regards,
>
>Rob Draaijer
>
>Environment variables during execution:
>
>DEVFS=/proc/bus/usb
>REMOVER=/var/run/usb/%proc%bus%usb%001%012
>PATH=/bin:/sbin:/usr/sbin:/usr/bin
>ACTIONd
>PWD=/etc/hotplug
>HOME=/
>SHLVL=3
>DEVICE=/proc/bus/usb/001/012
>INTERFACE=8/6/80
>PRODUCT×d/1620/100
>TYPE=usb
>_=/usr/bin/env
>
>Part of usb.usermap:
>
>usb-storage 0x000f 0x03ee 0x0000 0x0000 0x0245 0x00
>0x00 0x00 0x00 0x00 0x00
>0x00000000
>usb-storage 0x000f 0x03f0 0x0107 0x0200 0x0200 0x00
>0x00 0x00 0x00 0x00 0x00
>0x00000000
>usb-storage 0x000f 0x04e6 0x0001 0x0200 0x0200 0x00
>0x00 0x00 0x00 0x00 0x00
>0x00000000
>..... .... .....
>
>
I suppose you just want to make usb.usermap an empty file. But anyway,
even if you do that, in the cold-plugging scenario with modular USB
drivers your script will be called twice (once for the synthetic hotplug
event and once for the real one), so you just have to be prepared to see
duplicates.
--
Alexander E. Patrakov
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
2005-05-17 13:09 ` Alexander E. Patrakov
@ 2005-05-17 13:30 ` Kay Sievers
2005-05-17 14:33 ` Rob Draaijer
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-05-17 13:30 UTC (permalink / raw)
To: linux-hotplug
On Tue, 2005-05-17 at 14:48 +0200, Rob Draaijer wrote:
> Hi guys,
>
> I encountering a weird problem using hotplug. My script to automatically mount
> a mass storage device and start some services is always called two times
> (with the same environment variables). Does anyone how to resolve this?
What distribution?
Own kernel?
What udev version?
What hotplug version?
...
How can anybody know what kind of system you are using?
Kay
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
2005-05-17 13:09 ` Alexander E. Patrakov
2005-05-17 13:30 ` Kay Sievers
@ 2005-05-17 14:33 ` Rob Draaijer
2005-05-18 12:43 ` Kay Sievers
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Rob Draaijer @ 2005-05-17 14:33 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]
> What distribution?
Nylon 0.82
> Own kernel?
Nope, pre-compiled
> What udev version?
I'am using devfs
> What hotplug version?
Cvs from 2004_09_20 (version 1.4??)
> How can anybody know what kind of system you are using?
For my bachelor thesis I'm currently developing a secure and self configuring
wireless mesh networked surveilliance system. The system consists of number
of embedded linux devices called meshcubes (see www.meshcube.org), running a
customized distribution based on openembedded. These meshcubes act as
wireless mesh routers using olsr to form a mesh network (see the first
chapters of http://www.ece.gatech.edu/research/labs/bwn/mesh.pdf for a good
introductin of mesh networking).
To enable secure the system, I'm implementing the resurrecting duckling
security policy (http://www-lce.eng.cam.ac.uk/~fms27/papers/duckling.pdf).
For the imprinting and killing process of the resurrecting policy, i'm using
a usb stick with a mother key, from which the meshcube generates its own
private key. This is where the hotplug-system comes in, I'm using hotplug to
mount the usb stick, start the imprinting aplication and so on.
I've created a script called /etc/hotplug/usb/usb-storage that will be called
when a usb mass storage device is started. This script takes care mounting
the usb stick, start the imprinting aplication and so on... But the problem
is that this scipt is started twice when I've inserted a usb stick. I've
attached my usb.usermap usb.distmap and usb.handmap..
Hope this information helps you a bit...
Regards, Rob
[-- Attachment #2: usb.distmap --]
[-- Type: text/plain, Size: 39306 bytes --]
# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
iforce 0x0003 0x046d 0xc281 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
cpia_usb 0x0003 0x0553 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
acm 0x0070 0x0000 0x0000 0x0000 0x0000 0x02 0x00 0x00 0x00 0x00 0x00 0x00000000
audio 0x0180 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x01 0x01 0x00 0x00000000
bluetooth 0x0070 0x0000 0x0000 0x0000 0x0000 0xe0 0x01 0x01 0x00 0x00 0x00 0x00000000
dabusb 0x0003 0x0547 0x2131 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dabusb 0x0003 0x0547 0x9999 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0120 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0130 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0131 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0132 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0110 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0111 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0x040a 0x0112 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dc2xx 0x0003 0xf003 0x6002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
dsbr100 0x0003 0x04b4 0x1002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
hid 0x0080 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x03 0x00 0x00 0x00000000
ibmcam 0x000f 0x0545 0x8080 0x0002 0x0002 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ibmcam 0x000f 0x0545 0x8080 0x030a 0x030a 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x03e8 0x0008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0506 0x03e8 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0557 0x2002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0557 0x4000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0565 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0565 0x0005 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x05e9 0x0008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x06e1 0x0008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0707 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x07aa 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x0846 0x1001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x13d2 0x0400 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x066b 0x2202 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x1645 0x0005 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x2001 0x4000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
kaweth 0x0003 0x07b8 0x4000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
mdc800 0x0003 0x055f 0xa800 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x04ce 0x0300 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x0094 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x0099 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x009a 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x00a0 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x00a3 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x80a3 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
microtek 0x0003 0x05da 0x80ac 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ov511 0x0003 0x05a9 0x0511 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ov511 0x0003 0x05a9 0xa511 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ov511 0x0003 0x0813 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x083a 0x1046 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x07a6 0x8511 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x07a6 0x0986 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x08dd 0x0986 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x08dd 0x0987 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x08dd 0x0988 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x08dd 0x8511 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x07aa 0x0004 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x2001 0x4001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x2001 0x4002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x2001 0x4003 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x2001 0xabc1 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x07b8 0xabc1 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x07b8 0x4002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x04bb 0x0904 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x056e 0x4002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x066b 0x2202 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x066b 0x2203 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x066b 0x2204 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x066b 0x2206 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x0411 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x0707 0x0200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
pegasus 0x0003 0x15e8 0x9100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
printer 0x0070 0x0000 0x0000 0x0000 0x0000 0x07 0x01 0x01 0x00 0x00 0x00 0x00000000
printer 0x0070 0x0000 0x0000 0x0000 0x0000 0x07 0x01 0x02 0x00 0x00 0x00 0x00000000
printer 0x0070 0x0000 0x0000 0x0000 0x0000 0x07 0x01 0x03 0x00 0x00 0x00 0x00000000
printer 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x07 0x01 0x01 0x00000000
printer 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x07 0x01 0x02 0x00000000
printer 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x07 0x01 0x03 0x00000000
rio500 0x0003 0x0841 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a5 0x2060 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a5 0x2040 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a5 0x2022 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x06bd 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x06bd 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x06bd 0x2061 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x06bd 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0458 0x2001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0205 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0101 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0105 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0102 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0401 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0701 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0201 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x03f0 0x0601 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0638 0x0268 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x0099 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x0094 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x00a0 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x009a 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x00a3 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x80a3 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x05da 0x80ac 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x055f 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0400 0x1000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x055f 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x055f 0x0003 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x055f 0x0006 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0300 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0380 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0301 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0381 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0302 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0382 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0303 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0383 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0340 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0360 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0341 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x0461 0x0361 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04b8 0x0101 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04b8 0x0103 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04b8 0x0104 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04b8 0x0106 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04b8 0x0107 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x1606 0x0010 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x1606 0x0030 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x1606 0x0230 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0221 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0211 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0231 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0311 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0321 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
scanner 0x0003 0x04a7 0x0331 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
belkin_sa 0x0003 0x050d 0x0103 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
belkin_sa 0x0003 0x056c 0x8007 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
belkin_sa 0x0003 0x0565 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
digi_acceleport 0x0003 0x05c5 0x0002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
digi_acceleport 0x0003 0x05c5 0x0004 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
empeg 0x0003 0x084f 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ftdi_sio 0x0003 0x0403 0x8372 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
ftdi_sio 0x0003 0x0403 0x6001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0105 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0103 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0106 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0101 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0102 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0109 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0112 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0107 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0108 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x010f 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x0110 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan 0x0003 0x06cd 0x010a 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan_pda 0x0003 0x06cd 0x0103 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
keyspan_pda 0x0003 0x06cd 0x0104 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
mct_u232 0x0003 0x0711 0x0210 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
mct_u232 0x0003 0x0711 0x0230 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
mct_u232 0x0003 0x0711 0x0200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
omninet 0x0003 0x0586 0x1000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
visor 0x0003 0x082d 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
whiteheat 0x0003 0x0710 0x8001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
whiteheat 0x0003 0x0710 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x03ee 0x0000 0x0000 0x0245 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x03f0 0x0107 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0001 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0002 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0006 0x0100 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0007 0x0100 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0009 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000a 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000b 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000c 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0101 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x054c 0x0010 0x0106 0x0210 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x054c 0x002d 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x057b 0x0000 0x0000 0x0299 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x057b 0x0000 0x0300 0x9999 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x059f 0xa601 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x05ab 0x0031 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0644 0x0000 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0693 0x0002 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0693 0x0005 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0001 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0100 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0002 0x0009 0x0009 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x07af 0x0004 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x07af 0x0005 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000
usb-storage 0x000f 0x0ea0 0x06803 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usbcore 0x0080 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x09 0x00 0x00 0x00000000
usbnet 0x0003 0x0547 0x2720 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00002a08
usbnet 0x0003 0x0525 0x1080 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00002cf0
usbnet 0x0003 0x067b 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00002d70
usbnet 0x0003 0x067b 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00002d70
uss720 0x0003 0x047e 0x1001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
uss720 0x0003 0x0557 0x2001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
uss720 0x0003 0x0729 0x1284 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
wacom 0x0003 0x056a 0x0010 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
wacom 0x0003 0x056a 0x0020 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000001
wacom 0x0003 0x056a 0x0021 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000002
wacom 0x0003 0x056a 0x0022 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000003
wacom 0x0003 0x056a 0x0023 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000004
wacom 0x0003 0x056a 0x0024 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000005
stir4200 0x0003 0x066f 0x4200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
[-- Attachment #3: usb.handmap --]
[-- Type: text/plain, Size: 4364 bytes --]
#
# This file contains modutils format usbmap entries
# with special driver mappings that the kernel
# for some reason does not expose through modutils
#
# Comments get read by bash so dont use punctuation
# RETEST ESPECIALLY AFER CHANGES TO COMMENTS
#
#
# usbcore hub driver metadata passes different metadata than
# policy agents see unless extra data from usbdevfs can be used
#
usbcore 0x0090 0x0000 0x0000 0x0000 0x0000 0x09 0x00 0x00 0x09 0x00 0x00 0x00000000
#
# recognize keyboard and mouse boot protocols to avoid
# parsing all HID descriptors
#
keybdev 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x03 0x01 0x01 0x00000000
mousedev 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x03 0x01 0x02 0x00000000
#
# In the big picture not many HID devices are keyboards or mice
# HID device classes are defined with HID reports and so far
# there is no hotplugging support for hid or the input subsystem
#
# This section mapping HID devices to their input subsystem
# handlers will probably grow a lot
#
# FIXME describe each device by vendor and product name
# PLEASE DO NOT SUBMIT ANY MORE PATCHES WITHOUT SUCH COMMENTS
#
mousedev 0x0003 0x05a4 0x9998 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
joydev 0x0003 0x046d 0xc207 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
joydev 0x0003 0x045e 0x0008 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
joydev 0x0003 0x047d 0x3002 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
joydev 0x0003 0x07b5 0x9902 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
# Saitek Cyborg 3D USB
joydev 0x0003 0x06a3 0x0006 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
#Gravis Gamepad Pro
joydev 0x0003 0x0428 0x4001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
# Wacom tablets need "evdev" but don't depend on it;
# XFree86 wacom_drv needs both.
evdev 0x0003 0x056a 0x0010 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0020 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0021 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0022 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0023 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0024 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0011 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
evdev 0x0003 0x056a 0x0042 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usblcd 0x0003 0x1212 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
[-- Attachment #4: usb.usermap --]
[-- Type: text/plain, Size: 8153 bytes --]
# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
usb-storage 0x000f 0x03ee 0x0000 0x0000 0x0245 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x03f0 0x0107 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0001 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0002 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0006 0x0100 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0007 0x0100 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0009 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000a 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000b 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x000c 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x04e6 0x0101 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x054c 0x0010 0x0106 0x0210 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x054c 0x002d 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x057b 0x0000 0x0000 0x0299 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x057b 0x0000 0x0300 0x9999 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x059f 0xa601 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x05ab 0x0031 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0644 0x0000 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0693 0x0002 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0693 0x0005 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0001 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0100 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x0781 0x0002 0x0009 0x0009 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x07af 0x0004 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x000f 0x07af 0x0005 0x0100 0x0100 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x01 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x00 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x01 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x02 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x03 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x05 0x50 0x00000000
usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x06 0x50 0x00000000
usb-storage 0x000f 0x0ea0 0x06803 0x0200 0x0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usbcam 0x0000 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
` (2 preceding siblings ...)
2005-05-17 14:33 ` Rob Draaijer
@ 2005-05-18 12:43 ` Kay Sievers
2005-05-19 7:31 ` Rob Draaijer
2005-05-19 7:39 ` Kay Sievers
5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-05-18 12:43 UTC (permalink / raw)
To: linux-hotplug
On Tue, 2005-05-17 at 16:33 +0200, Rob Draaijer wrote:
> > What distribution?
> Nylon 0.82
> > Own kernel?
> Nope, pre-compiled
> > What udev version?
> I'am using devfs
> > What hotplug version?
> Cvs from 2004_09_20 (version 1.4??)
>
> > How can anybody know what kind of system you are using?
>
> For my bachelor thesis I'm currently developing a secure and self configuring
> wireless mesh networked surveilliance system. The system consists of number
> of embedded linux devices called meshcubes (see www.meshcube.org), running a
> customized distribution based on openembedded. These meshcubes act as
> wireless mesh routers using olsr to form a mesh network (see the first
> chapters of http://www.ece.gatech.edu/research/labs/bwn/mesh.pdf for a good
> introductin of mesh networking).
> To enable secure the system, I'm implementing the resurrecting duckling
> security policy (http://www-lce.eng.cam.ac.uk/~fms27/papers/duckling.pdf).
> For the imprinting and killing process of the resurrecting policy, i'm using
> a usb stick with a mother key, from which the meshcube generates its own
> private key. This is where the hotplug-system comes in, I'm using hotplug to
> mount the usb stick, start the imprinting aplication and so on.
> I've created a script called /etc/hotplug/usb/usb-storage that will be called
> when a usb mass storage device is started. This script takes care mounting
> the usb stick, start the imprinting aplication and so on... But the problem
> is that this scipt is started twice when I've inserted a usb stick. I've
> attached my usb.usermap usb.distmap and usb.handmap..
>
> Hope this information helps you a bit...
Care to write the output of 'env' to a file with both of the doubled
events and post it here.
What kernel version is it?
Kay
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
` (3 preceding siblings ...)
2005-05-18 12:43 ` Kay Sievers
@ 2005-05-19 7:31 ` Rob Draaijer
2005-05-19 7:39 ` Kay Sievers
5 siblings, 0 replies; 7+ messages in thread
From: Rob Draaijer @ 2005-05-19 7:31 UTC (permalink / raw)
To: linux-hotplug
On Wednesday 18 May 2005 14:43, Kay Sievers wrote:
> Care to write the output of 'env' to a file with both of the doubled
> events and post it here.
> What kernel version is it?
>
> Kay
The output of env for both calls is exactly the same. I'm using kernel version
2.4.27,
Rob
Output of env:
DEVFS=/proc/bus/usb
REMOVER=/var/run/usb/%proc%bus%usb%001%003
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTIONd
PWD=/etc/hotplug
HOME=/
SHLVL=3
DEVICE=/proc/bus/usb/001/003
INTERFACE=8/6/80
PRODUCT×d/1620/100
TYPE=usb
_=/usr/bin/env
DEVFS=/proc/bus/usb
REMOVER=/var/run/usb/%proc%bus%usb%001%003
PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTIONd
PWD=/etc/hotplug
HOME=/
SHLVL=3
DEVICE=/proc/bus/usb/001/003
INTERFACE=8/6/80
PRODUCT×d/1620/100
TYPE=usb
_=/usr/bin/env
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Script is called multiple times
2005-05-17 12:48 Script is called multiple times Rob Draaijer
` (4 preceding siblings ...)
2005-05-19 7:31 ` Rob Draaijer
@ 2005-05-19 7:39 ` Kay Sievers
5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-05-19 7:39 UTC (permalink / raw)
To: linux-hotplug
On Thu, 2005-05-19 at 09:31 +0200, Rob Draaijer wrote:
> On Wednesday 18 May 2005 14:43, Kay Sievers wrote:
> > Care to write the output of 'env' to a file with both of the doubled
> > events and post it here.
> > What kernel version is it?
> >
> > Kay
>
> The output of env for both calls is exactly the same. I'm using kernel version
> 2.4.27,
Hmm, haven't seen any 2.4 hotplug stuff for years now. :)
Care to put the logging script in:
echo "log-script-path" > /proc/sys/kernel/hotplug
and see if the kernel calls that twice?
Kay
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id\x16344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-05-19 7:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-17 12:48 Script is called multiple times Rob Draaijer
2005-05-17 13:09 ` Alexander E. Patrakov
2005-05-17 13:30 ` Kay Sievers
2005-05-17 14:33 ` Rob Draaijer
2005-05-18 12:43 ` Kay Sievers
2005-05-19 7:31 ` Rob Draaijer
2005-05-19 7:39 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).