Unknown USB device: vendor 0x051d product 0x0002 bus uhub0

2011-07-19 Thread Nikos Vassiliadis

Hi,

I am seeing this message flooding /var/log/messages. There is an APC
UPS connected to this port which seems to behave correctly AFAICT.

Is there something I can do to fix the warning?

Or preferably not, is there a sysctl knob to disable logging messages
for unknown USB devices?


Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0
Jul 19 07:58:00 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0
Jul 19 09:32:01 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0
Jul 19 09:38:59 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0
Jul 19 10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0
Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus 
uhub0


Thanks a lot, Nikos

___
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: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0

2011-07-19 Thread Nikos Vassiliadis

On 7/19/2011 2:34 PM, Hans Petter Selasky wrote:

On Tuesday 19 July 2011 13:34:27 Nikos Vassiliadis wrote:

Hi,

I am seeing this message flooding /var/log/messages. There is an APC
UPS connected to this port which seems to behave correctly AFAICT.

Is there something I can do to fix the warning?

Or preferably not, is there a sysctl knob to disable logging messages
for unknown USB devices?


Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product
0x0002 bus uhub0 Jul 19 07:58:00 leto root: Unknown USB device: vendor
0x051d product 0x0002 bus uhub0 Jul 19 09:32:01 leto root: Unknown USB
device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 09:38:59 leto
root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 19
10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002 bus
uhub0 Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d
product 0x0002 bus uhub0


Thanks a lot, Nikos


Is the HAL port up to date?


There is no HAL port installed. The only thing that's USB related is
the nut(network UPS tools) port. Also, this is on 8.2-RELEASE-p1.

Nikos

___
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: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0

2011-07-19 Thread Hans Petter Selasky
On Tuesday 19 July 2011 13:41:00 Nikos Vassiliadis wrote:
 On 7/19/2011 2:34 PM, Hans Petter Selasky wrote:
  On Tuesday 19 July 2011 13:34:27 Nikos Vassiliadis wrote:
  Hi,
  
  I am seeing this message flooding /var/log/messages. There is an APC
  UPS connected to this port which seems to behave correctly AFAICT.
  
  Is there something I can do to fix the warning?
  
  Or preferably not, is there a sysctl knob to disable logging messages
  for unknown USB devices?
  
  Jul 19 07:50:01 leto root: Unknown USB device: vendor 0x051d product
  0x0002 bus uhub0 Jul 19 07:58:00 leto root: Unknown USB device: vendor
  0x051d product 0x0002 bus uhub0 Jul 19 09:32:01 leto root: Unknown USB
  device: vendor 0x051d product 0x0002 bus uhub0 Jul 19 09:38:59 leto
  root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0 Jul 19
  10:50:05 leto root: Unknown USB device: vendor 0x051d product 0x0002
  bus uhub0 Jul 19 10:50:09 leto root: Unknown USB device: vendor 0x051d
  product 0x0002 bus uhub0
  
  Thanks a lot, Nikos
  
  Is the HAL port up to date?
 
 There is no HAL port installed. The only thing that's USB related is
 the nut(network UPS tools) port. Also, this is on 8.2-RELEASE-p1.

Hi,

Have you tried 8-stable? I think this issue has been mentioned earlier at this 
list. Try searching the archives. Also try looking at devd which might give 
some clues.

--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: Unknown USB device: vendor 0x051d product 0x0002 bus uhub0

2011-07-19 Thread Nikos Vassiliadis

On 7/19/2011 2:48 PM, Hans Petter Selasky wrote:

Have you tried 8-stable? I think this issue has been mentioned earlier at this
list. Try searching the archives.


I did see some references but no solution. I cannot try 8-STABLE at the
moment but I'll report back when I'll update it.


Also try looking at devd which might give
some clues.


Aha, that was devd logging! It was not that obvious that
devd was creating the logging messages! Perhaps it should
prepend its name to the log?

Thanks a lot HPS!

Nikos

___
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


Porting op to FreeBSD

2011-07-19 Thread Matt Dawson
Hi all,
Apologies if I'm posting to the wrong list, but this one looks to 
have more USB knowledge than general ports. Just LART me if I'm 
mistaken and I'll post to ports@. I'm trying to port this:

http://sourceforge.net/projects/openprogrammer/files/OP/op_0.7.9.tar.gz

to FreeBSD and have run into a brick wall (my lack of knowledge, 
basically). It uses Linux' hiddev to communicate with the 
OpenProgrammer hardware, which isn't compatible with our usbhid. The 
ioctls and structs are very different. The programmer itself has a 
uhidX device node and seems to be fine under FreeBSD.

Can some kind soul give me some pointers? Specifically, some clue as 
to how to translate from hiddev to usbhid would be most helpful.

There's also a GTK based GUI which I suspect will all fall into place 
once I have the CLI sussed. Any help at all on this would be most 
gratefully received as this device is much, *much* more reliable and 
intuitive than the JDM type programmers that picprog supports, along 
with having some very useful Atmel and I2C device support. It also 
doesn't rely on the disappearing RS232 port.

Thanks in advance,
-- 
Matt Dawson
MTD15-RIPE
m...@chronos.org.uk
___
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: Porting op to FreeBSD

2011-07-19 Thread Hans Petter Selasky
On Tuesday 19 July 2011 14:56:36 Matt Dawson wrote:
 Hi all,
   Apologies if I'm posting to the wrong list, but this one looks to
 have more USB knowledge than general ports. Just LART me if I'm
 mistaken and I'll post to ports@. I'm trying to port this:
 
 http://sourceforge.net/projects/openprogrammer/files/OP/op_0.7.9.tar.gz
 
 to FreeBSD and have run into a brick wall (my lack of knowledge,
 basically). It uses Linux' hiddev to communicate with the
 OpenProgrammer hardware, which isn't compatible with our usbhid. The
 ioctls and structs are very different. The programmer itself has a
 uhidX device node and seems to be fine under FreeBSD.

Hi,

There are many ways to achieve your goal. The simplest one might be to compile 
the Linux HID layer into the webcamd deamon and have a compatible interface. 
This means no porting effort.

You will have to checkout and install the linux_make tool from the I4B SVN, 
referred to from the webcamd (/usr/ports/multimedia/webcamd) homepage:

http://www.selasky.org/hans_petter/video4bsd/

And add some config entries to the config file for the HID layer, and possibly 
also resolve a few compile issues.

--HPS

 Can some kind soul give me some pointers? Specifically, some clue as
 to how to translate from hiddev to usbhid would be most helpful.
 
 There's also a GTK based GUI which I suspect will all fall into place
 once I have the CLI sussed. Any help at all on this would be most
 gratefully received as this device is much, *much* more reliable and
 intuitive than the JDM type programmers that picprog supports, along
 with having some very useful Atmel and I2C device support. It also
 doesn't rely on the disappearing RS232 port.
 
 Thanks in advance,
___
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