Re: disable ldusb

"Andres Aguirre" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
The problem is that I want to develop my own driver because i want it
could be the more generic as possible, so i need iso transfers and
libusb don't have it, also i don't want ldusb because only works for
int transfers and i also need that it could be capable to give to the
user (via ioctls) all the descriptors.
It is very important that the driver could use all the transfers and
give the user all the descriptors info, because it is been develop for
a generic IOBOARD similar to the picdem but different in a lot of
concepts.
Please if you could explain me more about the free VID/PID that
microchip give, i only know the vid 0x04d8 and pid 0x000c.
regards
Andres
So the main problem is how to disable automatic load of ldusb in the kernel.
2007/10/27, Xiaofan Chen <[email protected]>:
> On 10/28/07, Andres Aguirre <[email protected]> wrote:
> > Hi, i am writing a kernel module to control a microchip pic18F4550
> > microcontroller based on the great example of Greg Kroah-Hartman
> > (usb-skeleton). I have the problem that wirh the kernel version
> > 2.6.22.5-31 the module ldusb is automatic loaded when I connect the
> > device to the usb port causing that my module dont work properly. The
> > solution that i found is to remove   ldusb (rmmod) every time I
> > connect my device, what is very tedious. anyone knows how to
> > permanently remove ldusb?
>
> Firstly I believe the ldusb module only include one particular
> VID/PID combination (04d8000c) for the Microchip PICDEM FS
> USB Demo Board's Demo Mode using interrupt transfer. You should
> use another VID/PID combination. You can apply one for free from
> Microchip.
>
> I also think the ldusb is not necessary for the PICDEM FS USB
> demo mode because there is a libusb based application to support
> it. However the original submitter would like to keep it and it is easy
> for me to patch the libusb application to detach the kernel driver.
> Therefore I think it is no harm to keep it in the kernel.
>
> I've published the modification in the following Microchip Forum
> thread and it is working.
> http://forum.microchip.com/tm.aspx?m=106426
>
> Xiaofan
> http://mcuee.blogspot.com
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.