Re: USB devices not autodetecting anymore on stable

2012-12-12 Thread Warner Losh

On Dec 8, 2012, at 10:21 AM, Jakub Lach wrote:
 ...and here I was, not noticing devd at all, and used to manually
 loading drivers.
 
 I had no devd_enable in rc.conf though, how come this daemon 
 is started anyway?

It starts by default, unless you tell it not to.

Warner

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-12 Thread Jakub Lach
Ah.

But it still needs 

devd_enable=YES

to be workable?



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/USB-devices-not-autodetecting-anymore-on-stable-tp5766270p5768832.html
Sent from the freebsd-usb mailing list archive at Nabble.com.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-12 Thread Miroslav Lachman

Jakub Lach wrote:

Ah.

But it still needs

devd_enable=YES

to be workable?


It is defined in /etc/defaults/rc.conf
devd_enable=YES  # Run devd, to trigger programs on device tree changes.

so no need to add it in to your /etc/rc.conf

Miroslav Lachman
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-12 Thread Jakub Lach
While I had peek in defaults, I was confused by HPS answer, now I'm 
just confused why devd does nothing on my system. Or does it? 

Will check on next reboot.

Thanks for replies.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/USB-devices-not-autodetecting-anymore-on-stable-tp5766270p5768865.html
Sent from the freebsd-usb mailing list archive at Nabble.com.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-08 Thread Jakub Lach
...and here I was, not noticing devd at all, and used to manually
loading drivers.

I had no devd_enable in rc.conf though, how come this daemon 
is started anyway?



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/USB-devices-not-autodetecting-anymore-on-stable-tp5766270p5767650.html
Sent from the freebsd-usb mailing list archive at Nabble.com.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-04 Thread Volodymyr Kostyrko

04.12.2012 09:22, Hans Petter Selasky:

Maybe just my local glitch though. I'll try to retest tomorrow.


devd must be enabled when you boot the system or plug the device.


That was my fault. I tested how libc++ works with world/ports and it 
seems that devd perfectly compiles with libc++ but works incorrectly.

There are no warnings/errors when compiling or running devd.

--
Sphinx of black quartz, judge my vow.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


USB devices not autodetecting anymore on stable

2012-12-03 Thread Volodymyr Kostyrko

Hi all.

Maybe I just blow out my installation again but I have two machines on 
9_STABLE that for one week refuse to autoload usb device drivers.


Before that my Keyboard and mice start automatically. But right now I 
must explicitly load kernel module for each device.


--
Sphinx of black quartz, judge my vow.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:
 Hi all.
 
 Maybe I just blow out my installation again but I have two machines on
 9_STABLE that for one week refuse to autoload usb device drivers.
 
 Before that my Keyboard and mice start automatically. But right now I
 must explicitly load kernel module for each device.

There has been some changes in /etc/ . Make sure you did a mergemaster and 
that devd is running.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Volodymyr Kostyrko

03.12.2012 20:09, Hans Petter Selasky:

On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:

Hi all.

Maybe I just blow out my installation again but I have two machines on
9_STABLE that for one week refuse to autoload usb device drivers.

Before that my Keyboard and mice start automatically. But right now I
must explicitly load kernel module for each device.


There has been some changes in /etc/ . Make sure you did a mergemaster and
that devd is running.


I'm missing your point here. Which changes in etc?

# svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.freebsd.org/base/stable/9/etc
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 243808
Node Kind: directory
Schedule: normal
Last Changed Author: eadler
Last Changed Rev: 243757
Last Changed Date: 2012-12-01 18:44:33 +0200 (сб, 01 гру 2012)

# find . -mtime -31d
.
./rc.subr
./pccard_ether
./disktab
./rc.d
./rc.d/jail
./gettytab
./root
./root/dot.cshrc
./root/dot.login

--
Sphinx of black quartz judge my vow.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote:
 03.12.2012 20:09, Hans Petter Selasky:
  On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:
  Hi all.
  
  Maybe I just blow out my installation again but I have two machines on
  9_STABLE that for one week refuse to autoload usb device drivers.
  
  Before that my Keyboard and mice start automatically. But right now I
  must explicitly load kernel module for each device.
  
  There has been some changes in /etc/ . Make sure you did a mergemaster
  and that devd is running.


Hi,
 
 I'm missing your point here. Which changes in etc?

/etc/devd/usb.conf

/etc/dev/devd.conf

And you need to rebuild moused.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote:
 03.12.2012 20:09, Hans Petter Selasky:
  On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:
  Hi all.
  
  Maybe I just blow out my installation again but I have two machines on
  9_STABLE that for one week refuse to autoload usb device drivers.
  
  Before that my Keyboard and mice start automatically. But right now I
  must explicitly load kernel module for each device.
  
  There has been some changes in /etc/ . Make sure you did a mergemaster
  and that devd is running.
 
 I'm missing your point here. Which changes in etc?

And make sure /etc/rc.conf has:

devd_enable=YES

In it. Else auto-loading does not work.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Volodymyr Kostyrko

03.12.2012 23:25, Hans Petter Selasky:

On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote:

03.12.2012 20:09, Hans Petter Selasky:

On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:

Hi all.

Maybe I just blow out my installation again but I have two machines on
9_STABLE that for one week refuse to autoload usb device drivers.

Before that my Keyboard and mice start automatically. But right now I
must explicitly load kernel module for each device.


There has been some changes in /etc/ . Make sure you did a mergemaster
and that devd is running.




Hi,


I'm missing your point here. Which changes in etc?


/etc/devd/usb.conf

/etc/dev/devd.conf

And you need to rebuild moused.


My local files doesn't differ from files in svn. I had rebuilt moused. I 
have no devd_enable in /etc/rc.conf but according to 
/etc/defaults/rc.conf it's enabled by default. `service devd restart` 
does nothing. This covers not just mice but keyboard and wifi usb, 
however umass works:


Dec  4 03:23:34 limbo kernel: ugen0.2: Kingston at usbus0
Dec  4 03:23:35 limbo kernel: umass0: Kingston DataTraveler SE9, class 
0/0, rev 2.00/1.00, addr 2 on usbus0

Dec  4 03:23:35 limbo kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4000
Dec  4 03:23:35 limbo kernel: umass0:5:0:-1: Attached to scbus5
Dec  4 03:23:37 limbo kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
Dec  4 03:23:37 limbo kernel: da0: Kingston DataTraveler SE9 PMAP 
Removable Direct Access SCSI-0 device

Dec  4 03:23:37 limbo kernel: da0: 40.000MB/s transfers
Dec  4 03:23:37 limbo kernel: da0: 7441MB (15240576 512 byte sectors: 
255H 63S/T 948C)


Maybe just my local glitch though. I'll try to retest tomorrow.

--
Sphinx of black quartz judge my vow.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: USB devices not autodetecting anymore on stable

2012-12-03 Thread Hans Petter Selasky
On Tuesday 04 December 2012 02:37:11 Volodymyr Kostyrko wrote:
 03.12.2012 23:25, Hans Petter Selasky:
  On Monday 03 December 2012 20:04:59 Volodymyr Kostyrko wrote:
  03.12.2012 20:09, Hans Petter Selasky:
  On Monday 03 December 2012 16:14:56 Volodymyr Kostyrko wrote:
  Hi all.
  
  Maybe I just blow out my installation again but I have two machines on
  9_STABLE that for one week refuse to autoload usb device drivers.
  
  Before that my Keyboard and mice start automatically. But right now I
  must explicitly load kernel module for each device.
  
  There has been some changes in /etc/ . Make sure you did a mergemaster
  and that devd is running.
  
  Hi,
  
  I'm missing your point here. Which changes in etc?
  
  /etc/devd/usb.conf
  
  /etc/dev/devd.conf
  
  And you need to rebuild moused.
 
 My local files doesn't differ from files in svn. I had rebuilt moused. I
 have no devd_enable in /etc/rc.conf but according to
 /etc/defaults/rc.conf it's enabled by default. `service devd restart`
 does nothing. This covers not just mice but keyboard and wifi usb,
 however umass works:
 
 Dec  4 03:23:34 limbo kernel: ugen0.2: Kingston at usbus0
 Dec  4 03:23:35 limbo kernel: umass0: Kingston DataTraveler SE9, class
 0/0, rev 2.00/1.00, addr 2 on usbus0
 Dec  4 03:23:35 limbo kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4000
 Dec  4 03:23:35 limbo kernel: umass0:5:0:-1: Attached to scbus5
 Dec  4 03:23:37 limbo kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
 Dec  4 03:23:37 limbo kernel: da0: Kingston DataTraveler SE9 PMAP
 Removable Direct Access SCSI-0 device
 Dec  4 03:23:37 limbo kernel: da0: 40.000MB/s transfers
 Dec  4 03:23:37 limbo kernel: da0: 7441MB (15240576 512 byte sectors:
 255H 63S/T 948C)
 
 Maybe just my local glitch though. I'll try to retest tomorrow.

devd must be enabled when you boot the system or plug the device.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org