Hi!
I've got 2 Huawei modems. One of them in Hi_link mode work well on older Slackwares and second did not, so I install 14.2 and 4.4.38 kernel and make initrd.
After that when I power up server, both modems stay in "mass storage" mode. When I 'modeswitch' them manually or use something like
Code:
udevadm -trigger -add
they appears as modems. After reboot (with power turn on) they remain in previous state.
Server is IBM X3650 and rebooting took long time.
I was trying to enable serial console, but for some reason serial port doesn't want to work. I turn off internal/bios management console but I still can't send/receive any data. Serial port hardware seems to work, because in "internal console" mode sends some rubbish via null modem to other terminal.
I can see port in /proc/tty/driver# cat serial
So, the question is, what should I do with udev and how, so it 'modeswitch' my modem after power on? And before rc.inet1 try to bring up interfaces?
I still have got disk with installed Slackware 14.1 without initrd and udev work there just fine.
it's 5.06.2017 and I forced my com port to work find new logs.
From /var/messages
Code:
Jun 2 18:35:00 ibmserwer kernel: <31>[ 10.475603] udevd[1722]: RUN 'usb_modeswitch '%b/%k'' /lib/udev/rules.d/40-usb_modeswitch.rules:24
[...]
Jun 2 18:35:00 ibmserwer kernel: <31>[ 10.740285] udevd[1716]: 'usb_modeswitch '/1-7:1.0''(err) '/lib/udev/usb_modeswitch: line 77: cannot create temp file for here-document: Read-only file system'