TAP driver for current

1999-12-29 Thread Maksim Yevmenkin
Hello All, I've written a small Ethernet TAP driver for FreeBSD-current. It is useful for Ethernet tunneling. I'm using it with VTUN (http://vtun.netpedia.net). The driver sources and description can be found at: http://home.earthlink.net/~evmax/tap-fbsd-current.tar.gz (~8K) It would be realy

Granch serial port tty driver for -current

2000-01-03 Thread Maksim Yevmenkin
Hello All, I've written a tty driver for SBNI-12x Granch Serial Cards. Granch serial is a short range modem. It provides up to 2MB over just plain couple of wires. More detail http://www.granch.ru (sorry russian only). This card is very popular in Russia, because of poor telephone lines. This i

NETGRAPH patches (proposal)

2000-02-21 Thread Maksim Yevmenkin
Hello All, Here are some small patches for NETGRAPH. These are against -current cvsup'ed yesterday around 8:30pm EST. http://home.earthlink.net/~evmax/ng.tar.gz It also includes small test program (based on nghook). Compile and run it like: # ./a.out -a iface_name: divert NETGRAPH option in

patch: new DEVFS support for TAP driver

2000-08-24 Thread Maksim Yevmenkin
All, please review, test and commit (if no objection :-) attached patch for tap driver. this is to support new devfs. thanks, emax __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ if_tap.c.diff

PATCH: if_tap device cloning

2001-08-30 Thread Maksim Yevmenkin
Hackers, Below some patches that implements device cloning (with devfs(5) support) for tap(4) device. The implementation is based on resource manager (just like tun(4) and gif(4)). Please review, test and if there is no objection commit. If there are any problems, please let me know. http://ho

PATCH: if_tap device cloning (final)

2001-08-31 Thread Maksim Yevmenkin
Hackers, Attached some patches that implements device cloning (with devfs(5) support) for tap(4). The implementation is based on resource manager (see tun(4) and gif(4)). Brooks Davis ([EMAIL PROTECTED]) took a quick look at the patch and seems has no objection. Please review,

Re: Anyone experience problems with the "tap" device in current?

2001-09-12 Thread Maksim Yevmenkin
Brooks Davis wrote: > > On Wed, Sep 12, 2001 at 04:59:16PM -0700, Doug Ambrisko wrote: > > I just tried using tap in current. In both cases I don't see the > > /dev/tapX devices with devfs and accessing it without devfs doesn't > > work reporting "Device not configured". I tried it as a module

Re: Anyone experience problems with the "tap" device in current?

2001-09-13 Thread Maksim Yevmenkin
Marcel Moolenaar wrote: > > On Wed, Sep 12, 2001 at 04:59:16PM -0700, Doug Ambrisko wrote: > > I just tried using tap in current. In both cases I don't see the > > /dev/tapX devices with devfs and accessing it without devfs doesn't > > work reporting "Device not configured". I tried it as a mod

DEVFS and device nodes that reside outside of /dev

2001-09-13 Thread Maksim Yevmenkin
ot;tap" device in current? Doug Ambrisko wrote: > > Maksim Yevmenkin writes: > | Brooks Davis wrote: > | > > | > On Wed, Sep 12, 2001 at 04:59:16PM -0700, Doug Ambrisko wrote: > | > > I just tried using tap in current. In both cases I don't see the > | >

weird -current gdb/gcc(?) problem

2001-10-31 Thread Maksim Yevmenkin
Hackers, first of all i want to apologize for posting this in -current. this should probably go into -questions. i have some weird problem. i have cvsup'ed and installed -current yesterday. i have attached script(1) output. quick search came up with nothing. did i miss anything? thanks max S

[Fwd: weird -current gdb/gcc(?) problem]

2001-10-31 Thread Maksim Yevmenkin
"Alexander N. Kabaev" wrote: > > What is the problem exactly? It is hard to guess that from the > information you posted. > > > foo (i=1, s=10244, c=-54 'J', str=0x804855b "test") at prog1.c:13 > Is that what bothers you? It happens because > your code is compiled with no optimization, and t

Re: weird -current gdb/gcc(?) problem

2001-10-31 Thread Maksim Yevmenkin
Joerg, > > i have some weird problem. > > Well, it would have been nice if you had told what you deemed to > be the problem. ;-) I can't find any problem at all... > > > Breakpoint 1, main () at prog1.c:8 > > 8 return (foo(1, 2, '3', "test")); > > (gdb) s > > foo (i=1, s=10244, c=-

Re: weird -current gdb/gcc(?) problem

2001-11-01 Thread Maksim Yevmenkin
Joerg, > > first of all i want to apoligize. i sent the wrong output. yes, it > > does the right thing if you use "-g" switch, however it does not > > work for me if i use "-ggdb" switch. > > Indeed, the output generated with -ggdb looks weird. But then, it > never occurred to me to use -ggdb a

[PATCH] if_ar and if_sr compile problem

2001-12-27 Thread Maksim Yevmenkin
Hackers, it looks like if_ar and if_sr modules will not compile unless you have enabled NETGRAPH. patches are simple and attached. thanks, max p.s. i'm trying today's -current. --- if_ar.c.origThu Dec 27 16:25:55 2001 +++ if_ar.c Thu Dec 27 15:44:19 2001 @@ -69,6 +69,10 @@ #includ

Re: [PATCH] if_ar and if_sr compile problem

2001-12-27 Thread Maksim Yevmenkin
Julian Elischer wrote: > > there are SEPARATE modules for the netgraph versions > ng_sr and ng_ar, compiled from the same sources.. > > ng_sync_sr and ng_sync_ar are specifically for the non-netgraph versions. > > -r-xr-xr-x 1 root wheel 26500 Nov 7 00:08 /boot/kernel/ng_sync_ar.ko > -r-xr

RE: anyone seen this? Makes system unbooable.

2001-12-31 Thread Maksim Yevmenkin
Julian, > I upgraded by cvs on saturday night, > Sunday I didn't use it. > Monday I tried to boot it. but the loader says: > ASSERT > and the system reboots had _exactly_ the same poblem :( the string says, something like name not found ASSERT(FALSE) ficlCompileSoftCore in softcore.c line 291

[PATCH] Re: if_tap and devfs

2000-11-06 Thread Maksim Yevmenkin
Hello, > I recently moved to using devfs and now if_tap seems unusable. Although > the module is loaded, it doesn't show up in /dev or as an interface. > >From a quick comparison with if_tun it seems that this is 'expected' > behaviour although I'm not a specialist with devfs. Is this so? If yes,

[PATCH] Please review and commit (Re: if_tap and devfs)

2000-11-07 Thread Maksim Yevmenkin
Hello Harti, > > > is there somebody working to make if_tap devfs-ready? Or I'm doing > > > something wrong? > > > > [SNIP] > > it seems to me that it did not get commited. i will look into it again > > today and re-send patch to the list. > > Great! It works. (Minus a spelling error: the parame

[PATCH] Please review and commit (Re: if_tap and devfs)

2000-11-08 Thread Maksim Yevmenkin
Hello All, anyone wants to review and commit the following patch. thanks, emax __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ if_tap.c.diff

NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, Is there any way (on -current with NEWCARD) "devd" can prevent "sio" driver from attaching to *ANY* pc-card that has PCCARD_FUNCTION_SERIAL? >From what i understand "devd" can load driver modules, but it only comes to play when card is not recognized, right? The particul

Re: NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, --- "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Maksim Yevmenkin <[EMAIL PROTECTED]> writes: > : Dear Warner and Hackers, > : > : Is there any way (on -current with NEWCAR

Re: NEWCARD, devd, sio and PCCARD_FUNCTION_SERIAL cards

2002-12-21 Thread Maksim Yevmenkin
Dear Warner and Hackers, --- "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Maksim Yevmenkin <[EMAIL PROTECTED]> writes: > : > : > : > : Is there any way (on -current with NEWCARD) "devd" can

panic: ip_output: no HDR

2003-01-27 Thread Maksim Yevmenkin
Dear Hackers, During the testing process for the new in-kernel RFCOMM Bluetooth code my not so -current panic()ed with the trace below. This panic happend while ~2MB FTP transfer (PPP over new RFCOMM over Bluetooth). A little detail - new RFCOMM code opens L2CAP sockets from inside kernel (very m

Bluetooth stack for FreeBSD

2003-02-10 Thread Maksim Yevmenkin
Dear Hackers, I'm very pleased to announce that another engineering release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030210.tar.gz Note: This release has new tree layout that matches FreeBSD source tree. Quick summary of changes - New in-kernel RFCOMM imple

WITNESS questions

2003-02-11 Thread Maksim Yevmenkin
Dear Hackers, Does WITNESS keeps track of particular mutex instance or just places where particular mutex type was acquired and released? Is it even possible to keep track of individual instance of the particular mutex type? Here is my problem. In my code (Bluetooth sockets layers) each socket/PC

Need an expert's advise on WITNESS problem(?) (very long)

2003-02-16 Thread Maksim Yevmenkin
Dear Hackers, I need an expert's advice on the small locking/WITNESS problem (if this is a real problem of course). It basically boils down to the following: Consider three (3) MTX_DEF mutexes: A, B1 and B2. Mutex A has a name "mutex_A" and type "type_A". Mutex B1 has a name "mutex_B1" and mutex

PATCH: typo in socreate() or i'm missing something

2003-02-27 Thread Maksim Yevmenkin
Dear Hackets, Please find the attached patch for socreate() in uipc_socket.c. I think the code was supposed to call soalloc(0) rather then soalloc(M_NOWAIT). Note M_NOWAIT defined as 1. Is that a real typo or i'm missing something here? thanks, max --- uipc_socket.c.orig Thu Feb 27 15:24:52 20

Re: PATCH: typo in socreate() or i'm missing something

2003-02-28 Thread Maksim Yevmenkin
Bruce, Please find the attached patch for socreate() in uipc_socket.c. I think the code was supposed to call soalloc(0) rather then soalloc(M_NOWAIT). Note M_NOWAIT defined as 1. Is that a real typo or i'm missing something here? soalloc(1) was intended (and was obtained by misspelling 1 as M_NO

RE: HEADSUP: Driver mega-commit ahead.

2003-03-02 Thread Maksim Yevmenkin
Dear Poul-Henning, i think the following is not correct RCS file: /home/ncvs/src/sys/netgraph/ng_device.c,v retrieving revision 1.2 diff -u -r1.2 ng_device.c --- netgraph/ng_device.c2 Feb 2003 13:30:00 - 1.2 +++ netgraph/ng_device.c2 Mar 2003 19:48:38 - @@ -66,7 +66,

RE: PATCH: typo in socreate() or i'm missing something

2003-03-02 Thread Maksim Yevmenkin
Dear Hackers, < said: > > Interestingly, socreate() in Lite2 always does a can-wait malloc() so > > our current soalloc(M_NOWAIT) does the same thing as Lite2 and is only > > wrong if the FreeBSD change from can-wait to "can-wait-if p != 0" > > change was needed and is still needed. > > When I i

Re: FreeBSD Bluetooth stuff

2003-03-03 Thread Maksim Yevmenkin
Hello Dustin, 1) compile and install hcidump from the snapshot's ports/ directory Recompiled and reinstalled. All went fine. good 2) make sure you have clean setup, i.e. - run # rc.bluetooth stop - disconnect the device from the PC - reset mouse - connect device back to PC - run # rc.

Re: FreeBSD Bluetooth stuff

2003-03-03 Thread Maksim Yevmenkin
Dustin, This is probably where I'm going to have to stop for the week to make sure I get my classwork done, you've been a wonderful guide. I can't wait to get started working on this some more. no problem. thanks for your time :) [...] bottom line: baseband + L2CAP works. you can talk to your m

Re: bluetooth device ID

2003-03-05 Thread Maksim Yevmenkin
Hello Pav, [ CC'ed to [EMAIL PROTECTED] ] To all FreeBSD Bluetooth users Please do not hesitate to ask questions! No question is too dumb. When asking questions please CC to one of the FreeBSD mailing lists. mobile@, net@ and [EMAIL PROTECTED] seems like a good choice. This way your questions/re

Bluetooth stack for FreeBSD

2003-03-05 Thread Maksim Yevmenkin
Dear Hackers, I'm very pleased to announce that another release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030305.tar.gz The Bluetooth sockets layer has been cleaned up. People should not see any WITNESS complains with new code. Locking issues have been revisit

Re: Bluetooth stack for FreeBSD

2003-03-06 Thread Maksim Yevmenkin
Hello Christian, [...] Are there any undertakings on the way to update the bluetooth code in -CURRENT to a newer snapshot? As soon as I get at least few positive feedbacks from the testers Julian will commit it :) I do not feel comfortable to commit the code that has only been tested on the limit

silly libusbhid question

2010-09-08 Thread Maksim Yevmenkin
hello, [trying current@ first to get wider audience :)] so, i have a somewhat silly question about libusbhid. please consider the following code hid_data_t d; hid_item_t h; for (d = hid_start_parse(desc, 1 << hid_input, -1); hid_get_item(d, &h) > 0; ) { ... } hid_end_parse(d); the id

Re: silly libusbhid question

2010-09-09 Thread Maksim Yevmenkin
On Wed, Sep 8, 2010 at 11:59 PM, Hans Petter Selasky wrote: > >> In kernel and userspace this is currently a feature in the HID libraries. > > And I agree that maybe this should be changed. Before changing anything please > grep the kernel sources for this function and check that no callers are us

Re: Atheros bluetooth unrecognizable 0cf3:3002

2010-11-11 Thread maksim yevmenkin
Please try fw dowloader from Http://people.freebsd.org/~emax/ath3kfw.tar.gz Thanks, Max On Nov 11, 2010, at 11:31 AM, "Marek Salwerowicz" wrote: > Hi, > > I have built-in bluetooth atheros. On ubuntu linux it is shown as (lsusb): > Bus 003 Device 006: ID 0cf3:3002 Atheros Communications, In

Re: Dell 370 bluetooth minicard

2011-02-21 Thread Maksim Yevmenkin
Hello, > On a Dell E6400 the bluetooth wireless minicard (Dell 370 => BCM2046B1 > if i am right) does not attach to any driver. > Is this ship supported by the btbcmfw driver? > Any comment would be helpfull. did you try to load ng_ubt(4) driver? also freebsd-bluetooth@ is probably more appropria

Re: bluetooth on 5.1-release or -current ?

2003-08-17 Thread Maksim Yevmenkin
Hello Kim, > Trying to get Max Yevmenkin's bluetooth stack running on 5.1-release. > > This with ngbt-fbsd-20030501.tar.gz from > > http://www.geocities.com/m_evmenkin/ first of all - all kernel modules and user space tools were committed to -current. so you do not have to use snapshots. all ke

Re: bluetooth working on 5.1-release

2003-08-17 Thread Maksim Yevmenkin
Hello Kim, > Have bluetooth almost working on 5.1-release, thank you Max. [...] > The device is a Belkin F8T001, at plugin it logs: > > Aug 17 16:43:01 radio kernel: ubt0: Broadcom Corp. BCM2033, rev 1.01/0.a0, > addr 2 > Aug 17 16:43:01 radio kernel: ubt0: Interface 0 endpoints: interrupt=0x8

Re: MS Bluetooth mouse on 5.1-release

2003-08-22 Thread Maksim Yevmenkin
Brent, > Does anyone know if it's possible to use a Microsoft Bluetooth mouse > 5.1? you need to have Bluetooth HID (Human Interface Device) support. someone wrote me an e-mail a while ago asking the same question. i tried to explain Bluetooth HID and how it works. its not a rocket science - you

Bluetooth stack for FreeBSD (Netgraph)

2003-09-08 Thread Maksim Yevmenkin
Dear Hackers, After a very long delay (sorry!) I'm pleased to announce that I'm still around and new a snapshot can be downloaded from http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030908.tar.gz Here is quick summary: o ng_hci(4) and ng_l2cap(4) kernel modules were changed to fix issue with

Re: Bluetooth stack for FreeBSD (Netgraph)

2003-09-09 Thread Maksim Yevmenkin
Tobias, > > After a very long delay (sorry!) I'm pleased to announce that I'm still > around > > and new a snapshot can be downloaded from > > kickass! I will try it out later today :) > > Here is the list of things I'm planing to do next: > > > > o Prepare patches for FreeBSD source tree > >

Re: FreeBSD as bluetooth gateway for a PDA

2003-09-12 Thread Maksim Yevmenkin
[cc'd to [EMAIL PROTECTED] for archive purposes ] Hello Victor, > I hope you don't mind me asking you directly: maybe the -current > mailing list is more appropriate? no, i do not mind, but cc to -current or -net is a good idea. > I'm trying to use a FreeBSD PC (5.1-CURRENT, with the bluetoo

Re: ubt0, Bluetooth and kernel memory leaking

2003-09-20 Thread Maksim Yevmenkin
Hello Gary, > It seems when using rfcomm_pppd (at least) as a Bluetooth <-> LAN > gateway there is a fairly large memory leak which eventually crashes > the box running the ppp server. To track down where, I recorded the > output of kern.malloc every minute until the box crashed. At the > start

Bluetooth patch

2003-09-23 Thread Maksim Yevmenkin
Dear Hackers, I have prepared Bluetooth mega patch for FreeBSD source tree. This patch updates FreeBSD sources to the most recent snapshot. The patch is quite extensive - it adds two new libraries (libbluetooth and libsdp) as well as puts some files into /etc/bluetooth and modifies quite a few oth

Re: Bluetooth patch

2003-09-29 Thread Maksim Yevmenkin
Hi John, > > I have prepared Bluetooth mega patch for FreeBSD source tree. This patch > > updates FreeBSD sources to the most recent snapshot. [...] > > The patch could be downloaded from > > > > http://www.geocities.com/m_evmenkin/patch/bluetooth20030914.diff.gz > > I had a look at the patch

Re: Bluetooth patch

2003-09-30 Thread Maksim Yevmenkin
John, [...] > > : > Julian and Ruslan are busy at the moment. M. Warner Losh has sent > e-mail > > : > to core@ and asked for commit bit for me. in the mean time i'd like to > > : > commit this and resolve all issues in time for 5.2-RELEASE. > > : > > : I can give it a go if no one else wants to

HEADSUP: Bluetooth patch is about to be committed

2003-10-12 Thread Maksim Yevmenkin
Dear Hackers, In the next few hours i will be committing Bluetooth patch. The patch was reviewed by M. Warner Losh <[EMAIL PROTECTED]> and John Hay <[EMAIL PROTECTED]> After commit i will re-cvsup my system and will do a full buildworld (could take 4-6 hours) to make sure everything works. Expec

Darwin/OSX Bluetooth code

2003-10-16 Thread Maksim Yevmenkin
Dear Hackers, Does anyone know if Apple has released Darwin/OSX Bluetooth code to the public? Quick look at http://www.opensource.apple.com/ did not reveal anything particularly useful (although i did not try really hard :) I'm currently thinking about un-Netgraph'ing FreeBSD code to make it port

Re: Darwin/OSX Bluetooth code

2003-10-17 Thread Maksim Yevmenkin
Peter, > > I'm currently thinking about un-Netgraph'ing FreeBSD code to make it > portable > > to other BSD style systems. I'm trying to look at other implementations > > and learn as much as i can. In particular i'm trying to figure out how to > > minimize OS dependent code and what is the right

[PATCH] connect bluetooth configs and examples to the build

2003-10-21 Thread Maksim Yevmenkin
Hi Guys, i'd like to commit attached patch. the purpose is to connect etc/bluetooth and share/examples/netgraph/bluetooth to the build. please review and let me know if i missed anything. thanks, max __ Do you Yahoo!? The New Yahoo! Shopping - with improved produc

Re: [PATCH] connect bluetooth configs and examples to the build

2003-10-21 Thread Maksim Yevmenkin
Simon, > > i'd like to commit attached patch. the purpose is to connect etc/bluetooth > > and share/examples/netgraph/bluetooth to the build. please review and let > > me know if i missed anything. > > > > Index: src/etc/bluetooth/Makefile > > ==

Re: /etc/bluetooth and /usr/share/examples/netgraph/bluetooth(breaks installworld)

2003-10-26 Thread Maksim Yevmenkin
Hello Warner, Oops, my bad. Please review attched patch. If there are no objections I will commit it in a few hours. Also if someone else could commit it sooner it would be nice :) thanks, max --- Matt Smith <[EMAIL PROTECTED]> wrote: > Matt Smith wrote: > > Maksim, > > > > I have just done a b

LOR

2003-11-03 Thread Maksim Yevmenkin
Dear Hackers, got this LOR this morning. sorry if already known/fixed. beetle% uname -a FreeBSD beetle.digisle.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Nov 1 00:35:49 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BEETLE i386 beetle% lock order reversal 1st 0xc1ea534c inp (inp) @ /us

RE: bluetooth BW-BH02U reset failure

2003-03-12 Thread Maksim Yevmenkin
Hello Takahiko, > At first, I installed 5-CURRENT on P3 machine and sync with cvsup to > latest. and overwrite 2003-03-05 maksim's bluetooth modules. please verify that tarball you have downloaded has both kernel and userland stuff, i.e. you have sys, share, usr.bin and usr.sbin in the snapsh

RE: bluetooth BW-BH02U reset failure

2003-03-16 Thread Maksim Yevmenkin
Hello Takahiko, [...] > OK, I checked my copy of 2003-03-05. It only has sys. I'd download latest > 2003-03-05 on your directory. I've rebuild environment. good [...] > > > ugen0: Broadcom product 0x2033, rev 1.01/0.a0, addr 2 > > > I just mistake device name, it not BW-BH02U. true name i

Re: bluetooth BW-BH02U reset failure

2003-03-18 Thread Maksim Yevmenkin
Hello Takahiko, [...] well, i did some research on that. it turns out Broadcom Bluetooth chip based devices require firmware download. in particular the device you have (Vendor ID 0x0a5c/Product ID 0x2033) uses special procedure to download firmware file, i.e. you have to download mini-driver fir

What is the proper handling for USB IOERRORs

2003-03-19 Thread Maksim Yevmenkin
Dear Hackers, Does anyone know what is the proper handling for USB IOERROR status in USB transfer callback? here is my problem. the driver opens bulk pipe and submits incoming USB bulk transfer. the USB device is detached while the transfer is still pending and pipe is still open. USB transfer cal

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-25 Thread Maksim Yevmenkin
Tobias, yes it is a CSR chip based device. can you tell if its a USB device? yes, it is usb. windows clearly states it as usb. good. then you will most likely get it to work. if you get it to attach (see below). 1) at loader prompt type (without quotes) "boot -v" 2) do not press the Bluetooth butt

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-25 Thread Maksim Yevmenkin
Larry, [...] Mar 25 21:59:36 angel5 kernel: uhub2: device problem, disabling port 1 I had a similar (USB) issue on my Fujitsu Laptop, until I **ENABLED** the USB Floppy option in my BIOS. Don't ask me why that fixed it, but ANY USB device I plugged in would garner the above response without th

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-26 Thread Maksim Yevmenkin
Lee, Kernel recompiled and now no more "_mtx_assert undefined" errors. Continuing with the directions at : When I press the T30's bluetooth button I get the known USB problem, but never see the ubt0 device defined. Instead of getting ubt0: vendor 0x0a12

Re: Bluetooth on IBM T30 (USB device problem)

2003-03-26 Thread Maksim Yevmenkin
Hello Lee, I'm playing with Bluetooth on my T30 as well. I've activated legacy USB support in BIOS, but still get Mar 26 08:41:03 tylendel kernel: uhub2: device problem, disabling port 1 maybe 45-60 seconds after pressing the Bluetooth button. I'm running a kernel and world sup'd yesterday a

Re: IBM T30 USB issue: kernel: uhub2: device problem, disabling

2003-04-02 Thread Maksim Yevmenkin
Dear Hackers, [ for archive purposes ] all the USB stack debug traces are available at http://www.geocities.com/m_evmenkin/usb/ i also managed to get USB dumps from W2K that runs on the same laptop. http://www.geocities.com/m_evmenkin/usb/USB_HUB.LOG trace when W2K attach the second hub ins

[PATCH] hcsecd(8) Bluetooth link keys/PIN codes management daemon

2003-06-06 Thread Maksim Yevmenkin
Dear Hackers, please find attached patch for the hcsecd(8) Bluetooth link keys/PIN codes management daemon. this patch is against the latest release http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030604.tar.gz hcsecd(8) is now able to cache link keys that were generated from the PIN codes. to p

Re: Polishing touch

2003-06-02 Thread Maksim Yevmenkin
Hello, > just in case re@ or a maintainer finds this worhtwhile : > > from my /etc/rc.conf : > > ifconfig_tap0="lladdr 00:90:27:3f:12:9f" > apm_enable="YES" > apmd_enable="YES" > > This gives me in dmesg-a (today's CVS) : > >

Bluetooth stack for FreeBSD

2003-06-05 Thread Maksim Yevmenkin
Dear Hackers, Another release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030604.tar.gz I am regret to announce that this is probably the last release. My company has announced that they will pull out of USA and i will most likely loose my job. Unless i find an

Re: bluetooth 20030604 and 5.1 release

2003-06-10 Thread Maksim Yevmenkin
Hello, > Hello, I downloaded the latest bluetooth stack from 20030604 and I am > running 5.1 release which was also tagged on 20030604 and I followed the > steps to compile bluetooth which was "make depend && make && make install > && make cleandir" in src/usr.bin/bluetooth/ but it fails at make

Re: bluetooth 20030604 and 5.1 release

2003-06-10 Thread Maksim Yevmenkin
Hello, --- User Toyboy <[EMAIL PROTECTED]> wrote: > Thanks for that help, it worked, I have one more question, Is it possible to > share my internet connection on my FreeBSd box that has bluetooth on it > with other devices with bluetooth like my laptop? I looked at > http://www.oook.cz/bsd/blu

Re: bluetooth 20030604 and 5.1 release

2003-06-12 Thread Maksim Yevmenkin
Hello, Did you download firmware into the device? Broadcom BCM2033 chip based device will not work without firmware. The snapshot comes with firmware download driver ubtbcmfw(4) and firmware download utility bcmfw(8). In order to make Broadcom device work you need to 1) load ubtbcmfw.ko module 2)

Re: bluetooth 20030604 and 5.1 release

2003-06-13 Thread Maksim Yevmenkin
Hello, --- User Toyboy <[EMAIL PROTECTED]> wrote: > Hello again, all information you have given me has been very helpful. ButI > have messed up somewhere while setting up the rcfomm_pppd section and I > don't know where the problem is. I have setup my ppp.conf like this: [section skipped] plea

Re: bluetooth 20030604 and 5.1 release

2003-06-14 Thread Maksim Yevmenkin
Hello, --- User Toyboy <[EMAIL PROTECTED]> wrote: > Thanks for the information, I can now surf the internet from my laptop via > bluetooth. I will put up a page on how to do it, even though there are i'm very glad it works for you :) > already a few pages on it already. The problem with my set

Re: IBM T30 bluetooth - success

2003-06-16 Thread Maksim Yevmenkin
Tobias, > I just wanted to let you know that I got the integrated bluetooth > device in my IBM T30 to work (yes, I am sending this mail from my > T30 via bluetooth via my Ericsson T68i and GPRS cool :) i'm glad you made it working :) > Thanks to Pav and Max for all the fabulous work and help! >

Re: [-CURRENT tinderbox] failure on i386/i386

2003-06-24 Thread Maksim Yevmenkin
Hello, please disconnect usr.bin/bluetooth and usr.sbin/bluetooth from the build for now. i'm working on the patch to fix this. sorry about this. thanks, max > TB --- 2003-06-24 17:27:15 - starting CURRENT tinderbox run for i386/i386 > TB --- 2003-06-24 17:27:15 - checking out the source tree >

-current (DP1) and USB transfers

2002-06-09 Thread Maksim Yevmenkin
Hackers, I'm a USB newbie and have a couple stupid questions about USB transfers. System: -current DP1 Laptop: Toshiba Tecra 8100 (docked/undocked) Device: 3COM Bluetooth USB dongle (see attached dump) Device presents three interfaces: Interface 0 - Control, bulk and interrupt transfers Interf

Device cloning

2002-06-10 Thread Maksim Yevmenkin
Hackers, The project i'm working on might require some sort of device cloning. The current way of cloning, i.e. use DEVFS and allocate unique minor numbers, is not very good for my purpose. The idea is simple: the same device(major,minor) can be opened several times by different processes (or po

Re: Device cloning

2002-06-11 Thread Maksim Yevmenkin
Hackers, [...] > TL>I don't think the original poster wanted cloning for support on > TL>physical devices for which there was a 1:1 relationship anyway > TL>(8^)), but there *are* cases where it could be useful. > TL> > TL>Actually, I think the original poster never really disclosed *what* > TL>

Re: Device cloning

2002-06-11 Thread Maksim Yevmenkin
> >I'm sorry people :) I should have been more specific. Here is > >what i meant. I'm working on Bluetooth stack for FreeBSD. Everything > >is implemented in Netgraph. The real device driver nodes are connected > >to HCI layer. You can talk to any Bluetooth device via HCI layer. It > >does not re

Bluetooth stack for FreeBSD

2002-06-13 Thread Maksim Yevmenkin
Hackers, Another developer snapshot is available at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020613.tar.gz This release is for -current DP1 only. I had to downgrade back to DP1 due to huge amount of changes in -current. Brief list of changes - Basic support for USB devices. I g

Re: Bluetooth stack for FreeBSD

2002-06-13 Thread Maksim Yevmenkin
Julian, > I was just discussing this with people here at USENIX and I'd like to > start the process for committing this. Oh, gee, thanks :) but, i'm not so sure about committing. There are several important bits and pieces that needed to be done. First of all, i do want to see properly tested

Re: Device cloning

2002-06-14 Thread Maksim Yevmenkin
Hi Mark, > On Tue, Jun 11, 2002 at 10:14:48AM -0700, Maksim Yevmenkin wrote: > > or USB dongle. They all MUST talk via HCI. So HCI is not really a > > device driver, and, IMO, it is not a pseudo device driver. It sort > > of looks like /dev/tcp :) > > A ng_device

Interrupt vs. polling on -current

2002-08-09 Thread Maksim Yevmenkin
Hackers, Can anyone shed some light on the following problem: OS: FreeBSD-current DP1 (dmesg attached) Laptop: Toshiba Tecra 8100 (docked) Hardware: 3Com Bluetooth USB dongle, 3Com Bluetooth PC-CARD Xircom CBT PC-CARD (with 16550A UART) First of all, irq 11 gets shared between PC-CARD

RE: Interrupt vs. polling on -current

2002-08-11 Thread Maksim Yevmenkin
On Fri, 9 Aug 2002, Maksim Yevmenkin wrote: > > OS: FreeBSD-current DP1 (dmesg attached) > > Laptop: Toshiba Tecra 8100 (docked) > > Hardware: 3Com Bluetooth USB dongle, 3Com Bluetooth PC-CARD > > Xircom CBT PC-CARD (with 16550A UART) > > > > Firs

Re: Interrupt vs. polling on -current

2002-08-12 Thread Maksim Yevmenkin
"M. Warner Losh" wrote: > > [[ I've read the rest of this thread ]] > > In message: <[EMAIL PROTECTED]> > Maksim Yevmenkin <[EMAIL PROTECTED]> writes: > : My tests are very simple. I plug USB dongle and one PC-CARD > : and try to

Re: Interrupt vs. polling on -current

2002-08-12 Thread Maksim Yevmenkin
Bruce Evans wrote: > > On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > > > On Fri, 9 Aug 2002, Maksim Yevmenkin wrote: > > [...] > > BTW, i see "silo overflow" messages when i run ppp via null-modem > > cable. in this configuration i'm using se

Re: Interrupt vs. polling on -current

2002-08-12 Thread Maksim Yevmenkin
Bruce Evans wrote: > > On Mon, 12 Aug 2002, Maksim Yevmenkin wrote: > > > Bruce Evans wrote: > > > > > > On Sun, 11 Aug 2002, Maksim Yevmenkin wrote: > > [...] > > > > > > BTW, i see "silo overflow" messages when i run ppp v

vmware2 panic on -current

2002-08-16 Thread Maksim Yevmenkin
Recent -current (a couple days old) panics when i start vmware2. Trace is attached. Any clue? thanks max GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distrib

USB slowdown on recent -current

2002-08-27 Thread Maksim Yevmenkin
Hackers, I'm currently testing my Bluetooth code for FreeBSD on recent -current. After i upgraded to recent current from current-DP1 i'm experiencing a major slowdown in USB device speed. On current-DP1 the USB device was able to handle about 50-60 KBytes/sec. On recent -current _the_same_ devi

Re: USB slowdown on recent -current

2002-08-27 Thread Maksim Yevmenkin
r works just fine and get 50-60 KBytes/sec even with all debug stuff enabled. so there should be another explanation. > On Tue, 27 Aug 2002, Maksim Yevmenkin wrote: > > > Hackers, > > > > I'm currently testing my Bluetooth code for FreeBSD on recent > > -c

Re: USB slowdown on recent -current

2002-08-27 Thread Maksim Yevmenkin
anged. Hmmm Anyone care to comment? Maksim Yevmenkin wrote: > > Julian Elischer wrote: > > > > make sure you have all the debugging turned off. > > there is a LOT of debugging.. > > at the moment. > > well, this was my first attempt. it did not work. ev

Re: USB slowdown on recent -current [PATCH]

2002-08-30 Thread Maksim Yevmenkin
again. i can reproduce it with both my driver and "ugen" driver. any clues? thanks, max Josef Karthauser wrote: > > On Tue, Aug 27, 2002 at 01:46:25PM -0700, Maksim Yevmenkin wrote: > > Hackers, > > > > Replying to myself and -current. Strange, but com

Bluetooth stack for FreeBSD

2002-09-09 Thread Maksim Yevmenkin
Hackers, I'm very pleased to announce that another engineering release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020909.tar.gz This release features several major changes and includes support for H4 UART and H2 USB transport layers, Host Controller Interface

Re: Bluetooth stack for FreeBSD

2002-09-10 Thread Maksim Yevmenkin
FUJIMOTO Kou wrote: > > Poul-Henning Kamp wrote: > > > > In message <[EMAIL PROTECTED]>, Maksim Yevmenkin writes: > > > > >I still would like to hear from people. I'm extremely > > >surprised that FreeBSD community seems not interested in >

Re: Bluetooth stack for FreeBSD

2002-09-10 Thread Maksim Yevmenkin
Julian, > On Tue, 10 Sep 2002, Chris Dillon wrote: > > > On Mon, 9 Sep 2002, Maksim Yevmenkin wrote: > > > > > I still would like to hear from people. I'm extremely surprised that > > > FreeBSD community seems not interested in this at all. I got very

Bluetooth stack for FreeBSD

2002-09-23 Thread Maksim Yevmenkin
Hackers, Several people have contacted me and offered help with testing and i'm very glad to announce that i have received few successful reports. There was a couple of problems however. The next snapshot is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020922.tar.gz

RE: pppd not working on latest current 2002-10-20

2002-10-25 Thread Maksim Yevmenkin
> From: Terry Lambert [mailto:tlambert2@;mindspring.com] > > > Brooks Davis wrote: > > This isn't going to have an effect on the ability to use kernel ppp for > > other things. The tty orientation of pppd and the outdated, unmodular > > design on ppp(4) have taken care of that. This patch gives

options GEOM and NODEVFS

2002-10-28 Thread Maksim Yevmenkin
Dear Hackers, this weekend i have updated my laptop to recent -current. after booting it with my kernel i got few messages saying something like /dev/ad0s[a-e]: Device not configured and then system dropped to /bin/sh. so i booted GENERIC kernel and it was working fine. i took a close look on my

Re: options GEOM and NODEVFS

2002-10-28 Thread Maksim Yevmenkin
"Vladimir B. Grebenschikov" wrote: > > ÷ Mon, 28.10.2002, × 20:42, Maksim Yevmenkin ÎÁÐÉÓÁÌ: > > > p.s. sorry if this is a FAQ. man geom(4) and quick grep > > in /sys/conf and /sys/i386/conf came up with nothing. > > > > p.p.s. i need NODEVFS to ru

NEWCARD panic

2002-10-28 Thread Maksim Yevmenkin
Dear Hackers, after upgrading to the recent (as of this weekend) -current i'm having a 100% reproducible panic. the card i'm trying to make to work is RealPort Ethernet 10/100 + Modem56 (REM56G-100) it does work in Linux in W2K, it did not work before upgrade, but at least it did not panic. i

  1   2   >