#21914: /dev/ttyACM0 is not created by procd/hotplug
---------------------------+--------------------------------
Reporter: notorand | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: packages | Version: Chaos Calmer 15.05
Keywords: procd hotplug |
---------------------------+--------------------------------
I need to use a 3g USB dongle for the WAN.
This is the device:
{{{
Bus 001 Device 005: ID 1ee8:0012 ONDA COMMUNICATION S.p.a.
}}}
I have installed all the relevant bits for the usb, namely:
{{{
kmod-usb-acm 3.18.20-1
kmod-usb-core 3.18.20-1
kmod-usb-net 3.18.20-1
kmod-usb-net-cdc-mbim 3.18.20-1
kmod-usb-net-cdc-ncm 3.18.20-1
kmod-usb-net-qmi-wwan 3.18.20-1
kmod-usb-ohci 3.18.20-1
kmod-usb-serial 3.18.20-1
kmod-usb-serial-option 3.18.20-1
kmod-usb-serial-wwan 3.18.20-1
kmod-usb-wdm 3.18.20-1
kmod-usb2 3.18.20-1
kmod-usb2-fsl 3.18.20-1
libusb-1.0 1.0.19-1
usb-modeswitch 2014-08-26-993a9a5427..37a
usbutils 007-1
}}}
When I plug my 3g USB dongle I get these messages:
{{{
[ 180.760750] usb 1-1.2: USB disconnect, device number 3
[ 185.312773] usb 1-1.2: new high-speed USB device number 4 using fsl-
ehci
[ 185.624694] usb 1-1.2: USB disconnect, device number 4
[ 190.688053] usb 1-1.2: new high-speed USB device number 5 using fsl-
ehci
[ 190.786595] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
}}}
But then the expected `/dev/ttyACM0` isn't there.
I added a little script into `/etc/hotplug.d/usb` and this is what I get
upon plugging:
{{{
Tue Feb 23 11:34:19 2016 user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.2' devname='bus/usb/001/005'
devpath='/devices/soc@ffe00000/ffe22000.usb/fsl-ehci.0/usb1/1-1/1-1.2'
product='1ee8/12/1' type='239/2/1' interface=''
Tue Feb 23 11:34:20 2016 user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.2:1.0' devname=''
devpath='/devices/soc@ffe00000/ffe22000.usb/fsl-
ehci.0/usb1/1-1/1-1.2/1-1.2:1.0' product='1ee8/12/1' type='239/2/1'
interface='2/2/1'
Tue Feb 23 11:34:20 2016 user.notice DEBUG: hotplug usb: action='add'
devicename='1-1.2:1.1' devname=''
devpath='/devices/soc@ffe00000/ffe22000.usb/fsl-
ehci.0/usb1/1-1/1-1.2/1-1.2:1.1' product='1ee8/12/1' type='239/2/1'
interface='10/0/0'
}}}
The device is correctly recognized and mode-switched, but there is no
device in `/dev` to be used.
I expect the device file to "magiacally" pop up in `/dev` upon device
plugging.
--
Ticket URL: <https://dev.openwrt.org/ticket/21914>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets