[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
This bug still exists in Kubuntu 20.04. Samsung Xcover B2710 isn't connected properly. Long ago I fixed it on Ubuntu 12.04 by "DisableSwitching=1" and forgot about it. Now found this bugreport once again and old fix still works. If my help is needed in debugging of this issue, I'm ready. P.S. Does this disabled switching affects other USB devices somehow or only mobile phones? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
udippel, instead of ranting generally you could just use Debian instead of Ubuntu. It's likely that you would not run into this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Only as an update: As of today, it still doesn't work out of the box. The workaround fixes it. Allow me a bit of comment that sounds sarcastic, and yet bugs me as an oldtimer with 20 years on Linux: I always advocate FOSS. Should someone hit this snag, how can I honestly defend this shortcoming? Asking Aunt Tilly to search Google and end with her using the CL to vi a parameter in a file? Could I blame her on going back to the monopolist? I would defend my beloved Linux, were she the first to encounter this. Alas, it has been around for > 5 years. And I am afraid, not only this particular mobile phone will simply not work as mass storage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Hint: It may well be that there is a timing problem if the dispatcher tries to read the values when the storage driver has not completed the initialization of the storage interface. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Yes, it's correct to disable mode-switching when checking out the SCSI attributes. This is what usb_modeswitch sees when a phone/modem is plugged in. Then it has to determine if any action is required. Bottom line: The dispatcher part of the usb_modeswitch Ubuntu fork has trouble reading the SCSI attributes, which are however present and readable. I have not seen problems like this with the original (upstream) package which is also used on Debian. Ubuntu Developers? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
This is with the same phone from #14 $ cd /sys/bus/usb/drivers/usb-storage/2-1.6:1.0/host7/target7:0:0/7:0:0:0 $ cat vendor Samsung $ cat model GT-S5510T $ cat rev 2.31 I couldn't find directory 'usb-storage' in /sys/usb/drivers unless I did 'DisableSwitching=1'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
The problem is obvious in the log from #14: Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. The filter "sMo=U209" which should prevent usb_modeswitch from doing anything in this case does not work - because the SCSI identification fails. The problem is in the dispatcher part of the Ubuntu fork of usb_modeswitch. ikletti, can you check out these SCSI attributes in the /sys tree when your phone is plugged in? You'll find it under /sys/bus/usb/drivers/usb-storage//host*/targetX:X:X/X:X:X:X -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
The problem is obvious in the log from #14: Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. The filter "sMo=U209" which should prevent usb_modeswitch from doing anything in this case does not work - because the SCSI identification fails. The problem is in the dispatcher part of the Ubuntu fork of usb_modeswitch. ikletti, can you check out these SCSI attributes in the /sys tree when your phone is plugged in? You'll find it under /sys/bus/usb/drivers/usb-storage//host*/targetX:X:X/X:X:X:X -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
I can confirm that this problem still exists with Kubuntu 14.04 and a Samsung B2710. Using the fix from comment #3 works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Regarding comment #8. Can now confirm that usb_modeswitch is not working with Kubuntu 12.04. Changing the config file to 'DisableSwitching=1' provides a fix. Have enabled debugging (EnableLogging=1) and collected debugging information with 'DisableSwitching=0'. File is attached. ** Attachment added: "usb_modeswitch.log" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+attachment/3399845/+files/usb_modeswitch.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Please create a usb_modeswitch log file by editing /etc/usb_modeswitch.conf and set EnableLogging to 1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
I can confirm that the fix in ubuntu 12.04 does not fix the connection problems of a Samsung B2710 mobile phone. The phone is recognized by the kernel but does not show up as a usable device (the device file will not be created). (USB mass storage mode) After setting "DisableSwitching=1" in /etc/usb_modeswitch.conf device is working as expected. For reference: # lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader) Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 003 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter Bus 002 Device 002: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse Bus 001 Device 009: ID 04e8:f000 Samsung Electronics Co., Ltd # tar tzvf /usr/share/usb_modeswitch/configPack.tar.gz |grep 04e8 -rw-rw-r-- root/root 166 2011-11-10 23:42 04e8:689a -rw-rw-r-- root/root 142 2011-11-10 23:42 04e8:f000:sMo=U209 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Please be a little bit more specific. Why do you conclude that usb_modeswitch is responsible for the connection problems? Mind that the orignal bug was about the mass storage mode of the phone, not about connecting issues. Also, the committed fix will prevent *any* mode-switching action for this phone. Disabling usb_modeswitch will change nothing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Samsung 2710 does not connect in U-12.04. Reverted to /etc/usb_modeswitch.conf => DisableSwitching=1 for fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
This was fixed in usb-modeswitch upstream update 20111023, available in Ubuntu Precise. It affects all previous Ubuntu releases though. ** Changed in: usb-modeswitch (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
** Changed in: usb-modeswitch (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Comment #6: Works for me with Samsung GT-S5510T. The file at "/usr/share/usb_modeswitch/" is an archive "configPack.tar.gz" that contained the various settings files. [ 6917.232046] usb 1-9: new high speed USB device using ehci_hcd and address 3 [ 6917.432759] cdc_acm 1-9:1.0: ttyACM0: USB ACM device [ 6917.435607] usbcore: registered new interface driver cdc_acm [ 6917.435615] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters [ 6961.538549] usb 1-9: USB disconnect, address 3 [ 6961.904051] usb 1-9: new high speed USB device using ehci_hcd and address 4 [ 6962.091062] usbcore: registered new interface driver uas [ 6962.122318] Initializing USB Mass Storage driver... [ 6962.122516] scsi6 : usb-storage 1-9:1.0 [ 6962.124644] usbcore: registered new interface driver usb-storage [ 6962.124651] USB Mass Storage support registered. [ 6963.130812] scsi 6:0:0:0: Direct-Access Samsung GT-S5510T2.31 PQ: 0 ANSI: 2 [ 6963.137871] sd 6:0:0:0: Attached scsi generic sg3 type 0 [ 6963.139923] sd 6:0:0:0: [sdc] 3854336 512-byte logical blocks: (1.97 GB/1.83 GiB) [ 6963.141679] sd 6:0:0:0: [sdc] Write Protect is off [ 6963.141688] sd 6:0:0:0: [sdc] Mode Sense: 0f 0e 00 00 [ 6963.141693] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 6963.144672] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 6963.148547] sdc: sdc1 [ 6963.151654] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 6963.151663] sd 6:0:0:0: [sdc] Attached SCSI removable disk -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Addendum: Due to the way usb_modeswitch works, the udev rules line WILL match with all devices using the Samsung ID, but the dispatcher mechanism will NOT start the switching process except for the U209 modem. It will just exit. So commenting out the udev rule can not be considered a general fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
No reply from the original contributor, but I finally found this usb_modeswitch output via Google, after several fruitless attempts: Received inquiry data (detailed identification) - Vendor String: SAMSUNG Product String: SCH-U209 Install Revision String: 2.31 - Device description data (identification) - Manufacturer: SAMSUNG Electronics Co.,Ltd. Product: USB MMC Storage Serial No.: 0002 - The page is here, see post #14: http://forum.ubuntu-fr.org/viewtopic.php?id=370414 I consider this information correct; this enables us to identify the modem apart from the phones. I think I can assume that the USB ID strings are not specific to the modem, so the SCSI strings need to be used. The file "/usr/share/usb_modeswitch/04e8:f000" has to be renamed to "/usr/share/usb_modeswitch/04e8:f000:sMo=U209". This should do the trick and leave other Samsung devices alone. Can anyone test that fix? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
The instant "fix" is O.K. For a proper solution I need the "lsusb -v" output of the U209. usb_modeswitch can check attributes of a device (USB or SCSI) to identify specific models even if the USB IDs are identical. See the notorious "05c6:1000" ID ... I'll try to reach the original contributor of the U209 information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
Confirming the fix by Michael B also works with a Samsung S5510. The problem is with usb_mode_switch and the associated udev rules in /lib/udev.d/rules/40-usb_modeswitch.rules: # Samsung U209 #ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="f000", RUN+="usb_modeswitch '%b/%k'" These lines do not represent a unique product; the Samsung Xcover 271 B2710 and Samsung S5510 (and others??) also match this line (lsusb gives 04e8:f000). Commenting out this line fixes the problem on the Samsung 5S5510, and I would guess the Xcover 271 B2710 too. ** Package changed: linux (Ubuntu) => usb-modeswitch (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/755342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
This is a problem with the usb-modeswitch, if you disable it in /etc/usb_modeswitch.conf => DisableSwitching=1 then it works -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
This bug is still active in Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically
** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/755342 Title: Samsung Xcover 271 B2710 mass storage does not mount automatically -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs