I am trying to setup a USB dongle on my device by following the post here. I wasn't successful in setting it up and while tracing my steps discovered that

echo "1c9e:9ba1" > /sys/bus/usb-serial/drivers/generic/new_id

was resulting in an error. I ran this statement from the terminal and got the following response

bash: echo: write error: Invalid argument

according to the post here it means that the device doesn't implement a WRITE method.

Wondering if there is a way to get the echo command to work so that I can get my USB modem working.

1 Answer 1


What happened when you remove the ":" as appear in the link you provided?

Original Answer:

echo 1c9e 6061 > /sys/bus/usb-serial/drivers/option1/new_id

Your case:

Instead of:

echo "1c9e:9ba1" > /sys/bus/usb-serial/drivers/generic/new_id

Try running:

echo "1c9e 9ba1" > /sys/bus/usb-serial/drivers/generic/new_id
  • Removing the colon writes to the new_id file. Feb 26, 2017 at 9:28
  • After reboot the usb-serial/drivers/generic/new_id has disappeared. Funny Feb 26, 2017 at 10:37
  • Did you create all scripts mentioned in the answer? I think that during boot, the scripts should create/configure the device.
    – Yaron
    Feb 26, 2017 at 11:14
  • I did create all the scripts. Flummoxed how the directories just disappeared. Mar 4, 2017 at 4:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .