* [ptxdist] usbserial.ko invalid parameter
@ 2015-07-27 13:19 Martin Hollingsworth
0 siblings, 0 replies; only message in thread
From: Martin Hollingsworth @ 2015-07-27 13:19 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-27 11:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 13:19 [ptxdist] usbserial.ko invalid parameter Martin Hollingsworth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox