Her reboot isleminden sonra ALSA icin alsaconf calistirmazsam ALSA calismiyor

2006-07-26 Thread Emre Sevinç


Merhaba,

Kisa bir süre önce bilgisayarima ALSA ile ilgili paketleri kurmus ve son 
4 yildir kullandigim

OSS yerine ALSA kullanmaya baslamistim.

Yalniz söyle bir durum var, bilgisayari kapatip actigimda icinde OSS, 
blacklist, vs. gecen

yüzlerce satir uyari geliyor acilis esnasinda.

Ardindan XMMS, aplay, vs. gibi programlarla ses almaya calistigimda 
alamiyorum. Sonra
alsaconf calistiriyorum (daha önce calistirmis oldugum gibi) bana 
gerekli ayarlamalari yaptigini
söylüyor ve sonra XMMS, aplay gibi programlarla ALSA üzerinden ses 
alabilir hale geliyorum.
(alsaconf bazi ayar dosyalarina gerekli degisiklikleri yazayim mi diye 
sordugunda evet cevabini

veriyorum).

Bilgisayar kapandiginda ALSA ile ilgili yapilandirmanin neden 
kayboldugunu, her acilista

alsaconf'u neden calistirmam gerektigini anlayamadim.

O blacklist, OSS, vs. ile ilgili mesajlar galiba "hotplug" paketi ile 
ilgili (ama emin degilim).


dmesg komutu ile baktigimda o mesajlari göremiyorum, OSS'ye dair sadece 
sunlar var


unable to register OSS PCM device 0:0
unable to register OSS mixer device 0:0
unable to register OSS PCM device 0:0
unable to register OSS mixer device 0:0

Sistemim:

$ uname -a
Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux

Hakikaten de epey bir "unstable" hale getirdim sanirim mevcut sistemi! ;-)

Bu konuda bir yol yordam önerebilecek olan var mi acaba?

--
Emre Sevinç
eMBA Yazılım Geliştirme
İstanbul Bilgi Üniversitesi


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




bir Qmail sorusu

2005-12-21 Thread Emre Sevinç

Bir dostum Qmail ile ilgili sordu:

=
/service/qmail-send: up (pid 2842) 33169 seconds
/service/qmail-send/log: up (pid 2844) 33168 seconds
/service/qmail-smtpd: up (pid 2845) 33168 seconds
/service/qmail-smtpd/log: up (pid 2852) 33168 seconds
/service/qmail-pop3d: up (pid 2854) 33168 seconds
/service/qmail-pop3d/log: up (pid 2855) 33168 seconds
messages in queue: 43427
messages in queue but not yet preprocessed: 1

in queue inanılmaz birikiyor ve normalde emailleri hızlı gondermesi
gerekirken inanılmaz yavaş gonderiyor...
=

Debian degil de Gelecek Linux üzerinde calistiriyormus ama yine de belki
yukaridakilere bakip bir seyler önerebilecek ya da "debugging" yapmayi
saglayacak sorulari soracak Qmail ustalari cikar diye düsündüm.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Problem: printing to HP LaserJet - SAMBA and CUPS problem?

2005-11-28 Thread Emre Sevinç

Hi Debian masters,

I have installed a Debian box at the office which is mainly a Windows 
network:


emba-master:/home/emres# uname -a
Linux emba-master 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 
GNU/Linux


Then I also installed SAMBA and CUPS. For now, we can connect to Debian and
use it as a file server. It is also possible to sit in front of the 
machine and print to

the HP LaserJet 1100 connected to it.

*Problem*: I just can't make MS Windows PCs print to HP LaserJet 
installed on Debian.


Here's smb.conf:

==
emba-master:/home/emres# cat /etc/samba/smb.conf | egrep -v " *(;|#)"

[global]
 workgroup = emba.networks
 server string = %h server (Samba %v)
 log file = /var/log/samba/log.%m
 max log size = 1000
 syslog = 0
 panic action = /usr/share/samba/panic-action %d
 security = user
socket options = TCP_NODELAY

[webroot]
 comment  = Web Server Root
 path = /var/www/apache2-default/web/
 writable = yes

[homes]
 comment  = Home Directories
 browseable = yes

[Programs]
 path = /home/winshare/programs/
 comment  = Programs
 writable = yes

[Games]
 path = /home/winshare/games/
 comment  = Games
 writable = yes

[Movies]
 path = /home/winshare/movies/
 comment  = Movies
 writable = yes

 writable = yes
 create mask = 0777
 directory mask = 0777

[printers]

[print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers
 browseable = yes
 read only = yes
 guest ok = yes

[EmbaPrinter]
  comment = EmbaPrinter
  writeable = yes
  printable = yes
  path = /var/spool/samba
==


And cupsaddsmb worked without problems:

=
emba-master:/home/emres# cupsaddsmb -H emba-master -U root -h 
emba-master -v EmbaPrinter


Password for root required to access emba-master via SAMBA:
Running command: rpcclient emba-master -N -U'root%X' -c 'setdriver 
EmbaPrinter EmbaPrinter'

Succesfully set EmbaPrinter to driver EmbaPrinter.
=

However, when I connect from a MS Windows PC to \\emba-master and see a 
printer
named EmbaPrinter and right-click on it, trying to Connect it doesn't 
provide me any

valid driver (showing an unrelated local folder on my PC).

Besides, as you see above there's a "path = /var/lib/samba/printers" 
line in smb.com

however:

=
emba-master:/home/emres# ls -laR /var/lib/samba/printers/
/var/lib/samba/printers/:
toplam 16
drwxr-xr-x  4 root root 4096 2005-11-25 00:48 .
drwxr-xr-x  3 root root 4096 2005-11-25 00:50 ..
drwxr-xr-x  2 root root 4096 2005-05-27 10:16 W32X86
drwxr-xr-x  2 root root 4096 2005-05-27 10:16 WIN40

/var/lib/samba/printers/W32X86:
toplam 8
drwxr-xr-x  2 root root 4096 2005-05-27 10:16 .
drwxr-xr-x  4 root root 4096 2005-11-25 00:48 ..

/var/lib/samba/printers/WIN40:
toplam 8
drwxr-xr-x  2 root root 4096 2005-05-27 10:16 .
drwxr-xr-x  4 root root 4096 2005-11-25 00:48 ..
==

Where are the drivers? Am I doing something wrong?

Another strange situation when I start my Windows Explorer to browse 
\\emba-master
in the "Printers" shared folder I see another printer called "lp dot 
matrix printer" which
I didn't define in smb.conf; I also tried my chance with that, trying to 
install some HP

driver but then I still couldn't print.

What shoul I check? How can I troubleshoot this?

All I need is to be able to print from MS Windows clients to the HP 
LaserJet installed

on Debian (which is working fine locally).

Cheers,
Emre Sevinc
Istanbul Bilgi University



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]