From owner-freebsd-usb@FreeBSD.ORG Mon Jan 27 11:06:56 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C701DD37 for ; Mon, 27 Jan 2014 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A85CD1A9C for ; Mon, 27 Jan 2014 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RB6ub3013189 for ; Mon, 27 Jan 2014 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0RB6u4X013187 for freebsd-usb@FreeBSD.org; Mon, 27 Jan 2014 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jan 2014 11:06:56 GMT Message-Id: <201401271106.s0RB6u4X013187@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 11:06:56 -0000 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/186110 usb connected over USB, only first document is printed o usb/185968 usb PocketBook Pro 912 USB connection problem o usb/185838 usb Sony DSC-H5 not connecting on USB o usb/185837 usb [umass] Pendrive Kingston DataTraveler 8G not recogniz o usb/185747 usb Patcf that fix support for USB key "Kingston DT 101 G2 o usb/185628 usb usbd_req_re_enumerate set address failed USB_ERR_STALL o usb/185454 usb libusb lacks libusb_handle_events_completed() o kern/185208 usb (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error o usb/184014 usb USB storage devices do not work in FreeBSD 9.2 or high o usb/183728 usb libusb20 examples filenames cause problems on windows. o usb/183505 usb [usb] Arduino Leonardo exposes three interface descrip f usb/183409 usb USB Class 2 audio device playback issue o usb/183302 usb USB no proper work o usb/183090 usb Logitech USB microphone failure o usb/182936 usb [patch] [usbdevs] if_run update for Beklin F6D4050v2 o usb/182820 usb usbusX if destroy page fault panic o usb/182361 usb [panic] Suspend when using USB disc as root causes ker o usb/181987 usb USB isochronous transfer of the USB driver (Mentor Gra o usb/181425 usb USB keyboard with full N-key rollover not working o usb/181159 usb Problem attaching USB device o usb/180837 usb [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk ( o usb/180726 usb XHCI umass support breaks between r248085 and r252560 o usb/180657 usb [PATCH] Filco Majestouch 2 keyboard recognized as keyb o usb/180617 usb New quirk (another member of Western Digital My Passpo o usb/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After 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 usb FreeBSD 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 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 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 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony 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 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 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/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while f kern/153514 usb [cam] [panic] CAM related panic o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a f usb/117150 usb [zyd] usb zyd device under moderate load panics system o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati f usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 332 problems total. From owner-freebsd-usb@FreeBSD.ORG Tue Jan 28 19:20:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8269844A for ; Tue, 28 Jan 2014 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 547F81FC2 for ; Tue, 28 Jan 2014 19:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SJK1lL081309 for ; Tue, 28 Jan 2014 19:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0SJK1K1081308; Tue, 28 Jan 2014 19:20:01 GMT (envelope-from gnats) Date: Tue, 28 Jan 2014 19:20:01 GMT Message-Id: <201401281920.s0SJK1K1081308@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: David Naylor Subject: Re: usb/185747: Patcf that fix support for USB key " Kingston DT 101 G2" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: David Naylor List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 19:20:01 -0000 The following reply was made to PR usb/185747; it has been noted by GNATS. From: David Naylor To: bug-followup@freebsd.org, olivier@cochard.me Cc: Subject: Re: usb/185747: Patcf that fix support for USB key "Kingston DT 101 G2" Date: Tue, 28 Jan 2014 21:17:57 +0300 --nextPart115913196.ZYTPdKU2gm Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, While running on: # uname -a FreeBSD dragon.dg 9.2-STABLE FreeBSD 9.2-STABLE #0 f31ec93: Sun Oct 27 21:33:06 SAST 2013 root@dragon.dg:/tmp/home/freebsd/9/src/sys/MODULAR amd64 I was having trouble with a Kingston G2 data dongle: # usbconfig -u 0 -a 5 dump_device_desc ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0951 idProduct = 0x1624 bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <001CC0EC346EF010F69D0DE9> bNumConfigurations = 0x0001 Using # usbconfig -u 0 -a 5 add_quirk UQ_MSC_NO_PREVENT_ALLOW Fixed the problem for me. So +1 for NO_PREVENT only. Regard --nextPart115913196.ZYTPdKU2gm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iKYEABECAGYFAlLoAmhfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1NDBCNDdDNTRBQTNFQkFCMjNCNThBQzUx QTY4NTgwRkY2OTE2QjIACgkQUaaFgP9pFrLRegCcDTplgNH3RuQHwQ/HIRX1cpME +voAni8CzV4/JPyB4oIsquoAtROewuxB =wS0F -----END PGP SIGNATURE----- --nextPart115913196.ZYTPdKU2gm-- From owner-freebsd-usb@FreeBSD.ORG Tue Jan 28 19:40:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DEC88B5 for ; Tue, 28 Jan 2014 19:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 78EE4120D for ; Tue, 28 Jan 2014 19:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SJe1Rl085198 for ; Tue, 28 Jan 2014 19:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0SJe10l085197; Tue, 28 Jan 2014 19:40:01 GMT (envelope-from gnats) Date: Tue, 28 Jan 2014 19:40:01 GMT Message-Id: <201401281940.s0SJe10l085197@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Volker Nebel Subject: Re: usb/186110: connected over USB, only first document is printed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Volker Nebel List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 19:40:01 -0000 The following reply was made to PR usb/186110; it has been noted by GNATS. From: Volker Nebel To: Hans Petter Selasky Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/186110: connected over USB, only first document is printed Date: Tue, 28 Jan 2014 20:39:05 +0100 (CET) On Sat, 25 Jan 2014, Hans Petter Selasky wrote: > On 01/25/14 22:35, Volker Nebel wrote: >> >>> Number: 186110 >>> Category: usb >>> Synopsis: connected over USB, only first document is printed >>> 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: Sat Jan 25 21:40:00 UTC 2014 >>> Closed-Date: >>> Last-Modified: >>> Originator: Volker Nebel >>> Release: 10.0 on a Macmini, 8.0 on an Acer laptop >>> Organization: >>> Environment: >> FreeBSD macmini.ror.de 10.0-RELEASE FreeBSD 10.0-Release #1: Fri Jan 24 >> 20:32:29 >> CET 2014 root@macmini.ror.de:/usr/obj/usr/src/sys/MACMINI amd64 >> and for the ACER lapopt: >> FreeBSD nebel.ror.de 8.0-RELEASE FreeBSD 8.0-RELEASE #3: Sat Jan 30 >> 10:46:59 CET >> 2010 root@nebel.ror.de:/usr/obj/usr/src/sys/WENSDAY i386 >> >> >>> Description: >> Hi! >> >> Perhaps I only fail because the handbook (which is excellent in many ways) >> provi >> des only little info on how to connect a printer to an USB port. In case >> there i >> s something special I overlooked, please let me know how I should do it and >> send >> this PR to Class www. >> My printer is an HP LaserJet 6MP without an USB interface (too old). It >> serve >> s me fine when connected to a computer's parallel port. When I connect this >> prin >> ter to a computer's USB port (with an adapter cable), only the first >> document (w >> hat size ever) is printed. For further documents, printer starts blinking, >> stops >> blinking and does nothing. >> For modern computers no longer have a parallel port, I can only connect >> via U >> SB. >> Obviously, the problem has nothing to with the spooling system, for it >> happen >> s as well with [CMD=" "]cat test.ps > /dev/ulpt0[/CMD] issued twice: The >> first d >> ocument is printed, any further not. (The printer understands Postscript.) >> Same >> situation with /dev/unlpt0. >> I observe(d) the problem >> - on my Acer Laptop with FreeBSD 8.0 (after [CMD=" "]kldload ulpt[/CMD]) >> - on my Apple Macmini with FreeBSD 10.0 (where ulpt is compiled into the >> kernel) >> - on a laptop I had in the meantime of which I remember nothing except >> having Fr >> eebSD installed >> - on my Apple Macmini running under XUbuntu 10.4.3 >> I do/did not observe the problem >> + on my Apple Macmini running under MacOS X MountainLeopard (which I have >> completely replaced by FreeBSD) >> + on my Acer Laptop using parallel port. >> Surprisingly the problem cannot be solved by turning the printer off >> and on a >> gain. It can be solved by rebooting the computer (leaving the printer on). >> When I issue [CMD=" "]lpr test.ps[/CMD] a 2nd time and [CMD=" >> "]lpq[/CMD], I >> get: >> "waiting for lp to become ready (offline?)" >> When connected to the parallel interface interface, the printer worked >> fine >> only in "polled mode". Unfortunately, I don't know how to tune >> /boot/device.hint >> s for ulpt. And [CMD=" "]lptcontrol -p -d /dev/ulpt0[/CMD] returns: >> "lptcontrol: >> ioctl: Operation not supported by device". >> >> Best regards, >> Volker > > Hi, > > You can trace the USB traffic using usbdump. man usbdump Maybe that will give > you the clues you need to find the problem. > > Thank you! > > --HPS > > Dear Hans Petter, I did [CMD=" "]usbdump > number1[/CMD] when printing the first document, and same with new file for the 2nd, but it does not give me an clue. ERROR is always 0, and there were no packages gropped by the kernel. Best regards, Volker From owner-freebsd-usb@FreeBSD.ORG Tue Jan 28 20:30:02 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B84A189B for ; Tue, 28 Jan 2014 20:30:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A22A11655 for ; Tue, 28 Jan 2014 20:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0SKU2FQ097280 for ; Tue, 28 Jan 2014 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0SKU2wJ097279; Tue, 28 Jan 2014 20:30:02 GMT (envelope-from gnats) Date: Tue, 28 Jan 2014 20:30:02 GMT Message-Id: <201401282030.s0SKU2wJ097279@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Volker Nebel Subject: Re: usb/186110: connected over USB, only first document is printed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Volker Nebel List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2014 20:30:02 -0000 The following reply was made to PR usb/186110; it has been noted by GNATS. From: Volker Nebel To: Hans Petter Selasky Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: usb/186110: connected over USB, only first document is printed Date: Tue, 28 Jan 2014 21:20:09 +0100 (CET) On Sat, 25 Jan 2014, Hans Petter Selasky wrote: > On 01/25/14 22:35, Volker Nebel wrote: >> >>> Number: 186110 >>> Category: usb >>> Synopsis: connected over USB, only first document is printed >>> 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: Sat Jan 25 21:40:00 UTC 2014 >>> Closed-Date: >>> Last-Modified: >>> Originator: Volker Nebel >>> Release: 10.0 on a Macmini, 8.0 on an Acer laptop >>> Organization: >>> Environment: >> FreeBSD macmini.ror.de 10.0-RELEASE FreeBSD 10.0-Release #1: Fri Jan 24 >> 20:32:29 >> CET 2014 root@macmini.ror.de:/usr/obj/usr/src/sys/MACMINI amd64 >> and for the ACER lapopt: >> FreeBSD nebel.ror.de 8.0-RELEASE FreeBSD 8.0-RELEASE #3: Sat Jan 30 >> 10:46:59 CET >> 2010 root@nebel.ror.de:/usr/obj/usr/src/sys/WENSDAY i386 >> >> >>> Description: >> Hi! >> >> Perhaps I only fail because the handbook (which is excellent in many ways) >> provi >> des only little info on how to connect a printer to an USB port. In case >> there i >> s something special I overlooked, please let me know how I should do it and >> send >> this PR to Class www. >> My printer is an HP LaserJet 6MP without an USB interface (too old). It >> serve >> s me fine when connected to a computer's parallel port. When I connect this >> prin >> ter to a computer's USB port (with an adapter cable), only the first >> document (w >> hat size ever) is printed. For further documents, printer starts blinking, >> stops >> blinking and does nothing. >> For modern computers no longer have a parallel port, I can only connect >> via U >> SB. >> Obviously, the problem has nothing to with the spooling system, for it >> happen >> s as well with [CMD=" "]cat test.ps > /dev/ulpt0[/CMD] issued twice: The >> first d >> ocument is printed, any further not. (The printer understands Postscript.) >> Same >> situation with /dev/unlpt0. >> I observe(d) the problem >> - on my Acer Laptop with FreeBSD 8.0 (after [CMD=" "]kldload ulpt[/CMD]) >> - on my Apple Macmini with FreeBSD 10.0 (where ulpt is compiled into the >> kernel) >> - on a laptop I had in the meantime of which I remember nothing except >> having Fr >> eebSD installed >> - on my Apple Macmini running under XUbuntu 10.4.3 >> I do/did not observe the problem >> + on my Apple Macmini running under MacOS X MountainLeopard (which I have >> completely replaced by FreeBSD) >> + on my Acer Laptop using parallel port. >> Surprisingly the problem cannot be solved by turning the printer off >> and on a >> gain. It can be solved by rebooting the computer (leaving the printer on). >> When I issue [CMD=" "]lpr test.ps[/CMD] a 2nd time and [CMD=" >> "]lpq[/CMD], I >> get: >> "waiting for lp to become ready (offline?)" >> When connected to the parallel interface interface, the printer worked >> fine >> only in "polled mode". Unfortunately, I don't know how to tune >> /boot/device.hint >> s for ulpt. And [CMD=" "]lptcontrol -p -d /dev/ulpt0[/CMD] returns: >> "lptcontrol: >> ioctl: Operation not supported by device". >> >> Best regards, >> Volker > > Hi, > > You can trace the USB traffic using usbdump. man usbdump Maybe that will give > you the clues you need to find the problem. > > Thank you! > > --HPS > > Hi, for some reasons, printing with lpd on /dev/unlpt0 does work. The PR may be closed, thank you for your attention. Best regards, Volker From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 04:30:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C39B7A3 for ; Wed, 29 Jan 2014 04:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 047C91A99 for ; Wed, 29 Jan 2014 04:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0T4U0YY017395 for ; Wed, 29 Jan 2014 04:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0T4U0Tl017394; Wed, 29 Jan 2014 04:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 29 Jan 2014 04:30:00 GMT Resent-Message-Id: <201401290430.s0T4U0Tl017394@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF6D8785 for ; Wed, 29 Jan 2014 04:28:49 +0000 (UTC) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [IPv6:2001:470:8b2d:1e1c:21b:21ff:feb8:d7b0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5B11A8D for ; Wed, 29 Jan 2014 04:28:49 +0000 (UTC) Received: from xyz.csail.mit.edu (xyz.csail.mit.edu [128.31.0.28]) by khavrinen.csail.mit.edu (8.14.7/8.14.7) with ESMTP id s0T4SkEt040066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO CN= issuer=) for ; Tue, 28 Jan 2014 23:28:46 -0500 (EST) (envelope-from wollman@xyz.csail.mit.edu) Received: (from root@localhost) by xyz.csail.mit.edu (8.14.7/8.14.5/Submit) id s0T4SjN1041656; Tue, 28 Jan 2014 23:28:45 -0500 (EST) (envelope-from wollman) Message-Id: <201401290428.s0T4SjN1041656@xyz.csail.mit.edu> Date: Tue, 28 Jan 2014 23:28:45 -0500 (EST) From: Garrett Wollman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: usb/186224: GPF in usbd_get_hr_func() on stable/9 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 04:30:01 -0000 >Number: 186224 >Category: usb >Synopsis: GPF in usbd_get_hr_func() on stable/9 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 29 04:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9-stable amd64 >Organization: MIT Computer Science & Artificial Intelligence Lab >Environment: (from svn info -- this is a newly built kernel) URL: svn://svn0.us-east.freebsd.org/base/stable/9 Relative URL: ^/stable/9 Revision: 261256 Last Changed Author: mav Last Changed Rev: 261256 Last Changed Date: 2014-01-28 21:39:44 -0500 (Tue, 28 Jan 2014) There are local changes, but none relevant to USB support. Hardware is a Quanta QSSC-S99Q. Under releng/9.2, USB hardware is identified as: uhci0: port 0xbc00-0xbc1f irq 23 at device 26.0 on pci0 usbus0 on uhci0 uhci1: port 0xb880-0xb89f irq 22 at device 26.1 on pci0 usbus1 on uhci1 uhci2: port 0xb800-0xb81f irq 21 at device 26.2 on pci0 usbus2 on uhci2 ehci0: mem 0xdf3d6000-0xdf3d63ff irq 20 at device 26.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 uhci3: port 0xb480-0xb49f irq 23 at device 29.0 on pci0 usbus4 on uhci3 uhci4: port 0xb400-0xb41f irq 22 at device 29.1 on pci0 usbus5 on uhci4 uhci5: port 0x7c00-0x7c1f irq 21 at device 29.2 on pci0 usbus6 on uhci5 ehci1: mem 0xdf3d4000-0xdf3d43ff irq 23 at device 29.7 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 ugen3.2: at usbus3 uhub8: on usbus3 ugen3.3: at usbus3 ukbd0: on usbus3 ums0: on usbus3 >Description: Kernel panics with a GPF in interrupt-driven part of boot process: usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered ipmi0: IPMI device rev. 1, firmware rev. 1.03, version 2.0 ipmi0: Number of channels 2 ipmi0: Attached watchdog uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered ugen3.2: at usbus3 uhub8: on usbus3 failure at /usr/src-9-stable/sys/dev/mps/mps_sas_lsi.c:667/mpssas_add_device()! Could not get ID for device with handle 0x0010 mpssas_fw_work: failed to add device with handle 0x10 uhub8: 3 ports with 3 removable, self powered Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff804b6929 stack pointer = 0x28:0xffffff945a8a39d0 frame pointer = 0x28:0xffffff945a8a39e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 15 (usbus6) trap number = 9 panic: general protection fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a/frame 0xffffff945a8a34f0 kdb_backtrace() at kdb_backtrace+0x37/frame 0xffffff945a8a35b0 panic() at panic+0x1ce/frame 0xffffff945a8a36b0 trap_fatal() at trap_fatal+0x290/frame 0xffffff945a8a3710 trap() at trap+0x241/frame 0xffffff945a8a3910 calltrap() at calltrap+0x8/frame 0xffffff945a8a3910 --- trap 0x9, rip = 0xffffffff804b6929, rsp = 0xffffff945a8a39d0, rbp = 0xffffff945a8a39e0 --- usbd_get_hr_func() at usbd_get_hr_func+0x29/frame 0xffffff945a8a39e0 usbd_do_request_flags() at usbd_do_request_flags+0x18e/frame 0xffffff945a8a3aa0 usbd_req_get_port_status() at usbd_req_get_port_status+0x43/frame 0xffffff945a8a3ad0 uhub_read_port_status() at uhub_read_port_status+0x2d/frame 0xffffff945a8a3b10 uhub_explore() at uhub_explore+0xc9/frame 0xffffff945a8a3b80 usb_bus_explore() at usb_bus_explore+0xcb/frame 0xffffff945a8a3bb0 usb_process() at usb_process+0xd3/frame 0xffffff945a8a3be0 fork_exit() at fork_exit+0x11f/frame 0xffffff945a8a3c30 fork_trampoline() at fork_trampoline+0xe/frame 0xffffff945a8a3c30 --- trap 0, rip = 0, rsp = 0xffffff945a8a3cf0, rbp = 0 --- >How-To-Repeat: Try to boot a stable/9 kernel on my Quanta hardware >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 05:13:57 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A22AB388; Wed, 29 Jan 2014 05:13:57 +0000 (UTC) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4FD841FDB; Wed, 29 Jan 2014 05:13:57 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id cm18so1844833qab.9 for ; Tue, 28 Jan 2014 21:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nQhGPLhvmcJ7pF/zO7nJ/CF+NpZa5Tf9qiATsYIK2U8=; b=tmueLmBI6WVdmJ8CsOkKYhurvhW3D+1PDuP9wCXRmfMCVx63TMV8GEjFP6chApRkCC p64v5qDlmcPoECy123Ob4HBwj/OXC3YDvCiFI1idJmddRfSZFTGV8hsmFMUke2e+vnIn n+FAUM346aqHWW7cHlxps/n+orUcHMrGWnZtuBUK4FioIwUoy/BE8YhbZfu4gIGZCQ+g 7kYByEqgl164fWH5fl3iK3jGb+bvKoOZQCLUbQkbP4zte5AMDyOW1OPGuWiswuCh7Clt 2/4NUqxMnG7WmLCuLLjzjUV5m2CkSZ8Py+P6+Ppb+8SBQo0jpRrqb3mbJ4UmJMy2sBLg sH0w== MIME-Version: 1.0 X-Received: by 10.140.24.71 with SMTP id 65mr8404163qgq.12.1390972436520; Tue, 28 Jan 2014 21:13:56 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Tue, 28 Jan 2014 21:13:56 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Jan 2014 21:13:56 -0800 X-Google-Sender-Auth: eTAa1biPD_xgJpw1V_aYXNpHfZM Message-ID: Subject: Re: Apple Trackpad driver From: Adrian Chadd To: =?UTF-8?B?6buE5paH6L6J?= , "freebsd-usb@freebsd.org" , Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 05:13:57 -0000 holy crap, cool! Hans? Any chance we could get this into -HEAD? -a On 28 January 2014 17:43, Huang Wen Hui wrote: > Hi, > I have a working trackpad driver for my MBP 2013, I am not C programmer > usually, > so the code may ugly. If someone like to test, you can download it from > http://sw.gddsn.org.cn/freebsd/wsp-140129.tar.gz, > I only test it on MBP2012 and MBP2013. Right now the driver have these > feature: > > 1. Vertical scrolling with 2 fingers movement, > 2. In firefox, 2 fingers horizontal movement act as page back/forward. > 3. one finger tap act as left mouse click, 2 fingers tap act as right mouse > click, and > three fingers tap act as middle mouse click. > 4. you also use sysctl to modify some parameters: > hw.usb.wsp.scale_factor: 12 > hw.usb.wsp.z_factor: 5 > hw.usb.wsp.pressure_touch_threshold: 50 > hw.usb.wsp.pressure_untouch_threshold: 10 > hw.usb.wsp.pressure_tap_threshold: 120 > hw.usb.wsp.scr_hor_threshold: 50 > > Cheers, > > Huang Wen Hui > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 05:24:41 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC3167F9 for ; Wed, 29 Jan 2014 05:24:41 +0000 (UTC) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8573F10BD for ; Wed, 29 Jan 2014 05:24:41 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id j1so3752250iga.2 for ; Tue, 28 Jan 2014 21:24:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=0ox/pXJxT0aWWx+Nj5GPO5ocpH7gFE/aiyr86W2c6Zk=; b=EpFRUZzxqzIFpPiWyBs7rKFxRiqk7ACCMhPQ+L30YH8LmpQJ5tUYRgdeTjzpRff52U gJB6UOUGLZk1l4CytfboagjP3hp0xl2lcaVERN62OZMcO8YDt5oIq4k6/l+Gq9JGuxTu XEIjDjzrAzEdcrPZfM4qQKRsAujlMcfMghBu6sFqLSSqbA7JaFXYX84eNSaOpAMl8qCA 5acCfcHz5/9lq/gfI4RoC8vPRvDuOeRZAJQRDxorLTqovEc8LzelaGp0mrimyJZv3G65 43OrcRkZoeTlEFX9xpqupJ1c0adft2laiGxd9CDdLbxBJqaRJBKJ986FaHg/BzMsJ5JM Y8GA== X-Gm-Message-State: ALoCoQnamfTqN6P+eEz51izFmM+524e9eytZa6jm3xPz5my/81PUJduMYrjT08SH/ViBDjiT3EJM2PTQht5BtCDfi/YTXsaPPkcsCHra+v46nEu0JN0jBtw= X-Received: by 10.50.67.180 with SMTP id o20mr26762275igt.43.1390973074976; Tue, 28 Jan 2014 21:24:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.128.200 with HTTP; Tue, 28 Jan 2014 21:24:19 -0800 (PST) In-Reply-To: References: From: "Lundberg, Johannes" Date: Wed, 29 Jan 2014 14:24:19 +0900 Message-ID: Subject: Re: Apple Trackpad driver To: Adrian Chadd Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?UTF-8?B?6buE5paH6L6J?= , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 05:24:41 -0000 This is really good news :) I will try it on my 2012 and 2013 MBAs soon! (hopefully it is same hardware as in the pros) -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, Jan 29, 2014 at 2:13 PM, Adrian Chadd wrote: > holy crap, cool! > > Hans? Any chance we could get this into -HEAD? > > > -a > > > On 28 January 2014 17:43, Huang Wen Hui wrote: > > Hi, > > I have a working trackpad driver for my MBP 2013, I am not C programmer > > usually, > > so the code may ugly. If someone like to test, you can download it from > > http://sw.gddsn.org.cn/freebsd/wsp-140129.tar.gz, > > I only test it on MBP2012 and MBP2013. Right now the driver have these > > feature: > > > > 1. Vertical scrolling with 2 fingers movement, > > 2. In firefox, 2 fingers horizontal movement act as page back/forward. > > 3. one finger tap act as left mouse click, 2 fingers tap act as right > mouse > > click, and > > three fingers tap act as middle mouse click. > > 4. you also use sysctl to modify some parameters: > > hw.usb.wsp.scale_factor: 12 > > hw.usb.wsp.z_factor: 5 > > hw.usb.wsp.pressure_touch_threshold: 50 > > hw.usb.wsp.pressure_untouch_threshold: 10 > > hw.usb.wsp.pressure_tap_threshold: 120 > > hw.usb.wsp.scr_hor_threshold: 50 > > > > Cheers, > > > > Huang Wen Hui > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 08:49:30 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2608F7E3 for ; Wed, 29 Jan 2014 08:49:30 +0000 (UTC) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF23F1FC0 for ; Wed, 29 Jan 2014 08:49:29 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id j1so4075545iga.2 for ; Wed, 29 Jan 2014 00:49:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=Eq8mYsKpvMU4QvOKrzOoV1RZxgjKTCf1fDlRwc1Ar8Q=; b=bBq/mvJvRSA0lPiqq6+482ejXvYgo4W9/CRAO/9BdoLikWroPKm7jDJWwj4/N7Fwce 8aCR7Pun9eqtYV1Di5h1/J9mWammPiSb//r5qKcKm0chuIU7o7VbfVj6JF73rpgQrHoy JVIzgVsEszB6hTfxh3x72C4OCWnc1CvR1LtzmZm9/jaPiOetz1KUuP2wie7aoTwj3ukV Iqma7TkuwekGwqjd06vjBQghdYe5nLWP7qCrhj00DwSLaNJX5lwukLnQQQIhqP5OKVSt HtFCRZpwj7anbXMm89y5sPz8vV4b1VDbMrvK3wW9VObSvcZ607dBCS6ynHrmcvgmLS24 Wn/g== X-Gm-Message-State: ALoCoQk/S3ajNMFT5mLKWnsZ+OCzAhlDMKMJaNPmxmWS0L+4xFXpm89XqaUAnrdcU5av2DaGutnjLa8vHYu3qDGyeFH31dvij2HsjtiW/qG9S+CxtCPpjTk= X-Received: by 10.43.0.202 with SMTP id nn10mr127216icb.54.1390985368783; Wed, 29 Jan 2014 00:49:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.128.200 with HTTP; Wed, 29 Jan 2014 00:49:13 -0800 (PST) In-Reply-To: References: From: "Lundberg, Johannes" Date: Wed, 29 Jan 2014 17:49:13 +0900 Message-ID: Subject: Re: Apple Trackpad driver To: Adrian Chadd Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?UTF-8?B?6buE5paH6L6J?= , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 08:49:30 -0000 Hi I tested the driver on a 2012 Macbook Air 11" and it works great! Good job! Is there a way to disable click-by-touch? I always preferred clicking with the physical button that is built in to the pad. Best regards -- Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, Jan 29, 2014 at 2:24 PM, Lundberg, Johannes < johannes@brilliantservice.co.jp> wrote: > This is really good news :) I will try it on my 2012 and 2013 MBAs soon! > (hopefully it is same hardware as in the pros) > > -- > Johannes Lundberg > BRILLIANTSERVICE CO., LTD. > > > On Wed, Jan 29, 2014 at 2:13 PM, Adrian Chadd wrote: > >> holy crap, cool! >> >> Hans? Any chance we could get this into -HEAD? >> >> >> -a >> >> >> On 28 January 2014 17:43, Huang Wen Hui wrote: >> > Hi, >> > I have a working trackpad driver for my MBP 2013, I am not C >> programmer >> > usually, >> > so the code may ugly. If someone like to test, you can download it from >> > http://sw.gddsn.org.cn/freebsd/wsp-140129.tar.gz, >> > I only test it on MBP2012 and MBP2013. Right now the driver have these >> > feature: >> > >> > 1. Vertical scrolling with 2 fingers movement, >> > 2. In firefox, 2 fingers horizontal movement act as page back/forward. >> > 3. one finger tap act as left mouse click, 2 fingers tap act as right >> mouse >> > click, and >> > three fingers tap act as middle mouse click. >> > 4. you also use sysctl to modify some parameters: >> > hw.usb.wsp.scale_factor: 12 >> > hw.usb.wsp.z_factor: 5 >> > hw.usb.wsp.pressure_touch_threshold: 50 >> > hw.usb.wsp.pressure_untouch_threshold: 10 >> > hw.usb.wsp.pressure_tap_threshold: 120 >> > hw.usb.wsp.scr_hor_threshold: 50 >> > >> > Cheers, >> > >> > Huang Wen Hui >> > _______________________________________________ >> > freebsd-current@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-current >> > To unsubscribe, send any mail to " >> freebsd-current-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org >> " >> > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message. From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 10:52:32 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA07417A; Wed, 29 Jan 2014 10:52:32 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 76B9F1A1E; Wed, 29 Jan 2014 10:52:32 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 1ADC217FC93; Wed, 29 Jan 2014 11:52:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 7DFD28EE1ED; Wed, 29 Jan 2014 11:53:15 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sKxe8F27VOno; Wed, 29 Jan 2014 11:53:14 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 1DD818EDF88; Wed, 29 Jan 2014 11:53:14 +0100 (CET) Message-ID: <52E8DDA3.3070301@bitfrost.no> Date: Wed, 29 Jan 2014 11:53:23 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Lundberg, Johannes" , Adrian Chadd Subject: Re: Apple Trackpad driver References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?UTF-8?B?6buE5paH6L6J?= , freebsd-current , "freebsd-usb@freebsd.org" , "kwm@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 10:52:33 -0000 On 01/29/14 09:49, Lundberg, Johannes wrote: > Hi > > I tested the driver on a 2012 Macbook Air 11" and it works great! Good job! > > Is there a way to disable click-by-touch? I always preferred clicking with > the physical button that is built in to the pad. > Hi, I've added an "#if 0" around the 1 finger tap code until further. Maybe this feature can be tunable? I fixed the code style, added some range checks and cleared some buffer issues. When you assign a signed value to an unsigned variable, you should range check it, because the sign might cause an overflow when you use it later on. int8_t x = -1; uint32_t t = x; "t" is now "0xffffffffU" and not "255". Tested the code on my MacBookPro. Hope I didn't break anything. If so, send a patch to freebsd-usb. http://svnweb.freebsd.org/changeset/base/261260 To get the touchpad working with Xorg, I needed to re-compile HALD with the attached patch. kwm: Can you get the attached patch into ports? Auto-loading of wsp via devd will be done later. Simply need to re-generate usb.conf in /etc ... --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 11:13:51 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F5F7829 for ; Wed, 29 Jan 2014 11:13:51 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA6E1CC0 for ; Wed, 29 Jan 2014 11:13:50 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 478C317FC92; Wed, 29 Jan 2014 12:13:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id CAC098EE66E; Wed, 29 Jan 2014 12:14:40 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GcsTUYbaPMnE; Wed, 29 Jan 2014 12:14:40 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id EB9968EE627; Wed, 29 Jan 2014 12:14:39 +0100 (CET) Message-ID: <52E8E2A9.1040304@bitfrost.no> Date: Wed, 29 Jan 2014 12:14:49 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Volker Nebel , freebsd-usb@FreeBSD.org Subject: Re: usb/186110: connected over USB, only first document is printed References: <201401281940.s0SJe10l085197@freefall.freebsd.org> In-Reply-To: <201401281940.s0SJe10l085197@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 11:13:51 -0000 On 01/28/14 20:40, Volker Nebel wrote: > >> Obviously, the problem has nothing to with the spooling system, for it > >> happen > >> s as well with [CMD=" "]cat test.ps > /dev/ulpt0[/CMD] issued twice: The > >> first d > >> ocument is printed, any further not. (The printer understands Postscript.) > >> Same > >> situation with /dev/unlpt0. Hi, You might be able to find the answer by printing the same document using "cat" and "lpd" and then record the USB traffic using "usbdump". Remove the timestamps and do a diff. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 11:14:42 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B06D1864; Wed, 29 Jan 2014 11:14:42 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3721CC4; Wed, 29 Jan 2014 11:14:42 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 1E35217FC7D; Wed, 29 Jan 2014 12:14:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id AEFB08EE692; Wed, 29 Jan 2014 12:15:32 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uA8VufhchCbr; Wed, 29 Jan 2014 12:15:31 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id E6CF78EE66E; Wed, 29 Jan 2014 12:15:30 +0100 (CET) Message-ID: <52E8E2DC.5020505@bitfrost.no> Date: Wed, 29 Jan 2014 12:15:40 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: David Naylor , freebsd-usb@FreeBSD.org Subject: Re: usb/185747: Patcf that fix support for USB key " Kingston DT 101 G2" References: <201401281920.s0SJK1K1081308@freefall.freebsd.org> In-Reply-To: <201401281920.s0SJK1K1081308@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 11:14:42 -0000 On 01/28/14 20:20, David Naylor wrote: > The following reply was made to PR usb/185747; it has been noted by GNATS. > > From: David Naylor > To: bug-followup@freebsd.org, olivier@cochard.me > Cc: > Subject: Re: usb/185747: Patcf that fix support for USB key "Kingston DT 101 G2" > Date: Tue, 28 Jan 2014 21:17:57 +0300 > Is this a problem on the latest 9-stable too? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 12:50:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA0E25AE for ; Wed, 29 Jan 2014 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9547D14CA for ; Wed, 29 Jan 2014 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0TCo1rY047183 for ; Wed, 29 Jan 2014 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0TCo1Lf047182; Wed, 29 Jan 2014 12:50:01 GMT (envelope-from gnats) Date: Wed, 29 Jan 2014 12:50:01 GMT Message-Id: <201401291250.s0TCo1Lf047182@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/186224: GPF in usbd_get_hr_func() on stable/9 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 12:50:01 -0000 The following reply was made to PR usb/186224; it has been noted by GNATS. From: Hans Petter Selasky To: Garrett Wollman , FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: usb/186224: GPF in usbd_get_hr_func() on stable/9 Date: Wed, 29 Jan 2014 13:41:50 +0100 On 01/29/14 05:28, Garrett Wollman wrote: > >> Number: 186224 >> Category: usb >> Synopsis: GPF in usbd_get_hr_func() on stable/9 >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-usb >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Wed Jan 29 04:30:00 UTC 2014 >> Closed-Date: >> Last-Modified: >> Originator: Garrett Wollman >> Release: FreeBSD 9-stable amd64 >> Organization: > MIT Computer Science & Artificial Intelligence Lab >> Environment: > > (from svn info -- this is a newly built kernel) > URL: svn://svn0.us-east.freebsd.org/base/stable/9 > Relative URL: ^/stable/9 > Revision: 261256 > Last Changed Author: mav > Last Changed Rev: 261256 > Last Changed Date: 2014-01-28 21:39:44 -0500 (Tue, 28 Jan 2014) > > There are local changes, but none relevant to USB support. > > Hardware is a Quanta QSSC-S99Q. Under releng/9.2, USB hardware is identified > as: > > uhci0: port 0xbc00-0xbc1f irq 23 at device 26.0 on pci0 > usbus0 on uhci0 > uhci1: port 0xb880-0xb89f irq 22 at device 26.1 on pci0 > usbus1 on uhci1 > uhci2: port 0xb800-0xb81f irq 21 at device 26.2 on pci0 > usbus2 on uhci2 > ehci0: mem 0xdf3d6000-0xdf3d63ff irq 20 at device 26.7 on pci0 > usbus3: EHCI version 1.0 > usbus3 on ehci0 > uhci3: port 0xb480-0xb49f irq 23 at device 29.0 on pci0 > usbus4 on uhci3 > uhci4: port 0xb400-0xb41f irq 22 at device 29.1 on pci0 > usbus5 on uhci4 > uhci5: port 0x7c00-0x7c1f irq 21 at device 29.2 on pci0 > usbus6 on uhci5 > ehci1: mem 0xdf3d4000-0xdf3d43ff irq 23 at device 29.7 on pci0 > usbus7: EHCI version 1.0 > usbus7 on ehci1 > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > usbus4: 12Mbps Full Speed USB v1.0 > usbus5: 12Mbps Full Speed USB v1.0 > usbus6: 12Mbps Full Speed USB v1.0 > usbus7: 480Mbps High Speed USB v2.0 > ugen4.1: at usbus4 > uhub4: on usbus4 > ugen5.1: at usbus5 > uhub5: on usbus5 > ugen6.1: at usbus6 > uhub6: on usbus6 > ugen7.1: at usbus7 > uhub7: on usbus7 > ugen3.2: at usbus3 > uhub8: on usbus3 > ugen3.3: at usbus3 > ukbd0: on usbus3 > ums0: on usbus3 > >> Description: > > Kernel panics with a GPF in interrupt-driven part of boot process: > > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > usbus4: 12Mbps Full Speed USB v1.0 > usbus5: 12Mbps Full Speed USB v1.0 > usbus6: 12Mbps Full Speed USB v1.0 > usbus7: 480Mbps High Speed USB v2.0 > ugen4.1: at usbus4 > uhub4: on usbus4 > ugen5.1: at usbus5 > uhub5: on usbus5 > ugen6.1: at usbus6 > uhub6: on usbus6 > ugen7.1: at usbus7 > uhub7: on usbus7 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub4: 2 ports with 2 removable, self powered > uhub5: 2 ports with 2 removable, self powered > uhub6: 2 ports with 2 removable, self powered > ipmi0: IPMI device rev. 1, firmware rev. 1.03, version 2.0 > ipmi0: Number of channels 2 > ipmi0: Attached watchdog > uhub3: 6 ports with 6 removable, self powered > uhub7: 6 ports with 6 removable, self powered > ugen3.2: at usbus3 > uhub8: on usbus3 > failure at /usr/src-9-stable/sys/dev/mps/mps_sas_lsi.c:667/mpssas_add_device()! Could not get ID for device with handle 0x0010 > mpssas_fw_work: failed to add device with handle 0x10 > uhub8: 3 ports with 3 removable, self powered > > > Fatal trap 9: general protection fault while in kernel mode > cpuid = 0; apic id = 00 > instruction pointer = 0x20:0xffffffff804b6929 > stack pointer = 0x28:0xffffff945a8a39d0 > frame pointer = 0x28:0xffffff945a8a39e0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 15 (usbus6) > trap number = 9 > panic: general protection fault > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a/frame 0xffffff945a8a34f0 > kdb_backtrace() at kdb_backtrace+0x37/frame 0xffffff945a8a35b0 > panic() at panic+0x1ce/frame 0xffffff945a8a36b0 > trap_fatal() at trap_fatal+0x290/frame 0xffffff945a8a3710 > trap() at trap+0x241/frame 0xffffff945a8a3910 > calltrap() at calltrap+0x8/frame 0xffffff945a8a3910 > --- trap 0x9, rip = 0xffffffff804b6929, rsp = 0xffffff945a8a39d0, rbp = 0xffffff945a8a39e0 --- > usbd_get_hr_func() at usbd_get_hr_func+0x29/frame 0xffffff945a8a39e0 > usbd_do_request_flags() at usbd_do_request_flags+0x18e/frame 0xffffff945a8a3aa0 > usbd_req_get_port_status() at usbd_req_get_port_status+0x43/frame 0xffffff945a8a3ad0 > uhub_read_port_status() at uhub_read_port_status+0x2d/frame 0xffffff945a8a3b10 > uhub_explore() at uhub_explore+0xc9/frame 0xffffff945a8a3b80 > usb_bus_explore() at usb_bus_explore+0xcb/frame 0xffffff945a8a3bb0 > usb_process() at usb_process+0xd3/frame 0xffffff945a8a3be0 > fork_exit() at fork_exit+0x11f/frame 0xffffff945a8a3c30 > fork_trampoline() at fork_trampoline+0xe/frame 0xffffff945a8a3c30 > --- trap 0, rip = 0, rsp = 0xffffff945a8a3cf0, rbp = 0 --- > >> How-To-Repeat: > > Try to boot a stable/9 kernel on my Quanta hardware > Hi, All USB devices should have a valid bus, methods and roothub_exec pointers. You can try adding some printfs, to see what the values of the "udev->bus->methods->roothub_exec" fields are, as shown in the code below: The code in question "sys/dev/usb/usb_request.c": else if (udev->parent_hub == NULL) 16: 31 c0 xor %eax,%eax 18: 48 83 bf 60 01 00 00 cmpq $0x0,0x160(%rdi) 1f: 00 20: 75 f2 jne 14 return (udev->bus->methods->roothub_exec); 22: 48 8b 97 50 01 00 00 mov 0x150(%rdi),%rdx 29: 48 8b 82 40 05 00 00 mov 0x540(%rdx),%rax 30: 48 8b 00 mov (%rax),%rax else According to your backtrace "udev->bus" is corrupted somehow. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 12:51:51 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B841615; Wed, 29 Jan 2014 12:51:51 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id 203B41534; Wed, 29 Jan 2014 12:51:50 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id C6C8A10058F; Wed, 29 Jan 2014 13:51:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 019828EFB60; Wed, 29 Jan 2014 13:52:39 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wRob4CnwOlfb; Wed, 29 Jan 2014 13:52:39 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 20C608EFB47; Wed, 29 Jan 2014 13:52:39 +0100 (CET) Message-ID: <52E8F9A0.7030504@bitfrost.no> Date: Wed, 29 Jan 2014 13:52:48 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "Lundberg, Johannes" , Adrian Chadd Subject: Re: Apple Trackpad driver References: <52E8DDA3.3070301@bitfrost.no> In-Reply-To: <52E8DDA3.3070301@bitfrost.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?6buE5paH6L6J?= , freebsd-current , "freebsd-usb@freebsd.org" , "kwm@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 12:51:51 -0000 Hi, Can you also write a manual page for the "wsp" driver? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 29 18:48:47 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AF9A317; Wed, 29 Jan 2014 18:48:47 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9BA1917; Wed, 29 Jan 2014 18:48:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0TImliA029392; Wed, 29 Jan 2014 18:48:47 GMT (envelope-from wollman@freefall.freebsd.org) Received: (from wollman@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0TImkJx029391; Wed, 29 Jan 2014 18:48:46 GMT (envelope-from wollman) Date: Wed, 29 Jan 2014 18:48:46 GMT Message-Id: <201401291848.s0TImkJx029391@freefall.freebsd.org> To: wollman@csail.mit.edu, wollman@FreeBSD.org, freebsd-usb@FreeBSD.org From: wollman@FreeBSD.org Subject: Re: usb/186224: GPF in usbd_get_hr_func() on stable/9 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 18:48:47 -0000 Synopsis: GPF in usbd_get_hr_func() on stable/9 State-Changed-From-To: open->closed State-Changed-By: wollman State-Changed-When: Wed Jan 29 18:47:36 UTC 2014 State-Changed-Why: USB appears to be an innocent bystander here... http://www.freebsd.org/cgi/query-pr.cgi?pr=186224 From owner-freebsd-usb@FreeBSD.ORG Thu Jan 30 05:56:46 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8595F9D; Thu, 30 Jan 2014 05:56:46 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C875F150D; Thu, 30 Jan 2014 05:56:45 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id w7so2171034lbi.35 for ; Wed, 29 Jan 2014 21:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=yB2H0hH50kw5mjXlDgPnshSny0A9mYfA7xN+Exbx06w=; b=k/OMQBrBmxnFTA1I1OFisK3WFKI+TxBGNMLVAWzOx0SqzN2AHFX7ifMdxS5RhqMGL1 7Qj/6t9Nh5QtKl7xsjCxr2w0sOuQs//Hw+9fnvRFQGghJYIuG14WE0Z5dZqWDSPIoQ9W PVXl4CCtwE9/DjA/X05KojsW8GBNTSswlSP/0mdIs/AQoLhljWg/6HNGxrBIqwv1oguO 0ky7uTv9vKgdFIDtE1juP7+3ZhbiF/Z2ESDT+/5Qz03gl8NlAC8VnxyoijOBxo9CSu5T jW1bkVBypHrT++7lCd+hJhDqgGvvBphq+RPT2RUloTQdtgkopFEG1hzNU3Z66f+OAFtZ VoCA== MIME-Version: 1.0 X-Received: by 10.112.56.237 with SMTP id d13mr8054746lbq.2.1391061403734; Wed, 29 Jan 2014 21:56:43 -0800 (PST) Received: by 10.112.89.168 with HTTP; Wed, 29 Jan 2014 21:56:43 -0800 (PST) In-Reply-To: <52E8DDA3.3070301@bitfrost.no> References: <52E8DDA3.3070301@bitfrost.no> Date: Thu, 30 Jan 2014 13:56:43 +0800 Message-ID: Subject: Re: Apple Trackpad driver From: Huang Wen Hui To: Hans Petter Selasky Content-Type: multipart/mixed; boundary=001a1133a922d4a58604f129b86b X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "kwm@freebsd.org" , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: huanghwh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 05:56:47 -0000 --001a1133a922d4a58604f129b86b Content-Type: text/plain; charset=UTF-8 Hans, Thanks for you take care of it and commit it! I found two problems: 1. The selection is not expected when selection with 2 fingers sometimes. 2. Unexpected scrolling when Click with 2 fingers. This patch can fix that. The var "n" modify to "ntouch" seems to be necessary. Cheers, Huang Wen Hui 2014-01-29 Hans Petter Selasky > On 01/29/14 09:49, Lundberg, Johannes wrote: > >> Hi >> >> I tested the driver on a 2012 Macbook Air 11" and it works great! Good >> job! >> >> Is there a way to disable click-by-touch? I always preferred clicking with >> the physical button that is built in to the pad. >> >> > Hi, > > I've added an "#if 0" around the 1 finger tap code until further. Maybe > this feature can be tunable? > > I fixed the code style, added some range checks and cleared some buffer > issues. > > When you assign a signed value to an unsigned variable, you should range > check it, because the sign might cause an overflow when you use it later on. > > int8_t x = -1; > > uint32_t t = x; > > "t" is now "0xffffffffU" and not "255". > > Tested the code on my MacBookPro. Hope I didn't break anything. If so, > send a patch to freebsd-usb. > > http://svnweb.freebsd.org/changeset/base/261260 > > To get the touchpad working with Xorg, I needed to re-compile HALD with > the attached patch. > > kwm: Can you get the attached patch into ports? > > Auto-loading of wsp via devd will be done later. Simply need to > re-generate usb.conf in /etc ... > > --HPS > > --001a1133a922d4a58604f129b86b Content-Type: text/plain; charset=US-ASCII; name="wsp.diff" Content-Disposition: attachment; filename="wsp.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hr1lutxl1 LS0tIHdzcC5jLm9yaWcJMjAxNC0wMS0zMCAwODoxNDoyNi4wMDAwMDAwMDAgKzA4MDAKKysrIHdz cC5jCTIwMTQtMDEtMzAgMTM6NDk6NTkuMDAwMDAwMDAwICswODAwCkBAIC05NTcsOCArOTU3LDgg QEAKIAkJaWYgKGgtPnEyID09IDQpCiAJCQlzYy0+aW50cl9jb3VudCsrOwogCi0JCWlmIChzYy0+ bnRhcHMgPCBuKSB7Ci0JCQlzd2l0Y2ggKG4pIHsKKwkJaWYgKHNjLT5udGFwcyA8IG50b3VjaCkg eworCQkJc3dpdGNoIChudG91Y2gpIHsKIAkJCWNhc2UgMToKIAkJCQlpZiAoZlswXS50b3VjaF9t YWpvciA+IHR1bi5wcmVzc3VyZV90YXBfdGhyZXNob2xkKQogCQkJCQlzYy0+bnRhcHMgPSAxOwpA QCAtOTc4LDcgKzk3OCw3IEBACiAJCQkJYnJlYWs7CiAJCQl9CiAJCX0KLQkJaWYgKG4gPT0gMikg eworCQlpZiAobnRvdWNoID09IDIpIHsKIAkJCXNjLT5kaXN0YW5jZSA9IG1heChzYy0+ZGlzdGFu Y2UsIG1heCgKIAkJCSAgICBhYnMoc2MtPnBvc194WzBdIC0gc2MtPnBvc194WzFdKSwKIAkJCSAg ICBhYnMoc2MtPnBvc195WzBdIC0gc2MtPnBvc195WzFdKSkpOwpAQCAtMTA1MCwxMiArMTA1MCwy MCBAQAogCQkJaWYgKHNjLT5zY190b3VjaCA9PSBXU1BfU0VDT05EX1RPVUNIKQogCQkJCXNjLT5z Y190b3VjaCA9IFdTUF9UT1VDSElORzsKIAotCQkJaWYgKG4gIT0gMCAmJgorCQkJaWYgKG50b3Vj aCAhPSAwICYmCiAJCQkgICAgaC0+cTIgPT0gNCAmJgogCQkJICAgIGZbMF0udG91Y2hfbWFqb3Ig Pj0gdHVuLnByZXNzdXJlX3RvdWNoX3RocmVzaG9sZCkgewogCQkJCWR4ID0gc2MtPnBvc194WzBd IC0gc2MtPnByZV9wb3NfeDsKIAkJCQlkeSA9IHNjLT5wb3NfeVswXSAtIHNjLT5wcmVfcG9zX3k7 Ci0JCQkJaWYgKG4gPT0gMiAmJiBzYy0+c2Nfc3RhdHVzLmJ1dHRvbiAhPSAwKSB7CisKKwkJCQkv KiBJZ25vcmUgbW92ZW1lbnQgZnJvbSBpYnQ9MSB0byBpYnQ9MCAqLworCQkJCWlmIChzYy0+c2Nf c3RhdHVzLm9idXR0b24gIT0gMCAmJiAKKwkJCQkgICAgc2MtPnNjX3N0YXR1cy5idXR0b24gPT0g MCkgeworCQkJCQlkeCA9IDA7CisJCQkJCWR5ID0gMDsKKwkJCQl9CisKKwkJCQlpZiAobnRvdWNo ID09IDIgJiYgc2MtPnNjX3N0YXR1cy5idXR0b24gIT0gMCkgewogCQkJCQlkeCA9IHNjLT5wb3Nf eFtzYy0+ZmluZ2VyXSAtIHNjLT5wcmVfcG9zX3g7CiAJCQkJCWR5ID0gc2MtPnBvc195W3NjLT5m aW5nZXJdIC0gc2MtPnByZV9wb3NfeTsKIAkJCQkJaWYgKGZbMF0ub3JpZ2luID09IDAgfHwgZlsx XS5vcmlnaW4gPT0gMCkgewpAQCAtMTA5Miw3ICsxMTAwLDcgQEAKIAkJCXNjLT5keF9zdW0gKz0g ZHg7CiAJCQlzYy0+ZHlfc3VtICs9IGR5OwogCi0JCQlpZiAobiA9PSAyICYmIHNjLT5zY19zdGF0 dXMuYnV0dG9uID09IDApIHsKKwkJCWlmIChudG91Y2ggPT0gMiAmJiBzYy0+c2Nfc3RhdHVzLmJ1 dHRvbiA9PSAwKSB7CiAJCQkJaWYgKHNjLT5zY3JfbW9kZSA9PSBXU1BfU0NSX05PTkUgJiYKIAkJ CQkgICAgYWJzKHNjLT5keF9zdW0pICsgYWJzKHNjLT5keV9zdW0pID4gNTApCiAJCQkJCXNjLT5z Y3JfbW9kZSA9IGFicyhzYy0+ZHhfc3VtKSA+CkBAIC0xMTM0LDcgKzExNDIsNyBAQAogCQlzYy0+ cHJlX3Bvc194ID0gc2MtPnBvc194WzBdOwogCQlzYy0+cHJlX3Bvc195ID0gc2MtPnBvc195WzBd OwogCi0JCWlmIChuID09IDIgJiYgc2MtPnNjX3N0YXR1cy5idXR0b24gIT0gMCkgeworCQlpZiAo bnRvdWNoID09IDIgJiYgc2MtPnNjX3N0YXR1cy5idXR0b24gIT0gMCkgewogCQkJc2MtPnByZV9w b3NfeCA9IHNjLT5wb3NfeFtzYy0+ZmluZ2VyXTsKIAkJCXNjLT5wcmVfcG9zX3kgPSBzYy0+cG9z X3lbc2MtPmZpbmdlcl07CiAJCX0K --001a1133a922d4a58604f129b86b-- From owner-freebsd-usb@FreeBSD.ORG Thu Jan 30 06:45:40 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6BA06D7; Thu, 30 Jan 2014 06:45:40 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9551879; Thu, 30 Jan 2014 06:45:39 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 5648717FC8B; Thu, 30 Jan 2014 07:45:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id A7F458FAE99; Thu, 30 Jan 2014 07:46:23 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vbsI6oFMMohO; Thu, 30 Jan 2014 07:46:22 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 7205C8FAE66; Thu, 30 Jan 2014 07:46:22 +0100 (CET) Message-ID: <52E9F546.9090005@bitfrost.no> Date: Thu, 30 Jan 2014 07:46:30 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: huanghwh@gmail.com Subject: Re: Apple Trackpad driver References: <52E8DDA3.3070301@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kwm@freebsd.org" , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 06:45:41 -0000 Hi Huang, On 01/30/14 06:56, Huang Wen Hui wrote: > Hans, > > Thanks for you take care of it and commit it! I found two problems: > > 1. The selection is not expected when selection with 2 fingers sometimes. > 2. Unexpected scrolling when Click with 2 fingers. > > This patch can fix that. The var "n" modify to "ntouch" seems to be > necessary. > Right, but aren't we then accessing non-initialised sc->pos_x[] data ? Because if ntouch == 2, n can be less than or equal to 2, due to continue in for-loop above. What is the purpose of the "n" variable? Can you explain? - if (n == 2) { + if (ntouch == 2) { sc->distance = max(sc->distance, max( abs(sc->pos_x[0] - sc->pos_x[1]), abs(sc->pos_y[0] - sc->pos_y[1]))); --HPS > > Cheers, > Huang Wen Hui > > > 2014-01-29 Hans Petter Selasky > >> On 01/29/14 09:49, Lundberg, Johannes wrote: >> >>> Hi >>> >>> I tested the driver on a 2012 Macbook Air 11" and it works great! Good >>> job! >>> >>> Is there a way to disable click-by-touch? I always preferred clicking with >>> the physical button that is built in to the pad. >>> >>> >> Hi, >> >> I've added an "#if 0" around the 1 finger tap code until further. Maybe >> this feature can be tunable? >> >> I fixed the code style, added some range checks and cleared some buffer >> issues. >> >> When you assign a signed value to an unsigned variable, you should range >> check it, because the sign might cause an overflow when you use it later on. >> >> int8_t x = -1; >> >> uint32_t t = x; >> >> "t" is now "0xffffffffU" and not "255". >> >> Tested the code on my MacBookPro. Hope I didn't break anything. If so, >> send a patch to freebsd-usb. >> >> http://svnweb.freebsd.org/changeset/base/261260 >> >> To get the touchpad working with Xorg, I needed to re-compile HALD with >> the attached patch. >> >> kwm: Can you get the attached patch into ports? >> >> Auto-loading of wsp via devd will be done later. Simply need to >> re-generate usb.conf in /etc ... >> >> --HPS >> >> >> >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Fri Jan 31 01:46:27 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6540556C; Fri, 31 Jan 2014 01:46:27 +0000 (UTC) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 627AE1B7D; Fri, 31 Jan 2014 01:46:26 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id e11so1970370bkh.11 for ; Thu, 30 Jan 2014 17:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ZR73kcjTzayDvveO3zysag5A00nwuX9Nj2Gcz01z+/c=; b=vsi/YGH1rI6vLu+EIV6R4m/HU0p3mkBV2cZQjw1nQz0HeHoCJd+tDfk+G9pGgqfuEY 7QIGRnDclyTrbdzthMR4ScKkZc+cO+689uMQbYkpJNPjTrJLLOojxJDCO+y0Hf9C9Y3s 7uDJ9VY2v6F6Wh3I60zauSgeVK0CzDE+Q0rS65vXLbYZx8AKCQcS9FArifelT9adF+6P he3pcNMI9yYm/xgkBmgkRUJsw72WdDId1Ogpk88N0BW5Qes85Y4XSryqnHnyWM/H7FuK HV3BYAkAxTkUpS2/rP5Cy9BbiDimKWIlubZyINTyBUgBVHBLq6DxjPPRaaf2v8djaZ2F x89Q== MIME-Version: 1.0 X-Received: by 10.112.56.237 with SMTP id d13mr11229181lbq.2.1391132784517; Thu, 30 Jan 2014 17:46:24 -0800 (PST) Received: by 10.112.89.168 with HTTP; Thu, 30 Jan 2014 17:46:24 -0800 (PST) In-Reply-To: <52E9F546.9090005@bitfrost.no> References: <52E8DDA3.3070301@bitfrost.no> <52E9F546.9090005@bitfrost.no> Date: Fri, 31 Jan 2014 09:46:24 +0800 Message-ID: Subject: Re: Apple Trackpad driver From: Huang Wen Hui To: Hans Petter Selasky Content-Type: multipart/mixed; boundary=001a1133a92274fe5a04f13a57f8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "kwm@freebsd.org" , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: huanghwh@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 01:46:27 -0000 --001a1133a92274fe5a04f13a57f8 Content-Type: text/plain; charset=UTF-8 Hi Hans, pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for getting dx. "n" var is trying to reduce "untouch" sensor data for post proccessing. I attach a new patch may be more clear, also fixed unexpected movement when button status or ntouch changing. Cheers, Huang Wen Hui 2014-01-30 Hans Petter Selasky : > Hi Huang, > > > On 01/30/14 06:56, Huang Wen Hui wrote: > >> Hans, >> >> Thanks for you take care of it and commit it! I found two problems: >> >> 1. The selection is not expected when selection with 2 fingers sometimes. >> 2. Unexpected scrolling when Click with 2 fingers. >> >> This patch can fix that. The var "n" modify to "ntouch" seems to be >> necessary. >> >> > Right, but aren't we then accessing non-initialised sc->pos_x[] data ? > > Because if ntouch == 2, n can be less than or equal to 2, due to continue > in for-loop above. What is the purpose of the "n" variable? > > Can you explain? > > - if (n == 2) { > + if (ntouch == 2) { > sc->distance = max(sc->distance, max( > abs(sc->pos_x[0] - sc->pos_x[1]), > abs(sc->pos_y[0] - sc->pos_y[1]))); > > --HPS > > >> Cheers, >> Huang Wen Hui >> >> >> 2014-01-29 Hans Petter Selasky >> >> On 01/29/14 09:49, Lundberg, Johannes wrote: >>> >>> Hi >>>> >>>> I tested the driver on a 2012 Macbook Air 11" and it works great! Good >>>> job! >>>> >>>> Is there a way to disable click-by-touch? I always preferred clicking >>>> with >>>> the physical button that is built in to the pad. >>>> >>>> >>>> Hi, >>> >>> I've added an "#if 0" around the 1 finger tap code until further. Maybe >>> this feature can be tunable? >>> >>> I fixed the code style, added some range checks and cleared some buffer >>> issues. >>> >>> When you assign a signed value to an unsigned variable, you should range >>> check it, because the sign might cause an overflow when you use it later >>> on. >>> >>> int8_t x = -1; >>> >>> uint32_t t = x; >>> >>> "t" is now "0xffffffffU" and not "255". >>> >>> Tested the code on my MacBookPro. Hope I didn't break anything. If so, >>> send a patch to freebsd-usb. >>> >>> http://svnweb.freebsd.org/changeset/base/261260 >>> >>> To get the touchpad working with Xorg, I needed to re-compile HALD with >>> the attached patch. >>> >>> kwm: Can you get the attached patch into ports? >>> >>> Auto-loading of wsp via devd will be done later. Simply need to >>> re-generate usb.conf in /etc ... >>> >>> --HPS >>> >>> >>> >>> >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@ >>> freebsd.org" >>> >> > --001a1133a92274fe5a04f13a57f8 Content-Type: text/plain; charset=US-ASCII; name="wsp.diff" Content-Disposition: attachment; filename="wsp.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hr2sjazj0 LS0tIHdzcC5jLm9yaWcJMjAxNC0wMS0zMCAwODoxNDoyNi4wMDAwMDAwMDAgKzA4MDAKKysrIHdz cC5jCTIwMTQtMDEtMzEgMDk6NDQ6MDIuMDAwMDAwMDAwICswODAwCkBAIC02MDUsNyArNjA1LDgg QEAKIAlpbnQJZHpfY291bnQ7CiAjZGVmaW5lCVdTUF9EWl9NQVhfQ09VTlQJMzIKIAlpbnQJZHRf c3VtOwkJCS8qIFQtYXhpcyBjdW11bGF0aXZlIG1vdmVtZW50ICovCi0KKwkKKwl1aW50OF90IG9f bnRvdWNoOwkJLyogb2xkIHRvdWNoIGZpbmdlciBzdGF0dXMgKi8KIAl1aW50OF90CWZpbmdlcjsJ CQkvKiAwIG9yIDEgKiwgY2hlY2sgd2hpY2ggZmluZ2VyIG1vdmluZyAqLwogCXVpbnQxNl90IGlu dHJfY291bnQ7CiAjZGVmaW5lCVdTUF9UQVBfVEhSRVNIT0xECTMKQEAgLTg3MSw3ICs4NzIsNiBA QAogCWludCBkeCA9IDA7CiAJaW50IGR5ID0gMDsKIAlpbnQgZHogPSAwOwotCWludCBuID0gMDsK IAlpbnQgbGVuOwogCWludCBpOwogCkBAIC05MzYsMTMgKzkzNiw5IEBACiAJCQkgICAgZltpXS50 b29sX21ham9yLCBmW2ldLnRvb2xfbWlub3IsIGZbaV0ub3JpZW50YXRpb24sCiAJCQkgICAgZltp XS50b3VjaF9tYWpvciwgZltpXS50b3VjaF9taW5vciwgZltpXS5tdWx0aSk7CiAKLQkJCWlmIChm W2ldLnRvdWNoX21ham9yIDwgdHVuLnByZXNzdXJlX3VudG91Y2hfdGhyZXNob2xkKQotCQkJCWNv bnRpbnVlOwotCi0JCQlzYy0+cG9zX3hbbl0gPSBmW2ldLmFic194OwotCQkJc2MtPnBvc195W25d ID0gcGFyYW1zLT55Lm1pbiArIHBhcmFtcy0+eS5tYXggLSBmW2ldLmFic195OwotCQkJc2MtPmlu ZGV4W25dID0gJmZbaV07Ci0JCQluKys7CisJCQlzYy0+cG9zX3hbaV0gPSBmW2ldLmFic194Owor CQkJc2MtPnBvc195W2ldID0gcGFyYW1zLT55Lm1pbiArIHBhcmFtcy0+eS5tYXggLSBmW2ldLmFi c195OworCQkJc2MtPmluZGV4W2ldID0gJmZbaV07CiAJCX0KIAogCQlzYy0+c2Nfc3RhdHVzLmZs YWdzICY9IH5NT1VTRV9QT1NDSEFOR0VEOwpAQCAtOTU3LDggKzk1Myw4IEBACiAJCWlmIChoLT5x MiA9PSA0KQogCQkJc2MtPmludHJfY291bnQrKzsKIAotCQlpZiAoc2MtPm50YXBzIDwgbikgewot CQkJc3dpdGNoIChuKSB7CisJCWlmIChzYy0+bnRhcHMgPCBudG91Y2gpIHsKKwkJCXN3aXRjaCAo bnRvdWNoKSB7CiAJCQljYXNlIDE6CiAJCQkJaWYgKGZbMF0udG91Y2hfbWFqb3IgPiB0dW4ucHJl c3N1cmVfdGFwX3RocmVzaG9sZCkKIAkJCQkJc2MtPm50YXBzID0gMTsKQEAgLTk3OCw3ICs5NzQs NyBAQAogCQkJCWJyZWFrOwogCQkJfQogCQl9Ci0JCWlmIChuID09IDIpIHsKKwkJaWYgKG50b3Vj aCA9PSAyKSB7CiAJCQlzYy0+ZGlzdGFuY2UgPSBtYXgoc2MtPmRpc3RhbmNlLCBtYXgoCiAJCQkg ICAgYWJzKHNjLT5wb3NfeFswXSAtIHNjLT5wb3NfeFsxXSksCiAJCQkgICAgYWJzKHNjLT5wb3Nf eVswXSAtIHNjLT5wb3NfeVsxXSkpKTsKQEAgLTEwNTAsMTUgKzEwNDYsMzMgQEAKIAkJCWlmIChz Yy0+c2NfdG91Y2ggPT0gV1NQX1NFQ09ORF9UT1VDSCkKIAkJCQlzYy0+c2NfdG91Y2ggPSBXU1Bf VE9VQ0hJTkc7CiAKLQkJCWlmIChuICE9IDAgJiYKKwkJCWlmIChudG91Y2ggIT0gMCAmJgogCQkJ ICAgIGgtPnEyID09IDQgJiYKIAkJCSAgICBmWzBdLnRvdWNoX21ham9yID49IHR1bi5wcmVzc3Vy ZV90b3VjaF90aHJlc2hvbGQpIHsKIAkJCQlkeCA9IHNjLT5wb3NfeFswXSAtIHNjLT5wcmVfcG9z X3g7CiAJCQkJZHkgPSBzYy0+cG9zX3lbMF0gLSBzYy0+cHJlX3Bvc195OwotCQkJCWlmIChuID09 IDIgJiYgc2MtPnNjX3N0YXR1cy5idXR0b24gIT0gMCkgeworCisJCQkJLyogSWdub3JlIG1vdmVt ZW50IGZyb20gaWJ0PTEgdG8gaWJ0PTAgKi8KKwkJCQlpZiAoc2MtPnNjX3N0YXR1cy5vYnV0dG9u ICE9IDAgJiYgCisJCQkJICAgIHNjLT5zY19zdGF0dXMuYnV0dG9uID09IDApIHsKKwkJCQkJZHgg PSAwOworCQkJCQlkeSA9IDA7CisJCQkJfQorCQkJCS8qIElnbm9yZSBtb3ZlbWVudCBpZiBudG91 Y2ggY2hhbmdlZCAqLworCQkJCWlmIChzYy0+b19udG91Y2ggIT0gbnRvdWNoKSB7CisJCQkJCWR4 ID0gMDsKKwkJCQkJZHkgPSAwOworCQkJCX0KKworCQkJCWlmIChudG91Y2ggPT0gMiAmJiBzYy0+ c2Nfc3RhdHVzLmJ1dHRvbiAhPSAwKSB7CiAJCQkJCWR4ID0gc2MtPnBvc194W3NjLT5maW5nZXJd IC0gc2MtPnByZV9wb3NfeDsKIAkJCQkJZHkgPSBzYy0+cG9zX3lbc2MtPmZpbmdlcl0gLSBzYy0+ cHJlX3Bvc195OwotCQkJCQlpZiAoZlswXS5vcmlnaW4gPT0gMCB8fCBmWzFdLm9yaWdpbiA9PSAw KSB7CisJCQkJCQorCQkJCQkvKiBJZ25vcmUgbW92ZW1lbnQgb2Ygc3dpdGNoIGZpbmdlciBvcgor CQkJCQkgKiBtb3ZlbWVudCBmcm9tIGlidD0wIHRvIGlidD0xCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICovCisJCQkJCWlmIChmWzBdLm9yaWdpbiA9PSAwIHx8IGZb MV0ub3JpZ2luID09IDAgfHwKKwkJCQkJICAgIHNjLT5zY19zdGF0dXMub2J1dHRvbiAhPSBzYy0+ c2Nfc3RhdHVzLmJ1dHRvbikgewogCQkJCQkJZHggPSAwOwogCQkJCQkJZHkgPSAwOwogCQkJCQkJ c2MtPmZpbmdlciA9IDA7CkBAIC0xMDkyLDcgKzExMDYsNyBAQAogCQkJc2MtPmR4X3N1bSArPSBk eDsKIAkJCXNjLT5keV9zdW0gKz0gZHk7CiAKLQkJCWlmIChuID09IDIgJiYgc2MtPnNjX3N0YXR1 cy5idXR0b24gPT0gMCkgeworCQkJaWYgKG50b3VjaCA9PSAyICYmIHNjLT5zY19zdGF0dXMuYnV0 dG9uID09IDApIHsKIAkJCQlpZiAoc2MtPnNjcl9tb2RlID09IFdTUF9TQ1JfTk9ORSAmJgogCQkJ CSAgICBhYnMoc2MtPmR4X3N1bSkgKyBhYnMoc2MtPmR5X3N1bSkgPiA1MCkKIAkJCQkJc2MtPnNj cl9tb2RlID0gYWJzKHNjLT5keF9zdW0pID4KQEAgLTExMzQsMTAgKzExNDgsMTIgQEAKIAkJc2Mt PnByZV9wb3NfeCA9IHNjLT5wb3NfeFswXTsKIAkJc2MtPnByZV9wb3NfeSA9IHNjLT5wb3NfeVsw XTsKIAotCQlpZiAobiA9PSAyICYmIHNjLT5zY19zdGF0dXMuYnV0dG9uICE9IDApIHsKKwkJaWYg KG50b3VjaCA9PSAyICYmIHNjLT5zY19zdGF0dXMuYnV0dG9uICE9IDApIHsKIAkJCXNjLT5wcmVf cG9zX3ggPSBzYy0+cG9zX3hbc2MtPmZpbmdlcl07CiAJCQlzYy0+cHJlX3Bvc195ID0gc2MtPnBv c195W3NjLT5maW5nZXJdOwogCQl9CisJCXNjLT5vX250b3VjaCA9IG50b3VjaDsKKwogCWNhc2Ug VVNCX1NUX1NFVFVQOgogdHJfc2V0dXA6CiAJCS8qIGNoZWNrIGlmIHdlIGNhbiBwdXQgbW9yZSBk YXRhIGludG8gdGhlIEZJRk8gKi8K --001a1133a92274fe5a04f13a57f8-- From owner-freebsd-usb@FreeBSD.ORG Fri Jan 31 07:15:18 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B8B17F6; Fri, 31 Jan 2014 07:15:18 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4729A11AB; Fri, 31 Jan 2014 07:15:17 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 996D417FC54; Fri, 31 Jan 2014 08:15:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 76F538F90AB; Fri, 31 Jan 2014 08:16:08 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FVdm5xXNHXhi; Fri, 31 Jan 2014 08:16:07 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 618D28F8FE9; Fri, 31 Jan 2014 08:16:07 +0100 (CET) Message-ID: <52EB4DBE.20501@bitfrost.no> Date: Fri, 31 Jan 2014 08:16:14 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: huanghwh@gmail.com Subject: Re: Apple Trackpad driver References: <52E8DDA3.3070301@bitfrost.no> <52E9F546.9090005@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kwm@freebsd.org" , freebsd-current , "freebsd-usb@freebsd.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 07:15:18 -0000 On 01/31/14 02:46, Huang Wen Hui wrote: > Hi Hans, > > pos_x[] is not non-inialized, it may be previous pos_x, it is still ok for > getting dx. > "n" var is trying to reduce "untouch" sensor data for post proccessing. I > attach a new patch > may be more clear, also fixed unexpected movement when button status or > ntouch changing. > > Cheers, > > Huang Wen Hui Hi, http://svnweb.freebsd.org/changeset/base/261315 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 04:10:02 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF156F61 for ; Sat, 1 Feb 2014 04:10:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B60791766 for ; Sat, 1 Feb 2014 04:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s114A2Kb000573 for ; Sat, 1 Feb 2014 04:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s114A2pl000572; Sat, 1 Feb 2014 04:10:02 GMT (envelope-from gnats) Resent-Date: Sat, 1 Feb 2014 04:10:02 GMT Resent-Message-Id: <201402010410.s114A2pl000572@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Childs Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E504BF1D for ; Sat, 1 Feb 2014 04:03:26 +0000 (UTC) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id AE479174C for ; Sat, 1 Feb 2014 04:03:25 +0000 (UTC) Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0N0A00J9WT8H7W20@smtp3.clear.net.nz> for FreeBSD-gnats-submit@freebsd.org; Sat, 01 Feb 2014 16:48:18 +1300 (NZDT) Received: from 202-78-141-194.cable.telstraclear.net (HELO mail.cons.org.nz) ([202.78.141.194]) by smtpin2.clear.net.nz with ESMTP; Sat, 01 Feb 2014 16:48:17 +1300 Received: from xenon.cons.org.nz (xenon.cons.org.nz [10.88.0.197]) by mail.cons.org.nz (Postfix) with ESMTP id 2240227F110 for ; Sat, 01 Feb 2014 16:48:15 +1300 (NZDT) Received: by xenon.cons.org.nz (Postfix, from userid 1001) id 6471F8B9BBB; Sat, 01 Feb 2014 16:48:14 +1300 (NZDT) Message-Id: <20140201034814.6471F8B9BBB@xenon.cons.org.nz> Date: Sat, 01 Feb 2014 16:48:14 +1300 (NZDT) From: Andrew Childs To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: usb/186317: ums module not loaded by devd for Razer Lachesis mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Andrew Childs List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 04:10:02 -0000 >Number: 186317 >Category: usb >Synopsis: ums module not loaded by devd for Razer Lachesis mouse >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: Sat Feb 01 04:10:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Andrew Childs >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD xenon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: My mouse doesn't work by default in FreeBSD 10.0-RELEASE, but works fine after manually loading the ums module. This was not a problem with FreeBSD 9.1-RELEASE where the ums driver was compiled in. The Razer Lachesis exposes two interfaces: interface 0: class=3 (HID), subclass=0 (non-boot), protocol=2 (mouse) interface 1: class=3 (HID), subclass=1 (boot) , protocol=1 (keyboard) The intended logic of loading the ums driver is to fail at matching entirely, and fall through to devd's nomatch blocks, which will then load the ums module. There are two problems with this approach: 1. uhid will return a low priority match for all non boot protocol devices (3/0/*), (precisely: it explicitly ignores 3/1/1, 3/1/2, and quirks). We can see this behaviour in the probing of the Razer Lachesis mouse interface with dtrace: CPU ID FUNCTION:NAME 0 27731 device_probe_child:entry dev=fffff80030b73500, child=fffff80029148a00 0 11436 ukbd_probe:entry dev=fffff80029148a00 0 11437 ukbd_probe:return 6 0 48559 uhid_probe:entry dev=fffff80029148a00 0 48560 uhid_probe:return -100 (here the uhid driver is selected as best match and attached) 0 48559 uhid_probe:entry dev=fffff80029148a00 0 48560 uhid_probe:return -100 0 27732 device_probe_child:return 2. The ums driver's contribution to etc/devd/usb.conf (via ums_devs) will only match boot protocol mice (3/1/2) nomatch 32 { match "bus" "uhub[0-9]+"; match "mode" "host"; match "intclass" "0x03"; match "intsubclass" "0x01"; match "intprotocol" "0x02"; action "kldload -n ums"; }; >How-To-Repeat: >Fix: I think the easiest solution is to compile in ums. A more correct solution to allow ums to be a module would be to modify uhid_probe to better reflect the result of ums_probe and ukbd_probe (check hid_is_mouse and hid_is_keyboard), and relax the the ums module's matching to only check interface class. As I workaround, I added ums_load="YES" to /boot/loader.conf. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 12:09:31 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C2479AC for ; Sat, 1 Feb 2014 12:09:31 +0000 (UTC) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB9F1185C for ; Sat, 1 Feb 2014 12:09:30 +0000 (UTC) Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout1.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1W9ZO4-0003LM-2O for freebsd-usb@freebsd.org; Sat, 01 Feb 2014 13:09:28 +0100 Received: from localhost ([::1]:42011 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9ZO3-0002SR-Ud for freebsd-usb@freebsd.org; Sat, 01 Feb 2014 13:09:28 +0100 Received: from mx10.freenet.de ([195.4.92.20]:50249) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9ZLl-0001d6-AF for freebsd-usb@freebsd.org; Sat, 01 Feb 2014 13:07:05 +0100 Received: from web6.emo.freenet-rz.de ([194.97.107.219]:38132 helo=web12.emo.freenet-rz.de) by mx10.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1W9ZLl-0004IN-7f for freebsd-usb@freebsd.org; Sat, 01 Feb 2014 13:07:05 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web12.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1W9ZLl-0005mT-1C for ; Sat, 01 Feb 2014 13:07:05 +0100 Date: Sat, 01 Feb 2014 13:07:04 +0100 From: perox@freenet.de Subject: Entering password at GELI prompt using USB keyboard To: freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.24.221 Message-Id: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.24.221!19127 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 12:09:31 -0000 SGVsbG8sDQoNCkkgaGF2ZSBiZWVuIGVuY291bnRlcmluZyB0aGlzIHByb2JsZW0gZm9yIGFsbW9z dCBhIHllYXIgbm93IGFuZCBJJ2QgcmVhbGx5IGxpa2UNCmhlbHAgZml4aW5nIGl0LiBNeSBzeXN0 ZW0gb25seSBoYXMgVVNCIHBvcnRzIGFuZCBubyBwcy8yIGZvciBhIGtleWJvYXJkLiBJJ20NCnJ1 bm5pbmcgRnJlZUJTRCA5IHdpdGggYW4gZW5jcnlwdGVkIEdFTEkgY29udGFpbmVyIGZvciB0aGUg d2hvbGUgc3lzdGVtLiBUaGUNCmtlcm5lbCByZXNpZGVzIG9uIGEgVVNCIGtleSBhbmQgd2l0aCA4 LjEgLSA5LjAgSSB3YXMgYWJsZSB0byBlbnRlciB0aGUgR0VMSQ0KcGFzc3dvcmQgdXNpbmcgYSBV U0Iga2V5Ym9hcmQgYXQgdGhlIEdFTEkgcHJvbXB0IGR1cmluZyBib290aW5nLiBTaW5jZSA5LjEg dGhpcw0KaXMgbm90IHBvc3NpYmxlIGFueW1vcmUgYW5kIHN0aWxsIGlzbid0IHdpdGggMTAuMC4g VGhlIEdFTEkgcHJvbXB0IGVpdGhlcg0KZG9lc24ndCBhY2NlcHQgYW55IGtleSBwcmVzcyBvciBp Z25vcmVzIEVudGVyIChJIGNhbid0IHRlbGwgdGhlIGRpZmZlcmVuY2UNCmJlY2F1c2UgdGhlIHBh c3N3b3JkIGlzIG5vdCBzaG93bikuIEkgYWxyZWFkeSBsb29rZWQgYXQgdGhlIGNvZGUgYnV0IGNv dWxkDQpub3QgZmluZCBzaWduaWZpY2FudCBjaGFuZ2VzIGluIHVrYmQuYyBvciB0aGUgbGlrZXMg ZnJvbSA5LjAgdG8gOS4xLiBIb3dldmVyLA0Kc2luY2UgdGhlIEdFTEkgY29kZSB3YXMgY2hhbmdl ZCBldmVuIGxlc3MgSSBwb3N0IHRoZSBxdWVzdGlvbiBoZXJlLiBJcyB0aGVyZQ0KYSBwb3NzaWJp bGl0eSB0byBnZXQgbW9yZSBkZWJ1ZyBvdXRwdXQgZXhjZXB0IGZvciB2ZXJib3NlIGJvb3Q/IENh biBJIHByb3ZpZGUNCm90aGVyIGluZm9ybWF0aW9uIHRvIGhlbHAgZml4IHRoZSBwcm9ibGVtPw0K DQpUaGFua3MgYSBsb3QhDQoNCg0KCgotLS0KQWxsZSBQb3N0ZsOkY2hlciBhbiBlaW5lbSBPcnQu IEpldHp0IHdlY2hzZWxuIHVuZCBFLU1haWwtQWRyZXNzZSBtaXRuZWhtZW4hIGh0dHA6Ly9lbWFp bC5mcmVlbmV0LmRlL2Jhc2ljL0luZm9ybWF0aW9uZW4K From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:12:14 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5042C76C for ; Sat, 1 Feb 2014 14:12:14 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id E50FB1183 for ; Sat, 1 Feb 2014 14:12:13 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id 359441001FB; Sat, 1 Feb 2014 15:12:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 332B18F15FC; Sat, 1 Feb 2014 15:12:58 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7k6kPkq179lb; Sat, 1 Feb 2014 15:12:57 +0100 (CET) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id DE8A88F0FA4; Sat, 1 Feb 2014 15:12:56 +0100 (CET) Subject: RE: Entering password at GELI prompt using USB keyboard From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?perox=40freenet=2Ede?= , =?utf-8?Q?freebsd-usb=40freebsd=2Eorg?= Date: Sat, 1 Feb 2014 15:12:56 +0100 Mime-Version: 1.0 In-Reply-To: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> References: <025dbb831bd67ff5111da225da6dfabc@email.freenet.de> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 14:12:14 -0000 Hi,=0D=0A=0D=0AThe problem is not in the USB subsystem. Last time I looke= d into this, the problem was that syscons was going in a terrible polling= loop, leaving no CPU for other subsystems.=0D=0A=0D=0ADoes the mountroot= prompt work=3F=0D=0A=0D=0APolling for characters during early boot is a = special mode of operation for the UKBD driver and it might conflict if th= ere are multiple threads trying to get characters from the keyboard.=0D=0A= =0D=0Ahw.usb.ukbd.debug=3D15=0D=0A=0D=0AMight give you some clues. You mi= ght need to hack this into the ukbd.c driver when building the kernel.=0D= =0A=0D=0A--HPS=0D=0A=0D=0A=20=0D=0A=20=0D=0A-----Original message-----=0D= =0A> From:perox@freenet.de >=0D=0A> Sent: Saturday 1st February 2014 13:10=0D= =0A> To: freebsd-usb@freebsd.org =20=0D=0A= > Subject: Entering password at GELI prompt using USB keyboard=0D=0A>=20=0D= =0A> Hello,=0D=0A>=20=0D=0A> I have been encountering this problem for al= most a year now and I'd really like=0D=0A> help fixing it. My system only= has USB ports and no ps/2 for a keyboard. I'm=0D=0A> running FreeBSD 9 w= ith an encrypted GELI container for the whole system. The=0D=0A> kernel r= esides on a USB key and with 8.1 - 9.0 I was able to enter the GELI=0D=0A= > password using a USB keyboard at the GELI prompt during booting. Since = 9.1 this=0D=0A> is not possible anymore and still isn't with 10.0. The GE= LI prompt either=0D=0A> doesn't accept any key press or ignores Enter (I = can't tell the difference=0D=0A> because the password is not shown). I al= ready looked at the code but could=0D=0A> not find significant changes in= ukbd.c or the likes from 9.0 to 9.1. However,=0D=0A> since the GELI code= was changed even less I post the question here. Is there=0D=0A> a possib= ility to get more debug output except for verbose boot=3F Can I provide=0D= =0A> other information to help fix the problem=3F=0D=0A>=20=0D=0A> Thanks= a lot!=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A>=20=0D=0A> ---=0D=0A> Alle Po= stf=C3=A4cher an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! = http://email.freenet.de/basic/Informationen =20=0D=0A> ______________________________________________= _=0D=0A> freebsd-usb@freebsd.org mailin= g list=0D=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-usb =20=0D=0A> To unsubscri= be, send any mail to "freebsd-usb-unsubscribe@freebsd.org "=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:39:38 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B148F58 for ; Sat, 1 Feb 2014 14:39:38 +0000 (UTC) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 374771302 for ; Sat, 1 Feb 2014 14:39:38 +0000 (UTC) Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout2.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1W9bjL-0003fK-Fn; Sat, 01 Feb 2014 15:39:35 +0100 Received: from localhost ([::1]:35900 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9bjL-0002DV-Au; Sat, 01 Feb 2014 15:39:35 +0100 Received: from mx15.freenet.de ([195.4.92.25]:53881) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9bgH-0008T0-CE; Sat, 01 Feb 2014 15:36:25 +0100 Received: from web3.emo.freenet-rz.de ([194.97.107.236]:34981 helo=web9.emo.freenet-rz.de) by mx15.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1W9bgH-0004k6-Ac; Sat, 01 Feb 2014 15:36:25 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web9.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1W9bgG-0006mB-Sf; Sat, 01 Feb 2014 15:36:24 +0100 Date: Sat, 01 Feb 2014 15:36:24 +0100 From: perox@freenet.de Subject: RE: RE: Entering password at GELI prompt using USB keyboard To: Hans Petter Selasky , freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.24.221 Message-Id: <9f23f31935759c88f8dad7a36e2ec508@email.freenet.de> User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.24.221!32611 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 14:39:38 -0000 SGksDQoNCj4gVGhlIHByb2JsZW0gaXMgbm90IGluIHRoZSBVU0Igc3Vic3lzdGVtLiBMYXN0IHRp bWUgSSBsb29rZWQgaW50bw0KPiB0aGlzLCB0aGUgcHJvYmxlbSB3YXMgdGhhdCBzeXNjb25zIHdh cyBnb2luZyBpbiBhIHRlcnJpYmxlIHBvbGxpbmcNCj4gbG9vcCwgbGVhdmluZyBubyBDUFUgZm9y IG90aGVyIHN1YnN5c3RlbXMuDQo+DQo+IERvZXMgdGhlIG1vdW50cm9vdCBwcm9tcHQgd29yaz8N Cg0KeWVwLCBtb3VudHJvb3QgaXMgd29ya2luZy4gVGhhdCdzIHVuZm9ydHVuYXRlbHkgdG9vIGxh dGUgZm9yIG1lIHRvIGVudGVyIHRoZSBwYXNzd29yZCA6KSBJZiB5b3Ugc2F5IFVTQiBpcyBtb3N0 IGxpa2VseSBub3QgdGhlIHByb2JsZW0sIGlzIHRoZXJlIGEgbW9yZSBhcHByb3ByaWF0ZSBtYWls aW5nIGxpc3QgZm9yIHRoaXM/IC1nZWxpPyAtc3RhYmxlPw0KDQo+IFBvbGxpbmcgZm9yIGNoYXJh Y3RlcnMgZHVyaW5nIGVhcmx5IGJvb3QgaXMgYSBzcGVjaWFsIG1vZGUgb2YNCj4gb3BlcmF0aW9u IGZvciB0aGUgVUtCRCBkcml2ZXIgYW5kIGl0IG1pZ2h0IGNvbmZsaWN0IGlmIHRoZXJlIGFyZQ0K PiBtdWx0aXBsZSB0aHJlYWRzIHRyeWluZyB0byBnZXQgY2hhcmFjdGVycyBmcm9tIHRoZSBrZXli b2FyZC4NCj4NCj4gaHcudXNiLnVrYmQuZGVidWc9MTUNCj4NCj4gTWlnaHQgZ2l2ZSB5b3Ugc29t ZSBjbHVlcy4gWW91IG1pZ2h0IG5lZWQgdG8gaGFjayB0aGlzIGludG8gdGhlDQo+IHVrYmQuYyBk cml2ZXIgd2hlbiBidWlsZGluZyB0aGUga2VybmVsLg0KDQp3aWxsIGRvIHRoaXMgYW5kIHJlcG9y dCBiYWNrLiBUaGFua3MuDQoNCiAtDQoNCg0KCgotLS0KQWxsZSBQb3N0ZsOkY2hlciBhbiBlaW5l bSBPcnQuIEpldHp0IHdlY2hzZWxuIHVuZCBFLU1haWwtQWRyZXNzZSBtaXRuZWhtZW4hIGh0dHA6 Ly9lbWFpbC5mcmVlbmV0LmRlL2Jhc2ljL0luZm9ybWF0aW9uZW4K From owner-freebsd-usb@FreeBSD.ORG Sat Feb 1 14:43:12 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 606659E3 for ; Sat, 1 Feb 2014 14:43:12 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1371F139A for ; Sat, 1 Feb 2014 14:43:11 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id E131517F862; Sat, 1 Feb 2014 15:43:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 507C28F3AEC; Sat, 1 Feb 2014 15:44:01 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NsnyMZXBY7Jz; Sat, 1 Feb 2014 15:44:00 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 896698F3851; Sat, 1 Feb 2014 15:44:00 +0100 (CET) Message-ID: <52ED0838.1080108@bitfrost.no> Date: Sat, 01 Feb 2014 15:44:08 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: perox@freenet.de, freebsd-usb@freebsd.org Subject: Re: Entering password at GELI prompt using USB keyboard References: <9f23f31935759c88f8dad7a36e2ec508@email.freenet.de> In-Reply-To: <9f23f31935759c88f8dad7a36e2ec508@email.freenet.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 14:43:12 -0000 On 02/01/14 15:36, perox@freenet.de wrote: > yep, mountroot is working. That's unfortunately too late for me to enter the password:) If you say USB is most likely not the problem, > is there a more appropriate mailing list for this? -geli? -stable? Hi, You can discuss your findings here too. Else I suggest -current or -hackers. --HPS