element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum How to add module usbserial
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 23 subscribers
  • Views 795 views
  • Users 0 members are here
Related

How to add module usbserial

Former Member
Former Member over 11 years ago

I want to attach the mobile-modem Huawei E-169 and an USB-RS485 adapter.

Both devices are listed in lsusb.

but no one will be mounted correctly

The Huawei Modem should be mounted at /dev/ttyUSB*.

dmesg delivers output only mounted as storage.

 

usb 2-1.2: new high speed USB device number 8 using fsl-ehci

scsi7 : usb-storage 2-1.2:1.2

scsi8 : usb-storage 2-1.2:1.3

scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2

scsi 8:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2

sd 8:0:0:0: [sda] Attached SCSI removable disk

linaro@linaro-ubuntu-desktop:~$

 

I tried to modeswitch the device with modeprobe usbserial with following error.

FATAL: Module usb_serial not found.

 

How can i load module usb_serial?

 

linaro@linaro-ubuntu-desktop:~$ modprobe -l | grep serial

kernel/drivers/usb/gadget/g_serial.ko

already tried to /boot/linux.config

CONFIG_USB_SERIAL=y and

CONFIG_USB_SERIAL=m

 

Working on Ubuntu 12.11

Linux linaro-ubuntu-desktop 3.0.35-03023-ga0660f4 #1 SMP PREEMPT Tue Mar 25 21:17:12 CET 2014 armv7l armv7l armv7l GNU/Linux

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    There appears to be very few modules included in the default image. I don't see the usbserial one.

     

    So you're left with following the instructions radiatortwo posted on recompiling that kernel, but while you're configuring it you can add any missing modules you think you'll need

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tusharp
    0 tusharp over 11 years ago

    as mentioned by agrahambell  you can recompile the kernel, however you can give the below just-a-try to check if it works.

    i have got a number of usb devices working on X86 (not arm) by just changing modeswitch .

     

    goto module build directory "lib/modules/<kernel version>"

    execute below comands with your PID VID & check if its has a supported module.

    cat modules.alias | grep [PID]

    cat modules.alias | grep [VID]

     

    try this also

    in "/etc/usb_modeswitch.conf"

    change DisableSwitching from "0" to "1",

    this ensures the USB default mode is not activated.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to tusharp

    fairly sure the entry won't be in modules.alias if the module was never built, but sure it's worth a try.

     

    I downloaded the e14 Ubuntu image and there appears to be so few modules included that lots of people are going to have problems.. Only a single wifi module included sticks out as being a really strange choice image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to tusharp

    have tried to grep without success.

    also changed config but didn't change anything.

    device still mounted as mass storage only.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube