Re: Sony Ericsson C902 unusual_devs.h

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

 



On Sun, 2 Aug 2009, Konstantin Kletschke wrote:

> Hi Folks!
> 
> In Order to get mass-storage Support working for my mobile I investigated
> the current situation under 2.6.30 with assistance of an old report this
> device needing further setup in unusual_devices.h:
> 
> http://thread.gmane.org/gmane.linux.usb.general/9987
> 
> The Mobile has ~200MB internal Flash and a micro SD Card inserted with size
> of 4GB, it is trying to offer both as two different devices. However with
> vanilla setup mounting is not possible and fdisk -l l or mount itself hangs
> forever with the kernel spitting out
> 
> Aug  2 14:00:29 punzenstreichler sd 8:0:0:0: [sdb] Sense Key : 0x0 [current]
> Aug  2 14:00:29 punzenstreichler sd 8:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
...

> Now i added this to unusual_devs.h:
> 
> UNUSUAL_DEV(  0x0fce, 0xe0d4, 0x0000, 0x0000,
>                 "Sony Ericsson",
>                 "C902",
>                 US_SC_DEVICE, US_PR_DEVICE, NULL,
>                 US_FL_FIX_CAPACITY ),
> 
> and I can mount /dev/sdc1, the device built by the inserted micro SD-Card
> and I can operate on it.

> However, the smaller sotrage device still does not work:
> 
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] Sense Key : 0x0 [current]
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] Sense Key : 0x0 [current]
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] Sense Key : 0x0 [current]
> Aug  2 14:07:58 punzenstreichler sd 10:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> 
> What should I do to get the smaller device also covered by unusual_devs.h?

Can't tell.  Please send a usbmon trace showing what happens when you 
plug the Mobile in.  (See Documentation/usb/usbmon.txt for 
instructions.)

Alan Stern

--
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