Re: [Bugme-new] [Bug 12367] New: Nokia 5310 Xpress usb-storage not mounting "again"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Mon,  5 Jan 2009 13:04:33 -0800 (PST)
bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=12367
> 
>            Summary: Nokia 5310 Xpress usb-storage not mounting "again"
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.28
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@xxxxxxxxx
>         ReportedBy: jburda@xxxxxxxx
> 
> 
> Latest working kernel version: N/A
> Earliest failing kernel version: N/A
> Distribution: ArchLinux
> Hardware Environment: USB(ohci,ehci)
> Software Environment: gcc 4.3.2, glibc 2.9
> Problem Description:
> 
> I just pluged in my recently bought Nokia 5310 and nothing happend.
> Dmesg says:
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> Initializing USB Mass Storage driver...
> scsi2 : SCSI emulation for USB Mass Storage devices
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> scsi 2:0:0:0: Direct-Access     Nokia    Nokia 5310 Xpres 0000 PQ: 0 ANSI: 4
> sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
> sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
>  sdb:
> sd 2:0:0:0: [sdb] Attached SCSI removable disk
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> usb-storage: device scan complete
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> ....
> 
> This behavior is same as in bug 12099, but according to lsusb:
> lsusb -vs 001:002                      
> 
> Bus 001 Device 002: ID 0421:006a Nokia Mobile Phones 
> Device Descriptor:                                   
>   bLength                18                          
>   bDescriptorType         1                          
>   bcdUSB               2.00                          
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0                             
>   bDeviceProtocol         0                             
>   bMaxPacketSize0        64                             
>   idVendor           0x0421 Nokia Mobile Phones         
>   idProduct          0x006a                             
>   bcdDevice            8.32
>   iManufacturer           1
>   iProduct                2
>   iSerial                 3
>   bNumConfigurations      1
> 
> my new Nokia 5310 has newer firmware 8.32.
> 
> So this fixed this bug on my computer:
> -- linux-2.6.28/drivers/usb/storage/unusual_devs.h
> +++ linux-2.6.28-NOKIA/drivers/usb/storage/unusual_devs.h
> @@ -182,7 +182,7 @@
>                 US_FL_FIX_CAPACITY ),
> 
>  /* Patch for Nokia 5310 capacity */
> -UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0701,
> +UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0832,
>                 "Nokia",
>                 "5310",
>                 US_SC_DEVICE, US_PR_DEVICE, NULL,
> 
> 
> 
> Steps to reproduce:
> plug in nokia 5310 via usb with fimware v. 8.32

Thanks, but please submit patches via email, as per
Documentation/SubmittingPatches?

Suitable recipients for this patch would be:

linux-usb@xxxxxxxxxxxxxxx
Greg KH <greg@xxxxxxxxx>
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux