Re: cvs commit: src/lib/libusb descr.c libusb.h parse.c usage.c usb.3
In article [EMAIL PROTECTED] you wrote: n_hibma 2000/10/16 11:14:00 PDT Modified files: lib/libusb descr.c libusb.h parse.c usage.c usb.3 Log: Sync with NetBSD: KR - ANSI Bugfix: 'Keep the bit position even when the report descriptor says POP.' Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page. Changed iface for hid_report_size. The last part breaks building of 'usr.bin/usbhidctl'. The next patch make it possible to build (but I have no means to test if it is working at all). N.Dudorov Index: usr.bin/usbhidctl/usbhid.c === RCS file: /scratch/CVS/src/usr.bin/usbhidctl/usbhid.c,v retrieving revision 1.2 diff -b -u -r1.2 usbhid.c --- usr.bin/usbhidctl/usbhid.c 2000/10/09 05:44:39 1.2 +++ usr.bin/usbhidctl/usbhid.c 2000/10/17 05:31:39 @@ -147,17 +147,17 @@ } } hid_end_parse(d); - size = hid_report_size(r, hid_input, report_id); + size = hid_report_size(r, report_id, hid_input); size -= report_id != 0; printf("Total input size %s%d bytes\n", report_id size ? "1+" : "", size); - size = hid_report_size(r, hid_output, report_id); + size = hid_report_size(r, report_id, hid_output); size -= report_id != 0; printf("Total output size %s%d bytes\n", report_id size ? "1+" : "", size); - size = hid_report_size(r, hid_feature, report_id); + size = hid_report_size(r, report_id, hid_feature); size -= report_id != 0; printf("Total feature size %s%d bytes\n", report_id size ? "1+" : "", size); @@ -225,7 +225,7 @@ } hid_end_parse(d); rev(hids); - dlen = hid_report_size(rd, hid_input, report_id); + dlen = hid_report_size(rd, report_id, hid_input); dbuf = malloc(dlen); if (!loop) if (ioctl(f, USB_SET_IMMED, one) 0) { To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
SANDISK SmartMedia still does not work with -current ATA-driver
Hi, it seems to be a ata issue because it worked before some ata-updates (after SMPng). Attached is a (verbose)dmesg output during startup and insertion. BTW: Why does it try to become ata4? I have two ATA-Slots with disks in my TECRA-8000 notebook. They are attached as ata0 and ata1 (master). So the next slot should become ata2. Is something eating up resources? APA-SCSI and 3COM-Ethernet do work as expected. Is anyone using SANDISK SmartMedia successfully with -cuurent? Bye! Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Sun Oct 15 23:27:44 CEST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/nihil Calibrating clock(s) ... TSC clock: 266607389 Hz, i8254 clock: 1193150 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real memory = 268369920 (262080K bytes) Physical memory chunk(s): 0x1000 - 0x0009efff, 647168 bytes (158 pages) 0x0034 - 0x0ffe7fff, 264929280 bytes (64680 pages) config #flags wdc0 0xa0ffa0ff Invalid command or syntax. Type `?' for help. config #flags wdc1 0xa0ffa0ff Invalid command or syntax. Type `?' for help. config #iosiz npx0 196608 Invalid command or syntax. Type `?' for help. config #irq pcic0 11 Invalid command or syntax. Type `?' for help. config quit avail memory = 258068480 (252020K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fc470 bios32: Entry = 0xfc480 (c00fc480) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf+0x827 pnpbios: Found PnP BIOS data at 0xc00fed00 pnpbios: Entry = f:92e4 Rev = 1.0 pnpbios: Event flag at 510 pnpbios: OEM ID 7933f351 Other BIOS signatures found: Preloaded elf kernel "kernel" at 0xc0327000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03270a8. Preloaded elf module "linux.ko" at 0xc03270f8. Preloaded elf module "linprocfs.ko" at 0xc0327198. null: null device, zero device random: entropy source mem: memory I/O Pentium Pro MTRR support enabled VESA: information block 56 45 53 41 00 02 20 01 00 01 00 00 00 00 22 00 00 01 27 00 13 00 00 01 00 01 09 01 00 01 1b 01 00 01 00 01 01 01 02 01 03 01 04 01 05 01 07 01 08 01 0d 01 0e 01 10 01 11 01 12 01 13 01 14 01 VESA: 25 mode(s) found VESA: v2.0, 2496k memory, flags:0x0, mode table:0xc02ae002 (122) VESA: MagicGraph 256 AV 44K PRELIMINARY VESA: NeoMagic MagicMedia 256 AV 01.0 apm0: APM BIOS on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Intel 82443BX host to PCI bridge (AGP disabled) at pcibus 0 on motherboard pci0: physical bus=0 found- vendor=0x8086, dev=0x7192, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[10]: type 3, range 32, base e000, size 28, enabled found- vendor=0x10c8, dev=0x0005, revid=0x12 bus=0, slot=4, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[10]: type 3, range 32, base df00, size 24, enabled map[14]: type 1, range 32, base ff80, size 22, enabled map[18]: type 1, range 32, base ff70, size 20, enabled found- vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=5, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0secondarybus=0 found- vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=5, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[20]: type 4, range 32, base fe60, size 4, enabled found- vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=5, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=d, irq=11 map[20]: type 4, range 32, base ffe0, size 5, enabled found- vendor=0x8086, dev=0x7113, revid=0x02 bus=0, slot=5, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 map[90]: type 4, range 32, base fe70, size 4, enabled found- vendor=0x1179, dev=0x0701, revid=0x23 bus=0, slot=9, func=0 class=07-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0secondarybus=0 intpin=a, irq=11 map[10]: type 4, range 32, base ff80, size 5, enabled found- vendor=0x1179, dev=0x060f,
Re: SANDISK SmartMedia still does not work with -current ATA-driver
On Tue, Oct 17, 2000 at 08:29:04PM +0200, Michael Reifenberger wrote: it seems to be a ata issue because it worked before some ata-updates (after SMPng). Is anyone using SANDISK SmartMedia successfully with -cuurent? Strange, I get exactly the same output from September 29 -current. :( I'm going to bug Warner/Soren at BSDCon ... -- Will Andrews [EMAIL PROTECTED] - Physics Computer Network wench To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: gcc and FreeBSD [was: Re: Which GCC in CURRENT? [Was: Re: Wine update]]
Gerald Pfeifer wrote: Upgrades are not painless at all on FreeBSD, because of some additional hacks you/we are using. See the following two PRs for examples that cost me quite some time each (and are still open): http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20966 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21983 If the first PR is not resolved in time for the GCC 3.0 release process (which is not that far ahead), FreeBSD might even be dropped from the list of secondary evaluation platforms for GCC 3.0. :-( This worries me. We should not alienate ourself from the development of "our" toolchain. Ideally, we should have no FreeBSD patches of our own. In any case, the bug does prevent regular GCC developers and testers from using FreeBSD -- not a good thing, either! :-( Agreed. On the other hand, lately David O'Brien has submitted several patches for the FreeBSD ports to GCC, most (all?) of which have been reviewed and integrated quickly, so there is a good chance that the difference between the FreeBSD version of GCC and FSF GCC will be further reduced. :-) I don't follow the gcc lists too closely. Time... All I know is that there was a bit more work to do. David? Should any of you have some time to spend, those two PRs I mentioned above are really critical. hinthint g Of course time is always the issue :-) David: Can you take a look at it, or shall I try to free some time for this. It sounds important enough from what I understand from Gerald. -- Marcel Moolenaar mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] tel: (408) 447-4222 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
resolver bug since 4.?
I made a typo in a service name today and came across an odd error message that seems to have begun past 3.5-stable sometime. It manifests itself when you try to use a nonexistant service name instead of a port number. I'll file a pr if interest in this issue is lost before a fix is comitted. All 4.x boxen I've tried this on so far: telnet localhost sdfhsabsdibf localhost: servname not supported for ai_socktype ftp localhost hsfbidfbwaief ftp: localhost: servname not supported for ai_socktype Bug or not, this message is not very informative. In 3.4-stable ~jan 2000 and 3.5-stable ~Jul 2000, I get: telnet 0 osals osals: bad port number What would be really nice to see: cheeseball:~ % telnet 0 kjnsbkdfjnbfd tcp/kjnsbkdfjnbfd: unknown service cheeseball:~ % uname -sr NetBSD 1.5F To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: resolver bug since 4.?
All 4.x boxen I've tried this on so far: telnet localhost sdfhsabsdibf localhost: servname not supported for ai_socktype Things have been this way since the getaddrinfo stuff was added to make things work with IPv6. The message is obscure, but it's hard to see how to improve it and still keep it apropriate to all sitations. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
BSDCon I18N Meeting on Wednesday night
Hi, I talked to Warner Losh tonight and we agreed that we should have a Internationalization/Localization meeting on Wednesday night 8-9pm at BSDCon. Please check the message board at the conference center 1st floor. Michael, -- +--+ | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +--+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message