[udev] load-modules.sh error when plugging in camera
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[udev] load-modules.sh error when plugging in camera
When I plug in my camera via usb I see this error
Code:
load-modules.sh: 'usb:v22B8p2B44d0001dcFFdscFFdp00icFFiscFFipFF' is not a valid module or alias name
This is happening on multiple machines. My udev version is 153. I don't think this is a permissioning issue because I've tried playing around with the udev rules/
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634
Rep:
Yes. It rather looks like you misplaced a UUID (e.g. disk denominator) somewhere in your rules -- but not necessarily in udev as your error messages states: "load-modules.sh: [...] is not a valid module or alias name". What did you do to your (kernel)-modules loading scheme ?
which I think comes from udev itself (rather than my distribution). load-modules.sh is provided by Arch.
Looking through my logs, there are a lot of similar errors which seem to be harmless. However, this particular device is not recognized by my system. Maybe there is another error somewhere and this is just a Red Herring.
I tried it, doesn't help. That error message is no longer there, but the camera still doesn't show up (in lsusb for example). I tried removing that ignore_error bit to see if I'd get more output, but nothing new showed up.
To get a bit more information you could replace the rule with
Code:
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/<full_path_to>/myscript.sh $env{MODALIAS} $%k %m <and all the other printf-like string substitutions listed in the udev man page>"
and write myscript.sh so that it writes its command line to a log file. Then post the log file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.