[new usb4bsd stack] Feedback ...
Hans Petter Selasky
hselasky at c2i.net
Wed May 9 07:04:20 UTC 2007
Hi,
Thanks for reporting.
Try the following patch to /sys/dev/usb/umass.c:
Change the "umass_bbb_config" to "umass_cbi_config" in the following piece of
code:
} else if (sc->sc_proto & (UMASS_PROTO_CBI|UMASS_PROTO_CBI_I)) {
err = usbd_transfer_setup
(uaa->device, uaa->iface_index, sc->sc_xfer,
umass_bbb_config,
(sc->sc_proto & UMASS_PROTO_CBI_I) ?
UMASS_T_CBI_MAX : (UMASS_T_CBI_MAX-2), sc,
&(sc->sc_mtx));
/* skip reset first time */
sc->sc_last_xfer_index = UMASS_T_CBI_COMMAND;
} else {
err = USBD_INVAL;
}
Then recompile.
Could you send me the build error when you build with "DFLT_UKBD_KEYMAP" ?
--HPS
On Tuesday 08 May 2007 22:55, Harald Schmalzbauer wrote:
> Am Mittwoch, 2. Mai 2007 schrieb Hans Petter Selasky:
> > On Wednesday 02 May 2007 10:33, Wilkinson, Alex wrote:
> > > All looks good so far:
> > >
> > > FreeBSD 7.0-CURRENT #2: Wed May 2 09:28:13 WST 2007
> > >
> > > 1st device successfully attached:
> > >
> > > umass0: <PIONEER CORPORATION PIONEER DVD/CD Writer DVR-S606, class
> > > 0/0, rev 2.00 /0.01, addr 126> umass0: SCSI over Bulk-Only; quirks =
> > > 0x0000 umass0:0:0:-1: Attached to scbus0
> > > cd0 at umass-sim0 bus 0 target 0 lun 0
> > > cd0: <PIONEER DVD-RW DVR-106D 1.08> Removable CD-ROM SCSI-0 device
> > > cd0: 40.000MB/s transfers
> > > cd0: cd present [252723 x 2048 byte records]
> > > GEOM_LABEL: Label for provider cd0 is iso9660/HPSMST740.
>
> I'm not so lucky, my Sony Memory Stick Controller doesn't work:
> umass0: <Sony USB Memory Stick Slot, class 0/0, rev 1.10/1.01, addr 126>
> umass0: 8070i (ATAPI) over CBI with CCI; quirks = 0x0000
> umass0: could not setup required transfers, USBD_NO_CALLBACK
> device_attach: umass0 attach returned 6
> usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125!
> usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125!
> usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125!
> usbd_fill_iface_data: invalid wMaxPacketSize=0x0000, addr=125!
>
> 7.0-current from today, i815 (ich2) uhci.
>
> Another card reader is working fine, also my rs232 cable (uplcom) attaches
> correctly.
>
> One problem is that configuring DFLT_UKBD_KEYMAP in the kernel config
> breakes the build.
>
> Best regards,
>
> -Harry
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list