LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-30-2007, 07:57 AM   #1
redarrow
Member
 
Registered: Jul 2005
Location: South Africa
Distribution: Fedora Core
Posts: 32

Rep: Reputation: 15
Haldaemon causing problems with my Huawei E220 USB HSDPA modem.


I have a Huawei E220 USB 3G/HSDPA modem..

It always worked relatively hassle free..

But recently when I updated from Fedora Core 7 to Fedora Core 8 a new problem was introduced:


If "haldaemon" is running when I plug it in then it will not initialize properly and I get loads of errors like this:
Code:
Dec 22 16:06:52 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:06:52 localhost kernel: scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Dec 22 16:06:52 localhost kernel: sr2: scsi-1 drive
Dec 22 16:06:52 localhost kernel: sr 7:0:0:0: Attached scsi generic sg3 type 5
Dec 22 16:08:01 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:08:16 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:08:31 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:08:31 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:08:47 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:02 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:02 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:09:12 localhost kernel: usb 3-2: device not accepting address 3, error -110
Dec 22 16:09:13 localhost kernel: usb 3-2: reset full speed USB device using uhci_hcd and address 3
Dec 22 16:09:23 localhost kernel: usb 3-2: device not accepting address 3, error -110
Dec 22 16:09:23 localhost kernel: sr 7:0:0:0: scsi: Device offlined - not ready after error recovery
Dec 22 16:09:23 localhost kernel: sr 7:0:0:0: rejecting I/O to offline device
Dec 22 16:09:23 localhost kernel: usb 3-2: USB disconnect, address 3
Dec 22 16:09:23 localhost kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Dec 22 16:09:23 localhost kernel: option 3-2:1.0: device disconnected
Dec 22 16:09:23 localhost kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Dec 22 16:09:23 localhost kernel: option 3-2:1.1: device disconnected
Dec 22 16:09:23 localhost kernel: scsi 7:0:0:0: rejecting I/O to dead device
Dec 22 16:09:23 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 4
Dec 22 16:09:38 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:53 localhost kernel: usb 3-2: device descriptor read/64, error -110
Dec 22 16:09:54 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 5
Dec 22 16:10:09 localhost kernel: usb 3-2: device descriptor read/64, error -110
If I stop haldaemon ("/etc/init.d/haldaemon stop") and only then plug it in, then it initializes correctly and I can successfully connect:
Code:
Dec 30 10:24:06 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 2
Dec 30 10:24:06 localhost kernel: usb 3-2: configuration #1 chosen from 1 choice
Dec 30 10:24:06 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Dec 30 10:24:06 localhost kernel: usb 3-2: USB disconnect, address 2
Dec 30 10:24:07 localhost kernel: usbcore: registered new interface driver usbserial
Dec 30 10:24:07 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Dec 30 10:24:07 localhost kernel: usbcore: registered new interface driver usbserial_generic
Dec 30 10:24:07 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Dec 30 10:24:07 localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
Dec 30 10:24:07 localhost kernel: usbcore: registered new interface driver option
Dec 30 10:24:07 localhost kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
Dec 30 10:24:07 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 3
Dec 30 10:24:07 localhost kernel: usb 3-2: configuration #1 chosen from 1 choice
Dec 30 10:24:07 localhost kernel: usb-storage: probe of 3-2:1.0 failed with error -5
Dec 30 10:24:07 localhost kernel: option 3-2:1.0: GSM modem (1-port) converter detected
Dec 30 10:24:07 localhost kernel: usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
Dec 30 10:24:07 localhost kernel: usb-storage: probe of 3-2:1.1 failed with error -5
Dec 30 10:24:07 localhost kernel: option 3-2:1.1: GSM modem (1-port) converter detected
Dec 30 10:24:07 localhost kernel: usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
Dec 30 10:24:07 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Dec 30 10:24:12 localhost kernel: scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Dec 30 10:24:12 localhost kernel: sr2: scsi-1 drive
Dec 30 10:24:12 localhost kernel: sr 5:0:0:0: Attached scsi generic sg3 type 5
Dec 30 10:24:13 localhost kernel: PPP generic driver version 2.4.2
Dec 30 10:24:13 localhost pppd[2629]: pppd 2.4.4 started by root, uid 0
Dec 30 10:24:13 localhost pppd[2629]: Using interface ppp0
Dec 30 10:24:13 localhost pppd[2629]: Connect: ppp0 <--> /dev/ttyUSB0
Dec 30 10:24:13 localhost pppd[2629]: CHAP authentication succeeded
Dec 30 10:24:13 localhost pppd[2629]: CHAP authentication succeeded
Dec 30 10:24:13 localhost kernel: PPP Deflate Compression module registered
Dec 30 10:24:17 localhost pppd[2629]: Could not determine remote IP address: defaulting to 10.64.64.64
Dec 30 10:24:17 localhost pppd[2629]: local  IP address 172.28.10.175
Dec 30 10:24:17 localhost pppd[2629]: remote IP address 10.64.64.64
Anyone have any ideas whats going on?
I don't know if this is a kernel issue a haldaemon issue or perhaps a Fedora Core specific issue?

At the very least, is it possible to somehow specify that haldaemon should completely ignore this device when it's plugged in?

Leaving haldaemon permanently disabled does not seem like the correct solution..

(Kernel version is: 2.6.23.1)

Thanks.
 
Old 01-05-2008, 04:51 AM   #2
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
well maybe you should just initiate hald again once you've connected, or better yet, write a shell app that you run when you want to plug it in which disables hald just long enough to connect then re-engages it, without hald, your applications will essentially start fighting eachother for resources
 
Old 01-05-2008, 06:03 AM   #3
redarrow
Member
 
Registered: Jul 2005
Location: South Africa
Distribution: Fedora Core
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Person_1873 View Post
well maybe you should just initiate hald again once you've connected, or better yet, write a shell app that you run when you want to plug it in which disables hald just long enough to connect then re-engages it, without hald, your applications will essentially start fighting eachother for resources
Thanks for answering!

Unfortunately that doesn't work.. if I restart haldaemon after I've connected, it just "de-initialises" the modem and produces the same errors..
It also makes no difference whether the modem was connected to the net or not - if it is connected to the net when I restart haldaemon, then the connection just dies..
 
Old 01-06-2008, 08:45 AM   #4
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
maybe if you install the old HALd from F7?

by the way, fedora have now dropped the "core" from their distrobution name, since F7, it went from FC6 to F7

Last edited by Person_1873; 01-06-2008 at 08:46 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
huawei e220 and SMS messages Mr.mick-duck Linux - Wireless Networking 1 07-13-2009 12:07 PM
Installing ZTE MF620 HSDPA USB Modem melinda_sayang Linux - Hardware 0 10-18-2007 10:37 PM
wvdial and 3G data card HSDPA HUAWEI E620 abodana Linux - Networking 2 07-20-2007 01:52 AM
How to Set-Up USB ADSL Router (Modem)(Huawei Quidway WA1003A) mavv Linux - Networking 1 08-11-2006 01:07 PM
USB Modem Driver Reqd for Huawei Quidway WA 1003A mavv Linux - Software 1 08-11-2006 01:14 AM


All times are GMT -5. The time now is 08:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration