Discuss EVDO PCMCIA Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards. Discuss Sprint & Verizon Coverage. CradlePoint CTR350, CTR500, PHS300, MBR900, MBR1000, MBR1200, PHS300. Discuss Improving signal with 3Gstore Antennas and Amplifiers.
EVDOforums.com
Discussion forum for EVDO users
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   Login with Facebook 
Our sites Include: EVDO Info :: EVDO Forums :: EVDO Maps :: 3Gstore Blog :: 3Gstore.com

To purchase your EVDO Card / Antenna / Amplifier / Router from the EVDO Experts, just contact us!




Follow Us On:

twitter FaceBook EVDOinfo.com

[SOLVED] Sprint/Sierra 598u - USB won't enumerate the modem

Goto page 1, 2  Next  
Post new topic   Reply to topic    EVDOforums.com Forum Index -> 3G/4G USB Modems
View previous topic :: View next topic  
Author Message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Thu Jul 02, 2009 8:21 pm    Post subject: [SOLVED] Sprint/Sierra 598u - USB won't enumerate the modem Reply with quote

[ Note that I've long since solved this problem; hopefully this thread will serve as useful documentation for someone else who has the problem, as well as that I'm a gigantic tool sometimes. :-) --baylink ]

I've just bought a Sierra 598 USB dongle from Sprint, and while it seems to work ok in Windows, and I see reports that it should work in Linux, mine won't.

I've updated my sierra.ko driver to 1.7.0, using the version pertinent to my OpenSUSE kernel:

$ uname -a
Linux elphaba 2.6.25.20-0.4-pae #1 SMP 2009-06-01 09:57:12 +0200 i686 i686 i386 GNU/Linux

And when I plug the dongle in, this is what dmesg drops in my syslog:

Jul 1 23:48:12 elphaba kernel: hub 5-0:1.0: unable to enumerate USB device on port 3
Jul 1 23:48:13 elphaba kernel: usb 2-1: new full speed USB device using uhci_hcd and address 8
Jul 1 23:48:13 elphaba kernel: usb 2-1: configuration #1 chosen from 1 choice
Jul 1 23:48:13 elphaba kernel: scsi11 : SCSI emulation for USB Mass Storage devices
Jul 1 23:48:13 elphaba kernel: usb 2-1: New USB device found, idVendor=1199, idProduct=0fff
Jul 1 23:48:13 elphaba kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 1 23:48:13 elphaba kernel: usb 2-1: Product: USB MMC Storage
Jul 1 23:48:13 elphaba kernel: usb 2-1: Manufacturer: Sierra Wireless
Jul 1 23:48:13 elphaba kernel: usb 2-1: SerialNumber: SWOC22905731
Jul 1 23:48:13 elphaba kernel: usb-storage: device found at 8
Jul 1 23:48:13 elphaba kernel: usb-storage: waiting for device to settle before scanning
Jul 1 23:48:14 elphaba kernel: scsi 11:0:0:0: CD-ROM Aircard TRU-Install 2.31 PQ:
0 ANSI: 0
Jul 1 23:48:14 elphaba kernel: sr1: scsi3-mmc drive: 0x/0x caddy
Jul 1 23:48:14 elphaba kernel: sr 11:0:0:0: Attached scsi CD-ROM sr1
Jul 1 23:48:14 elphaba kernel: sr 11:0:0:0: Attached scsi generic sg2 type 5
Jul 1 23:48:14 elphaba kernel: scsi 11:0:0:1: Direct-Access Sierra Wireless Storage 2.31 PQ:
0 ANSI: 2
Jul 1 23:48:14 elphaba kernel: sd 11:0:0:1: [sdb] Attached SCSI removable disk
Jul 1 23:48:14 elphaba kernel: sd 11:0:0:1: Attached scsi generic sg3 type 0
Jul 1 23:48:14 elphaba kernel: usb-storage: device scan complete
Jul 1 23:48:15 elphaba kernel: ISO 9660 Extensions: Microsoft Joliet Level 1
Jul 1 23:48:15 elphaba kernel: ISOFS: changing to secondary root
Jul 1 23:48:15 elphaba hald: mounted /dev/sr1 on behalf of uid 1000

From the few other postings I've found online about this model of modem, I expect that after it finishes the usb-storage scan, it should find 3 usbserial devices, and attach them to ttyUSB0-2, and I also expect that my lsusb should show *2* entries for the modem, including 1199:0025 for the modem; it only shows one: 1199:0fff, which is the onboard storage (a flash rom for the installer code and an MicroSD slot) -- and that shows up fine.

I've gone a few rounds with Sprint, who were very polite but not very helpful, and a few more with Sierra, who were slightly less polite, and no more helpful.

I have to assume that the problem is either that the USB device is simply not responding, or that it needs to be tickled in some way; I've added the product code to the relevant line in /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi, but that didn't help either.

Is anyone here successfully using a 598u with Linux -- preferably OpenSUSE 11.0 -- who can give me a hand? My sales rep will kill me if I have to make another return this month. I already brought back a Palm Pre... :-)

I'm eventually going to run this mostly on a CTR-500, but I would like to make it work direct as well, if that's possible.


Last edited by Baylink on Sun Nov 22, 2009 9:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Thu Jul 02, 2009 8:23 pm    Post subject: Reply with quote

I should probably add that I've tried this on both on-board and on-dock USB ports with no difference, and that I did at least one full-power-off reset during the debug cycle.
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Thu Jul 02, 2009 8:23 pm    Post subject: Reply with quote

And, <sigh> that the laptop is a Lenovo ThinkPad x61. :-)
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Fri Jul 03, 2009 10:48 am    Post subject: Reply with quote

Ok, since they don't appear to be going to get my other post out of hoc (ergo propter hoc)...

I wanted to note that I have read the PDF from Sprint, which skips right over "what to do if you plug in your modem and have the right drivers and do *not* get ttyUSBx devices", as well as both the 1.3.1 and 1.7.0 knowledge base entries at Sierra's site, which *also* skip over that part.
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Sun Jul 05, 2009 9:47 pm    Post subject: Reply with quote

I did have *some* luck on this tonight.

I made sure the 0x0025 product code was in the hal file, and *rebooted* to restart hald, and the first time, it at least *saw* the serial devices... though it didn't create the ttyUSBs, probably because my udev has no entries for that.

Alas, when I added a trial line/file to the udev/rules.d for it, and rebooted, of course...

it never redetected the device again. And I wasn't smart enough to check lsusb while it *was* there, to see if both devices show up as I expect.

<sigh>

This is getting tiresome...
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Mon Jul 06, 2009 5:12 pm    Post subject: Reply with quote

I suspect I may have figured this out; I'm off to check, now.

On SuSE, either HALd, or some daemon layer above it *automatically mouts the TRU-install device filesystem*.

Since they've *just today* -- 5 days and 9 emails in -- gotten around to telling me that *the driver switches modes on the modem*, turning off the storage and on the radio (what moronic designer took *that* decision -- hint: one to whom none of my support queries were forwarded), and it's likely that fails since the device is busy.

I'll turn automounting off entirely, and see if the problem goes away.

I'm irked about this *because Sprint's shelf-talker card for this modem EXPLICITLY SAYS LINUX IS SUPPORTED*. I have a picture.

Indeed, Sprint actually did try to support me, though they had no clue what they were on about with this category of problem.

But they should certainly be being second-lined by Sierra...
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Mon Jul 06, 2009 9:50 pm    Post subject: Reply with quote

Well, the actual mounting is being done by a KDE3 service, and turning that off didn't help. But, oddly, if I unload and reload the sierra.ko module, it doesn't tickle the storage, it tickles the serial interface. But gives me *other* crap logging that isn't telling me much either (and which I can't post right now cause the battery died).

<sigh>

Is there a SUSE USB mechanic in the house??!?!?111??!ONE???!?
Back to top
View user's profile Send private message
ulfj
EVDO Newbie


Joined: 06 Jul 2009
Posts: 1

PostPosted: Tue Jul 07, 2009 8:23 am    Post subject: Reply with quote

Altho I'm not a Suse USB "mechanic" I'll do some digging for you,I"m a Ubuntu user (some folks say wizard) will post laster what I've figured out as I have some time this afternoon where I can dig into this. Sorry I couldn't be any help for now.
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Tue Jul 07, 2009 8:27 am    Post subject: Reply with quote

Well, that's better than nothing, and I appreciate it.

If you have any specific questions, hit me, and I'll set you up.

As much as anything else, if you have yours working under Ubuntu, posting snips of the relevant logs from your machine might help me out...
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Tue Jul 07, 2009 2:40 pm    Post subject: Reply with quote

Further to that, I have already read:

http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=607

and also

http://www6.sprint.com/downloads/linux/pdfs/Sprint_Mobile_broadband_Setup_Guide_for_Linux.pdf

[ Oh, look! Someone finally moderated this! :-} ]
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Fri Jul 10, 2009 11:46 am    Post subject: Reply with quote

Just no luck with this at all.

I've played some games with the driver sources, and bumped the version number around to make sure I'm insmodding the thing I want to... and I am, but no luck.

The debug parameter on the driver module, in particular, doesn't seem to do anything at all; the truinstall parameter is apparently forced on...

Completely without clue here. May have to trade it in, which would be a shame; it's pretty nice looking. (Cause, y'know, that's my most important criteria for a computer peripheral... :-)

Anyone? Anyone? Bueller??
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Sat Jul 11, 2009 9:37 am    Post subject: Reply with quote

FWIW: I picked up a standard USB serial adapter, a Prolific PL2303 based dongle, and Linux recognizes that just fine.
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Sat Jul 11, 2009 2:16 pm    Post subject: Reply with quote

The answer turns out to be -- thanks be to @spifbv on Twitter -- that hald mounts the TRUinstall storage device as /dev/sr0, even if KDE doesn't auto-open it for you, and you have to either blacklist it, or umount and eject that device to get the radio to check in.

I was almost certain this was hald's fault, I just didn't quite understand why.

I'd be reporting connection success except that the laptop spent 90 minutes moving 84GB over GigE off my work server, and only had 11% battery left after. Oops.

[ UPDATE: Worse: hald apparently will *remount* the device even after you clear it down, knocking your modem offline; so blacklisting it is actually *necessary*, not just nice. ]


Last edited by Baylink on Sat Jul 11, 2009 6:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Sat Jul 11, 2009 5:38 pm    Post subject: Reply with quote

I've filed a bug on this with freedesktop.org, which is where HAL appears to live; we'll see if they shuffle me off to SUSE/Novell.

Now to figure out how to *actually* do the blacklist so it comes up as a modem every time...[/url]
Back to top
View user's profile Send private message
Baylink
EVDO Fledgling


Joined: 28 Jun 2009
Posts: 23
Location: St Pete FL USA

PostPosted: Sat Jul 11, 2009 5:55 pm    Post subject: Reply with quote

And I'm not reporting connection success.

I now have ttyUSB0-3, but none of them, at 921600 or 230400, will reply to minitty commands or the ATI modem query. <sigh>

This appears to be because the driver's routing everything to ttyUSB1 (where you're not supposed to go), no matter which device node you use, even though each has a separate 188,x device number.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    EVDOforums.com Forum Index -> 3G/4G USB Modems All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum







Buy from the 3G/4G Experts @ 3Gstore.com


Pantech UML290 3G/4G


MBR1400


MBR95


Peplink/Pepwave


MBR1200B


3G/4G Booster Antenna


3G & 4G Amplifiers






3G and 4G routers



Digg Us :: del.icio.us :: technorati :: furl

4G :: 4G Forums :: Pepwave :: Peplink :: CradlePoint :: Wilson Electronics :: CloudCams :: MBR1400