RE: Need ALSA [was: Re: MIDI on SB Live! ?]

2003-03-22 Thread der_julian
Hello,

 Having a port of ALSA would sure round out 5.2 nicely, and would get you 
 MIDI support: http://www.alsa-project.org/

Quote from this page:

Known bugs

- MIDI on SB live drive not working properly.

Seems MIDI is not a great priority anymore. But I would certainly greet a
new sound architecture. Broken MIDI is at least better than no MIDI. ;)

[porting] 
 I'd certainly be more than willing to throw some money into a paypal 
 account or whatever, and I think there are others who would too.  OSS is 
 so 20th century, lets get FreeBSD into 21st century sound architecture 
 design.  :-)

I would have no objections.
 
 If you're a developer seriously interested in this, lets talk.  So much 
 of FreeBSD development is sponsored by Universities and whatnot that we 
 take it for granted.  When stuff like ALSA doesn't get ported right 
 away, I feel we need to realize our responsibility to contribute to the 
 project as well.

Uh... Ok, I have C experience, but my insight into FreeBSD and sound card
programming (I remember some experiments with soundblasters in DOS times) is
quite limited.

Regards,
Julian Stecklina 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: MIDI on SB Live! ?

2003-03-22 Thread der_julian
Hello,

no luck here either:

http://www.opensound.com/readme/README.SBLive.html
- o EMU Wavetable MIDI synthesizer not yet supported

The only thing that is (partially) working seems to be ALSA.

Regards,
Julian

On 22-Mar-2003 Michael Nottebrock wrote:
 On Friday 21 March 2003 21:01, [EMAIL PROTECTED] wrote:
 Hello,

 just out of curiosity: Is someone working in MIDI support for Creative
 EMU10K1 based sound cards (aka Soundblaster Live!) ?
 
 On and off, as far as I can tell. If you want MIDI right now, take a look at 
 what 4Front Technologies offers in their commercial OSS package.
 
 -- 
 Regards,
   Michael Nottebrock

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


MIDI on SB Live! ?

2003-03-21 Thread der_julian
Hello,

just out of curiosity: Is someone working in MIDI support for Creative EMU10K1
based sound cards (aka Soundblaster Live!) ?

Regards,
Julian Stecklina

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: HELP GDM XFree86

2003-03-20 Thread der_julian
On 20-Mar-2003 CARTER Anthony wrote:
 One more thing...I am running gdm as such from my /etc/ttys file:
 
 ttyv8   /usr/X11R6/bin/gdm -nodaemon  xterm   on  secure

I think the GDM documentation says, that you should start it via the supplied
rc.d autostart script in order to avoid certain problems. HTH

Regards,
Julian Stecklina

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: Create linker.hints at boot

2003-03-18 Thread der_julian

On 17-Mar-2003 Crist J. Clark wrote:
 
 if (!strcmp(a,b) {
 printf(same\n);
 }
 
 I don't see what that code snipit has to do with the script (but I am
 in the camp that would go ahead and waste the four bytes of source
 code to write that as (strcmp(a, b) == 0)).

The latter is clearly preferable (at least in my eyes), since I dislike the
idea of zero being false etc. I think it depends largely on the programming
background. Mine is based on Assembly language and (Common) LISP. So I have a
hard time getting along with boolean expressions on integer results. :)

The script example on the other hand is quite readable either way.

Regards,
Julian Stecklina

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: SiS5591(?) ATA

2003-03-16 Thread der_julian

On 16-Mar-2003 FUJITA Kazutoshi wrote:
 Could I have you both try this patch and mail me the entire output og
 dmesg with it applied ? (patch against a clean -current)
 
 ata-chipset.c can't be compiled which applied your patch ;-)
 
 
 Index: ata-chipset.c
 
 @@ -1576,6 +1577,7 @@
   }
  }
  else {
 +printf(1 reg 0x48=%02x\n, pci_read_config(dev, 0x48, 1));
 
 = printf(1 reg 0x48=%02x\n, pci_read_config(parent, 0x48, 1));
 
 so I modified like above by hand, and compile  install kernel.

Same here. dmesg output is attached.

Regards,
Julian Stecklina
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 5.0-CURRENT #2: Sun Mar 16 16:24:33 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/BSD5ROUTER
Preloaded elf kernel /boot/kernel/kernel at 0xc0493000.
Timecounter i8254  frequency 1193182 Hz
CPU: Unknown CPU Type (2008.53-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x681  Stepping = 1
  Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 536870912 (512 MB)
avail memory = 516460544 (492 MB)
Allocating major#253 to net
Allocating major#252 to pci
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fd7b0
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: SIS Generic host to PCI bridge mem 0xe000-0xe3ff at device 0.0 o
n pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 2.0 on pci0
isa0: ISA bus on isab0
ohci0: SiS 5571 USB controller mem 0xe9003000-0xe9003fff irq 5 at device 2.2 o
n pci0
usb0: OHCI version 1.0, legacy support
usb0: SiS 5571 USB controller on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: SiS 5571 USB controller mem 0xe900-0xe9000fff irq 11 at device 2.3 
on pci0
usb1: OHCI version 1.0, legacy support
usb1: SiS 5571 USB controller on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: SiS 745 UDMA100 controller port 0x4000-0x400f at device 2.5 on pci0
0 reg 0x48=28
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: SiS 7012 port 0xdc00-0xdc3f,0xd800-0xd8ff irq 9 at device 2.7 on pci0
pcm0: Unknown AC97 Codec (id = 0x414c4730)
pcm1: Creative EMU10K1 port 0xe000-0xe01f irq 9 at device 12.0 on pci0
pcm1: SigmaTel STAC9721/23 AC97 Codec
pci0: network at device 13.0 (no driver attached)
rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xe9002000-0xe90020ff ir
q 11 at device 14.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:50:bf:d4:6f:b3
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: Option ROMs at iomem 0xef000-0xe,0xc-0xc on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port 0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
Allocating major#251 to devstat
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c02 can't assign resources (memory)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to den
y, logging disabled
DUMMYNET initialized (011031)
1 reg 0x48=28
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB ST340823A [77545/16/63] at ata0-master UDMA33

Re: SiS5591(?) ATA

2003-03-15 Thread der_julian
Hello,

I have exactly the same problem with my system (FreeBSD 5.0-CURRENT #8: Thu Mar
13 15:56:51 CET 2003). My board is a K7S6A with SiS745 North- and Southbridge.

pciconf -lv tells me that my IDE Controller is the following:

[EMAIL PROTECTED]:2:5: class=0x010180 card=0x0a411019 chip=0x55131039 rev=0xd0 hdr=0x00
vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5513 EIDE Controller (A,B step)'
class= mass storage
subclass = ATA

The interesting dmesg lines are:

jmmr# dmesg | egrep '(ad0|ata|ATA)'
pci0: mass storage, ATA at device 2.5 (no driver attached)
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
ad0: 38166MB ST340823A [77545/16/63] at ata0-master PIO4
acd0: CDROM ASUS CD-S500/A at ata1-master PIO4

ad0 ran via UDMA100 on 4.8-PRERELEASE and 5.0-RELEASE. acd0 running via PIO is
ok, since hw.ata.atapi_dma is set to 0.

Regards,
Julian Stecklina

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: SiS5591(?) ATA

2003-03-15 Thread der_julian

On 15-Mar-2003 Soeren Schmidt wrote:
 Please make sure that ata-chipset.c is rev 1.14 which corrected a 
 bug in the chip ident function...

ata-chipset.c 1.14 was checked in on March 12 my kernel is from two days after.
So I guess it is included. I cvsuped the same sources I used to compile my
current system and it is 1.14.

Could it be that this change broke UDMA support on SiS controllers? Since I can
remember that it ran at UDMA66 (why not 100, I do not know) on CURRENT from 5
days or so before.

Regards,
Julian Stecklina

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: SiS5591(?) ATA

2003-03-15 Thread der_julian

On 15-Mar-2003 Soeren Schmidt wrote:
 atapci0: SiS 961 UDMA100 controller port 0xff00-0xff0f at device 2.5 on
 pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 ad0: DMA limited to UDMA33, non-ATA66 cable or device
 ad0: 78533MB IC35L080AVVA07-0 [159560/16/63] at ata0-master UDMA33
 ad1: DMA limited to UDMA33, non-ATA66 cable or device
 ad1: 39266MB IC35L040AVER07-0 [79780/16/63] at ata0-slave UDMA33
 ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
 acd0: DVD-R MATSHITADVD-RAM SW-9571 at ata1-master UDMA33
 
 Hmm, the cable detection sems to be failing somehow...

Yes.

atapci0: SiS 745 UDMA100 controller port 0x4000-0x400f at device 2.5 on pci0

No problem here: I *really* have a SiS 745 controller. :)

ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB ST340823A [77545/16/63] at ata0-master UDMA33

This should be UDMA100.

ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
acd0: CDROM ASUS CD-S500/A at ata1-master UDMA33

No problem here, too. My CDROM does only support UDMA33.

Regards,
Julian Stecklina


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message