[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2021-09-19 Thread Oleg Moiseichuk
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength   

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2016-11-11 Thread Josua Dietze
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type  

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2016-11-10 Thread udippel
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-23 Thread Josua Dietze
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type  

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-23 Thread Josua Dietze
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report 

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-23 Thread Andrew Simpson
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-21 Thread ikletti
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-21 Thread Josua Dietze
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/device/host*/targetX:X:X/X:X:X:X

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-21 Thread Josua Dietze
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/device/host*/targetX:X:X/X:X:X:X

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in usb-modeswitch package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2012-10-16 Thread Andrew Simpson
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in “usb-modeswitch” package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** 

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2012-09-22 Thread Josua Dietze
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in “usb-modeswitch” package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass  1 Boot Interface Subclass
    bInterfaceProtocol  2 Mouse
    iInterface  0
  HID Device Descriptor:
    bLength 9
    bDescriptorType33
    bcdHID   1.10
    bCountryCode0 Not supported
    bNumDescriptors 1
    bDescriptorType34 Report
    wDescriptorLength  64
   Report Descriptors:
     ** UNAVAILABLE **
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2012-09-20 Thread sko
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 Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/755342

Title:
  Samsung Xcover 271 B2710 mass storage does not mount automatically

Status in “usb-modeswitch” package in Ubuntu:
  Fix Released

Bug description:
  Steps to reproduce:
  1. In the interface of the Samsung Xcover 271 B2710, set it to connect as 
mass storage.
  2. Connect it to the computer via USB cabel.

  Notice that it does not mount automatically. Also it does mount
  automatically when instead of step 1 it is set to connect to Samsung
  Kies or to sync with a media player.

  Below I provide output from dmesg and lsusb -vv.

  Output from dmesg as it is connected (step 2):
  [101332.680133] usb 2-6: new high speed USB device using ehci_hcd and address 
6
  [101333.630726] Initializing USB Mass Storage driver...
  [101333.630861] scsi5 : usb-storage 2-6:1.0
  [101333.630956] usbcore: registered new interface driver usb-storage
  [101333.630958] USB Mass Storage support registered.

  Output from lsusb -vv:
  Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   1.10
    bDeviceClass9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize064
    idVendor   0x1d6b Linux Foundation
    idProduct  0x0001 1.1 root hub
    bcdDevice2.06
    iManufacturer   3
    iProduct2
    iSerial 1
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   25
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xe0
    Self Powered
    Remote Wakeup
  MaxPower0mA
  Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber0
    bAlternateSetting   0
    bNumEndpoints   1
    bInterfaceClass 9 Hub
    bInterfaceSubClass  0 Unused
    bInterfaceProtocol  0 Full speed (or root) hub
    iInterface  0
    Endpoint Descriptor:
  bLength 7
  bDescriptorType 5
  bEndpointAddress 0x81  EP 1 IN
  bmAttributes3
    Transfer TypeInterrupt
    Synch Type   None
    Usage Type   Data
  wMaxPacketSize 0x0002  1x 2 bytes
  bInterval 255
  can't get hub descriptor: Operation not permitted
  cannot read device status, Operation not permitted (1)

  Bus 006 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
  Device Descriptor:
    bLength18
    bDescriptorType 1
    bcdUSB   2.00
    bDeviceClass0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor   0x046d Logitech, Inc.
    idProduct  0xc01b MX310 Optical Mouse
    bcdDevice   18.00
    iManufacturer   1
    iProduct2
    iSerial 0
    bNumConfigurations  1
    Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   34
  bNumInterfaces  1
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
    (Bus Powered)
    Remote Wakeup
  MaxPower   98mA
  Interface Descriptor: