Re: [PATCH] New unusual device: Nokia 6288

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sat, 24 Feb 2007, Andrew Nayenko wrote:

> > What happens when you try to use the 6288 without US_FL_MAX_SECTORS_64?
> 
> cp hangs when I try to read a big file (about 90KB or larger, 84KB or smaller files are read with no problems) from the phone. For example (excuse me long listing):

...
> write(4, "\221\354r\0\0S&Z\336\365\375\257:\313 .\2\\`\36\36 r\201"..., 4096) = 4096
> read(3, 
> =================== end of trace ===================
> 
> After that cp just hangs and dmesg says the following:
> 
> ================== begin of dmesg ==================
> usb 4-1: new full speed USB device using uhci_hcd and address 3
> usb 4-1: configuration #1 chosen from 1 choice
> scsi1 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 3
> usb-storage: waiting for device to settle before scanning
> scsi 1:0:0:0: Direct-Access     Nokia    Nokia 6288       0000 PQ: 0 ANSI: 4
> SCSI device sda: 1000449 512-byte hdwr sectors (512 MB)
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
> SCSI device sda: 1000449 512-byte hdwr sectors (512 MB)
> sda: test WP failed, assume Write Enabled
> sda: assuming drive cache: write through
>  sda:
> sd 1:0:0:0: Attached scsi removable disk sda
> sd 1:0:0:0: Attached scsi generic sg0 type 0
> usb-storage: device scan complete
> sda: Current: sense key: No Sense
>     Additional sense: No additional sense information
> sda: Current: sense key: No Sense
>     Additional sense: No additional sense information
> usb 4-1: reset full speed USB device using uhci_hcd and address 3
> =================== end of dmesg ======================
> 
> Sometimes the last line of dmesg ("usb 4-1: reset full speed") is missing.
> 
> With US_FL_MAX_SECTORS_64 everything works fine. Nokia 6288 is
> internally almost the same as Nokia 6233 (both are built on the Series40
> v3 platform), so I think it has the same issue as 6233.

Sounds good to me.  Phil, can you please take care of this?

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.