Hi,
what exactly are you doing with those "echos" you wrote? I mean why should
I let linux pick a driver for a device? I have Xenomai with RTnet. I would
like to use Xenomai- / RTnet-drivers for that.
I have found the following commands: lsmod, insmod, rmmode. See the
following output.
# lsmod
Module                  Size  Used by    Tainted: G
rtipv4                 18699  0
rtpacket                4179  0
rt_ticpsw              26115  0
rt_davinci_mdio         4570  0
rt_smsc                 2165  0
rtnet                  28479  3 rtipv4,rtpacket,rt_ticpsw
omap_rng                4174  0
# iinsmod
-sh: iinsmod: not found
# lsmod
Module                  Size  Used by    Tainted: G
rtipv4                 18699  0
rtpacket                4179  0
rt_ticpsw              26115  0
rt_davinci_mdio         4570  0
rt_smsc                 2165  0
rtnet                  28479  3 rtipv4,rtpacket,rt_ticpsw
omap_rng                4174  0
# insmod
BusyBox v1.22.1 (2019-03-16 12:39:06 CET) multi-call binary.

Usage: insmod FILE [SYMBOL=VALUE]...

Load the specified kernel modules into the kernel

# rmmod
BusyBox v1.22.1 (2019-03-16 12:39:06 CET) multi-call binary.

Usage: rmmod [-wfa] [MODULE]...

Unload kernel modules

        -w      Wait until the module is no longer used
        -f      Force unload
        -a      Remove all unused modules (recursively)

Are these modules correct?

Regards,

Daniel

Am Mi., 19. Juni 2019 um 17:41 Uhr schrieb Lange Norbert <
norbert.la...@andritz.com>:

> Use sysfs-
>
> # unbind the current driver for those devices
> for sio in 1-2:1.0  1-2:1.1  1-2:1.2  1-2:1.3; do
>     echo "$sio" > /sys/bus/usb/devices/"$sio"/driver/unbind
> done
>
> # use a specific driver 'ftdi_sio' for a device
> echo "1-2:1.0" > /sys/bus/usb/drivers/ftdi_sio/bind
> # let linux pick a driver for a device
> echo '1-2:1.0' >  /sys/bus/usb/drivers_probe
>
> works similar with other busses.
>
> regards, Norbert Lange
>
> > -----Original Message-----
> > From: Xenomai <xenomai-boun...@xenomai.org> On Behalf Of danwe via
> > Xenomai
> > Sent: Mittwoch, 19. Juni 2019 10:19
> > To: xenomai@xenomai.org
> > Subject: Commands for reading, loading and unloading drivers on
> > BeagleBone Black?
> >
> > E-MAIL FROM A NON-ANDRITZ SOURCE: AS A SECURITY MEASURE, PLEASE
> > EXERCISE CAUTION WITH E-MAIL CONTENT AND ANY LINKS OR
> > ATTACHMENTS.
> >
> >
> > Hello,
> >
> > I am using a BeagleBone Black with Xenomai and RTnet on top. As some
> real-
> > time programs are not working it could be that the installed drivers on
> my
> > BeagleBone Black are still the standard drivers and not the real-time
> drivers.
> >
> > As I did not find anything on internet (only how to install drivers for
> Windows
> > when using BeagleBone Black) I would like to ask you if anyobdy knows
> > commands for BeagleBone Black to read, load and unload installed drivers
> on
> > BBB?
> >
> > Regards
> >
> > Daniel
> ________________________________
>
> This message and any attachments are solely for the use of the intended
> recipients. They may contain privileged and/or confidential information or
> other information protected from disclosure. If you are not an intended
> recipient, you are hereby notified that you received this email in error
> and that any review, dissemination, distribution or copying of this email
> and any attachment is strictly prohibited. If you have received this email
> in error, please contact the sender and delete the message and any
> attachment from your system.
>
> ANDRITZ HYDRO GmbH
>
>
> Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation
>
> Firmensitz/ Registered seat: Wien
>
> Firmenbuchgericht/ Court of registry: Handelsgericht Wien
>
> Firmenbuchnummer/ Company registration: FN 61833 g
>
> DVR: 0605077
>
> UID-Nr.: ATU14756806
>
>
> Thank You
> ________________________________
>

Reply via email to