Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Jun-2008, 03:19
crisciotti
Guest
 
Posts: n/a
Default

Hi guys. So this is my problem: i bought this modem but soon i realized it's a strange beast.When i plug it,it is seen like a cd device,because under windoze this way it allows installing drivers.Now what is needed is to switch it to modem mode.I loaded usbserial with the correct vendor&device id but on way. Then i found a program called modeswitch but it does't work with this. I know it is based on a qualcom chip that is someway supported.Any help to have modem on instead of this fake cd?Thanks for reading
  #2 (permalink)  
Old 02-Jun-2008, 05:01
ferrari
Guest
 
Posts: n/a
Default

I'm using a Vodafone HSDPA /3G ExpressCard that works the same way. It also looks like a USB serial modem.

I have a udev rule (called 99-vodafone.rules) used to stop the device from mounting as a cdrom device:

Quote:
SUBSYSTEM=="block", ACTION=="add", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1003", OPTIONS="ignore_device"[/b]
Now, I had to add this line to /etc/modprobe.conf.local to get it up and running:

Quote:
options usbserial vendor=0x12d1 product=0x1003[/b]
I probably could have generated another udev rule to do this instead, but it works ok. Then I set up a new modem device with YaST and pointed at /dev/ttyUSB0, and that was it.

Hope that helps.
  #3 (permalink)  
Old 02-Jun-2008, 06:41
crisciotti
Guest
 
Posts: n/a
Default

Thanks Ferrari for your interest. I tried, but no luck. Still not finding the modem, so no ttyUSB0! Now i'm trying to sniff the traffic on the usb port under windoze to look the commands and if possible, replicate them
  #4 (permalink)  
Old 02-Jun-2008, 15:23
ferrari
Guest
 
Posts: n/a
Default

Have a look at your dmesg results when device is plugged in. I had an older model PCMCIA card (before my current device) that was a serial modem using ttyS0 instead.
  #5 (permalink)  
Old 02-Jun-2008, 17:07
crisciotti
Guest
 
Posts: n/a
Default

Hi again, Ferrari. This is the output when i plug it in:
sr: Add. Sense: No additional sense information
sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
sr: Sense Key : No Sense [current]
sr: Add. Sense: No additional sense information
sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
sr: Sense Key : No Sense [current]
sr: Add. Sense: No additional sense information
sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
sr: Sense Key : No Sense [current]
sr: Add. Sense: No additional sense information
As you can see, it is seen as a cdrom (sr).
And this what i read via tail -f /var/log/messages:
Jun 2 23:50:28 linux-suse103 kernel: sr: Add. Sense: No additional sense information
Jun 2 23:50:28 linux-suse103 kernel: sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
Jun 2 23:50:28 linux-suse103 kernel: sr: Sense Key : No Sense [current]
Jun 2 23:50:28 linux-suse103 kernel: sr: Add. Sense: No additional sense information
Jun 2 23:50:28 linux-suse103 kernel: sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
Jun 2 23:50:28 linux-suse103 kernel: sr: Sense Key : No Sense [current]
Jun 2 23:50:28 linux-suse103 kernel: sr: Add. Sense: No additional sense information
Jun 2 23:50:28 linux-suse103 kernel: sr1: CDROM (ioctl) error, command: Read TOC/PMA/ATIP 43 00 00 00 00 00 00 00 0c 00
Jun 2 23:50:28 linux-suse103 kernel: sr: Sense Key : No Sense [current]
Jun 2 23:50:28 linux-suse103 kernel: sr: Add. Sense: No additional sense information
It confirms that it's a (fake) cdrom. Well, so i tried to umount /dev/sr1 then unloading usb-storage, then modprobing airprime, instead of usbserial, wanting high-speed connection, with the correct vendor-product id. Nothing. The module is correctly loaded, it claims correctly, but the device node /dev/ttyUSB* is not created. Actually it'a kick in the ***, in fact usb_modeswitch has been created for this kind of beasts, but what differs between all of them are the scsi commands sent via usb that turn off the storage side of the device. Today i started sniffing usb traffic during the windoze session. Now i need to understand the meaning of all those exadecimal numbers. I'll post again if i figure something
 

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2