Re: Questions about the USB HID device drivers

2019-02-18 Thread Hans Petter Selasky
On 2/17/19 11:00 PM, Apollo D. Sharpe, Sr. wrote: On 2/15/19 7:46 AM, Hans Petter Selasky wrote: On 2/15/19 2:22 PM, A. D. Sharpe wrote: On 2/15/2019 3:30 AM, Hans Petter Selasky wrote: Did you have a look at the code? sys/dev/usb/input/ums.c and sys/dev/usb/input/ukbd.c I think I have a dec

[Bug 96224] [usb] [msdosfs] mount_msdosfs cause page fault in syncer process

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=96224 Andriy Gapon changed: What|Removed |Added Resolution|--- |Overcome By Events Statu

[Bug 118140] [ucom] [patch] quick hack for ucom to get it behave with Nokia phones

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=118140 Oleksandr Tymoshenko changed: What|Removed |Added Resolution|--- |Overcome By Events

[Bug 119653] [cam] [patch] iriver s7 player sync cache error patch

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=119653 Oleksandr Tymoshenko changed: What|Removed |Added Resolution|--- |Overcome By Events

[Bug 118141] [ucom] usb serial and nokia phones ucomreadcb ucomreadcb: IOERROR

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=118141 Oleksandr Tymoshenko changed: What|Removed |Added Resolution|--- |Overcome By Events

[Bug 91546] [umodem] [patch] Nokia 6630 mobile phone does not work

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=91546 Oleksandr Tymoshenko changed: What|Removed |Added CC||go...@freebsd.org

Re: Questions about the USB HID device drivers

2019-02-18 Thread Apollo D. Sharpe, Sr. via freebsd-usb
On 2/18/19 3:26 AM, Hans Petter Selasky wrote: Each devicename has a uniq prefix followed by a uniq unit number. So, we just end up dumping ALL device nodes in /dev... Character device nodes are automatically created. However it is possible for user-space applications to create symbolic link

Re: Questions about the USB HID device drivers

2019-02-18 Thread Warner Losh
On Mon, Feb 18, 2019 at 2:04 PM Apollo D. Sharpe, Sr. via freebsd-usb < freebsd-usb@freebsd.org> wrote: > On 2/18/19 3:26 AM, Hans Petter Selasky wrote: > > Each devicename has a uniq prefix followed by a uniq unit number. > > So, we just end up dumping ALL device nodes in /dev... > Yes and no. I

[Bug 235625] Repeated excessive logging about unsuccessful port reset during device enumeration

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235625 --- Comment #7 from Max --- Hello Here is captured syslog snippet with the message. It appears after uhub_read_port_status call. The below conditional expects either right-most bit to be set for port_change or unset for port_status. As pe

Re: Questions about the USB HID device drivers

2019-02-18 Thread Ian Lepore
On Mon, 2019-02-18 at 15:03 -0600, Apollo D. Sharpe, Sr. via freebsd- usb wrote: > On 2/18/19 3:26 AM, Hans Petter Selasky wrote: > > Each devicename has a uniq prefix followed by a uniq unit number. > > So, we just end up dumping ALL device nodes in /dev... > > > > Character device nodes are au

[Bug 235625] Repeated excessive logging about unsuccessful port reset during device enumeration

2019-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235625 --- Comment #8 from Max --- Also there is the following event seen a few seconds later for the port in the snippet: >>>Feb 18 16:16:44 kernel: uhub_explore: Overcurrent on port 3. >>>Feb 18 16:16:44 kernel: uhub_reattach_port: reattachin

Re: Questions about the USB HID device drivers

2019-02-18 Thread Apollo D. Sharpe, Sr. via freebsd-usb
On 2/18/19 3:18 PM, Warner Losh wrote: Yes and no. If the unique prefix has / in it, devfs puts it in a subdir. If I'm reading the code right, the unique prefix is basically driver_t::name. Is that correct? If so, I haven't seen a device name (in the entire tree) that has "/" in it's device n

Re: Questions about the USB HID device drivers

2019-02-18 Thread Apollo D. Sharpe, Sr. via freebsd-usb
On 2/18/19 3:37 PM, Ian Lepore wrote: Not to userland applications so much as to sysadmin-controlled configuration which is applied from userland during system startup and when new devices are attached. See the manpage for devfs.conf. Which does make sense on servers & network infrastructure.