Re: no modules / services needed for BT mouse support (?)

2011-04-18 Thread martinko

Maksim Yevmenkin wrote:

Hello,

sorry for the delay


Probably I wasn't clear.  I am aware of how to enable BT mouse in FreeBSD, I
used it for several years.  I did the same for PC-BSD and it worked as
expected.


ok


But now, with the same mouse on a friend's computer running (latest) PC-BSD,
I do no need to do anything and it works.  There is no ng_ubt loaded, yet I
see /dev/ums0 and mouse works both in console and X11.  The issue is that
its wheel does not work.


well, i would guess that the mouse is recognized as usb mouse. this
could happen when bluetooth usb dongle connected to the computer is
operating in so called "hid mode". in this mode, bluetooth dongle is
NOT appearing as bluetooth device but rather than usb mouse, and,
possibly, as keyboard as well.


So I was confused as to how it can work out-of-box and why wheel is dead.


if my guess above is correct, then it works out-of-the-box because
ums(4) (usb mouse) drivers attaches to it, and, moused(8) picks it up
as usb mouse. i'm guessing the wheel does not work because moused(8)
needs to be told about it.


  One idea that occured to me is that BIOS recognises and emulates it (dongle
+ mouse), though that sounds strange.


sorry, i'm not sure i understand what do you mean. if bluetooth dongle
is in fact in hid mode then it will look like usb mouse.


Btw, when I tried to set it up as usual (and as you wrote above), it stopped
working (on that PC-BSD machine).


can you please check if you even have bluetooth device in this case? what does

# ngctl li

shows?

thanks
max


OK, this has been solved.

After my tinkering described above the mouse stopped working even in 
Windows.  I reinstalled drivers there and repaired successfully after 
all.  Then in PC-BSD I returned to the setup I use with FreeBSD (loading 
modules/services) and removed caches and restarted and finally I got it 
working.  Anyway, thank you for explanation of HID mode etc.


With regards,

Martin

___
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"


no modules / services needed for BT mouse support (?)

2011-03-14 Thread martinko

Hallo,

I had a Logitech bluetooth mouse connected via USB BT dongle.  In the 
past I used to load ng_ubt and bthidd and hcsecd to make the mouse work. 
 The same I did for a friend on old PC-BSD.  But it appears that since 
moving to the version 8.x we no longer need to load any of the above and 
the mouse works out-of-box.  Unfortunately it does not respond to wheel 
movement (pressing it does generate middle click).


Now this all is a bit surprising for me.  And I'm not sure which part of 
the system is responsible for the behaviour -- kernel, USB stack, HAL, 
X11, .. ?  Also, I'd like to know how to make wheel working again.


Any ideas pls ?

Cheers,

M.

PS:  It's also possible that it has to do with change of computer.. (?)

___
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: failed to start webcamd

2011-03-02 Thread martinko

martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see
if the problem is still the same?

--HPS



Hi!

I had a little difficulty applying the patch and later restarting devd
(WARNING: failed to start devd) but the end result seems interesting:

kernel: ugen3.2:  at usbus3
kernel: uaudio0:  on usbus3
kernel: uaudio0: No playback!
kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format
kernel: uaudio0: No midi sequencer
kernel: pcm1:  on uaudio0

So I do have audio but where is video ?

And how should I test it ? :-)

Cheers,

Martin



Hi,

I've just updated to the latest webcamd port and restarted my system.
Though I can see video0 node in /dev now, there is no message when 
attaching device.  Actually, I get the following:


Mar  2 16:14:56 kernel: ugen3.2:  at usbus3 (disconnected)
Mar  2 16:14:56 kernel: uaudio0: at uhub3, port 3, addr 2 (disconnected)
Mar  2 16:14:56 kernel: pcm1: detached
Mar  2 16:15:06 kernel: ugen3.2:  at usbus3
Mar  2 16:15:06 kernel: uaudio0: 239/2, rev 2.00/0.10, addr 2> on usbus3
Mar  2 16:15:07 root: /usr/local/etc/rc.d/webcamd: WARNING: failed to 
start webcamd
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3

Mar  2 16:15:07 kernel: uaudio0: No playback!
Mar  2 16:15:07 kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM 
format

Mar  2 16:15:07 kernel: uaudio0: No midi sequencer
Mar  2 16:15:07 kernel: pcm1:  on uaudio0
Mar  2 16:15:07 root: Unknown USB device: vendor 0x046d product 0x0823 
bus uhub3


Any ideas what might be going on please ?

Cheers,

Martin

PS:  The camera does support UVC -- 
http://www.logitech.com/en-us/for-business/products/webcams-headsets/devices/7364 
-- and its siblings are listed in uvc(4) man page as supported.


___
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: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 21:39:02 martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see if the problem is still the same?

--HPS


Btw, any reason behind randomising man pages in Makefile ?
Now it is more difficult to find out if a particular driver is in.


You mean the alphabetical sorting?

--HPS


Yes, that's what I meant.  [It's also harder to maintain the port.]
I noticed because I have Philips SAA7135hl ENLTV TV/Radio Tuner and I 
wondered whether there could be a driver for it. :-)

Also when doing `pkg_info -L` the files come in Makefile order.

M.

___
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: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 21:35:57 martinko wrote:

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:40:33 Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first
and see if the problem is still the same?

--HPS


You can also try to compile webcamd with debugging and see if any errors
are output. Maybe your camera needs firmware to work.

--HPS


Next time, if you think it can reveal something useful.

I don't think it needs any firmware.  It should support UVC, afaik.
I tried it with Mac and it worked immediately after plugging in.


The new version of webcamd is in ports now.

--HPS


I unplugged the camera, deinstalled webcamd, configured it with debug 
support and installed, then tried to restart devd as suggested:


# /etc/rc.d/devd restart
devd not running?
Starting devd.
Starting webcamd.
Attached ugen3.2[0] to cuse unit -1
Starting webcamd.
Webcamd is already running for ugen3.2.0
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd
devd: devd already running, pid: 872
/etc/rc.d/devd: WARNING: failed to start devd

___
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: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:40:33 Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?


Hi,

There is a new webcamd port coming soon. Can you give that a try first and
see if the problem is still the same?

--HPS


You can also try to compile webcamd with debugging and see if any errors are
output. Maybe your camera needs firmware to work.

--HPS


Next time, if you think it can reveal something useful.

I don't think it needs any firmware.  It should support UVC, afaik.
I tried it with Mac and it worked immediately after plugging in.

M.

___
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: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first and see
if the problem is still the same?

--HPS



Btw, any reason behind randomising man pages in Makefile ?
Now it is more difficult to find out if a particular driver is in.

M:)

___
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: failed to start webcamd

2011-02-28 Thread martinko

Hans Petter Selasky wrote:

On Monday 28 February 2011 19:35:38 martinko wrote:

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root:
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message,
then camera is disconnected, connected again and it all repeats (cycle
about 1 second).

Where should I start looking at please ?



Hi,

There is a new webcamd port coming soon. Can you give that a try first and see
if the problem is still the same?

--HPS



Hi!

I had a little difficulty applying the patch and later restarting devd 
(WARNING: failed to start devd) but the end result seems interesting:


kernel: ugen3.2:  at usbus3
kernel: uaudio0: 2.00/0.10, addr 2> on usbus3

kernel: uaudio0: No playback!
kernel: uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format
kernel: uaudio0: No midi sequencer
kernel: pcm1:  on uaudio0

So I do have audio but where is video ?

And how should I test it ?  :-)

Cheers,

Martin

___
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"


failed to start webcamd

2011-02-28 Thread martinko

Hi,

I've just installed webcamd port to try out my Logitech HD camera.
However, when plugging the camera in I get "root: 
/usr/local/etc/rc.d/webcamd: WARNING: failed to start webcamd" message, 
then camera is disconnected, connected again and it all repeats (cycle 
about 1 second).


Where should I start looking at please ?

Cheers,

Martin

PS: This is on 8.2-RELEASE with the latest webcamd port.

___
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/80361: [umass] [patch] mounting of Dell usb-stick fails

2008-10-27 Thread martinko

Matthias Apitz wrote:

The following reply was made to PR usb/80361; it has been noted by GNATS.

From: Matthias Apitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:  
Subject: Re: usb/80361: [umass] [patch] mounting of Dell usb-stick fails

Date: Wed, 6 Aug 2008 11:30:54 +0200

 I have the same problem in FreeBSD 7.0-REL with the following USB key:
 
 $ usbdevs -v

 ...
 port 2 addr 2: high speed, power 94 mA, config 1, Store'n'go(0x0020), 
Verbatim(0x08ec), rev 2.00
 
 which only works (fine) when plug'ed in at boot time:
 
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-0 device 
 da0: 40.000MB/s transfers

 da0: 3812MB (7807999 512 byte sectors: 255H 63S/T 486C)
 
 if you plug it in later you will get:
 
 Aug  6 10:19:36 rebelion kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Aug  6 10:19:36 rebelion kernel: da0:  Removable Direct Access SCSI-0 device 
 Aug  6 10:19:36 rebelion kernel: da0: 40.000MB/s transfers

 Aug  6 10:19:36 rebelion kernel: da0: Attempt to query device size failed: 
UNIT ATTENTION, Medium not present
 
 and the devices /dev/da0s* does not show up; you only may access

 /dev/da0 with fdisk(8) or even with dd(1);
 
 -- 
 Matthias Apitz


I get that error message quite often, too. :-/

Oct 28 00:24:50 mb-aw1n-bsd kernel: da0:  
Removable Direct Access SCSI-0 device

Oct 28 00:24:50 mb-aw1n-bsd kernel: da0: 40.000MB/s transfers
Oct 28 00:24:50 mb-aw1n-bsd kernel: da0: Attempt to query device size 
failed: UNIT ATTENTION, Medium not present


This is on standard 6-STABLE.

M.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"