LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2012, 03:11 AM   #1
sekarlinux
Member
 
Registered: Dec 2011
Posts: 47

Rep: Reputation: Disabled
Multiple USB modems not mapped the device at a time in RHEL5


Hi Friends,

The USB device mapping not happening when i insert multiple USB modems with ttyUSB0,1,2 ttyUSB3,4,5 and ttyUSB6,7,8 .

If i create device manually with mknod it is working sometimes and not working sometimes.

Is there any upgraded RPM that i need to install in RHEL5 and or any fix to device mapp automatically when we plug in/out.

Thanks a lot in advance for your help.

Regards,
Sekar
 
Old 12-14-2012, 05:09 AM   #2
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
What if you do an
Code:
lsusb
before and after you plugged your device? What is the output?
 
Old 12-14-2012, 06:55 AM   #3
sekarlinux
Member
 
Registered: Dec 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
lsusb output

Before insert USB Modem:
=========================
[root@localhost ~]# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 008 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 005 Device 001: ID 0000:0000

After insert USB Modem:
========================
[root@localhost ~]# lsusb
Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 007 Device 001: ID 0000:0000
Bus 008 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 005 Device 001: ID 0000:0000
 
Old 12-14-2012, 09:03 AM   #4
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
Ok, does it work like this?

And now, try
Code:
 lsusb
when it doesn't work.

Furthermore do an
Code:
 ls -latr /var/log
that should output the last log messages so we could try to understand for which reason it stopped works.
 
Old 12-17-2012, 12:02 AM   #5
sekarlinux
Member
 
Registered: Dec 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
dmesg output

Iam trying with 4 USB modems

i have tried with modprobe usbserial command also. Now it is mapping with 2 USB modem but not with 4 Modems

[root@localhost ~]# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 008 Device 001: ID 0000:0000
Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 007 Device 001: ID 0000:0000
Bus 001 Device 003: ID 12d1:1505 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 12d1:1505 Huawei Technologies Co., Ltd.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 006 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 006 Device 001: ID 0000:0000
Bus 006 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse

DMESG :

usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
usb 1-2: new high speed USB device using ehci_hcd and address 3
ata2.00: ATAPI: TSSTcorpDVD-ROM TS-H353C, LE03, max UDMA/100, ATAPI AN
ata2.00: configured for UDMA/100
usb 1-2: configuration #1 chosen from 1 choice
ata4: SATA link down (SStatus 0 SControl 300)
Vendor: ATA Model: ST3250318AS Rev: CC6B
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
Vendor: TSSTcorp Model: DVD-ROM TS-H353C Rev: LE03
Type: CD-ROM ANSI SCSI revision: 05
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@redhat.com
device-mapper: dm-raid45: initialized v0.2594l
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
type=1404 audit(1355723556.808:2): selinux=0 auid=4294967295 ses=4294967295
input: PC Speaker as /class/input/input2
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Attached scsi generic sg1 type 5
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
Initializing USB Mass Storage driver...
usb-storage: probe of 2-3:1.0 failed with error -5
usb-storage: probe of 2-3:1.1 failed with error -5
usb-storage: probe of 2-3:1.2 failed with error -5
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: probe of 2-6:1.0 failed with error -5
usb-storage: probe of 2-6:1.1 failed with error -5
usb-storage: probe of 2-6:1.2 failed with error -5
scsi13 : SCSI emulation for USB Mass Storage devices
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
option 2-3:1.0: GSM modem (1-port) converter detected
usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
option 2-3:1.1: GSM modem (1-port) converter detected
usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
option 2-3:1.2: GSM modem (1-port) converter detected
usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
option 2-6:1.0: GSM modem (1-port) converter detected
usb 2-6: GSM modem (1-port) converter now attached to ttyUSB3
option 2-6:1.1: GSM modem (1-port) converter detected
usb 2-6: GSM modem (1-port) converter now attached to ttyUSB4
option 2-6:1.2: GSM modem (1-port) converter detected
usb 2-6: GSM modem (1-port) converter now attached to ttyUSB5
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi14 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi15 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
scsi16 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi17 : SCSI emulation for USB Mass Storage devices
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
ACPI: PCI Interrupt 0000:00:19.0[A] -> GSI 16 (level, low) -> IRQ 185
PCI: Setting latency timer of device 0000:00:19.0 to 64
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
eth0: (PCI Express:2.5GB/s:Width x1) 50:e5:49:71:3f:97
eth0: Intel(R) PRO/1000 Network Connection
eth0: MAC: 8, PHY: 8, PBA No: ffffff-0ff
PCI: Enabling device 0000:00:1f.3 (0001 -> 0003)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 169
sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 185
PCI: Setting latency timer of device 0000:00:1b.0 to 64
input: HDA Digital PCBeep as /class/input/input3
FDC 0 is a post-1991 82077
lp: driver loaded but no devices found
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Vendor: HUAWEI Model: TF CARD Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
sd 9:0:0:0: Attached scsi removable disk sdb
sd 9:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
Vendor: HUAWEI Model: TF CARD Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
Vendor: HUAWEI Model: TF CARD Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
sd 13:0:0:0: Attached scsi removable disk sdc
sd 13:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
Vendor: HUAWEI Model: TF CARD Storage Rev: 2.31
Type: Direct-Access ANSI SCSI revision: 02
sd 15:0:0:0: Attached scsi removable disk sdd
sd 15:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
sr1: scsi-1 drive
sr 14:0:0:0: Attached scsi CD-ROM sr1
sr 14:0:0:0: Attached scsi generic sg5 type 5
usb-storage: device scan complete
sd 17:0:0:0: Attached scsi removable disk sde
sd 17:0:0:0: Attached scsi generic sg6 type 0
usb-storage: device scan complete
sr2: scsi-1 drive
sr 16:0:0:0: Attached scsi CD-ROM sr2
sr 16:0:0:0: Attached scsi generic sg7 type 5
usb-storage: device scan complete
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on dm-0, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 5406712k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 across:5406712k
IA-32 Microcode Update Driver: v1.14a <tigran@veritas.com>
ADDRCONF(NETDEV_UP): eth0: link is not ready
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 185
[drm] Initialized i915 1.8.0 20060929 on minor 0
set status page addr 0x07fff000
 
Old 12-18-2012, 03:07 AM   #6
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
This is a low-level matter, i guess maybe hardware. Aside to suggest you non-technical things (like trying the same on Rhel6 or another machine) maybe it's better if someone else will try to give a suggestion cause i'm still learning
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using two ADSL USB modems at the same time dariolinux Linux - Networking 1 12-09-2010 07:56 PM
Network device Memory mapped or Port mapped ?? Bignon Linux - Hardware 0 10-20-2009 08:36 AM
Method to determine if a device is a usb device (RHEL5 / RHEL6) mholden64 Linux - Kernel 4 08-15-2009 07:45 PM
have multiple Option USB modems in one computer? theVOID Linux - Hardware 1 02-07-2008 10:02 PM
which device in /dev is mapped to an USB device malo_umoran Slackware 4 07-31-2005 01:12 PM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration