Re: interrupt handlers in -current

2003-06-06 Thread Duncan Barclay
On 05-Jun-2003 M. Warner Losh wrote: In message: [EMAIL PROTECTED] Duncan Barclay [EMAIL PROTECTED] writes: : This is more of a confirmation of my understanding than anything else. : In -current, should an interrupt thread be created you set up an interrupt : handler? If so, then

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread JacobRhoden
On Thu, 5 Jun 2003 10:54 pm, Samy Al Bahra wrote: I suggest you take a look at the acme port. It may be found in ports/multimedia/acme. It provides an intuitive configuration interface for mapping certain keys to certain actions. If you don't find it of use in your scenario, the source code is

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread ferrex
already done, see my previous email :) On Thu, 5 Jun 2003 10:54 pm, Samy Al Bahra wrote: I suggest you take a look at the acme port. It may be found in ports/multimedia/acme. It provides an intuitive configuration interface for mapping certain keys to certain actions. If you don't find it of

Re: interrupt handlers in -current

2003-06-06 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Duncan Barclay [EMAIL PROTECTED] writes: : : On 05-Jun-2003 M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Duncan Barclay [EMAIL PROTECTED] writes: : : This is more of a confirmation of my understanding than anything else. : : In

netstat -s output

2003-06-06 Thread Bogdan TARU
Hi hackers, I have tried to find out the amount of traffic that one box sent (from the last reboot), and netstat -s seemed like a good choice. But netstat -s seems to generate incorrect results: tcp: 1730547260 packets sent 1325234728 data packets (1119813018

Re: netstat -s output

2003-06-06 Thread Maxim Konovalov
On Fri, 6 Jun 2003, 11:19+0200, Bogdan TARU wrote: Hi hackers, I have tried to find out the amount of traffic that one box sent (from the last reboot), and netstat -s seemed like a good choice. But netstat -s seems to generate incorrect results: tcp: 1730547260 packets

Prism2 firmware upload support.

2003-06-06 Thread Dirk-Willem van Gulik
After experimenting with the hostap drivers of linux (http://hostap.epitest.fi/) I've quite taken a liking of 'prism2_srec' which allows one to upload (experimental) firmware in the RAM of the prism2 card. And being able to do this form userland. Has anyone looked at the existing symbol firmware

Incompatibility between FreeBSD make.conf and imake 4.3.0

2003-06-06 Thread Carl Mascott
I just discovered an incompatibility between the handling of CFLAGS in FreeBSD 4.8-R (and other versions, I'm sure) and in imake 4.3.0. Let me give you the symptom first. When building both normal and shared libraries, using an Imakefile that uses the automatic object rule generation provided by

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread Artem 'Zazoobr' Ignatjev
[EMAIL PROTECTED] wrote: thanks, works like a charme, its printing the same linux is printing tho. pressing the first key prints 0xe0 0x10 releasing it prints 0xe0 0x90 0x10 = 'q' ..the 0xe0 seems to indicate its a function key (like del and others, who also have the 0xe0) im a bit

Re: Prism2 firmware upload support.

2003-06-06 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Dirk-Willem van Gulik [EMAIL PROTECTED] writes: : Has anyone looked at the existing symbol firmware loading code in freebsd : 5.x and looked at generalizing this with some ioctl()'s for : upload/download of firmware (and propalby an extra SIOCGPRISM2INFO

Re: Prism2 firmware upload support.

2003-06-06 Thread Dirk-Willem van Gulik
On Fri, 6 Jun 2003, M. Warner Losh wrote: I've looked into it. Primary/secondary versions aren't as interesting as the actual product ID for determining which hex file to load. There's also a need for getting additional data out of the current firmware so it can be merged into the hex

Re: Prism2 firmware upload support.

2003-06-06 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Dirk-Willem van Gulik [EMAIL PROTECTED] writes: : to make sure that primary firmware is compatible with the secondary : firmware you are loading, etc. : : Aye - I've also added an ioctl to get the 3 id/major/minor/variant values : for nic/pri/sec; which

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Brian O'Shea
Hi Poul-Henning, --- Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: System panics after PQI Travel Flash (USB Compact Flash reader/writer mass storage device) is plugged in.

Re: interrupt handlers in -current

2003-06-06 Thread John Baldwin
On 06-Jun-2003 M. Warner Losh wrote: In message: [EMAIL PROTECTED] Duncan Barclay [EMAIL PROTECTED] writes: : : On 05-Jun-2003 M. Warner Losh wrote: : In message: [EMAIL PROTECTED] : Duncan Barclay [EMAIL PROTECTED] writes: : : This is more of a confirmation of my

Re: interrupt handlers in -current

2003-06-06 Thread Duncan Barclay
On 05-Jun-2003 M. Warner Losh wrote: In message: [EMAIL PROTECTED] Duncan Barclay [EMAIL PROTECTED] writes: It may also be the case that the interrupt for this isn't being properly routed. 5.1-BETA has a bug that, for some laptop machines, interrupts aren't properly routed.

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread ferrex
yea but that doesnt help me, the 041 for the key - how would i compute that from the 0xe0 0x4f for example? for a real example: i have a key that produces 0xe0 0x10, 0x10 however is decimal 016, and is the 'q' key, pressing the 0xe0 0x10 key does not print a 'q' tho :) so the 0xe0 has a meaning,

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread Artem 'Zazoobr' Ignatjev
[EMAIL PROTECTED] wrote: yea but that doesnt help me, the 041 for the key - how would i compute that from the 0xe0 0x4f for example? for a real example: i have a key that produces 0xe0 0x10, 0x10 however is decimal 016, and is the 'q' key, pressing the 0xe0 0x10 key does not print a 'q' tho

imgact_gzip.c

2003-06-06 Thread David Yeske
imgact_gzip.c seems to be pretty stale. Has anyone considered fixing this? If this were fixed then kldload() / linker_load_module() could deal with a gzipped .ko file, and gzipped elf executables would work also? Regards, David Yeske __ Do you Yahoo!? Yahoo!

Mapping Physical Memory without a Device?

2003-06-06 Thread cd_freebsd
I would like to be able to map memory before I have a device to work with (to read system BIOS information or mess with the video buffer). Is this possible? In linux, I would just call ioremap_nocache or request region. Is there a way to use bus_alloc_resource or something similar to accomplish

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread king ferrex
no it wont, thats the problem ;) as mr.rachinsky, i need to patch my kernel and add the raw scancodes to produce keycodes, will do that later. thanks for the help. [EMAIL PROTECTED] wrote: yea but that doesnt help me, the 041 for the key - how would i compute that from the 0xe0 0x4f for

Request for documenting IPSec, NAT/divert, ipfw, ipfilter ... inkernel flow ?

2003-06-06 Thread Bjoern A. Zeeb
Hi, sorry for cross-mailing. Reply-to: set to freebsd-net. I have seen some discussion on freebsd-security etc. about some parts of the subject. I have seen older messages in archives. Regularly the same questions seem to come up. I have not found an all-including description of the answer to

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Bernd Walter
On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: System panics after PQI Travel Flash (USB Compact Flash reader/writer mass storage device) is plugged in. This is 5.0-RELEASE on i386. Many things have been changed since 5.0. Please retry with 5.1-RC1 or wait the few days for

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: System panics after PQI Travel Flash (USB Compact Flash reader/writer mass storage device) is plugged in. This is 5.0-RELEASE on i386. Many things have been changed since 5.0.

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Bernd Walter
On Thu, Jun 05, 2003 at 03:32:54PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: System panics after PQI Travel Flash (USB Compact Flash reader/writer mass storage device) is plugged in.

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: Mine works fine without quirks: port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483), rev 2.05 Mine is: port 1 addr 2: full speed, power 100 mA, config 1, Travel Flash(0x0001), PQI(0x3538), rev 2.05 I do

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Bernd Walter
On Thu, Jun 05, 2003 at 04:10:59PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: Mine works fine without quirks: port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483), rev 2.05 Mine is: port 1 addr 2: full speed,

Re: setting CMOS clock

2003-06-06 Thread Dan Nelson
In the last episode (Jun 05), Christoph Kukulies said: I'm using a cron job to synchronize time against a timeserver in a local network. The timeserver is a NT box that has a DCF77 clock attached. I chose rdate (/usr/ports/sysutils/rdate) to do the synchronisation. Does this also set the

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Bernd Walter writes: On Thu, Jun 05, 2003 at 04:10:59PM +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Bernd Walter writes: Mine works fine without quirks: port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483),

Re: setting CMOS clock

2003-06-06 Thread Christoph P. Kukulies
On Thu, Jun 05, 2003 at 09:31:01AM -0500, Dan Nelson wrote: In the last episode (Jun 05), Christoph Kukulies said: I'm using a cron job to synchronize time against a timeserver in a local network. The timeserver is a NT box that has a DCF77 clock attached. I chose rdate

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread ferrex
theres easier ways to get the multimedia keys working on X, but i am looking for a way to get them working on the console. as i said before, it seems to me as if there isnt a halfway moderate way to even find out the keycodes or anything ..on linux its as easy as showkey -s I suggest you take a

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Brian O'Shea
--- Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Bernd Walter writes: On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: System panics after PQI Travel Flash (USB Compact Flash reader/writer mass storage device) is plugged in. This is 5.0-RELEASE

Re: 0xdeadc0de panic after plugging in USB CompactFlashreader/writer on 5.0-RELEASE

2003-06-06 Thread Brian O'Shea
--- Bernd Walter [EMAIL PROTECTED] wrote: Considering that we may require quirks for usb-ata converters but see the drives in scsi_da I agree. In this case it's not critical - the quirks are not wrong for my version, just not required. Nevertheless: Does it panic without quirk or simply

USB device not coming up (Diva MP3 player)

2003-06-06 Thread Pav Lucistnik
Hi, I run RELENG_5_1 from 31th May (identifies as 5.1-RC) on Microstar motherboard with onboard VIA 83C572 USB2.0 controller. I purchased Diva MP3 Player today, and I don't work here. I plug it in, the device powers up, and promptly I see uhub0: port error, restarting port 1 I don't have ehci

Re: USB device not coming up (Diva MP3 player)

2003-06-06 Thread Mathew Kanner
On Jun 05, Pav Lucistnik wrote: ... Wild guess patch included. usbdevs -v would help --Mat -- Brain: Pinky, are you pondering what I'm pondering? Pinky: Um... I think so, Brain, but what if the chicken won't wear the nylons? --- usb_quirks.cTue Apr 8 20:00:34

interrupt handlers in -current

2003-06-06 Thread Duncan Barclay
Hello, This is more of a confirmation of my understanding than anything else. In -current, should an interrupt thread be created you set up an interrupt handler? If so, then I'd better check my code because I haven't got one! If a PCI device generates an interrupt and there is no handler does

Re: Multimedia Keyboard (extra keys) on console

2003-06-06 Thread ferrex
thanks, works like a charme, its printing the same linux is printing tho. pressing the first key prints 0xe0 0x10 releasing it prints 0xe0 0x90 0x10 = 'q' ..the 0xe0 seems to indicate its a function key (like del and others, who also have the 0xe0) im a bit confused, because DEL for example

Re: interrupt handlers in -current

2003-06-06 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Duncan Barclay [EMAIL PROTECTED] writes: : This is more of a confirmation of my understanding than anything else. : In -current, should an interrupt thread be created you set up an interrupt : handler? If so, then I'd better check my code because I haven't