Re: 3G dongle getting detected as USB disk on Fedora 18

2014-01-01 Thread Soham Chakraborty
Alright, I learned about usb_modeswitch and usb_modeswitch_data and after
hell lot of poking with libusb and friends, got some inspiration. But, then
again.

[root@blah ~]# cat /etc/usb_modeswitch.d/19d2\:0154 | grep MessageContent
MessageContent=5553424312345678061e00
MessageContent2=5553424312345679061b000200
[root@blah ~]# usb_modeswitch --default-vendor 0x19d2 --default-product
0x0154 --message-content
5553424312345679061b000200
Looking for default devices ...
 No devices in default mode found. Nothing to do. Bye.

[root@blah ~]# usb_modeswitch --default-vendor 0x19d2 --default-product
0x0154 --message-content
5553424312345678061e00
Looking for default devices ...
 No devices in default mode found. Nothing to do. Bye.

Thoughts please.


On Wed, Jan 1, 2014 at 7:03 PM, Soham Chakraborty 
sohamwonderpik...@gmail.com wrote:

 Afternoon folks,

 I know that Fedora 18 is kinda obsolete but for a number of reasons, I
 have to stick to it for the time being. However, I am quite sure that this
 problem/behavior isn't restricted to F18. But since I am using that, ought
 to say that.

 So, here is the problem.

 I have a ZTE K3800 dongle which I use for wireless/3G connection, provided
 by Vodafone. When I plugin the device, it prompts to connect and works.
 Problem is, as soon as I connect, systemd sends a signal 15 to
 network-manager and the applet disappears from system tray. Therefore, if I
 try to configure VPN, I find no option. Note that, I am only trying to
 configure from the nm-applet.

 lsusb shows me this

 Bus 001 Device 005: ID 19d2:0117 ZTE WCDMA Technologies MSM
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   2.00
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   idVendor   0x19d2 ZTE WCDMA Technologies MSM
   idProduct  0x0117
   bcdDevice0.00
   iManufacturer   3 ZTE,Incorporated
   iProduct2 ZTE WCDMA Technologies MSM
   iSerial 4 MF6560ZTED01

 Now, when I insert the device, I get this.

 Jan  1 18:50:52 blah kernel: [22130.542240] usb 1-1.2: new high-speed USB
 device number 8 using ehci-pci
 Jan  1 18:50:52 blah kernel: [22130.564586] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:52 blah kernel: [22130.629979] usb 1-1.2: New USB device
 found, idVendor=19d2, idProduct=0154
 Jan  1 18:50:52 blah kernel: [22130.629986] usb 1-1.2: New USB device
 strings: Mfr=3, Product=2, SerialNumber=4
 Jan  1 18:50:52 blah kernel: [22130.629990] usb 1-1.2: Product: ZTE WCDMA
 Technologies MSM
 Jan  1 18:50:52 blah kernel: [22130.629994] usb 1-1.2: Manufacturer:
 ZTE,Incorporated
 Jan  1 18:50:52 blah kernel: [22130.629997] usb 1-1.2: SerialNumber:
 MF6560ZTED01
 Jan  1 18:50:52 blah kernel: [22130.631836] usb-storage 1-1.2:1.0: USB
 Mass Storage device detected
 Jan  1 18:50:52 blah kernel: [22130.631937] scsi10 : usb-storage 1-1.2:1.0
 Jan  1 18:50:52 blah mtp-probe[12945]: checking bus 1, device 8:
 /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.2
 Jan  1 18:50:52 blah mtp-probe[12945]: bus: 1, device: 8 was not an MTP
 device
 Jan  1 18:50:52 blah kernel: [22130.689135] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:52 blah kernel: [22130.813677] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:53 blah kernel: [22130.938233] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:53 blah kernel: [22131.062770] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:53 blah logger: usb_modeswitch: using overriding config file
 /etc/usb_modeswitch.d/19d2:0154; make sure this is intended
 Jan  1 18:50:53 blah logger: usb_modeswitch: please report any new or
 corrected settings; otherwise, check for outdated files
 Jan  1 18:50:53 blah kernel: [22131.187307] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:53 blah kernel: [22131.311846] nouveau W[
 PFIFO][:01:00.0] INTR 0x0100: 0x0011
 Jan  1 18:50:53 blah usb_modeswitch: switching device 19d2:0154 on 001/008

 Note that it switches to 19d2:0154 which is

 # cat /etc/usb_modeswitch.d/19d2\:0154
 # ZTE MF190 (Variant) and others

 TargetVendor=  0x19d2
 TargetProductList=0017,0117


 MessageContent=5553424312345678061e00

 MessageContent2=5553424312345679061b000200
 NeedResponse=1

 I checked in /lib/udev/rules.d/ to see whether I can find anything but not
 much success.

 BTW, this article gives some clues but I don't have the configPack.tar.gz
 file to clone.
 http://simko.home.cern.ch/simko/usb-3g-modem.html


 Any help will be appreciated. Also, 

Re: 3G dongle getting detected as USB disk on Fedora 18

2014-01-01 Thread poma
On 01.01.2014 14:33, Soham Chakraborty wrote:
 Afternoon folks,
 
 I know that Fedora 18 is kinda obsolete but for a number of reasons, I have
 to stick to it for the time being. However, I am quite sure that this
 problem/behavior isn't restricted to F18. But since I am using that, ought
 to say that.
 
 So, here is the problem.
 
 I have a ZTE K3800 dongle which I use for wireless/3G connection, provided
 by Vodafone. When I plugin the device, it prompts to connect and works.
 Problem is, as soon as I connect, systemd sends a signal 15 to
 network-manager and the applet disappears from system tray. Therefore, if I
 try to configure VPN, I find no option. Note that, I am only trying to
 configure from the nm-applet.

kernel:
-3.11.10-100.fc18
-3.12.5-302.fc20

systemd:
-201-2.fc18.9
-208-9.fc20

usb_modeswitch:
-1.2.5-1.fc18
-1.2.7-3.fc20

usb_modeswitch-data:
-20121109-1.fc18
-20131113-1.fc20

ModemManager:
-0.6.2.0-1.fc18
-1.1.0-2.git20130913.fc20

NetworkManager:
-0.9.8.2-1.fc18
-0.9.9.0-22.git20131003.fc20

Reminder: Fedora 18 end of life on 2014-01-14
https://lists.fedoraproject.org/pipermail/announce/2013-December/003189.html

Announcing the release of Fedora 20.
https://lists.fedoraproject.org/pipermail/announce/2013-December/003187.html


Each such device  firmware is a story in itself, so

/usr/share/doc/usb_modeswitch/
/usr/share/doc/usb_modeswitch-data/

USB_ModeSwitch
http://www.draisberghof.de/usb_modeswitch/

ModeSwitchForum
http://www.draisberghof.de/usb_modeswitch/bb/

Development discussions about ModemManager
http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

NetworkManager discussions
https://mail.gnome.org/mailman/listinfo/networkmanager-list

When you talk to devs, always engage latest  greatest - Rawhide. :)
Good look.


poma

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: 3G dongle getting detected as USB disk on Fedora 18

2014-01-01 Thread Soham Chakraborty
I know man but I cannot update. Because I have to stick to the policies
laid down by the internal IT team.

Nice comparisons you provided though ;) I will go over the links pretty
soon.

On another note, this looks like a pretty mundane problem, right. I mustn't
b the first guy to hit this.


On Wed, Jan 1, 2014 at 9:14 PM, poma pomidorabelis...@gmail.com wrote:

 On 01.01.2014 14:33, Soham Chakraborty wrote:
  Afternoon folks,
 
  I know that Fedora 18 is kinda obsolete but for a number of reasons, I
 have
  to stick to it for the time being. However, I am quite sure that this
  problem/behavior isn't restricted to F18. But since I am using that,
 ought
  to say that.
 
  So, here is the problem.
 
  I have a ZTE K3800 dongle which I use for wireless/3G connection,
 provided
  by Vodafone. When I plugin the device, it prompts to connect and works.
  Problem is, as soon as I connect, systemd sends a signal 15 to
  network-manager and the applet disappears from system tray. Therefore,
 if I
  try to configure VPN, I find no option. Note that, I am only trying to
  configure from the nm-applet.

 kernel:
 -3.11.10-100.fc18
 -3.12.5-302.fc20

 systemd:
 -201-2.fc18.9
 -208-9.fc20

 usb_modeswitch:
 -1.2.5-1.fc18
 -1.2.7-3.fc20

 usb_modeswitch-data:
 -20121109-1.fc18
 -20131113-1.fc20

 ModemManager:
 -0.6.2.0-1.fc18
 -1.1.0-2.git20130913.fc20

 NetworkManager:
 -0.9.8.2-1.fc18
 -0.9.9.0-22.git20131003.fc20

 Reminder: Fedora 18 end of life on 2014-01-14

 https://lists.fedoraproject.org/pipermail/announce/2013-December/003189.html

 Announcing the release of Fedora 20.

 https://lists.fedoraproject.org/pipermail/announce/2013-December/003187.html


 Each such device  firmware is a story in itself, so

 /usr/share/doc/usb_modeswitch/
 /usr/share/doc/usb_modeswitch-data/

 USB_ModeSwitch
 http://www.draisberghof.de/usb_modeswitch/

 ModeSwitchForum
 http://www.draisberghof.de/usb_modeswitch/bb/

 Development discussions about ModemManager
 http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

 NetworkManager discussions
 https://mail.gnome.org/mailman/listinfo/networkmanager-list

 When you talk to devs, always engage latest  greatest - Rawhide. :)
 Good look.


 poma

 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org