From owner-freebsd-multimedia@FreeBSD.ORG Sun May 4 22:38:27 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF15437B401 for ; Sun, 4 May 2003 22:38:27 -0700 (PDT) Received: from CRWdog.demon.co.uk (c-67-161-102-60.client.comcast.net [67.161.102.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B2D443FA3 for ; Sun, 4 May 2003 22:38:27 -0700 (PDT) (envelope-from spadger@best.com) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id E744B179; Sun, 4 May 2003 22:37:26 -0700 (PDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Soeren Schmidt In-Reply-To: Message from Soeren Schmidt <200305031632.h43GWg9N087867@spider.deepcore.dk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1664148044P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 04 May 2003 22:37:26 -0700 From: Andy Sparrow Message-Id: <20030505053726.E744B179@CRWdog.demon.co.uk> cc: freebsd-multimedia@freebsd.org cc: Alexander Leidinger cc: Randy Pratt Subject: Re: Extracting from a .bin file X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 05:38:28 -0000 --==_Exmh_1664148044P Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable > Try to play it with mplayer (evt use the -cuefile option if you have th= at) > if that works you can glean info on the format there, or even use mplay= er > to rip the info you want :) For the archives, it was an XCD like Alexander thought, and S=F8ren was = right - 'mplayer -cuefile -vcd 2' plays it just fine[0]. You do need the '-vcd' argument... For some reason, 'cdrdao' burns something that looks fine (e.g. from = 'cdcontrol info') but mplayer can't grok it - it's just garbage when = played. Cheers, AS [0] Modulo the tiny nit that the total length of the movie is not = displayed when seeking through it and the %-age is always zero, although = both the elapsed time and the horizontal bar appear to be accurate. --==_Exmh_1664148044P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE+tfiWPHh895bDXeQRAuKJAKC9aXViJseB602M13oAhwXH7oscbgCgkj16 rwmcmOaGiuLhcXh52dM370g= =4aEq -----END PGP SIGNATURE----- --==_Exmh_1664148044P-- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 00:17:10 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CC3037B401; Mon, 5 May 2003 00:17:10 -0700 (PDT) Received: from gouda.acatysmoof.com (adsl-64-170-164-211.dsl.lsan03.pacbell.net [64.170.164.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id B747A43F85; Mon, 5 May 2003 00:17:07 -0700 (PDT) (envelope-from alex@acatysmoof.com) Received: from acatysmoof.com (localhost [127.0.0.1])h457H7mH000612; Mon, 5 May 2003 00:17:07 -0700 (PDT) (envelope-from alex@acatysmoof.com) From: "Alex Teslik" To: "list-freebsd-multimedia" Date: Sun, 4 May 2003 23:17:07 -0800 Message-Id: <20030505070220.M38996@acatysmoof.com> X-Mailer: Open WebMail 1.90 20030218 X-OriginatingIP: 64.170.164.211 (alex) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: list-freebsd-questions Subject: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 07:17:10 -0000 Hello, Sorry for the cross-post, but I was unsure of the correct target list... Is anyone out there successfully using a Logitech Wingman Attach joystick with FreeBSD? This joystick is a 15 pin game port joystick plugged into my SoundBlaster MP3+. I got xmame to compile today and went out and bought this thing. It shows up in dmesg as: joy0 at port 0x201 on isa0 after "/dev/MAKEDEV joy*" and "ln -s joy0 joy" I can even get xmame to see it with: xmame -joytype 7 pacman the output shows: SDL: joystick interface initialization... SDL: 1 joysticks founds. SDL: The names of the joysticks : /dev/joy0 SDL: the joystick init FAIL!! OSD: Info: Joystick 0, -1 axis, -1 buttons But the joystick doesn't work. I tried testing the joystick with /usr/X11R6/bin/joycal /dev/joy, but it just prompts with: Center the joystick, then press a button and no response when I actually press a button. Is there another way to test or calibrate joysticks in FreeBSD? Out of ideas. Any help much appreciated. Thanks, Alex P.S.- I'm not subscribed, please cc me. P.P.S.- uname -a: FreeBSD www.[PRIVACY].com 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Sun May 4 18:34:14 PDT 2003 [PRIVACY]:/usr/obj/usr/src/sys/DUALP3-4_8_0-RELEASE i386 From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 08:49:15 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2182937B401 for ; Mon, 5 May 2003 08:49:15 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E412F43FBF for ; Mon, 5 May 2003 08:49:13 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (dilcle@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.8p1/8.12.8) with ESMTP id h45FnBB5056380 for ; Mon, 5 May 2003 17:49:11 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.8p1/8.12.8/Submit) id h45FnB5G056379; Mon, 5 May 2003 17:49:11 +0200 (CEST) Date: Mon, 5 May 2003 17:49:11 +0200 (CEST) Message-Id: <200305051549.h45FnB5G056379@lurza.secnetix.de> From: Oliver Fromme To: freebsd-multimedia@FreeBSD.ORG In-Reply-To: <20030503202431.2ead1e1c.rpratt1950@earthlink.net> X-Newsgroups: list.freebsd-multimedia User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.8-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Extracting from a .bin file X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-multimedia@FreeBSD.ORG List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 15:49:15 -0000 Randy Pratt wrote: > They're about 800M so its not a trivial download. Unfortunately I > don't have any 800M CDR's on hand or I could try the burning it > and playing it as Andy suggested. Aren't 80min CD-Rs pretty much standard nowadays? I haven't bought a 74min CD-R for years. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 13:36:25 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E100C37B401 for ; Mon, 5 May 2003 13:36:25 -0700 (PDT) Received: from turkey.mail.pas.earthlink.net (turkey.mail.pas.earthlink.net [207.217.120.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F59743F75 for ; Mon, 5 May 2003 13:36:23 -0700 (PDT) (envelope-from rpratt1950@earthlink.net) Received: from user111.net240.fl.sprint-hsd.net ([209.26.21.111] helo=k6-2.weeble.com) by turkey.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 19CmhA-0001Om-00 for freebsd-multimedia@FreeBSD.ORG; Mon, 05 May 2003 13:36:21 -0700 Date: Mon, 5 May 2003 16:36:20 -0400 From: Randy Pratt To: freebsd-multimedia@FreeBSD.ORG Message-Id: <20030505163620.06f9cbb6.rpratt1950@earthlink.net> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Extracting from a .bin file X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 20:36:26 -0000 > Randy Pratt wrote: > > They're about 800M so its not a trivial download. Unfortunately I > > don't have any 800M CDR's on hand or I could try the burning it > > and playing it as Andy suggested. Oliver Fromme wrote: > Aren't 80min CD-Rs pretty much standard nowadays? > I haven't bought a 74min CD-R for years. Perhaps I should have said 90Min (800M). None of my local sources carry those so I will probably order a spindle of them. I was also able to get the XCD .bin file to play as suggested using mplayer with the -cuefile and -vcd . I could have sworn I tried that but perhaps I was leaving off the number. In any event, with the suggestions from here, I also managed to use mencoder to copy/convert the file to other formats. Most kewl. Thanks to all!! Randy From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 14:35:09 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 746D137B401 for ; Mon, 5 May 2003 14:35:09 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B179F43FA3 for ; Mon, 5 May 2003 14:35:08 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h45Lbf6d044104; Mon, 5 May 2003 17:37:41 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h45Lbflg044103; Mon, 5 May 2003 17:37:41 -0400 (EDT) Date: Mon, 5 May 2003 17:37:40 -0400 From: Mathew Kanner To: Alex Teslik Message-ID: <20030505213740.GF31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20030505070220.M38996@acatysmoof.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-38.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PATCH_UNIFIED_DIFF, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 21:35:09 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [ Not for -questions ] On May 05, Alex Teslik wrote: > [...] > and no response when I actually press a button. > > Is there another way to test or calibrate joysticks in FreeBSD? > Out of ideas. Any help much appreciated. Hello Alex, Feel brave? Try this untested patch, it's against 4.8-rc1 I think. I don't have a soundblaster so it's really just a wild guess. Uh, use modules. and edit /usr/src/sys/modules/joy/Makefile as -SRCS = bus_if.h device_if.h isa_if.h joy.c +SRCS = bus_if.h device_if.h isa_if.h pci_if.h joy.c Cheers, --Mat -- Brain: Are you pondering what I'm pondering? Pinky: I think so, Brain, but me and Pippi Longstocking... I mean, what would the children look like? --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="48_sys_isa_joy.c.patch" --- joy.c.old Mon May 5 09:14:16 2003 +++ joy.c Mon May 5 09:26:55 2003 @@ -44,6 +44,9 @@ #include #include "isa_if.h" +#include +#include +#include "pci_if.h" /* The game port can manage 4 buttons and 4 variable resistors (usually 2 * joysticks, each with 2 buttons and 2 pots.) via the port at address 0x201. * Getting the state of the buttons is done by reading the game port: @@ -70,7 +73,7 @@ #define JOY_SOFTC(unit) (struct joy_softc *) \ devclass_get_softc(joy_devclass,(unit)) -static int joy_probe (device_t); +static int joy_isa_probe (device_t); static int joy_attach (device_t); #define CDEV_MAJOR 51 @@ -111,7 +114,7 @@ }; static int -joy_probe (device_t dev) +joy_isa_probe (device_t dev) { if (ISA_PNP_PROBE(device_get_parent(dev), dev, joy_ids) == ENXIO) return ENXIO; @@ -144,19 +147,52 @@ return 0; } -static device_method_t joy_methods[] = { - DEVMETHOD(device_probe, joy_probe), +static device_method_t joy_isa_methods[] = { + DEVMETHOD(device_probe, joy_isa_probe), DEVMETHOD(device_attach, joy_attach), { 0, 0 } }; static driver_t joy_isa_driver = { "joy", - joy_methods, + joy_isa_methods, sizeof (struct joy_softc) }; DRIVER_MODULE(joy, isa, joy_isa_driver, joy_devclass, 0, 0); + +static int +joy_pci_probe(device_t dev) +{ + char *s = NULL; + + switch (pci_get_devid(dev)) { + case 0x70021102: + s = "Creative EMU10K1 Joystick"; + device_quiet(dev); + break; + case 0x70031102: + s = "Creative EMU10K2 Joystick"; + device_quiet(dev); + break; + } + if (s) device_set_desc(dev, s); + return s ? 0 : ENXIO; +} + +static device_method_t joy_pci_methods[] = { + DEVMETHOD(device_probe, joy_pci_probe), + DEVMETHOD(device_attach, joy_attach), + { 0, 0 } +}; + +static driver_t joy_pci_driver = { + "joy", + joy_pci_methods, + sizeof (struct joy_softc) +}; + +DRIVER_MODULE(joy, pci, joy_pci_driver, joy_devclass, 0, 0); static int joyopen(dev_t dev, int flags, int fmt, struct proc *p) --jI8keyz6grp/JLjh-- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 14:41:49 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA5B537B401 for ; Mon, 5 May 2003 14:41:49 -0700 (PDT) Received: from spadger.best.vwh.net (spadger.best.vwh.net [192.220.100.249]) by mx1.FreeBSD.org (Postfix) with SMTP id 4CF5643FB1 for ; Mon, 5 May 2003 14:41:49 -0700 (PDT) (envelope-from spadger@spadger.best.vwh.net) Received: (qmail 76316 invoked by uid 25849); 5 May 2003 21:41:48 -0000 Date: Mon, 5 May 2003 21:41:48 +0000 From: Andrew Sparrow To: Randy Pratt Message-ID: <20030505214148.A72975@spadger.best.vwh.net> References: <20030505163620.06f9cbb6.rpratt1950@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030505163620.06f9cbb6.rpratt1950@earthlink.net>; from rpratt1950@earthlink.net on Mon, May 05, 2003 at 04:36:20PM -0400 cc: freebsd-multimedia@freebsd.org Subject: Re: Extracting from a .bin file X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 21:41:50 -0000 On Mon, May 05, 2003 at 04:36:20PM -0400, Randy Pratt wrote: > > Randy Pratt wrote: > > > They're about 800M so its not a trivial download. Unfortunately I > > > don't have any 800M CDR's on hand or I could try the burning it > > > and playing it as Andy suggested. > > Oliver Fromme wrote: > > Aren't 80min CD-Rs pretty much standard nowadays? > > I haven't bought a 74min CD-R for years. > > Perhaps I should have said 90Min (800M). None of my local sources > carry those so I will probably order a spindle of them. Uhh, the whole point of the XCD format is that, as the movie formats used already have some ECC capability (apparently), they dispense with the per-sector CRC check. Instead of writing 2048-bytes per sector with CRC, they write 2352 bytes per sector with no CRC (in exactly the same way as CDDA Orange Book data is written - aka regular audio CD). The first track on the CD image is actually used to hold backups of critical parts of the file format or something. Anyway, this means that you can fit >800MB on regular 80min CDR/CDRW media (which are advertised/labelled as 700MB, because that's how much they hold of 2048-byte-per-sector data). Cheers, AS From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 22:02:14 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C7E037B401 for ; Mon, 5 May 2003 22:02:14 -0700 (PDT) Received: from gouda.acatysmoof.com (adsl-64-170-164-211.dsl.lsan03.pacbell.net [64.170.164.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF8B443F3F for ; Mon, 5 May 2003 22:02:13 -0700 (PDT) (envelope-from alex@acatysmoof.com) Received: from acatysmoof.com (localhost [127.0.0.1])h46528Ch000379; Mon, 5 May 2003 22:02:08 -0700 (PDT) (envelope-from alex@acatysmoof.com) From: "Alex Teslik" To: Mathew Kanner Date: Mon, 5 May 2003 21:02:08 -0800 Message-Id: <20030506045100.M57035@acatysmoof.com> In-Reply-To: <20030505213740.GF31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca> X-Mailer: Open WebMail 1.90 20030218 X-OriginatingIP: 64.170.164.211 (alex) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 05:02:14 -0000 Hi Matt, I applied the patch, re-compiled joy support out of my kernel (the new module code compiled with no problems), and tried to load the module. Output below: [alex]/dev# kldload -v joy Loaded joy, id=5 [alex]/dev# xmame -joytype 7 pacman done SDL: Info: Video mode set as 1024 x 768, depth 16 SDL: joystick interface initialization... SDL: 0 joysticks founds. OSD: Warning: No joysticks found disabling joystick support Using 16bpp video mode SDL: sysdep_display_alloc_palette(65536); I also tried the other xmame -joytypes with the same results. The loading of the module and your pci patch appear to have worked: [alex]/dev# kldstat -v Id Refs Address Size Name 5 1 0xc3435000 3000 joy.ko Contains modules: Id Name 133 isa/joy 134 pci/joy I tried blasting joy* from /dev and ./MAKEDEV joy* again, just in case the device needed to be built differently because of the isa to pci change. I didn't notice anything different about the new joy devices in /dev. Again though, thank you for the patch - pretty awesome when you have a problem and code flies in from userland. :)) Any more ideas of course appreciated. Thanks, Alex ---------- Original Message ----------- From: Mathew Kanner To: Alex Teslik Sent: Mon, 5 May 2003 17:37:40 -0400 Subject: Re: Logitech Wingman Attack joystick > [ Not for -questions ] > > On May 05, Alex Teslik wrote: > > [...] > > and no response when I actually press a button. > > > > Is there another way to test or calibrate joysticks in FreeBSD? > > Out of ideas. Any help much appreciated. > > Hello Alex, > Feel brave? Try this untested patch, it's against 4.8-rc1 I > think. I don't have a soundblaster so it's really just a wild guess. > > Uh, use modules. and edit /usr/src/sys/modules/joy/Makefile as > -SRCS = bus_if.h device_if.h isa_if.h joy.c > +SRCS = bus_if.h device_if.h isa_if.h pci_if.h joy.c > > Cheers, > --Mat > > -- > Brain: Are you pondering what I'm pondering? > Pinky: I think so, Brain, but me and Pippi Longstocking... I mean, > what would the children look like? ------- End of Original Message ------- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 22:18:14 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFB7237B401 for ; Mon, 5 May 2003 22:18:14 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id E776A43F75 for ; Mon, 5 May 2003 22:18:13 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h465Kq6d046372; Tue, 6 May 2003 01:20:52 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h465Kqff046371; Tue, 6 May 2003 01:20:52 -0400 (EDT) Date: Tue, 6 May 2003 01:20:52 -0400 From: Mathew Kanner To: Alex Teslik Message-ID: <20030506052052.GG31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca> <20030506045100.M57035@acatysmoof.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030506045100.M57035@acatysmoof.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-29.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 05:18:15 -0000 On May 06, Alex Teslik wrote: > ... > Any more ideas of course appreciated. Well, a dmesg would be helpful, maybe a pciconf -lv. I'm under the assumption that the sb gamer is an emu10k1. I also notice that in the emu sound code only conditionally enables the joystick. --Mat -- The Brain: Are you pondering what I'm pondering, Pinky? Pinky: Wha, I think so Brain, but-- *snort* No, no, it's too stupid. The Brain: We will disguise ourselves as a cow! Pinky: Narf! That was it *exactly*! From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 22:21:30 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63B0437B401 for ; Mon, 5 May 2003 22:21:30 -0700 (PDT) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79ACB43FE1 for ; Mon, 5 May 2003 22:21:29 -0700 (PDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3) with ESMTP id h465O86d046403; Tue, 6 May 2003 01:24:08 -0400 (EDT) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3p2/8.12.3/Submit) id h465O8xN046402; Tue, 6 May 2003 01:24:08 -0400 (EDT) Date: Tue, 6 May 2003 01:24:08 -0400 From: Mathew Kanner To: Alex Teslik Message-ID: <20030506052408.GH31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca> <20030506045100.M57035@acatysmoof.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030506045100.M57035@acatysmoof.com> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-29.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 05:21:30 -0000 On May 06, Alex Teslik wrote: > ... Another thought. The new joy module has to be loaded *before* the sound driver. --Mat -- Brain: Are you pondering what I'm pondering? Pinky: Uh... yeah, Brain, but where will we get rubber pants our size? From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 23:03:01 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 619D137B404 for ; Mon, 5 May 2003 23:03:01 -0700 (PDT) Received: from gouda.acatysmoof.com (adsl-64-170-164-211.dsl.lsan03.pacbell.net [64.170.164.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E4943F3F for ; Mon, 5 May 2003 23:03:00 -0700 (PDT) (envelope-from alex@acatysmoof.com) Received: from acatysmoof.com (localhost [127.0.0.1])h4662sUx000258; Mon, 5 May 2003 23:02:54 -0700 (PDT) (envelope-from alex@acatysmoof.com) From: "Alex Teslik" To: Mathew Kanner Date: Mon, 5 May 2003 22:02:54 -0800 Message-Id: <20030506055058.M78496@acatysmoof.com> In-Reply-To: <20030506052408.GH31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca> <20030506045100.M57035@acatysmoof.com> <20030506052408.GH31681@cnd.mcgill.ca> X-Mailer: Open WebMail 1.90 20030218 X-OriginatingIP: 64.170.164.211 (alex) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 06:03:01 -0000 Hi Mat, Sorry to inundate you with output. This output is a little different since the last because I re-compiled pcm support out of my kernel, rebooted, and loaded the modules as follows: [alex]/home/alex# kldload -v joy Loaded joy, id=4 [alex]/home/alex# kldload -v snd_pcm Loaded snd_pcm, id=5 [alex]/home/alex# pciconf -lv none2@pci0:12:0: class=0x040100 card=0x80611102 chip=0x00021102 rev=0x07 hdr=0x00 vendor = 'Creative Labs' device = 'EMU10K1 Audio Chipset (SB Live!)' class = multimedia subclass = audio none3@pci0:12:1: class=0x098000 card=0x00201102 chip=0x70021102 rev=0x07 hdr=0x00 vendor = 'Creative Labs' device = 'PCI Gameport Joystick' class = input device [alex]/home/alex# kldstat -v 4 1 0xc3053000 3000 joy.ko Contains modules: Id Name 99 isa/joy 100 pci/joy 5 1 0xc305a000 14000 snd_pcm.ko Contains modules: Id Name 101 snd_pcm [alex]/home/alex# dmesg Copyright (c) 1992-2003 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 4.8-RELEASE #3: Mon May 5 22:42:20 PDT 2003 [PRIVACY]:/usr/obj/usr/src/sys/DUALP3-4_8_0-RELEASE Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) III CPU family 1266MHz (1266.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 1610612736 (1572864K bytes) config> avail memory = 1564110848 (1527452K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc03b3000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03b309c. netsmb_dev: loaded Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdc70 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 15 -> irq 2 IOAPIC #0 intpin 11 -> irq 5 IOAPIC #0 intpin 5 -> irq 10 IOAPIC #0 intpin 10 -> irq 11 pci0: on pcib0 agp0: mem 0xf0000000-0xf3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 2 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 2 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 7.4 ahc0: port 0xdc00-0xdcff mem 0xf7000000-0xf7000fff irq 5 at device 8.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs pci0: at 9.0 irq 10 ahc1: port 0xe000-0xe0ff mem 0xf7001000-0xf7001fff irq 2 at device 10.0 on pci0 aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xf7002000-0xf700207f irq 11 at device 11.0 on pci0 xl0: Ethernet address: 00:50:da:1a:12:c6 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x1102, dev=0x0002) at 12.0 irq 5 pci0: (vendor=0x1102, dev=0x7002) at 12.1 orm0: