On Jan 8, 2008 11:27 AM, Alex Villacís Lasso<avillaci@xxxxxxxxxxxxxxxxxxxxxxx> wrote:> First of all, could you please explain what kind of device are you> trying to use (if possible, with device/vendor IDs)? Is it a> mass-storage device (such as an external disk/DVD/flash memory), or is> it something else? If it is, then why do you need a parameter to> unusual_devs.h ? What kind of behavior do you need to control from> userspace? Why is none of the existing quirks useful for your device?> Maybe what you want is to add a new quirk flag, and there is nothing> wrong AFAIK with adding code to handle that particular flag.
The device is an emulated external CD-Rom. The reason I'd like to have aparameter or some other user-space input is so that the user can enable/disable a feature in the driver without having to re-compile the driver.
Also, later on in the future it would be nice for the driver to access moreinformation on the system regarding device configuration (ideallyall aggregated in one file) which would then dictate how the driver loads thedevice. I suppose one way to do this would be to create a user spacedaemon that watches the usb devices and controls it via libusb.
> A quick description of your environment (target kernel version,> distribution, etc) won't go amiss.For now just targeting 2.6.23 or 24 with x86 and either Fedora 8 or Ubuntu 7.10
-Kevin-------------------------------------------------------------------------Check out the new SourceForge.net Marketplace.It's the best place to buy or sell services forjust about anything Open Source.http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________linux-usb-devel@xxxxxxxxxxxxxxxxxxxxxxx unsubscribe, use the last form field at:https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]