libftdi Archives

Subject: Re: block usb device from module assignment

From: gobo <gobo770@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: ka@xxxxxxxxxxxx
Date: Mon, 16 Jun 2014 17:50:41 -0500
i finally got time to work on this project again.  sorry that it's been awhile.

from the big problem article i used the following rule.  it should
catch a bunch of ftdi devices, which is ok for now.

ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", RUN+="/bin/sh -c
'echo $kernel > /sys/bus/usb/drivers/ftdi_sio/unbind'"

ftdi_sio and usbserial are still being loaded by the kernel.

maybe i'm not understanding what this rule is supposed to do.  $kernel
is an empty string.
echo $kernel | hd
00000000  0a                                                |.|
00000001

is that what needs to be written to unbind?


On 5/12/14, Ibrahim Kamal <ika@xxxxxxxxxxxx> wrote:
> By the way, here is what i do to solve this issue:
> http://www.ikalogic.com/ftdi-d2xx-linux-overcoming-big-problem/
>
> Works like a charm for us...
>
> Best regards,
>
> IKALOGIC
> ikalogic.com <http://www.ikalogic.com/>
>
>       
>
> *Ibrahim Kamal*
> C.E.O. / P.D.G.
> TEL: (+33) 555 358 028
> GSM: (+33) 641 742 484
> FAX: (+33) 972 125 830
>
> IKALOGIC S.A.S. - 1 Avenue d'ESTER
> 87069 Limoges CEDEX FRANCE SIRET# 522 847 250
>
>
>

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread