Sponsored Content
Operating Systems Linux Ubuntu How to implement TIOCOUTQ for USB modem on Linux Ubuntu Post 302526768 by SDoroshenko on Wednesday 1st of June 2011 12:11:49 PM
Old 06-01-2011
Quote:
Originally Posted by Corona688
The modem must have a way to inform the Linux kernel when to send data or when not to send data but this depends on the hardware.
Looks like I'd have to ask modem manufacturers if their modems can return how much data are inside modem buffer....
usb_submit_urb puts data to HCD (Host Controller Driver). Does HCD put data to device directly, or it transfers data to the next level of Linux kernel?



Quote:
Originally Posted by Corona688
Not necessarily. For some hardware it might be the other way around -- the modem might tell Linux when the buffer is full or not full.
Is there at least one modem that returns buffer size information?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Add usb modem on a 5.0.7

hi guys i know a litter bit of sco openserver 5.0.6 I got my self a 5.0.7 version. The problem is how do you install a usb modem? The way i'm used to doit is by serial port , you know tty1A . Please guys bear with me Thanks a lot Jose. (1 Reply)
Discussion started by: josramon
1 Replies

2. Solaris

Solaris 10 ADSL USB modem problem

Hi, I have USB Siemens Santis 100 ADSL modem.I need driver for this modem on Solaris 10.Please help me with some info.Platform is x86.Thanks. (2 Replies)
Discussion started by: Upravnik
2 Replies

3. Solaris

Solaris 9 & USR USB Modem Configuration

Hello There, I just wanted to know if there is any possible configuration for setting up my external USR USB Modem in Solaris 9 (x86). Any help is definitely appreciated. Thanks Khurram Bashir (1 Reply)
Discussion started by: khurram
1 Replies

4. Linux

modem - usb to serial configuration

I have a serial modem connected to a usb port using an adapter cable. The system is a HP DL360. RedHat ES3.0 I am using the device /dev/ttyUSB0 When I issue the command "mgetty ttyUSB0" I get the following output in the log file. How do I get the system to see the modem. 12/02 14:17:55... (2 Replies)
Discussion started by: jshoovie
2 Replies

5. Solaris

Installing USB adsl modem?

Hello all, granted that I am an absolute beginner with Solaris, I'd like to use my adsl modem, t's a Zyxel prestige 630. I managed to install and configure it under Ubuntu using the drivers from Conexant AccessRunner ADSL USB modems with Linux ; is there a chance to do the same under Solaris 10... (0 Replies)
Discussion started by: clalfa
0 Replies

6. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive. Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies

7. Solaris

Solaris 11.2 does not assign serial port to 3g usb modem?

In ubuntu etopic i create this udev rules for prolink 3g usb modem: SUBSYSTEM=="block", SUBSYSTEM=="scsi", ATTRS{idVendor}=="1e0e", ATTRS{idProduct}=="f000", ACTION=="add", RUN+="/sbin/modprobe usbserial Vendor=0X1e0e Product=0Xf000" After plugging the usb modem, ubuntu assigns the ports... (4 Replies)
Discussion started by: shamsat
4 Replies

8. Solaris

How to setup prolink 3.5g hsdpa usb modem in Solaris 11.2?

hi, I am new to solaris, i download the solaris 11.2 support library and as well search the google but didn't find any information about how to setup usb 3g modem in solaris 11.2, any one can please help me with giving any information or web link? (6 Replies)
Discussion started by: shamsat
6 Replies
usbmodules(8)							Linux USB Utilities						     usbmodules(8)

NAME
usbmodules - List kernel driver modules available for a plugged in USB device SYNOPSIS
usbmodules [--device /proc/bus/bus/NNN/NNN] [--check modulename] [--help] [--mapfile pathname] [--version pathname] DESCRIPTION
usbmodules lists driver modules that may be able to manage interfaces on currently plugged in USB devices. usbmodules may be used by /sbin/hotplug or one of its agents (normally /etc/hotplug/usb.agent) when USB devices are "hot plugged" into the system. This can be done by the following Bourne shell syntax: for module in $(usbmodules --device $DEVICE) ; do modprobe -s -k "$module" done The DEVICE environment variable is passed from the kernel to /sbin/hotplug during USB hotplugging if the kernel was configured using usbde- vfs. usbmodules currently requires usbdevfs to operate. When a USB device is removed from the system, the Linux kernel will decrement a usage count on USB driver module. If this count drops to zero (i.e., there are no clients for the USB device driver), then the modprobe -r process that is normally configured to run from cron every few minutes will eventually remove the unneeded module. OPTIONS
--check modulename Instead of listing the relevant modules, just exit with code 0 (success) if the given module's exported USB ID patterns matches. Otherwise, return failure. usbmodules emits no output either way. --device /proc/bus/usb/MMM/NNN Selects which device usbmodules will examine. The argument is currently mandatory. --help, -h Print a help message --mapfile /etc/hotplug/usb.handmap Use the specified file instead of the /lib/modules/.../modules.usbmap file corresponding to the running kernel. --version Identifies the version of usbutils this tool was built with. FILES
/lib/modules/<kernel-version>/modules.usbmap This file is automatically generated by depmod, versions 2.4.2 and later, and is used by usbmodules to determine which modules cor- respond to which USB ID's. /proc/bus/usb An optional interface to USB devices provided by Linux kernels with versions of the 2.4 USB support. Contains per-bus subdirectories with per-device files (offering a usermode driver API as well as access to device and configuration descriptors), a devices file containing a list of all USB devices, and a drivers file listing USB device drivers known to the USB subsystem. SEE ALSO
lsusb(8), http://linux-hotplug.sourceforge.net AUTHOR
usbmodules was written by Adam J. Richter <adam@yggdrasil.com>, and is based partly on lsusb, which was written by Thomas Sailer <sailer@ife.ee.ethz.ch>. COPYRIGHT
usbmodules is copyright 2000, Yggdrasil Computing, Incorporated, and copyright 1999, Thomas Sailer. usbmodules may may be copied under the terms and conditions of version 2 of the GNU General Public License as published by the Free Software Foundation (Cambrige, Massachusetts, United States of America). usbutils-0.8 12 June 2001 usbmodules(8)
All times are GMT -4. The time now is 04:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy