Re: Problem with ebook reader on usb

2013-12-23 Thread Hans Petter Selasky

On 12/23/13 15:23, Marc UBM wrote:

On Sun, 8 Dec 2013 22:54:25 +0100
Marc "UBM" Bocklet  wrote:


On Sun, 8 Dec 2013 22:44:33 +0100
Marc "UBM" Bocklet  wrote:



Hiho! :-)

I got myself a new ebook reader (Onyx M92), but encountered a strange
problem when connecting it to my freebsd machine. Shortly after
mounting it, the device gets disconnected (causing the mounted storage
to disappear). There is no such behavior with Windows 7.

uname -a:
FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #11
r258254M: Sun Nov 17 13:38:01 CET 2013
xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64


Following up:

With

FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #16
r258254:259095M: Sun Dec 15 08:53:22 CET 2013
xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64

the problem has disappeared.


Hi,

Thank you! Probably one of the XHCI patches.

--HPS

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


Re: Problem with ebook reader on usb

2013-12-23 Thread Marc UBM
On Sun, 8 Dec 2013 22:54:25 +0100
Marc "UBM" Bocklet  wrote:

> On Sun, 8 Dec 2013 22:44:33 +0100
> Marc "UBM" Bocklet  wrote:
> 
> > 
> > Hiho! :-)
> > 
> > I got myself a new ebook reader (Onyx M92), but encountered a strange
> > problem when connecting it to my freebsd machine. Shortly after
> > mounting it, the device gets disconnected (causing the mounted storage
> > to disappear). There is no such behavior with Windows 7.
> > 
> > uname -a:
> > FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #11
> > r258254M: Sun Nov 17 13:38:01 CET 2013
> > xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64

Following up:

With

FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #16
r258254:259095M: Sun Dec 15 08:53:22 CET 2013
xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64

the problem has disappeared.


Bye
Marc
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Problem with ebook reader on usb

2013-12-08 Thread Marc UBM
On Sun, 8 Dec 2013 22:44:33 +0100
Marc "UBM" Bocklet  wrote:

> 
> Hiho! :-)
> 
> I got myself a new ebook reader (Onyx M92), but encountered a strange
> problem when connecting it to my freebsd machine. Shortly after
> mounting it, the device gets disconnected (causing the mounted storage
> to disappear). There is no such behavior with Windows 7.
> 
> uname -a:
> FreeBSD xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #11
> r258254M: Sun Nov 17 13:38:01 CET 2013
> xxx:/usr/obj/usr/src/sys/SUBMARINE_SMP  amd64
> 
> 
> The device identifies as follows:
> 
> Dec  2 17:45:51 ubm kernel: ugen4.2:  with fsl-usb2-udc> at usbus4 
> 
> Dec  2 17:45:51 ubm kernel: umass0:  on usbus4 
> 
> Dec  2 17:45:51 ubm kernel: da0 at umass-sim0 bus 0 scbus3 target 0 lun
> 0 
> 
> Dec  2 17:45:51 ubm kernel: da0: 
> Removable Direct Access SCSI-2 device 
> 
> Dec  2 17:45:51 ubm kernel: da0:40.000MB/s transfers 
> 
> Dec  2 17:45:51 ubm kernel: da0: 3156MB (6463552 512 byte sectors: 255H
> 63S/T 402C) 
> 
> Dec  2 17:45:51 ubm kernel: da0: quirks=0x2
> 
> I tried setting (widly guessing):
> hw.usb.power_timeout: 30 -> 0
> hw.usb.no_cs_fail: 0 -> 1
> 
> but to no avail.
> 
> Setting "hw.usb.debug: 1" yields no additional output.
> 
> usbconfig dump_device_desc yields:
> ugen4.2:  fsl-usb2-udc> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
> 
>   bLength = 0x0012 
>   bDescriptorType = 0x0001 
>   bcdUSB = 0x0200 
>   bDeviceClass = 0x 
>   bDeviceSubClass = 0x 
>   bDeviceProtocol = 0x 
>   bMaxPacketSize0 = 0x0040 
>   idVendor = 0x0525 
>   idProduct = 0xa4a5 
>   bcdDevice = 0x0326 
>   iManufacturer = 0x0001 fsl-usb2-udc> iProduct = 0x0002  
>   iSerialNumber = 0x0003  <3230204E6F76>
>   bNumConfigurations = 0x0001 
> 
> Anybody got any ideas? :-)

Some further data: the mass storage usually remains mounted if there
is NO read/write activity. Read activity seems to immediately cause a
disconnect. Writing behaves differently, I just managed to copy a 1.4M
file onto it, it disconnected seconds after finishing. The copied file
is not corrupted.

Bye
Marc
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"