Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-16 Thread linimon
Synopsis: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

State-Changed-From-To: open-patched
State-Changed-By: linimon
State-Changed-When: Mon May 17 04:00:20 UTC 2010
State-Changed-Why: 
Set for MFC to 8.


Responsible-Changed-From-To: freebsd-usb-thompsa
Responsible-Changed-By: linimon
Responsible-Changed-When: Mon May 17 04:00:20 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146104
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-07 Thread Peter Toth
The following reply was made to PR usb/146104; it has been noted by GNATS.

From: Peter Toth peter.toth...@gmail.com
To: bug-follo...@freebsd.org, peter.toth...@gmail.com
Cc:  
Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Date: Sat, 08 May 2010 00:42:57 +1200

 I've put this line into /usr/src/sys/dev/usb/usbdevs just bellow SAMSUNG  
 YP-U2:
 product SAMSUNG YP_U4   0x5092  YP-U4 MP3 Player
 
 and added this to /usr/src/sys/dev/usb/quirk/usb_quirk.c :
 USB_QUIRK(SAMSUNG, YP_U4, 0x, 0x, UQ_MSC_NO_SYNC_CACHE),
 
 All working like a charm. Could this be included in FreeBSD 8.1?
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-07 Thread Hans Petter Selasky

See USB P4 change #177918.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-06 Thread Peter Toth
The following reply was made to PR usb/146104; it has been noted by GNATS.

From: Peter Toth peter.toth...@gmail.com
To: bug-follo...@freebsd.org, peter.toth...@gmail.com
Cc:  
Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Date: Thu, 06 May 2010 19:44:36 +1200

 Just managed to try it on FreeBSD 8.0-STABLE/i386.
 
 Works fine, although it shows some errors, see bellow.
 
 
 ugen4.2: Linux 2.4.20-stmp36xx with stmp36xx_udc at usbus4
 umass0: Linux 2.4.20-stmp36xx with stmp36xx_udc USB Mass Storage, class  
 0/0, rev 2.00/2.29, addr 2 on usbus4
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:0:0:-1: Attached to scbus0
 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
 da0: Samsung YP-U4 0229 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: 3816MB (7816992 512 byte sectors: 255H 63S/T 486C)
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
 (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -  
 auto reallocation failed)
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
 (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -  
 auto reallocation failed)
 (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
 (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -  
 auto reallocation failed)
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-06 Thread Hans Petter Selasky
On Thursday 06 May 2010 09:50:03 Peter Toth wrote:
 The following reply was made to PR usb/146104; it has been noted by GNATS.
 
 From: Peter Toth peter.toth...@gmail.com
 To: bug-follo...@freebsd.org, peter.toth...@gmail.com
 Cc:
 Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
 Date: Thu, 06 May 2010 19:44:36 +1200
 
  Just managed to try it on FreeBSD 8.0-STABLE/i386.
 
  Works fine, although it shows some errors, see bellow.
 
 
  ugen4.2: Linux 2.4.20-stmp36xx with stmp36xx_udc at usbus4
  umass0: Linux 2.4.20-stmp36xx with stmp36xx_udc USB Mass Storage, class
  0/0, rev 2.00/2.29, addr 2 on usbus4
  umass0:  SCSI over Bulk-Only; quirks = 0x
  umass0:0:0:-1: Attached to scbus0
  da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
  da0: Samsung YP-U4 0229 Removable Direct Access SCSI-2 device
  da0: 40.000MB/s transfers
  da0: 3816MB (7816992 512 byte sectors: 255H 63S/T 486C)
  (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
  auto reallocation failed)
  (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
  auto reallocation failed)
  (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
  (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
  auto reallocation failed)

Hi,

This error can be fixed by adding a quirk to:

sys/dev/usb/quirk/usb_quirk.c

Please see already existing examples for the XXX_NO_SYNC_CACHE_XXX flag for 
mass storage devices.

Information about vid+pid can be obtained from usbconfig.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-06 Thread Hans Petter Selasky
The following reply was made to PR usb/146104; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Date: Thu, 6 May 2010 10:47:43 +0200

 On Thursday 06 May 2010 09:50:03 Peter Toth wrote:
  The following reply was made to PR usb/146104; it has been noted by GNATS.
  
  From: Peter Toth peter.toth...@gmail.com
  To: bug-follo...@freebsd.org, peter.toth...@gmail.com
  Cc:
  Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
  Date: Thu, 06 May 2010 19:44:36 +1200
  
   Just managed to try it on FreeBSD 8.0-STABLE/i386.
  
   Works fine, although it shows some errors, see bellow.
  
  
   ugen4.2: Linux 2.4.20-stmp36xx with stmp36xx_udc at usbus4
   umass0: Linux 2.4.20-stmp36xx with stmp36xx_udc USB Mass Storage, class
   0/0, rev 2.00/2.29, addr 2 on usbus4
   umass0:  SCSI over Bulk-Only; quirks = 0x
   umass0:0:0:-1: Attached to scbus0
   da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
   da0: Samsung YP-U4 0229 Removable Direct Access SCSI-2 device
   da0: 40.000MB/s transfers
   da0: 3816MB (7816992 512 byte sectors: 255H 63S/T 486C)
   (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
   (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
   auto reallocation failed)
   (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
   (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
   auto reallocation failed)
   (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
   (da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:c,2 (Write error -
   auto reallocation failed)
 
 Hi,
 
 This error can be fixed by adding a quirk to:
 
 sys/dev/usb/quirk/usb_quirk.c
 
 Please see already existing examples for the XXX_NO_SYNC_CACHE_XXX flag for 
 mass storage devices.
 
 Information about vid+pid can be obtained from usbconfig.
 
 --HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-05-01 Thread Peter Toth
The following reply was made to PR usb/146104; it has been noted by GNATS.

From: Peter Toth peter.toth...@gmail.com
To: bug-follo...@freebsd.org, peter.toth...@gmail.com
Cc:  
Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Date: Sun, 02 May 2010 16:13:46 +1200

 I will install 8 stable on a spare box and report back.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-04-28 Thread Hans Petter Selasky
On Wednesday 28 April 2010 05:18:24 Peter Toth wrote:
 Number: 146104
 Category:   usb
 Synopsis:   Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
 Confidential:   no
 Severity:   non-critical
 Priority:   low
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Wed Apr 28 03:20:01 UTC 2010
 Closed-Date:
 Last-Modified:
 Originator: Peter Toth
 Release:FreeBSD 8.0 amd64
 Organization:
 Environment:
 
 FreeBSD voyager.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2
 
 Description:
 
 When attaching Samsung YP-U4 mp3 player via USB it times out. As a result
  the device is not recognized as a USB flash drive.
 
 These are the errors:
 usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED,
  ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5
  failed, USB_ERR_TIMEOUT! usbd_req_re_enumerate:1539: addr=5, set address
  failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting
  device descriptor at addr 5 failed, USB_ERR_TIMEOUT!
  usb_alloc_device:1746: Failure selecting configuration index 0:
  USB_ERR_TIMEOUT, port 4, addr 5 (ignored) ugen4.5: vendor 0x04e8 at
  usbus4
 
 How-To-Repeat:
 
 Plug in a Samsung YP-U4 mp3 player to USB port. The player has two modes
  MTP or USB removable disk, don't forget to set it to removable disk mode
  in Settings - PC connection.
 
 Fix:
 
 
 Release-Note:
 Audit-Trail:
 Unformatted:
 

Hi,

Can you try 8-stable?

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT

2010-04-28 Thread Hans Petter Selasky
The following reply was made to PR usb/146104; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: freebsd-usb@freebsd.org
Cc: Peter Toth peter.toth...@gmail.com,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/146104: Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
Date: Wed, 28 Apr 2010 09:18:53 +0200

 On Wednesday 28 April 2010 05:18:24 Peter Toth wrote:
  Number: 146104
  Category:   usb
  Synopsis:   Samsung YP-U4 mp3 player USB_ERR_TIMEOUT
  Confidential:   no
  Severity:   non-critical
  Priority:   low
  Responsible:freebsd-usb
  State:  open
  Quarter:
  Keywords:
  Date-Required:
  Class:  sw-bug
  Submitter-Id:   current-users
  Arrival-Date:   Wed Apr 28 03:20:01 UTC 2010
  Closed-Date:
  Last-Modified:
  Originator: Peter Toth
  Release:FreeBSD 8.0 amd64
  Organization:
  Environment:
  
  FreeBSD voyager.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2
  
  Description:
  
  When attaching Samsung YP-U4 mp3 player via USB it times out. As a result
   the device is not recognized as a USB flash drive.
  
  These are the errors:
  usbd_req_re_enumerate:1539: addr=5, set address failed! (USB_ERR_STALLED,
   ignored) usbd_req_re_enumerate:1553: getting device descriptor at addr 5
   failed, USB_ERR_TIMEOUT! usbd_req_re_enumerate:1539: addr=5, set address
   failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting
   device descriptor at addr 5 failed, USB_ERR_TIMEOUT!
   usb_alloc_device:1746: Failure selecting configuration index 0:
   USB_ERR_TIMEOUT, port 4, addr 5 (ignored) ugen4.5: vendor 0x04e8 at
   usbus4
  
  How-To-Repeat:
  
  Plug in a Samsung YP-U4 mp3 player to USB port. The player has two modes
   MTP or USB removable disk, don't forget to set it to removable disk mode
   in Settings - PC connection.
  
  Fix:
  
  
  Release-Note:
  Audit-Trail:
  Unformatted:
  
 
 Hi,
 
 Can you try 8-stable?
 
 --HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org