Loading...

freebsd-gnome@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Fwd: Re: calibre: kindle usb connection problem Hans Petter Selasky Thu Apr 05 04:00:22 2012

On Thursday 05 April 2012 10:26:54 Andriy Gapon wrote:
> on 02/04/2012 02:40 Joe Marcus Clarke said the following:
> > On 4/1/12 5:11 PM, Hans Petter Selasky wrote:
> >>> libusb20_be_alloc_default
> >>> libusb20_be_device_foreach
> >>> 
> >>>  libusb20_dev_get_bus_number
> >>>  libusb20_dev_get_address
> >>>  libusb20_dev_get_config_index
> >>>  libusb20_dev_get_config_index
> >> 
> >> Hi,
> >> 
> >> I think you need to open the device to be allowed to call
> >> libusb20_dev_req_string_simple_sync, like shown in the previous function
> >> call list.
> >> 
> >> Does that make sense to you?
> > 
> > It does, but I actually had that in there.  What this did help me
> > recognize is that I wasn't closing the device.  Thanks for the hint :-).
> > 
> > Andriy, can you try these two patches?
> > 
> > http://www.marcuscom.com/downloads/patch-hald_freebsd_probing_probe-usb2-
> > interface.c
> > 
> > http://www.marcuscom.com/downloads/patch-hald_freebsd_probe-usb2-device.c
> 
> I've tried them, they didn't hurt... :-)
> I've put it this way because after doing more tests I've realized that the
> correlation between hald running and the disconnect+reconnect behavior was
> just a coincidence.  I am able to reproduce the disconnect+reconnect
> behavior even without hald running.  So I guess that this clears hal of
> suspicions.  Sorry for the noise.
> 
> Hans,
> 
> I've put a usbdump file here:
> http://people.freebsd.org/~avg/kindle.usb.dump.gz This is is without hald
> running.
> The following system log messages correspond to the dump:
> Apr  2 10:49:41 trant kernel: ugen2.2: <Amazon> at usbus2
> Apr  2 10:49:41 trant kernel: umass0: <Mass Storage> on usbus2
> Apr  2 10:49:41 trant kernel: ugen2.2: <Amazon> at usbus2 (disconnected)
> Apr  2 10:49:41 trant kernel: umass0: at uhub2, port 5, addr 2
> (disconnected) Apr  2 10:49:43 trant kernel: ugen2.2: <Amazon> at usbus2
> Apr  2 10:49:43 trant kernel: umass0: <Mass Storage> on usbus2
> Apr  2 10:49:44 trant kernel: da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
> Apr  2 10:49:44 trant kernel: da0: <Kindle Internal Storage 0100> Removable
> Direct Access SCSI-2 device
> Apr  2 10:49:44 trant kernel: da0: 40.000MB/s transfers
> Apr  2 10:49:44 trant kernel: da0: 3090MB (6328768 512 byte sectors: 255H
> 63S/T 393C)


Hi,

You can try:

sysctl hw.usb.no_cs_fail=1

Have you installed webcamd?

--HPS
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
To unsubscribe, send any mail to "[EMAIL PROTECTED]"