Results 1 to 3 of 3

Thread: Microknoppix and USB Drivers on PowerPC - How To?

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    2

    Microknoppix and USB Drivers on PowerPC - How To?

    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.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Should I be able to download and install a modules.dep? Is it platform-dependent?
    Look at http://linux.die.net/man/8/depmod and try
    Code:
    sudo depmod -a 2.6.19

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    2
    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O picture

ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O

$99.00



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$47.35



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard picture

Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard

$94.99



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99



***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3 picture

***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3

$49.77