mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Martin Hollingsworth <Martin.Hollingsworth@itk-engineering.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] usbserial.ko invalid parameter
Date: Mon, 27 Jul 2015 13:19:30 +0000	[thread overview]
Message-ID: <8fdff401574c4888b0e8bcae7b392069@vwexch001.itk.local> (raw)

Hallo folks,
I am trying to get a USB device with a serial interface chip running on ptxdist. When I insert the device I can see it successfully with dmesg:
[    3.666554] usb 4-2: New USB device found, idVendor=20db, idProduct=0012

From the vendor documentation I grab the info, that using usbserial.ko kernel module the device should be registered as ttyUSB0 for communications.
With the following modprobe I can get the device operational under Ubuntu 14.04 LTS 32 bits.
However, the same command under the ptxdist linux version doesn't accept the input parameter.
Please have a look:
----
root@terminal:~ modprobe usbserial vendor=20db product=0012
modprobe: can't load module usbserial (kernel/drivers/usb/serial/usbserial.ko): Invalid argument
root@terminal:~ dmesg
[...]
[ 0.729057] usbserial: `20db' invalid for parameter `vendor'
----
Same with insmod:
----
root@-terminal:~ insmod /lib/modules/3.7.1-pengutronix/kernel/drivers/usb/serial/usbserial.ko vendor=0x20db product=0x0012
[ 1797.753276] usbserial: `0x20db' invalid for parameter `vendor'
----
I know that under this environment modprobe and insmod are both from BusyBox rather than linux native. 
root@terminal:~ modprobe --help
BusyBox v1.20.2 (2015-06-17 17:45:13 CEST) multi-call binary.

However, since the dmesg output shows the parameter correctly split into "vendor" and "value", I would rather expect the error coming from the kernel module itsels rather than from BusyBox.
Has anyone of you encountered such a problem before? Any help is appreciated.

Thanks in advance and greetings,
Martin Hollingsworth

-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-07-27 11:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8fdff401574c4888b0e8bcae7b392069@vwexch001.itk.local \
    --to=martin.hollingsworth@itk-engineering.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox