Sponsored Content
Operating Systems Linux Ubuntu How to implement TIOCOUTQ for USB modem on Linux Ubuntu Post 302526550 by Corona688 on Tuesday 31st of May 2011 11:21:19 PM
Old 06-01-2011
Quote:
Originally Posted by SDoroshenko
All the USB modem drivers I test (cdc-acm, option, sierra) send data to modems by using usb_submit_urb call.
Of course they do. Data for USB modems gets sent over USB. 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.
Quote:
The facts Linux provides flow control without packet loss and sendto call blocks itself if modem buffer is full mean Linux can check if modem buffer is full
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.

How it works depends on the hardware.
This User Gave Thanks to Corona688 For This Post:
 

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
FAXSTATE(8)						      System Manager's Manual						       FAXSTATE(8)

NAME
faxstate - control ``modem state'' of a device used by HylaFAX SYNOPSIS
/usr/sbin/faxstate [ -q queue-dir ] [ -s state ] [ -n ] modem DESCRIPTION
faxstate sends a message to the HylaFAX faxgetty(8) process servicing modem telling it to use the specified state when notifying the HylaFAX scheduler that a modem is ready and available for use. This is useful for controlling outbound use of a modem; by marking a modem's state as busy or down the HylaFAX scheduler will not assign any outbound jobs to the modem. The specified modem can either be the name (typically the last component of the terminal port the modem is attached to), or the full name of the associated FIFO named pipe file, e.g. ``FIFO.ttym2''. If the -n option, faxstate emulates what faxgetty would do; sending a message directly to the faxq process marking the specified modem down, busy, or ready. This interface is useful for send-only environments in which faxgetty processes are not used. Note that modems manipulated in this way must previously have been configured with the faxmodem(8) program. OPTIONS
The following options are supported: -n Contact faxq directly instead of faxgetty. -q dir Use a spooling area other than /var/spool/hylafax. -s Specify the state to send the faxq process each time the modem becomes ready for use; one of ``busy'', ``down'', and ``ready''. The default state to use is ready. FILES
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area. SEE ALSO
hylafax-server(5), faxgetty(8) July 17, 1995 FAXSTATE(8)
All times are GMT -4. The time now is 06:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy