Bug 75745 - usb.usermap camera innovation should be expanded
Summary: usb.usermap camera innovation should be expanded
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: hotplug
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-11 19:29 UTC by Linus Walleij
Modified: 2014-03-17 02:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-02-13 17:06:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Linus Walleij 2002-10-11 19:29:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
I saw Nalin Dahyabhai's excellent idea to add a script that lifts USB cameras to
userland when plugged. This idea is applicable to more devices and should be
generalized to all non kernel driver needing userland devices that may be
plugged/unplugged during use.

Specifically I want it to work on the Nomad Jukeboxes (MP3 device) that I
develop for. They have device ID:s:

vendor: 0x0471 product: 0x0222 (Nomad Jukebox 1)
vendor: 0x041e product: 0x4101 (Nomad Jukebox 3)

They both work excellently from userland when I copy one of the camera lines in
usb.usermap and change the vendor and product ID. (Match flags = 0x0000, as the
rest of the flags.)

Please make this a generic script for userland devices and add these devices!

Comment 1 Linus Walleij 2003-04-20 21:49:20 UTC
I have now solved this problem on my RPMs by including %post and %unpost macros
that add scripts in /etc/hotplug/usb and patch the /etc/hotplug/usb.usermap file
on software installation/removal.

This is not elegant but works. In the future, I hear the newer versions of
hotplug will support application-specific hotplug-files in /etc/hotplug, and not
everything need to go into usb.usermap.

As for me, you may close this bug.


Note You need to log in before you can comment on or make changes to this bug.