Re: [Ftdi-usb-sio-devel] usb_detatch_kernel_driver
Brought to you by:
bryder
From: Bill R. <bil...@gm...> - 2009-11-02 16:05:54
|
Probably the easiest and safest thing to do is to completely remove the ftdi_sio module. Otherwise you can setup rmmod in you /etc/sudoers file. On Tue, Nov 3, 2009 at 2:55 AM, T. Horsnell <ts...@mr...> wrote: > Hi, > I've just started with libftdi, and am getting an error during > ftdi_open_usb_dev when it tries to detatch any existing ftdi_sio module, > when running as a non-root user. > > Everything works OK when I run as root. > > Presuming that a user-mode prog wasnt able to do the > usb_detach_kernel_driver_np, > I did 'rmmod ftdi_sio', and commented out the 'usb_detach_kernel_driver_np' > line in > the library, but I now get a -3 error at the 'usb_set_configuration' step, > unless > I run as root. > > What permissions do I need to set on what files to be able to do things > as a non-root user? > > Many thanks, > Terry > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > |