No sound with in Gnome gtk programs, qt programs do have sound

2009-04-21 Thread Aniruddha
I can't get any sound with programs such as mplayer and exaile. However 
vlc (qt) and Gnash have working sound (on the same desktop!). Gnome's 
soundmixer doesn't recognize my soundcard (intel_hda). This appears to 
be the problem. I searched the FreeBSD Gnome project page but didn't 
find a answer. Any ideas what might be wrong?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems watching video with the Radeon HD 3850

2009-04-17 Thread Aniruddha
First of all I must say I'm impressed by the latest stable freebsd 
release (7.1). A lot of hardware which didn't  work before now works out 
of the box :)  I only have problems watching video, it feels sluggish 
and there frequently runs a stripe through my screen. Which settings 
(and driver) do I need to use in order solve this? I now use the 
radeonhd driver. I have a  Radeon HD 3850 (RV670PRO) card . Thanks in 
advance!


Regards,

Aniruddha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems watching video with the Radeon HD 3850

2009-04-17 Thread Aniruddha

Mel Flynn wrote:
-cache 20480 for a ~20MB cache which should be sufficient to rule this out. If 
this resolves the problem, it's not in your video card (or driver), but rather 
in storage media.
  
If using mplayer, can you try if specifying a cache resolves the 
problems? Use
This didn't work, I suspect the problem is with the driver though. I  
added the following line to my xorg.conf's device section (source 
http://www.x.org/wiki/radeonhd:INSTALL):


   Option  AccelMethod EXA
   Option  DRI 


This seemed to fix the problem somewhat but now scrolling in Firefox is very 
slow.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems watching video with the Radeon HD 3850

2009-04-17 Thread Aniruddha

Roland Smith wrote:

For the best performance, you'll have to update to a recent 7-STABLE, or
wait for the upcoming 7.2 release. The kernel support code for graphics
chips has been updated since the release of 7.1. 

  
Thanks I'll try that. What's the recommended way to upgrade nowadays? 
freebsd-update or still cvsup/portupgrade?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-17 Thread Aniruddha
On Thu, 2008-10-16 at 08:56 +0900, Pyun YongHyeon wrote:
 It seems that msk(4) in HEAD does not build correctly on RELENG_7.
 Try attached patch.
 
 Save attached patch to /path/to/patch
 #cd /usr/src/sys/dev/msk
 #patch -p0  /path/to/patch/msk.watchdog.diff
 And rebuild your kernel.

This patch failed with the following error:

/if_msk.c
/usr/src/sys/dev/msk/if_msk.c:845:50: error: macro MEXTADD passed 8
arguments, but takes just 7
/usr/src/sys/dev/msk/if_msk.c: In function 'msk_jumbo_newbuf':
/usr/src/sys/dev/msk/if_msk.c:844: error: 'MEXTADD' undeclared (first
use in this function)
/usr/src/sys/dev/msk/if_msk.c:844: error: (Each undeclared identifier is
reported only once
/usr/src/sys/dev/msk/if_msk.c:844: error: for each function it appears
in.)
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(SOLVED) Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-17 Thread Aniruddha
I 'solved' this by buying a new nic. It's an Eminent with a RTL8139D
chipset. 


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD do dbus hal work?

2008-10-15 Thread Aniruddha
On Tue, 2008-10-14 at 12:14 +0200, Dominique Goncalves wrote:
 Hi,
 
 On Tue, Oct 14, 2008 at 12:03 AM, Aniruddha [EMAIL PROTECTED] wrote:
  I'm trying to mount (USB) devices in KDE/Gnome automagically through
  dbus and hal. I added the following lines to /etc/rc.conf:
 
  dbus_enable=YES
  hald_enable=YES
 
  Unfortunately when I insert an USB (NTFS formatted) nothing happens.
  When I insert a (fat) sdcard  in my cardreader still nothing happens.
  I do think I'm missing something obvious, who know what it is?
 
 Do a 'tail -f /var/log/messages' then insert your sd card and see
 what's going on.
 
 The HAL faq may be useful http://www.freebsd.org/gnome/docs/halfaq.html.
 

Thanks, I followed the faq to the letter and it show a dialog when I
insert a USB stick. Unfortunately when I insert an sdcard still nothing
happens.

-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD do dbus hal work?

2008-10-15 Thread Aniruddha
On Tue, 2008-10-14 at 23:43 -0700, Jeremy Chadwick wrote:
  Thanks, I followed the faq to the letter and it show a dialog when I
  insert a USB stick. Unfortunately when I insert an sdcard still nothing
  happens.
 
 Can anyone confirm that dbus and/or hald have anything to do with this?
 (I thought those were specific to X...)
 
 When attaching a USB device to a USB port, the kernel will notice the
 device has been added and will do the proper enumeration.  For example,
 when adding a USB hard disk or a USB pen drive, a umass device will be
 found, then a daX device should be created (which is what you use to
 access the disk; USB storage devices appear as SCSI disks).
 
 But in the case of a USB device that's already attached to the bus, e.g.
 one of those 7-in-1 card readers, I cannot see how adding a SD/MMC card
 would cause the hard disk to suddenly show up.
 
 You would need to run camcontrol rescan 0, to cause the device to be
 re-scanned for any media which was inserted.

Thanks for the quick and extensive answer. I'll check the exact behavior of  
the 7-in-1 card reader somewhat more.


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-15 Thread Aniruddha
Each time  my internet connection is under heavy lead it gets killed
after a minute of 10. I tried the following commands to get the internet
back up, but nothing helped:

/etc/rc.d/netif restart
ifconfig mynic down
ifconfig mynic up

Even worse the last time I issued a '/etc/rc.d/netif restart' my whole
system hardlocked (wasn't responding to capslock presses). So far the
only solution has been te reboot the computer. Is there any way I can
prevent my internet connection from getting killed? How do I get it back
up after it has been killed? Thanks in advance!




-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-15 Thread Aniruddha
On Wed, 2008-10-15 at 21:09 +0900, PYUN Yong-Hyeon wrote:
 This controller is known to buggy one. See below.
 
 [...]
 
Trying to mount root from ufs:/dev/ad16s3a
WARNING: / was not properly dismounted
GEOM_LABEL: Label ext2fs/home removed.
GEOM_LABEL: Label ext2fs/data removed.
mskc0: Uncorrectable PCI Express error
mskc0: Uncorrectable PCI Express error
   
   Those errors at the end of your dmesg don't look good; could be the sign
   of a NIC or motherboard that's going bad, or possibly a very strange
   driver problem.
 
 I guess the message above could be safely ignored.
 
   
   Adding Yong-Hyeon PYUN to this thread, since he helps maintain the
   msk(4) driver.  Yong-Hyeon, do you know of any conditions where heavy
   network I/O could cause msk(4) to lock up or stop transmitting traffic,
   or possibly hard-lock on ifconfig down/up?
   
 
 I think workaround for the controller bug was committed to HEAD(SVN
 r183346). To original poster, would you try latest if_msk.c from
 HEAD?(Just copy if_msk.c/if_mskreg.h from HEAD to your box.)
 

You got to help me a little bit here. How do I achieve this? Btw I am
running FreeBSD 7.1 BETA. Doesn't that mean the fix is already applied?


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-15 Thread Aniruddha
On Wed, 2008-10-15 at 00:26 -0700, Jeremy Chadwick wrote:
 On Wed, Oct 15, 2008 at 09:13:00AM +0200, Aniruddha wrote:
  Each time  my internet connection is under heavy lead it gets killed
  after a minute of 10. I tried the following commands to get the internet
  back up, but nothing helped:
  
  /etc/rc.d/netif restart
  ifconfig mynic down
  ifconfig mynic up
  
  Even worse the last time I issued a '/etc/rc.d/netif restart' my whole
  system hardlocked (wasn't responding to capslock presses). So far the
  only solution has been te reboot the computer. Is there any way I can
  prevent my internet connection from getting killed? How do I get it back
  up after it has been killed? Thanks in advance!
 
 What network card are you using?  Can you provide output from the
 following commands?
 
 dmesg
 vmstat -i
 netstat -in
 
I have a Marvell Yukon onboard nic.


Here's the output:

netstat -in

NameMtu Network   Address  Ipkts IerrsOpkts
Oerrs  Coll
msk0   1500 Link#1 29 0   25 0 0
msk0   1500 :0 -5 - -
msk0   1500 192.168.2.0/2 192.168.2.111  16 -   14 -
-
fwe0*  1500 Link#2  0 00 0 0
fwip0  1500 Link#3  0 00 0 0
lo0   16384 Link#4   0 00
0 0
lo0   16384 ::1/128   ::1  0 -0
- -
lo0   16384 ::1/64 0 -0 - -
lo0   16384 127.0.0.0/8   127.0.0.10 -0
- -

vmstat -i
interrupt  total   rate
irq17: atapci0+   13  0
irq18: atapci1+ 1045  5
irq20: uhci0 ehci0 13462 69
irq21: fwohci0 3  0
irq23: atapci3102718529
cpu0: timer   386229   1990
irq256: mskc0 46  0
cpu1: timer   376453   1940
Total 879969   4535
Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-BETA #0: Sun Sep  7 13:49:18 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz (3001.18-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x10676  Stepping = 6
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x8e3fdSSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,b19
  AMD Features=0x2000LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 3220701184 (3071 MB)
avail memory = 3146145792 (3000 MB)
ACPI APIC Table: A_M_I_ OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: A_M_I_ OEMRSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci5: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xc800-0xc8ff mem 
0xd000-0xdfff,0xff9f-0xff9f irq 16 at device 0.0 on pci5
pci5: multimedia at device 0.1 (no driver attached)
pci0: multimedia at device 27.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 19 at device 28.3 on pci0
pci3: ACPI PCI bus on pcib3
mskc0: Marvell Yukon 88E8053 Gigabit Ethernet port 0xb800-0xb8ff mem 
0xff8fc000-0xff8f irq 19 at device 0.0 on pci3
msk0: Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02 on mskc0
msk0: Ethernet address: 00:1e:8c:5a:62:da
miibus0: MII bus on msk0
e1000phy0: Marvell 88E Gigabit PHY PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
mskc0: [FILTER]
pcib4: ACPI PCI-PCI bridge irq 17 at device 28.5 on pci0
pci2: ACPI PCI bus on pcib4
atapci0: JMicron AHCI controller mem 0xff7fe000-0xff7f irq 17 at device 
0.0 on pci2
atapci0: [ITHREAD]
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: ATA channel 0 on atapci0
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci0
ata3: [ITHREAD]
atapci1: JMicron JMB363 UDMA133 controller port 
0xac00-0xac07,0xa880

Re: Under heavy load internet gets killed, only a reboot can bring it back up

2008-10-15 Thread Aniruddha
On Wed, 2008-10-15 at 07:43 -0700, Jeremy Chadwick wrote:
 Now you need to rebuild the kernel and install the kernel.  In this
 scenario, when building the kernel DO NOT use any -j flags, as if the
 driver doesn't build, you'll be scrolling back through pages of data to
 try and find out why.
 
 If the build doesn't occur successfully, paste the errors you get
 here and one of us can try to figure out why.
 
 Otherwise, installkernel and reboot.  You should not need to build world
 for this.

Thanks for the extensive description. Unfortunately I got the following
error:


 
 param inline-unit-growth=100 --param large-function-growth=1000  
 -mno-align-long
 -strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
 -m
 no-sse3 -ffreestanding
 /usr/src/sys/dev/msk/if_msk.c:241:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:244:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:245:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:246:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:247:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:248:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:249:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:250:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:251:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:252:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:253:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:254:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:255:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:256:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:258:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:259:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:260:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:261:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:262:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:263:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:264:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:265:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:267:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:268:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:269:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:270:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:271:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:273:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:274:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:275:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:276:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:278:10: error: #include expects FILENAME or 
 FIL
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:279:10: error: #include expects FILENAME or 
 FIL  
   
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:280:10: error: #include expects FILENAME or 
 FIL  
   
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:282:10: error: #include expects FILENAME or 
 FIL  
   
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:283:10: error: #include expects FILENAME or 
 FIL  
   
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:285:10: error: #include expects FILENAME or 
 FIL  
   
 ENAME
 /usr/src/sys/dev/msk/if_msk.c:292:10: error: #include expects FILENAME or 
 FIL  
 

Can't login as root after changing the shell to bash

2008-10-14 Thread Aniruddha
I tried to change the root's shell to bash. I used this command: 'chsh
-s /usr/local/bin/bash'. Prior to changing the shell for root I did it
for my user account using the same command without problems.
Unfortunately after a reboot I can't login as root anymore because my
system can't find /usr/local/bin/bash. How can I fix this? I tried
booting the freesbie cd but this wouldn't boot :(. Thanks in  advance!


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login as root after changing the shell to bash

2008-10-14 Thread Aniruddha
On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote:
 On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote:
  I tried to change the root's shell to bash. I used this command: 'chsh
  -s /usr/local/bin/bash'. Prior to changing the shell for root I did it
  for my user account using the same command without problems.
  Unfortunately after a reboot I can't login as root anymore because my
  system can't find /usr/local/bin/bash.
 
 I can't explain why your systems says it can't find /usr/local/bin/bash.
 I would assume you also cannot log in as yourself.

Thanks for your help! I changed the default shell back to /bin/csh but I
still can't login as root?! I get the same message (can't
find /bin/csh).

-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't login as root after changing the shell to bash

2008-10-14 Thread Aniruddha
On Tue, 2008-10-14 at 12:27 -0700, Jeremy Chadwick wrote:
 On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote:
  On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote:
   On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote:
I tried to change the root's shell to bash. I used this command: 'chsh
-s /usr/local/bin/bash'. Prior to changing the shell for root I did it
for my user account using the same command without problems.
Unfortunately after a reboot I can't login as root anymore because my
system can't find /usr/local/bin/bash.
   
   I can't explain why your systems says it can't find /usr/local/bin/bash.
   I would assume you also cannot log in as yourself.
  
  Thanks for your help! I changed the default shell back to /bin/csh but I
  still can't login as root?! I get the same message (can't
  find /bin/csh).
 
 I can't explain this.  Possibly there's a permissions or ownership
 problem on the / directory (ls -ld / will show you that)?  I've no idea;
 sounds odd.
 

Sorry for the confusion. I just checked with vipw and somehow there got
a dot behind /dev/csh :# Thanks for the help! I learned a lot. 

-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD do dbus hal work?

2008-10-13 Thread Aniruddha
I'm trying to mount (USB) devices in KDE/Gnome automagically through
dbus and hal. I added the following lines to /etc/rc.conf:

dbus_enable=YES
hald_enable=YES

Unfortunately when I insert an USB (NTFS formatted) nothing happens. 
When I insert a (fat) sdcard  in my cardreader still nothing happens.
I do think I'm missing something obvious, who know what it is?


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless Card - EDIMAX EW-7728In

2008-10-10 Thread Aniruddha
On Wed, 2008-10-08 at 22:00 -0400, Justin Mazzi wrote:
 Hi,
 
 Does anyone know if FreeBSD has support for this card? I did some  
 searching around and looks like this card is based on the RALink  
 RT2860 chip. OpenBSD has drivers listed for it on this page:
 
 http://www.openbsd.org.ua/i386.html
 Section: Ralink Technology IEEE 802.11a/b/g PCI adapters (ral),  
 including: (B) (C)
 
 If anyone has been able to get this card working, or knows how I could  
 get it working, please let me know. Your help is greatly appreciated.  
 Thanks!
 

I can't find it here:
http://www.freebsd.org/releases/7.0R/hardware.html#WLAN

Therefor I don't think it will work.


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-09 Thread Aniruddha
On Wed, 2008-10-08 at 23:31 +0100, Frank Shute wrote:
  ls /dev/d
  da0  da2  dconsdevstat  dsp0.0   dsp1.0   
  da1  da3  devctl   dgdb dsp0.1   dumpdev 
 
 On my machine:
 
 $ ls /dev | grep dsp
 dsp0.0
 dsp0.1
 
 i.e no dsp1.0
 
 Could be that the 2 cards are confusing it, as you suggested previously
 (they both use the same driver). Can you disable one in the BIOS? 

I am afraid not :( my ATI radeon 3850 comes with HDMI support which I
can't disable.

 What does:
 
 $ cat /dev/sndstat
 
 give you?

sndstat:
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: ATI (Unknown) High Definition Audio Controller at memory
0xff9ec000 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only)
 pcm1: Intel 82801G High Definition Audio Controller at memory
0xffafc000 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v
channels duplex)

 I'm not surprised it freaks out - it's probably struggling to figure
 out which card to use.
 
 I feel pretty sure you'll have better luck disabling one. I have had 2
 cards in the same machine before but they used different drivers.

Can this problem be solved with buying an new soundcard? Or wil I run
into the same mess? 

-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-09 Thread Aniruddha
On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote:
 Aniruddha skrev:
  I've read the Setting Up the Sound Card part in the FreeBSD handbook
  unfortunately I can't get my Intel HDA card to work. Any ideas would be
  appreciated! Here's some relevant output:
  
 
 If you load the driver manually, can you play a tune then?
 For me snd_hda_load=YES does not load the driver. I have to do it with
 kldload snd_hda.
 

I'll try this and post the results. Afaik I got a message driver
already loaded


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is a recommended soundcard for FreeBSD?

2008-10-09 Thread Aniruddha
On Wed, 2008-10-08 at 23:46 +0200, Patrick Lamaizière wrote:
 Le Wed, 08 Oct 2008 22:42:43 +0200,
 Aniruddha [EMAIL PROTECTED] a écrit :
 
  Because of the problems with my onboard Intel HDA audio chip I plan to
  buy a soundcard that is supported by FreeBSD.
 
 There is a new hda driver in current, may be you can try it on
 RELENG_7?
 
 See 
 http://www.nabble.com/Re%3A-New-snd_hda-driver-came-in.-p19499206.html
 
 Good luck!
 
 Regards.
 

Thanks I'll check it out.v In the meantime I'm real curious about
FreeBSD user experience with X-fi :)


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-09 Thread Aniruddha
On Thu, 2008-10-09 at 01:16 +0200, Bernt Hansson wrote:
 Aniruddha skrev:
  I've read the Setting Up the Sound Card part in the FreeBSD handbook
  unfortunately I can't get my Intel HDA card to work. Any ideas would be
  appreciated! Here's some relevant output:
  
 
 If you load the driver manually, can you play a tune then?
 For me snd_hda_load=YES does not load the driver. I have to do it with
 kldload snd_hda.
 

Thanks a lot, this did the trick! :) Here's what I did:

1) I ran 'kldunload snd_hda'. It gave an error: 'device busy'
2) I stopped the Gnome mixer applet
3) I ran 'kldunload snd_hda'
4) Finally I entered 'kldload snd_hda', et voila sound was working.

Is there a way to automate this, or do I have to do this after each
boot?



-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-08 Thread Aniruddha
On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote:
 Aniruddha [EMAIL PROTECTED] writes:
  cat dmesg  /dev/dsp
  su: /dev/dsp: Operation not supported
 
  from pciconf:
  [EMAIL PROTECTED]:0:27:0:  class=0x040300 card=0x81d81043 chip=0x27d88086 
  rev=0x01 hdr=0x00
  vendor = 'Intel Corporation'
  device = '82801G (ICH7 Family) High Definition Audio'
  class  = multimedia
 
  [EMAIL PROTECTED]:5:0:0:   class=0x03 card=0xe630174b chip=0x95051002 
  rev=0x00 hdr=0x00
  vendor = 'ATI Technologies Inc'
  class  = display
  subclass   = VGA
  [EMAIL PROTECTED]:5:0:1:   class=0x040300 card=0xaa18174b chip=0xaa181002 
  rev=0x00 hdr=0x00
  vendor = 'ATI Technologies Inc'
  class  = multimedia
 
 I think you will need a somewhat recent FreeBSD to support that
 controller.  What version are you running?
 
 What drivers have you loaded?  snd_driver?
 

Maybe it's related to my HDMI capable ATI card. Could this interfere? I
also tried adding snd_driver_load=YES to /boot/loader.conf but this
didn't help either :(


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What is a recommended soundcard for FreeBSD?

2008-10-08 Thread Aniruddha
Because of the problems with my onboard Intel HDA audio chip I plan to
buy a soundcard that is supported by FreeBSD. Question is which
soundcard has great quality, comes with hardware mixing and is
(natively) supported by FreeBSD? 

The Creative X-fi cards fits in this profile and I see that they are
supported by FreeBSD. Who has experience with these cards in FreeBSD?
Are they 100% supported? Are there any alternatives? Thanks in advance!


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-08 Thread Aniruddha
Thanks for the help! Here are the answers:

cat dmesg  /dev/dsp
su: /dev/dsp: Operation not supported
 
 This is a weird error message. Don't know whether /dev/dsp exists or
 not - worth checking.

ls /dev/d
da0  da2  dconsdevstat  dsp0.0   dsp1.0   
da1  da3  devctl   dgdb dsp0.1   dumpdev 

 I don't know why you seem to have 2 sound cards but I'd have a look at
 getting the Intel sound card going. Put:
 
 snd_hda_load=YES
 
 in /boot/loader.conf
Done

 Reboot  then see what kldstat(8) and mixer(8) tell you. 

# kldstat 
Id Refs AddressSize Name
 16 0xc040 97c8a8   kernel
 21 0xc0d7d000 15524snd_hda.ko
 32 0xc0d93000 4a62csound.ko
 41 0xc0dde000 6a2c4acpi.ko
 51 0xc68ea000 1ext2fs.ko


# mixer
Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to  75:75

 If that looks reasonable have a go at playing an mp3 or wav with
 mplayer. Mplayer might give you some debugging output if it doesn't
 work.

The output from mplayer 
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not
supported



-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't get soundcard to work

2008-10-07 Thread Aniruddha
I've read the Setting Up the Sound Card part in the FreeBSD handbook
unfortunately I can't get my Intel HDA card to work. Any ideas would be
appreciated! Here's some relevant output:

sndstat:
 FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
 Installed devices:
 pcm0: ATI (Unknown) High Definition Audio Controller at memory 0xff9ec000 
 irq 17 kld snd_hda [20080420_0052] [MPSAFE] (mixer only)
 pcm1: Intel 82801G High Definition Audio Controller at memory 0xffafc000 
 irq 19 kld snd_hda [20080420_0052] [MPSAFE] (1p:1v/1r:1v channels duplex)

from dmesg:
 pcm1: Intel 82801G High Definition Audio Controller mem 
 0xffafc000-0xffaf irq 19 at device 27.0 on pci0
 pcm1: [ITHREAD]
 pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
 pci4: ACPI PCI bus on pcib2
 pcib3: ACPI PCI-PCI bridge irq 19 at device 28.3 on pci0
 pci3: ACPI PCI bus on pcib3

cat dmesg  /dev/dsp
 su: /dev/dsp: Operation not supported

from pciconf:
 [EMAIL PROTECTED]:0:27:0: class=0x040300 card=0x81d81043 chip=0x27d88086 
 rev=0x01 hdr=0x00
 vendor = 'Intel Corporation'
 device = '82801G (ICH7 Family) High Definition Audio'
 class  = multimedia

 [EMAIL PROTECTED]:5:0:0:  class=0x03 card=0xe630174b chip=0x95051002 
 rev=0x00 hdr=0x00
 vendor = 'ATI Technologies Inc'
 class  = display
 subclass   = VGA
 [EMAIL PROTECTED]:5:0:1:  class=0x040300 card=0xaa18174b chip=0xaa181002 
 rev=0x00 hdr=0x00
 vendor = 'ATI Technologies Inc'
 class  = multimedia





-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get soundcard to work

2008-10-07 Thread Aniruddha
On Tue, 2008-10-07 at 17:39 -0400, Lowell Gilbert wrote:
 Aniruddha [EMAIL PROTECTED] writes:
 
  I've read the Setting Up the Sound Card part in the FreeBSD handbook
  unfortunately I can't get my Intel HDA card to work. Any ideas would be
  appreciated! Here's some relevant output:

...

 I think you will need a somewhat recent FreeBSD to support that
 controller.  What version are you running?
 
 What drivers have you loaded?  snd_driver?

Thanks for the help. I'm running FreeBSD 7-1 BETA. From what I can tell
my card should be supported. cat dmesg  /dev/dsp did give me sound
the first time. Any thoughts on how to troubleshoot this would be
welcome.


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB mouse problems

2008-10-06 Thread Aniruddha
I have one Razer Lachesis USB mouse attached to the rear usb ports of my
pc. This mouse has never worked, however when I plug in another USB
mouse in the front of my pc it works?! I wonder; how do I get the Razer
Lachesis working without plugging it in the front?

Furthermore I wondered if there is a way to use both the mouse in a
terminal (gpm) and in xorg?


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 13:09 +0200, Patrick Lamaizière wrote:
 Le Mon, 06 Oct 2008 08:41:59 +0200,
 Aniruddha [EMAIL PROTECTED] a écrit :
 
  I have one Razer Lachesis USB mouse attached to the rear usb ports of
  my pc. This mouse has never worked, however when I plug in another USB
  mouse in the front of my pc it works?! I wonder; how do I get the
  Razer Lachesis working without plugging it in the front?
 
 I don't know.
 
  Furthermore I wondered if there is a way to use both the mouse in a
  terminal (gpm) and in xorg?
  
 Yes, see moused(8) and vidcontrol(1). 
 
 Regards.
 ___

Thanks for your help! I'll look into moused and vidcontrol. 


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 22:10 +1030, Andrew D wrote:
 Patrick Lamaizière wrote:
  Le Mon, 06 Oct 2008 08:41:59 +0200,
  Aniruddha [EMAIL PROTECTED] a écrit :
  
  I have one Razer Lachesis USB mouse attached to the rear usb ports of
  my pc. This mouse has never worked, however when I plug in another USB
  mouse in the front of my pc it works?! I wonder; how do I get the
  Razer Lachesis working without plugging it in the front?
  
  I don't know.
 
 Some motherboards have a jumper (or BIOS option) to that has to be set, 
 so that the front connectors work at the expense of other ports.

I don't think this has something  to with a bios setting/jumper. My
other USB ports are working fine ( I also have an USB keyboard plugged
in).

Furthermore in Linux nor Vista I've encountered this problem. Therefor I
suspect it must have something to do with FreeBSD. Maybe it's an bug? If
someone has an solution that would be great!


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote:
  I don't think this has something  to with a bios setting/jumper. My
  other USB ports are working fine ( I also have an USB keyboard plugged
  in).
  
  Furthermore in Linux nor Vista I've encountered this problem. Therefor I
  suspect it must have something to do with FreeBSD. Maybe it's an bug? If
  someone has an solution that would be great!
 
 FreeBSD's existing USB stack is known to be... shall we say, flaky.
 It's well-established at this point.  The possibility of it being
 related to FreeBSD's USB stack is very likely.
 
 A new USB stack is available for CURRENT, but requires manual patching.
 If you're willing to try this, you should get in contact with Alfred
 Perlstein [EMAIL PROTECTED] to discuss/get the patch.  Keep in mind
 that this patch, as I stated, only applies to CURRENT, and not to
 FreeBSD 7 or earlier.
 
 You can download a CURRENT ISO here:
 
 ftp://ftp4.freebsd.org/pub/FreeBSD/snapshots/200809/
 

Lol, during my search for a solution I did see numerous problems with
mice. Out of curiosity; is CURRENT the same as FreeBSD 7.1-BETA?


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 11:00 -0700, Jeremy Chadwick wrote:
 On Mon, Oct 06, 2008 at 07:23:00PM +0200, Aniruddha wrote:
  On Mon, 2008-10-06 at 10:05 -0700, Jeremy Chadwick wrote:
I don't think this has something  to with a bios setting/jumper. My
other USB ports are working fine ( I also have an USB keyboard plugged
in).

Furthermore in Linux nor Vista I've encountered this problem. Therefor I
suspect it must have something to do with FreeBSD. Maybe it's an bug? If
someone has an solution that would be great!
   
   FreeBSD's existing USB stack is known to be... shall we say, flaky.
   It's well-established at this point.  The possibility of it being
   related to FreeBSD's USB stack is very likely.

 No -- significantly different.  CURRENT is super alpha it's probably
 going to break, while 7.1-BETA is simply the upcoming release of 7.1
 which is slated to become -STABLE after a few months.

Ah I see. Unfortunately I think I have found the problem. My Razer
Lachesis doesn't work with FreeBSD. It doesn't matter which USB port I
use. I found  this patch though:
http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/118670

What does 3-20-2008: Fix merged to RELENG_7 mean? Is this fix
available in the FreeBSD 7 (stable) release I'm running? Thanks in
advance!


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 12:03 -0700, Jeremy Chadwick wrote:
 It means the original fix was applied to CURRENT (what is also known as
 HEAD), and then backported to RELENG_7 (what you would call FreeBSD
 7.x-STABLE) on 2008/03/20.  MFC stands for Merge From CURRENT.
 
 You can confirm this by looking at cvsweb for the file in question:
 
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ums.c
 
 The change for HEAD/CURRENT was made in Revision 1.98 (date = Mar 12)
 The MFC to RELENG_7 was made in Revision 1.96.2.1 (date = Mar 20)
 
 If you csup your src tree (use /usr/share/examples/cvsup/stable-supfile)
 the patched code will be downloaded and used.  You'll have to rebuild
 world to get the changes, of course.  See the FreeBSD Handbook for doing
 a csup as well as for rebuilding world.
 

Thanks for your help and patience. If I'm not mistaken I can also
install 7.1 Beta. It would be logical to assume it contains the fix
right?


-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB mouse problems (SOLVED)

2008-10-06 Thread Aniruddha
On Mon, 2008-10-06 at 21:58 +0200, Aniruddha wrote:
 On Mon, 2008-10-06 at 12:03 -0700, Jeremy Chadwick wrote:
  It means the original fix was applied to CURRENT (what is also known as
  HEAD), and then backported to RELENG_7 (what you would call FreeBSD
  7.x-STABLE) on 2008/03/20.  MFC stands for Merge From CURRENT.
  
  You can confirm this by looking at cvsweb for the file in question:
  
  http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ums.c
  
  The change for HEAD/CURRENT was made in Revision 1.98 (date = Mar 12)
  The MFC to RELENG_7 was made in Revision 1.96.2.1 (date = Mar 20)
  
  If you csup your src tree (use /usr/share/examples/cvsup/stable-supfile)
  the patched code will be downloaded and used.  You'll have to rebuild
  world to get the changes, of course.  See the FreeBSD Handbook for doing
  a csup as well as for rebuilding world.
  
 
 Thanks for your help and patience. If I'm not mistaken I can also
 install 7.1 Beta. It would be logical to assume it contains the fix
 right?

I just installed 7.1 Beta and now my Razer Lachesis  works :D



-- 
Regards,

Aniruddha




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Aniruddha

Roger Olofsson wrote:

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!




As you can see I have already posted a thread there :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-10 Thread Aniruddha

Vince wrote:

I think you misunderstood. /etc/defaults/devfs  contains the defaults.
you should remove the changes you made from there and create a new 
/etc/devfs.rules

with the contents i specified.
Hey be gentle, I am new to FreeBSD :-P . This solved the error message 
but still my Palm doesn't sync.


Here's my new devfs.rules:
/
[system=10]
add path 'ttyU*' mode 0666

/No matter which port I try I can't get my Palm to sync, any help would 
be appreciated!:


/$  pilot-xfer --port /dev/ttyU0 --list/
 / Unable to bind to port: /dev/ttyU0
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU1 --list
  Unable to bind to port: /dev/ttyU1
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU2 --list
  Unable to bind to port: /dev/ttyU2
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU3 --list
  Unable to bind to port: /dev/ttyU3
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU4 --list
  Unable to bind to port: /dev/ttyU4
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU5 --list
  Unable to bind to port: /dev/ttyU5
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU --list
  Unable to bind to port: /dev/ttyU
  Please use --help for more information

$  pilot-xfer --port /dev/ttyU* --list
  Unable to bind to port: /dev/ttyU*
  Please use --help for more information
/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:
You may want to check out devfs.rules(5) for changing permissions on 
hotplug devices.

That said, I do use a similar entry in usbd.conf to spawn pppd when I connect my Tungsten 
E. With that I find I need to add a sleep 2; to the beginning of the 'attach' 
line or the following command fails because the device nodes aren't set up quickly enough.

HTH.

Peter Harrison 




  


Thanks for your help :-) . You mean like this?

device Palm
  devname  ucom[0-9]*
  sleep 2; attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:

Sorry, that's me not making myself clear.
I mean like this:

device Palm
devname ucom[0-9]*
attach sleep 2; chmod 0666 /dev/ttyU*

But like I said, devfs.rules is really designed for this kind of thing.


HTH.


Peter Harrison.


  

Sorry, but I must ask you again :-[ . You mean adding this to devfs.rules?

device Palm
devname ucom[0-9]*
attach sleep 2; chmod 0666 /dev/ttyU*


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Harrison Peter CSA BIRKENHEAD wrote:


No, that's the syntax for usbd.conf - which should work but is not the 
'preferred' way of doing it.

I'll check my devfs.rules file over the weekend and email you again with the 
syntax for that.


Peter Harrison.
  
Thank for the effort! Btw I tried adding  sleep 2;  but this didn't help 
:-(

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Aniruddha wrote:
I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far 
without results :-( . Who can help me with this? Here's what I tried 
so far:


Added this line to etc/usbd.conf just above the fallthrough entry:
/
device Palm
  devname  ucom[0-9]*
  attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/

/kldload ucom
kldload uvisor
/
Filled in this 'adress' in jpilot:

//dev/ttyU0/
___


Here's my dmesg (with my Treo plugged in at boot). Maybe that will help:

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 4000+ (2403.09-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x20f71  Stepping = 1

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 Features2=0x1SSE3
 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
 AMD Features2=0x1LAHF
real memory  = 1073414144 (1023 MB)
avail memory = 1033031680 (985 MB)
ACPI APIC Table: A M I  OEMAPIC 
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 0.3 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA K8T800Pro host to PCI bridge mem 0xdc00-0xdfff at
device 0.0
on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
nvidia0: GeForce 7800 GS mem
0xfb00-0xfbff,0xe000-0xefff,0xfa0
0-0xfaff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
fwohci0: VIA Fire II (VT6306) port 0x9400-0x947f mem
0xf960-0xf96007ff irq
16 at device 7.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:58:84:0d
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:11:d8:58:84:0d
fwe0: Ethernet address: 02:11:d8:58:84:0d
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: Promise PDC20378 SATA150 controller port
0xa400-0xa43f,0xa000-0xa00f,
0x9800-0x987f mem 0xf980-0xf9800fff,0xf970-0xf971 irq 18 at
device 8
.0 on pci0
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
skc0: Marvell Gigabit Ethernet port 0xa800-0xa8ff mem
0xf9a0-0xf9a03fff ir
q 17 at device 10.0 on pci0
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:13:d4:9b:6b:c8
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX-FDX, auto
pci0: multimedia, audio at device 14.0 (no driver attached)
pci0: input device at device 14.1 (no driver attached)
fwohci1: 1394 Open Host Controller Interface mem
0xf9c0-0xf9c007ff,0xf9b00
000-0xf9b03fff irq 16 at device 14.2 on pci0
fwohci1: OHCI version 1.10 (ROM=0)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:02:3c:01:01:00:e8:de
fwohci1: Phy 1394a available S400, 2 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1: IEEE1394(FireWire) bus on fwohci1
fwe1: Ethernet over FireWire on firewire1
if_fwe1: Fake Ethernet address: 02:02:3c:00:e8:de
fwe1: Ethernet address: 02:02:3c:00:e8:de
fwe1: if_start running deferred for Giant
sbp1: SBP-2/SCSI over FireWire on firewire1
fwohci1: Initiate bus reset
fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
atapci1: VIA 6420 SATA150 controller port
0xd400-0xd407,0xd000-0xd003,0xc800-0
xc807,0xc400-0xc403,0xc000-0xc00f,0xb800-0xb8ff irq 20 at device 15.0 on
pci0
ata5: ATA channel 0 on atapci1
ata6: ATA channel 1 on atapci1
atapci2: VIA 8237 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,
0xfc00-0xfc0f at device 15.1 on pci0
ata0: ATA channel 0 on atapci2
ata1: ATA channel 1 on atapci2
uhci0: VIA 83C572 USB controller port 0xd800-0xd81f irq 21 at device
16.0 on p
ci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0

Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Vince wrote:

for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince

  

Ok I will try that :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Vince wrote:

Aniruddha wrote:
  

Vince wrote:


for devfs.rules add something like
[system=10]
add path 'ttyU*' mode 0666

to /etc/devfs.rules

you also need to add
devfs_system_ruleset=system

to rc.conf


Vince

  
  

Ok I will try that :-)


Oh i forgot to mention you will have to restart devfs afterwards,
/etc/rc.d/devfs restart

Vince

  

Ehm I can't find  /etc/devfs.rules:

ls /etc/ | grep dev
devd.conf
devfs.conf




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed syncing Palm Treo 650 with FreeBSD

2007-03-09 Thread Aniruddha

Chris Slothouber wrote:

Check out /etc/defaults/devfs.rules


Thanks at least now I found devfs.rules :-) . I adjusted it accordingly 
(and /etc/rc.conf) but still my Palm refuses to sync. Maybe this error 
message reveals something:


# /etc/rc.d/devfs restart
/etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset
number
/etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset


*Part of devfs.rules which I edited:*
# Devices typically needed to support logged-in users.
# Requires: devfsrules_hide_all
#
[devfsrules_unhide_login=3]
add path 'ptyp*' unhide
add path 'ptyq*' unhide
add path 'ptyr*' unhide
add path 'ptys*' unhide
add path 'ptyP*' unhide
add path 'ptyQ*' unhide
add path 'ptyR*' unhide
add path 'ptyS*' unhide
add path 'ttyp*' unhide
add path 'ttyq*' unhide
add path 'ttyr*' unhide
add path 'ttys*' unhide
add path 'ttyP*' unhide
add path 'ttyQ*' unhide
add path 'ttyR*' unhide
add path 'ttyS*' unhide
add path fd unhide
add path 'fd/*' unhide
add path stdin unhide
add path stdout unhide
add path stderr unhide
add path 'ttyU*' mode 0666
*
My changes to /etc/rc.conf*
# -- sysinstall generated deltas -- # Thu Mar  8 17:55:42 2007
# Created: Thu Mar  8 17:55:42 2007
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname=freebsd.lan
ifconfig_sk0=DHCP
inetd_enable=NO
ipv6_enable=YES
keymap=us.iso
linux_enable=YES
sshd_enable=YES
usbd_enable=YES
devfs_system_ruleset=system

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help needed syncing Palm Treo 650 with FreeBSD

2007-03-08 Thread Aniruddha
I am trying to get my Palm Treo sync with Jpilot. Unfortunately so far 
without results :-( . Who can help me with this? Here's what I tried so far:


Added this line to etc/usbd.conf just above the fallthrough entry:
/
device Palm
  devname  ucom[0-9]*
  attach chmod 0666 /dev/ucom* /dev/ttyU* /dev/cuaU*/

/kldload ucom
kldload uvisor
/
Filled in this 'adress' in jpilot:

//dev/ttyU0/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


VMWare 4 with FreeBSD host OS

2004-06-09 Thread Aniruddha Bohra
Hello,
Does the VMWare Workstation 4 work with
FreeBSD as the host OS? I have it running on
Windows with -current as the guest OS, but would
like to run it as a host.
Thanks
Aniruddha

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MP Architecture simulators

2003-01-07 Thread Aniruddha Bohra
Hi
I was looking for some x86 based SMP Architecture simulators that 
run on
FreeBSD. Ideally I would like it to be able to boot a custom kernel -

   Any pointers?

Thanks
Aniruddha



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