Re: usb/183409: USB Class 2 audio device playback issue
Synopsis: USB Class 2 audio device playback issue State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Tue Oct 29 00:53:14 UTC 2013 State-Changed-Why: Set to feedback. Partially this is to notify the submitter of hps' followup, which he or she will most likely not have seen, as a result of a managled From: address. http://www.freebsd.org/cgi/query-pr.cgi?pr=183409 ___ 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"
10-BETA1: USB keyboard lost connection
Hi list, I have a USB keyboard connected to a machine running 10-BETA1 #0 r257155. This morning I tried to use the keyboard but found that it had lost its connection to the server which is an IBM X3100 M4. I checked the system log but found nothing strange, it seemed everything has been working fine. I tried to reconnect the keyboard but it didn't work. I had to reboot the machine and then the USB keyboard worked again. I don't know if this is a bug, so I posted here just for your information. regards! ___ 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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> Hi, > > Could you add "-vvv" to the usbdump command, to get the USB request aswell. > Maybe we commented out the wrong request. At the end, I restarted lpd. 19:36:42.287179 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.287357 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.336190 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.336353 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.385183 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.385343 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.434180 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.434367 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.483199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.483363 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.532197 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.532356 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.581184 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.581343 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.630177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.630373 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.679199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.679366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.728193 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.728356 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.777185 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.777382 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.826177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.826373 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.875200 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.875363 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.924193 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.924354 usbus2.3 DONE-CTRL-EP=
Re: usb/183409: USB Class 2 audio device playback issue
The following reply was made to PR usb/183409; it has been noted by GNATS. From: Hans Petter Selasky To: Taner Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/183409: USB Class 2 audio device playback issue Date: Mon, 28 Oct 2013 19:23:28 +0100 On 10/28/13 17:17, Taner wrote: > >> Number: 183409 >> Category: usb >> Synopsis: USB Class 2 audio device playback issue >> 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: Mon Oct 28 16:20:00 UTC 2013 >> Closed-Date: >> Last-Modified: >> Originator: Taner >> Release:10.0-BETA1 >> Organization: >> Environment: > FreeBSD bsd 10.0-BETA1 FreeBSD 10.0-BETA1 #2 r256773M: Sun Oct 20 20:52:31 > EEST 2013 root@bsd:/usr/obj/usr/src/sys/GENERIC amd64 >> Description: > My asyncronous USB to I2S interface (http://amanero.com/) has detected on a > amd64 FreeBSD-10.0-BETA1 system. But playback is crackling like old vinyl > records. > > I haven't similar issues with other operating systems. > > With enabling debug, lots of these error messages appear on dmesg output: > > uaudio_chan_play_sync_callback: Value = 0x0005fff8 > uaudio_chan_play_sync_callback: Comparing 47998 < 48000 > uaudio_chan_play_sync_callback: Value = 0x0005fff6 > uaudio_chan_play_sync_callback: Comparing 47998 < 48000 > > or > > uaudio_chan_play_sync_callback: Value = 0x000bfff0 > uaudio_chan_play_sync_callback: Comparing 95997 < 96000 > uaudio_chan_play_sync_callback: Value = 0x000bfff0 > uaudio_chan_play_sync_callback: Comparing 95997 < 96000 > > ---> dmesg output while device attached > > uaudio0: at uhub1, port 3, addr 1 (disconnected) > pcm0: detached > uaudio0: 2.00/1.80, addr 1> on usbus0 > uaudio0: Play: 96000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 88200 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 48000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Play: 32000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. > uaudio0: No recording. > uaudio0: No MIDI sequencer. > pcm0: on uaudio0 > uaudio0: No HID volume keys found. >> How-To-Repeat: > Playback any audio file/stream. >> Fix: Hi, Can you add output from "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" and "lsusb -vv" from /usr/ports/sysutils/usbutils Also, is the device directly connected to the USB port? No hub in between. Did you try other sample and bit rates by setting the sysctls below? hw.usb.uaudio.default_channels: 0 hw.usb.uaudio.default_bits: 32 hw.usb.uaudio.default_rate: 0 default_bits=16, 24 default_rate=48000 --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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 18:34, Aurélien Croc wrote: Hi, Hi, Look for function "ulpt_watchdog()": […] I recompiled the kernel and test printing something. The result is the same: nothing happens and when I dump the usb messages I got exactly what I attached this morning: 18:32:13.949199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.949366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED 18:32:13.998194 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.998358 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED The problem is not solved at all :( Hi, Could you add "-vvv" to the usbdump command, to get the USB request aswell. Maybe we commented out the wrong request. --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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
Hi, > Hi, > > Look for function "ulpt_watchdog()": > […] I recompiled the kernel and test printing something. The result is the same: nothing happens and when I dump the usb messages I got exactly what I attached this morning: 18:32:13.949199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.949366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED 18:32:13.998194 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.998358 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED The problem is not solved at all :( Aurélien ___ 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"
usb/183409: USB Class 2 audio device playback issue
>Number: 183409 >Category: usb >Synopsis: USB Class 2 audio device playback issue >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: Mon Oct 28 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Taner >Release:10.0-BETA1 >Organization: >Environment: FreeBSD bsd 10.0-BETA1 FreeBSD 10.0-BETA1 #2 r256773M: Sun Oct 20 20:52:31 EEST 2013 root@bsd:/usr/obj/usr/src/sys/GENERIC amd64 >Description: My asyncronous USB to I2S interface (http://amanero.com/) has detected on a amd64 FreeBSD-10.0-BETA1 system. But playback is crackling like old vinyl records. I haven't similar issues with other operating systems. With enabling debug, lots of these error messages appear on dmesg output: uaudio_chan_play_sync_callback: Value = 0x0005fff8 uaudio_chan_play_sync_callback: Comparing 47998 < 48000 uaudio_chan_play_sync_callback: Value = 0x0005fff6 uaudio_chan_play_sync_callback: Comparing 47998 < 48000 or uaudio_chan_play_sync_callback: Value = 0x000bfff0 uaudio_chan_play_sync_callback: Comparing 95997 < 96000 uaudio_chan_play_sync_callback: Value = 0x000bfff0 uaudio_chan_play_sync_callback: Comparing 95997 < 96000 ---> dmesg output while device attached uaudio0: at uhub1, port 3, addr 1 (disconnected) pcm0: detached uaudio0: on usbus0 uaudio0: Play: 96000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 88200 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 48000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 44100 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: Play: 32000 Hz, 2 ch, 32-bit S-LE PCM format, 2x8ms buffer. uaudio0: No recording. uaudio0: No MIDI sequencer. pcm0: on uaudio0 uaudio0: No HID volume keys found. >How-To-Repeat: Playback any audio file/stream. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ___ 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"
Current problem reports assigned to freebsd-usb@FreeBSD.org
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description o usb/183302 usbUSB no proper work o usb/183090 usbLogitech USB microphone failure o usb/182936 usb[patch] [usbdevs] if_run update for Beklin F6D4050v2 o usb/182820 usbusbusX if destroy page fault panic o usb/182505 usbpatch to update usb driver if_urtwn.c for new device o usb/182361 usb[panic] Suspend when using USB disc as root causes ker o usb/181987 usbUSB isochronous transfer of the USB driver (Mentor Gra o usb/181425 usbUSB keyboard with full N-key rollover not working o usb/181159 usbProblem attaching USB device o usb/180837 usb[scsi_da] [patch] Kingston DT 101 G2 usb stick quirk ( o usb/180726 usbXHCI umass support breaks between r248085 and r252560 o usb/180657 usb[PATCH] Filco Majestouch 2 keyboard recognized as keyb o usb/180617 usbNew quirk (another member of Western Digital My Passpo o usb/180254 usbFreeBSD 9.1 on 384GB memory server o usb/180119 usbFreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usbKernel detaches Arduino Leonardo (and similar) board u o usb/179342 usbFreebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usbAfter detach USB Flash a keyboard does not work. o usb/179107 usb[usb] After detach USB Flash a keyboard does not work. o usb/178773 usb[usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb[usbdevs] [patch] Western Digital My Passport HD o usb/178722 usbFreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb[usb] USB causing interrupt storm on irq16 o usb/177897 usb[u3g][patch] add support for the Huawei E352 modem o usb/177896 usbman page for usb_quirk suggests adding device to kerne o usb/177895 usbsimilar 1TB Western Digital "My Passports" - some load o usb/177666 usb[usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb[ehci] High interrupt load with ehci o usb/176841 usb[umass] Sony DSC-H2 USB connection fails o usb/176417 usb[xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usbdetaching USB keyboard freezes other USB keyboards o usb/175639 usbnot detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb[usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usbSeagate 2TB USB extern hard disk have errors with Free o usb/175379 usbusb card-reader problem o usb/175302 usbdon't mount virtual driver CD for my phone o usb/174963 usbbuffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usbuaudio fails to create pcm/dsp device file o usb/174814 usb[PATCH] support for MiFi 2200 o usb/174695 usbusb keeps disconnecting mouse or keyboard o usb/174575 usbInterrupt storm error on startup o usb/174464 usbclone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usbMIDI keyboard not recognised o usb/173722 usb[xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usbLG USB DVD-RW USB STALL o usb/173182 usbusbus appears as a network device o usb/172937 usbFreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usbSony Cybershot not recognized as USB mem stick o usb/172199 usb[xhci] high interrupts load xhci o usb/171354 usb[umass] Medium not present error on flash drive [regre o usb/171262 usbplug in sdhc via usb reader reboots machine o usb/171197 usbADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usbFreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usbpatch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usbr239222 kernel panic at boot - usb locking issue o usb/170358 usb[ums] Wrong (duplicate) button numbers o usb/170123 usb[umass] HP v210w USB stick not supported o usb/169935 usb[keyboard] Unable use USB keyboard while panic o usb/169789 usb[u3g] [patch] add support for huawei e3131 o usb/169461 usb[ugen] USB2 high-speed device detected as full speed o usb/169428 usb[ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb[umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb[umass] MATSHITA memory card size reported wrong, moun o usb/1678
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 10:37, Aurélien Croc de Suray wrote: You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove the reading of the status message. Please can you be more precise? I'm not sure what to do. And do you think this will solve the reading / writing problem? I think your device might be counterfeit, given the bad spelling of the manufacturer. This string comes from the device itself. Well, very nice... I bought it in a famous computer shop.. Thank you again for your help Hi, Look for function "ulpt_watchdog()": static void ulpt_watchdog(void *arg) { struct ulpt_softc *sc = arg; mtx_assert(&sc->sc_mtx, MA_OWNED); #if 0 /* add this */ /* * Only read status while the device is not opened, due to * possible hardware or firmware bug in some printers. */ if (sc->sc_fflags == 0) usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]); #endif /* add this */ usb_callout_reset(&sc->sc_watchdog, hz, &ulpt_watchdog, sc); } --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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove > the reading of the status message. Please can you be more precise? I'm not sure what to do. And do you think this will solve the reading / writing problem? > I think your device might be counterfeit, given the bad spelling of the > manufacturer. This string comes from the device itself. Well, very nice... I bought it in a famous computer shop.. Thank you again for your help Aurélien ___ 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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 10:05, Aurélien Croc de Suray wrote: >> Hi, >> >> Is this some kind of cheap clone, hence Prolofic is spelled wrong? > > It seems the company name is spelled wrong since the vendor ID corresponds to > Prolific Technology Inc.: > > # usbconfig -u 2 -a 3 dump_device_desc > ugen2.3: at usbus2, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > >bLength = 0x0012 >bDescriptorType = 0x0001 >bcdUSB = 0x0100 >bDeviceClass = 0x >bDeviceSubClass = 0x >bDeviceProtocol = 0x >bMaxPacketSize0 = 0x0008 >idVendor = 0x067b >idProduct = 0x2305 >bcdDevice = 0x0200 >iManufacturer = 0x0001 >iProduct = 0x0002 >iSerialNumber = 0x >bNumConfigurations = 0x0001 > > >> Else there are two printer port devices: >> /dev/ulptX and /dev/unlptX >> Did you try both? > > It is the same with /dev/unlptx.. > > >> Can you show a USB dump while opening these devices. > > You'll find three attached files representing the dump of the usb activity when > I plug in the device, when I open and try to read on ulpt0 and unlpt0. > Hi, You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove the reading of the status message. I think your device might be counterfeit, given the bad spelling of the manufacturer. This string comes from the device itself. The one that is supplied with FreeBSD is spelled correctly: > grep -ri prolif /usr/src/sys/dev/usb/usbdevs vendor PROLIFIC0x067bProlific Technology vendor PROLIFIC20x5372Prolific Technologies --HPS >> What host controller is this device connected through? > > The host controller is an Intel EHCI root hub: > # usbconfig -u 2 -a 1 dump_device_desc > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > >bLength = 0x0012 >bDescriptorType = 0x0001 >bcdUSB = 0x0200 >bDeviceClass = 0x0009 >bDeviceSubClass = 0x >bDeviceProtocol = 0x0001 >bMaxPacketSize0 = 0x0040 >idVendor = 0x >idProduct = 0x >bcdDevice = 0x0100 >iManufacturer = 0x0001 >iProduct = 0x0002 >iSerialNumber = 0x >bNumConfigurations = 0x0001 > > > Regards, > > Aurélien > ___ 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: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> Hi, > > Is this some kind of cheap clone, hence Prolofic is spelled wrong? It seems the company name is spelled wrong since the vendor ID corresponds to Prolific Technology Inc.: # usbconfig -u 2 -a 3 dump_device_desc ugen2.3: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x067b idProduct = 0x2305 bcdDevice = 0x0200 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 > Else there are two printer port devices: > /dev/ulptX and /dev/unlptX > Did you try both? It is the same with /dev/unlptx.. > Can you show a USB dump while opening these devices. You'll find three attached files representing the dump of the usb activity when I plug in the device, when I open and try to read on ulpt0 and unlpt0. > What host controller is this device connected through? The host controller is an Intel EHCI root hub: # usbconfig -u 2 -a 1 dump_device_desc ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x idProduct = 0x bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 Regards, Aurélien08:57:29.089671 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.089954 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.090035 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0 08:57:29.090234 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.103310 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.103475 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0,ERR=0 08:57:29.103593 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.103831 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0 08:57:29.103916 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104076 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104156 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104352 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104436 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104594 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104672 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105076 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=52,IVAL=0,ERR=0 08:57:29.105160 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105359 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.105442 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105801 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=44,IVAL=0,ERR=0 08:57:29.105922 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.106201 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=12,IVAL=0,ERR=0 08:57:29.106283 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.106719 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=80,IVAL=0,ERR=0 08:57:29.106800 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.106924 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.150177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.150459 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.152056 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.152303 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:30.151413 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:30.151606 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:31.151400 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:31.151625 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:32.151406 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:32.151565 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:33.151436 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:33.151635 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:34.151534 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:34.151822 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:35.151440 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:35.151722 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:36.151463 usbus2.3 SUBM-CTRL-EP=00