To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
or, via email, send a message with subject or body 'help' to
freebsd-u...@freebsd.org
You can reach the person managing the list at
freebsd-...@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-usb digest..."
Today's Topics:
1. Re: USB modem? (Mike Tancsa)
2. Re: Problem with 2.5" USB drive (Spil Oss)
3. Re: USB modem? (Ernst W. Winter)
4. Re: USB modem? (Mike Tancsa)
5. USB serial device naming (Trevor Blackwell)
6. HP DesignJet 500 and FreeBSD 8.0 - print is impossible
(??????.????)
7. Re: HP DesignJet 500 and FreeBSD 8.0 - print is impossible
(Hans Petter Selasky)
8. Re: Problem with 2.5" USB drive (Hans Petter Selasky)
9. Re: USB serial device naming (Hans Petter Selasky)
----------------------------------------------------------------------
Message: 1
Date: Thu, 10 Dec 2009 09:02:19 -0500
From: Mike Tancsa <mi...@sentex.net>
Subject: Re: USB modem?
To: "Ernst W. Winter" <ewi...@ewinter.org>, freeb...@freebsd.org
Message-ID: <200912101402....@lava.sentex.ca>
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 10:40 PM 12/9/2009, Ernst W. Winter wrote:
>Hello,
>
>well I have a NetPC from Asus with a UMTS modem.
What is the output of
usbdevs -v
or if RELENG_8
usbconfig dump_device_desc
---Mike
>Is there anything for it that I can use with FreeBSD?
>
>I can use it with Ubuntu, tried once and testet and it works, but
>since I use FreeBSD only it would be nice to know that it is possible
>too with FreeBSD.
>
>Thanks in advance for any feedback.
>
>Ernst Winter
>
>--
>O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>Mail plain ASCII text. HTML & Base64 text are spam.
>
>_______________________________________________
>freeb...@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-usb
>To unsubscribe, send any mail to "freebsd-usb...@freebsd.org"
--------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mi...@sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
------------------------------
Message: 2
Date: Thu, 10 Dec 2009 17:08:53 +0100
From: Spil Oss <spil...@googlemail.com>
Subject: Re: Problem with 2.5" USB drive
To: freeb...@freebsd.org
Message-ID:
<5fbf03c20912100808w560...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Dec 10, 2009 at 10:08 AM, Spil Oss <spil...@googlemail.com> wrote:
> Hello all,
>
> Can't get my 2.5" USB drive to work reliably. The device has a ALI
> M5642 Chip and connects 2.5" PATA disks. Vendor 0x0402 is
> USB_VENDOR_ACERLABS /* Acer Labs */ which ALi is afaik.
>
> When I connect it:
> Dec �8 16:11:20 gw root: Unknown USB device: vendor 0x0402 product
> 0x5642 bus uhub3
> Dec �8 16:11:20 gw kernel: ugen3.2: <vendor 0x0402> at usbus3
> Dec �8 16:11:20 gw kernel: umass0: <vendor 0x0402 USB 2.0 Storage
> Device, class 0/0, rev 2.00/1.00, addr 2> on usbus3
> Dec �8 16:11:20 gw kernel: umass0: �SCSI over Bulk-Only; quirks = 0x0000
> Dec �8 16:11:21 gw kernel: umass0:0:0:-1: Attached to scbus0
> Dec �8 16:11:21 gw kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Dec �8 16:11:21 gw kernel: da0: <USB 2.0 Storage Device 0100> Fixed
> Direct Access SCSI-0 device
> Dec �8 16:11:21 gw kernel: da0: 40.000MB/s transfers
> Dec �8 16:11:21 gw kernel: da0: 38154MB (78140160 512 byte sectors:
> 255H 63S/T 4864C)
>
> When I try to dd/fdisk/bsdlabel the disk I tend to get
> Dec �9 12:47:49 gw kernel: (da0:umass-sim0:0:0:0): AutoSense Failed
> Sometimes the LED on the cage stays red until I reconnect it.
> When I first `usbconfig -u 3 -a 2 reset` and then reconnect the disk
> it is recognized again. Tried both on an Intel GM855 and a nVidia
> nForce4 system.
>
> Errors that pop up when transferring data:
> Dec �8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE
> CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> Dec �8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
> Dec �8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): Not ready to ready
> change, medium may have changed
>
> Strangely it seems that this device was recognized on a previous
> version of FreeBSD see http://takaq1.plala.jp/freebsd/usb/index.html
> (not that I've tried!) Not quite clear what version of FreeBSD that
> is.
>
> Ultimately FreeBSD crashes when I play around too long..
>
> Can anyone assist?
>
Saw on the list that usbconfig dump_device_desc is helpful,
problematic device is ugen3.2:
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0001
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <EHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen3.2: <USB 2.0 Storage Device vendor 0x0402> at usbus3, cfg=0
md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0402
idProduct = 0x5642
bcdDevice = 0x0100
iManufacturer = 0x0000 <no string>
iProduct = 0x0001 <USB 2.0 Storage Device>
iSerialNumber = 0x0002 <12345678901234567890>
bNumConfigurations = 0x0001
Thanks!
Spil
------------------------------
Message: 3
Date: Thu, 10 Dec 2009 21:42:47 +0100
From: "Ernst W. Winter" <ewi...@ewinter.org>
Subject: Re: USB modem?
To: Mike Tancsa <mi...@sentex.net>
Cc: freeb...@freebsd.org
Message-ID: <2009121020...@lobo.ewinter.org>
Content-Type: text/plain; charset=us-ascii
On Thu, 10 Dec 2009, Mike Tancsa wrote:
> At 10:40 PM 12/9/2009, Ernst W. Winter wrote:
> >Hello,
> >
> >well I have a NetPC from Asus with a UMTS modem.
> What is the output of
>
> usbdevs -v
> or if RELENG_8
> usbconfig dump_device_desc
>
-----------------------------Snip-------------------------------------
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0100
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <UHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0009
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0001
bMaxPacketSize0 = 0x0040
idVendor = 0x0000
idProduct = 0x0000
bcdDevice = 0x0100
iManufacturer = 0x0001 <Intel>
iProduct = 0x0002 <EHCI root HUB>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen4.2: <product 0x5406 vendor 0x0781> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0781
idProduct = 0x5406
bcdDevice = 0x0200
iManufacturer = 0x0001 <SanDisk>
iProduct = 0x0002 <U3 Cruzer Micro>
iSerialNumber = 0x0003 <19421007B791AE82>
bNumConfigurations = 0x0001
ugen4.3: <HUAWEI Mobile HUAWEI Technology> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x1001
bcdDevice = 0x0000
iManufacturer = 0x0002 <HUAWEI Technology>
iProduct = 0x0001 <HUAWEI Mobile>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
ugen1.2: <product 0x0535 vendor 0x0d62> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0008
idVendor = 0x0d62
idProduct = 0x0535
bcdDevice = 0x0231
iManufacturer = 0x0000 <no string>
iProduct = 0x0000 <no string>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
and here the uname -a:
FreeBSD eeepc.ewinter.org 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Mon Nov
16 07:57:28 CET 2009
ewi...@eeepc.ewinter.org:/usr/obj/usr/src/sys/eeepc i386
-----------------------------Snip-------------------------------------
I will have to reinstall again and then see with 8.0 as that way I
can sychronize with my other laptop.
Can you give me a couple days over the weekend please?
Looking forward to hear more about it.
Ernst
> ---Mike
>
>
>
> >Is there anything for it that I can use with FreeBSD?
> >
> >I can use it with Ubuntu, tried once and testet and it works, but
> >since I use FreeBSD only it would be nice to know that it is possible
> >too with FreeBSD.
> >
> >Thanks in advance for any feedback.
> >
> >Ernst Winter
> >
> >--
> >O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> >Mail plain ASCII text. HTML & Base64 text are spam.
> >
> >_______________________________________________
> >freeb...@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> >To unsubscribe, send any mail to "freebsd-usb...@freebsd.org"
>
> --------------------------------------------------------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, mi...@sentex.net
> Providing Internet since 1994 www.sentex.net
> Cambridge, Ontario Canada www.sentex.net/mike
>
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Mail plain ASCII text. HTML & Base64 text are spam.
------------------------------
Message: 4
Date: Thu, 10 Dec 2009 15:43:22 -0500
From: Mike Tancsa <mi...@sentex.net>
Subject: Re: USB modem?
To: "Ernst W. Winter" <ewi...@ewinter.org>
Cc: freeb...@freebsd.org
Message-ID: <200912102043....@lava.sentex.ca>
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 03:42 PM 12/10/2009, Ernst W. Winter wrote:
>ugen4.3: <HUAWEI Mobile HUAWEI Technology> at usbus4, cfg=0 md=HOST
>spd=HIGH (480Mbps) pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0200
> bDeviceClass = 0x0000
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0000
> bMaxPacketSize0 = 0x0040
> idVendor = 0x12d1
> idProduct = 0x1001
> bcdDevice = 0x0000
> iManufacturer = 0x0002 <HUAWEI Technology>
> iProduct = 0x0001 <HUAWEI Mobile>
> iSerialNumber = 0x0000 <no string>
> bNumConfigurations = 0x0001
It should be recognized by the stock u3g driver. If you do kldload
u3g, do some /dev/cuaU#.# devices appear ?
and here the uname -a:
>FreeBSD eeepc.ewinter.org 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Mon Nov
>16 07:57:28 CET 2009
>ewi...@eeepc.ewinter.org:/usr/obj/usr/src/sys/eeepc i386
RELENG_8 and above should be the same for this.
---Mike
--------------------------------------------------------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mi...@sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
------------------------------
Message: 5
Date: Thu, 10 Dec 2009 18:16:55 -0800
From: Trevor Blackwell <t...@tlb.org>
Subject: USB serial device naming
To: freeb...@freebsd.org, freebsd...@freebsd.org
Message-ID: <43EC7D78-31E5-4B86...@tlb.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
I cannot seem to find a way to identify serial ports. I have two
serial USB devices, which I can distinguish easily from usbconfig:
ugen2.3: <URG-Series USB Driver Hokuyo Data Flex for USB> at usbus2,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.2: <USB-Serial Controller Prolific Technology Inc.> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
and they result in two ttys:
/dev/cuaU0
/dev/cuaU1
but I can't figure out how to map the USB devices to tty names.
They're assigned sequentially by a bitmap system in usb_serial.c
Currently, no devices seem to be using this mechanism:
sys/dev/usb/serial/usb_serial.c:
/* Check if the client has a custom TTY name */
if (sc->sc_callback->ucom_tty_name) {
sc->sc_callback->ucom_tty_name(sc, buf,
sizeof(buf), sc->sc_local_unit);
}
is that the right way? Or, what I really want is some sort of ioctl on
the raw USB device or usbconfig option to tell me what serial port it
appears as.
--
Trevor Blackwell 650 776 7870 t...@tlb.org
------------------------------
Message: 6
Date: Thu, 10 Dec 2009 19:33:42 +0300
From: ??????.???? <pri...@klax.tula.ru>
Subject: HP DesignJet 500 and FreeBSD 8.0 - print is impossible
To: freeb...@freebsd.org
Message-ID: <373017996.20...@klax.tula.ru>
Content-Type: text/plain; charset=koi8-r
Hello, All!
After installing FreeBSD 8.0 I unable print at USB-connected HP DesignJet 500.
I never printing at this hardware via USB before using FreeBSD 8.0.
But if this printer is connected to another machine then is works under
Windows and FreeBSD 7.
For debugging I do:
sudo sysctl hw.usb.ulpt.debug=1
Attach printer
sudo cp test.prn /dev/ulpt0
And dmesg -a |grep ulpt give me:
ulpt0: <Hewlett-Packard DesignJet 500, class 0/0, rev 1.10/1.00, addr 2> on usbus6
ulpt_attach:565: setting alternate config number: 0
ulpt0: using bi-directional mode
ulpt_write_callback:220: state=0x0 actlen=0
And nothing was doing. The printer is Ready (it not give work)
After some time I press Ctrl+C twice (interrupt sudo cp) and get:
ulpt_write_callback:220: state=0x2 actlen=0
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_status_callback:352: error=USB_ERR_STALLED
Last line is repeated continuously, until device is detached.
After attaching printer this lines is not appeared.
sudo usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.1: <UHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen7.1: <EHCI root HUB Intel> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen7.2: <MF4100 Canon Inc.> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.2: <HP LaserJet 1200 HewLett Packard> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.2: <DesignJet 500 Hewlett-Packard> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
--
Serg
------------------------------
Message: 7
Date: Fri, 11 Dec 2009 10:36:32 +0100
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: HP DesignJet 500 and FreeBSD 8.0 - print is impossible
To: freeb...@freebsd.org, " ??????.???? " <pri...@klax.tula.ru>
Message-ID: <200912111036....@c2i.net>
Content-Type: Text/Plain; charset="koi8-r"
On Thursday 10 December 2009 17:33:42 ������.���� wrote:
> Hello, All!
>
> After installing FreeBSD 8.0 I unable print at USB-connected HP DesignJet
> 500. I never printing at this hardware via USB before using FreeBSD 8.0.
> But if this printer is connected to another machine then is works under
> Windows and FreeBSD 7.
>
> For debugging I do:
> sudo sysctl hw.usb.ulpt.debug=1
> Attach printer
> sudo cp test.prn /dev/ulpt0
Try:
cat test.prn > /dev/unlpt0
or
cat test.prn > /dev/ulpt0
Also try:
usbconfig show_ifdrv
--HPS
------------------------------
Message: 8
Date: Fri, 11 Dec 2009 10:37:04 +0100
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: Problem with 2.5" USB drive
To: freeb...@freebsd.org, spil...@gmail.com
Message-ID: <200912111037....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-1"
On Thursday 10 December 2009 17:08:53 Spil Oss wrote:
> On Thu, Dec 10, 2009 at 10:08 AM, Spil Oss <spil...@googlemail.com> wrote:
> > Hello all,
> >
> > Can't get my 2.5" USB drive to work reliably. The device has a ALI
> > M5642 Chip and connects 2.5" PATA disks. Vendor 0x0402 is
> > USB_VENDOR_ACERLABS /* Acer Labs */ which ALi is afaik.
> >
> > When I connect it:
> > Dec 8 16:11:20 gw root: Unknown USB device: vendor 0x0402 product
> > 0x5642 bus uhub3
> > Dec 8 16:11:20 gw kernel: ugen3.2: <vendor 0x0402> at usbus3
> > Dec 8 16:11:20 gw kernel: umass0: <vendor 0x0402 USB 2.0 Storage
> > Device, class 0/0, rev 2.00/1.00, addr 2> on usbus3
> > Dec 8 16:11:20 gw kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
> > Dec 8 16:11:21 gw kernel: umass0:0:0:-1: Attached to scbus0
> > Dec 8 16:11:21 gw kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> > Dec 8 16:11:21 gw kernel: da0: <USB 2.0 Storage Device 0100> Fixed
> > Direct Access SCSI-0 device
> > Dec 8 16:11:21 gw kernel: da0: 40.000MB/s transfers
> > Dec 8 16:11:21 gw kernel: da0: 38154MB (78140160 512 byte sectors:
> > 255H 63S/T 4864C)
> >
> > When I try to dd/fdisk/bsdlabel the disk I tend to get
> > Dec 9 12:47:49 gw kernel: (da0:umass-sim0:0:0:0): AutoSense Failed
> > Sometimes the LED on the cage stays red until I reconnect it.
> > When I first `usbconfig -u 3 -a 2 reset` and then reconnect the disk
> > it is recognized again. Tried both on an Intel GM855 and a nVidia
> > nForce4 system.
> >
> > Errors that pop up when transferring data:
> > Dec 8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE
> > CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0
> > Dec 8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION
> > asc:28,0 Dec 8 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): Not ready to
> > ready change, medium may have changed
> >
> > Strangely it seems that this device was recognized on a previous
> > version of FreeBSD see http://takaq1.plala.jp/freebsd/usb/index.html
> > (not that I've tried!) Not quite clear what version of FreeBSD that
> > is.
> >
> > Ultimately FreeBSD crashes when I play around too long..
> >
> > Can anyone assist?
>
> Saw on the list that usbconfig dump_device_desc is helpful,
> problematic device is ugen3.2:
>
> ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
> pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0100
> bDeviceClass = 0x0009
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0000
> bMaxPacketSize0 = 0x0040
> idVendor = 0x0000
> idProduct = 0x0000
> bcdDevice = 0x0100
> iManufacturer = 0x0001 <Intel>
> iProduct = 0x0002 <UHCI root HUB>
> iSerialNumber = 0x0000 <no string>
> bNumConfigurations = 0x0001
>
> ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
> pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0100
> bDeviceClass = 0x0009
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0000
> bMaxPacketSize0 = 0x0040
> idVendor = 0x0000
> idProduct = 0x0000
> bcdDevice = 0x0100
> iManufacturer = 0x0001 <Intel>
> iProduct = 0x0002 <UHCI root HUB>
> iSerialNumber = 0x0000 <no string>
> bNumConfigurations = 0x0001
>
> ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
> pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0100
> bDeviceClass = 0x0009
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0000
> bMaxPacketSize0 = 0x0040
> idVendor = 0x0000
> idProduct = 0x0000
> bcdDevice = 0x0100
> iManufacturer = 0x0001 <Intel>
> iProduct = 0x0002 <UHCI root HUB>
> iSerialNumber = 0x0000 <no string>
> bNumConfigurations = 0x0001
>
> ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH
> (480Mbps) pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0200
> bDeviceClass = 0x0009
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0001
> bMaxPacketSize0 = 0x0040
> idVendor = 0x0000
> idProduct = 0x0000
> bcdDevice = 0x0100
> iManufacturer = 0x0001 <Intel>
> iProduct = 0x0002 <EHCI root HUB>
> iSerialNumber = 0x0000 <no string>
> bNumConfigurations = 0x0001
>
> ugen3.2: <USB 2.0 Storage Device vendor 0x0402> at usbus3, cfg=0
> md=HOST spd=HIGH (480Mbps) pwr=ON
>
> bLength = 0x0012
> bDescriptorType = 0x0001
> bcdUSB = 0x0200
> bDeviceClass = 0x0000
> bDeviceSubClass = 0x0000
> bDeviceProtocol = 0x0000
> bMaxPacketSize0 = 0x0040
> idVendor = 0x0402
> idProduct = 0x5642
> bcdDevice = 0x0100
> iManufacturer = 0x0000 <no string>
> iProduct = 0x0001 <USB 2.0 Storage Device>
> iSerialNumber = 0x0002 <12345678901234567890>
> bNumConfigurations = 0x0001
>
> Thanks!
>
Have you tried a 9-current kernel?
--HPS
------------------------------
Message: 9
Date: Fri, 11 Dec 2009 10:38:05 +0100
From: Hans Petter Selasky <hsel...@c2i.net>
Subject: Re: USB serial device naming
To: freeb...@freebsd.org
Cc: freebsd...@freebsd.org
Message-ID: <200912111038....@c2i.net>
Content-Type: Text/Plain; charset="iso-8859-1"
There is:
usbconfig show_ifdrv
Maybe it helps?
Else send an e-mail to:
Ed Schouten
--HPS
------------------------------
End of freebsd-usb Digest, Vol 267, Issue 5
*******************************************