Look at http://linux.die.net/man/8/depmod and tryShould I be able to download and install a modules.dep? Is it platform-dependent?Code:sudo depmod -a 2.6.19
Hi! I'm working on a system which has an embedded PowerPC and Microknoppix (kernel version 2.6.19).
I need to get it to work with a USB device which has some kind of USB-Serial converter chip in it. The manufacturer's website gives the following instructions for Linux:
To load the generic USBSerial driver, enter the following string:
modprobe usbserial vendor=0x213e product=0x000a
However, I get the following error:
FATAL: Could not load /lib/modules/2.6.19/modules.dep: No such file or directory
Here is the listing of /lib/modules:
-rw-r--r-- 1 root root 12415 Sep 7 2007 ccduevent.ko
-rw-r--r-- 1 500 ccdu 23410 Nov 14 2008 i2c-core.ko
-rw-r--r-- 1 500 ccdu 10107 Nov 14 2008 i2c-dev.ko
-rw-r--r-- 1 500 ccdu 7932 Nov 14 2008 i2c-mpc.ko
-rw-r--r-- 1 root root 107572 Jun 29 2007 jffs2.ko
-rw-r--r-- 1 root root 6290 Jun 4 2007 wdog83xx.ko
-rw-r--r-- 1 root root 20852 Jun 29 2007 zlib_deflate.ko
-rw-r--r-- 1 root root 16092 Jun 29 2007 zlib_inflate.ko
So I guess that modules.dep should tell modprobe what it needs and where to find it, and that it has been left out of this Microknoppix version to save space. Am I on the right track?
Should I be able to download and install a modules.dep? Is it platform-dependent?
Or, should I be going about this another way?
The USB device should create a virtual com port, which (in theory) I can open from my C program like a normal serial port. If that works I will be very happy as i can get back to writing code (the real work!).
All I know about the USB part of the device is that it is "vendor=0x213e product=0x000a". However, I can't find any info on this vendor or product with Google.
Any suggestions, including suggestions of any other forums where this question might be more appropriate, would be greatly appreciated!
Thanks.
Look at http://linux.die.net/man/8/depmod and tryShould I be able to download and install a modules.dep? Is it platform-dependent?Code:sudo depmod -a 2.6.19
Thanks! I had to create /lib/modules/2.6.19/ but then it worked. However, now when I run modprobe I get the error:
FATAL: Module usbserial not found.
I guess I have to face the fact that this kernel doesn't have USB-Serial support built in. I've been trying to compile a module as I have some source code for a driver for the specific device, but cross-platform kernel module compilation is a bit beyond me...
Dell Optiplex 7060 SFF 8th Gen Core i7 3.2GHZ 32GB 512GB Win 11 Pro
$249.00
Dell Precision 3630 8-Core i9-9900K 3.6GHz 32GB 512GB SSD WIN 11P
$479.99
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Lenovo Flex 7 14IRU8 14" 2.2K Touch Intel Core i7-1355U 16GB 1TB SSD W11H
$529.99
Custom Gaming PC i7 Quad Core 16GB 2TB SSD NVidia RTX 2060 6GB GPU
$579.99