ad1848.c: sound card clicks with v3.8o, but not 3.5.4-beta8

Erland Lewin (hquest@linuxbr.com.br)
Thu, 18 Feb 1999 17:50:20 -0500


MAIL FROM: Alexandre Hautequest <hquest@linuxbr.com.br>
RCPT TO: Linux-Kernel <linux-kernel@vger.rutgers.edu>
X-MAILER: Telnetting to port 25 ;)
DATA
<!-- Begin Session Log -->
darkstar:~# uname -a
Linux darkstar 2.2.1 #1 Sun Feb 14 18:48:04 EST 1999 i486 unknown
darkstar:~#
darkstar:~# lsmod
Module Size Used by
ppp 19020 0 (autoclean)
slhc 4476 0 (autoclean) [ppp]
darkstar:~#
darkstar:~# modprobe -k parport
darkstar:~# modprobe -k parport_pc io=0x3bc irq=7
/lib/modules/2.2.1/misc/parport_pc.o: init_module: Device or resource busy
darkstar:~# modprobe -k parport_pc io=0x378 irq=7
darkstar:~# modprobe -k parport_probe
darkstar:~# modprobe -k lp
darkstar:~# lsmod
Module Size Used by
lp 5276 0 (autoclean)
parport_probe 3032 0 (autoclean)
parport_pc 5548 1 (autoclean)
parport 7100 1 (autoclean) [lp parport_probe parport_pc]
ppp 19020 0 (autoclean)
slhc 4476 0 (autoclean) [ppp]
darkstar:~#
darkstar:~# for i in /proc/parport/0/* ; do echo "*** $i ***" ; cat $i ; done
*** /proc/parport/0/autoprobe ***
MODEL:Unknown device;
MANUFACTURER:Unknown vendor;
*** /proc/parport/0/devices ***
lp
*** /proc/parport/0/hardware ***
base: 0x378
irq: 7
dma: none
modes: SPP
*** /proc/parport/0/irq ***
7
darkstar:~#
darkstar:~# tail /var/adm/messages
Feb 18 20:39:06 darkstar pppd[102]: Exit.
Feb 18 20:40:40 darkstar -- MARK --
Feb 18 20:41:12 darkstar login[608]: ROOT LOGIN on `tty3'
Feb 18 20:41:31 darkstar kernel: parport0: PC-style at 0x378, irq 7 [SPP]
Feb 18 20:41:42 darkstar kernel: parport0: no IEEE-1284 device present.
Feb 18 20:41:59 darkstar kernel: lp0: using parport0 (interrupt-driven).
darkstar:~# ps ax | grep lpd | grep -v grep
65 ? SW 0:00 (lpd)
darkstar:~# echo > /dev/lp0
darkstar:~# echo > /dev/lp1
bash: /dev/lp1: Device not configured
darkstar:~# cat /dev/lp0
cat: /dev/lp0: Input/output error
darkstar:~# cat /dev/lp1
cat: /dev/lp1: Device not configured
darkstar:~#
darkstar:~# ls -l /dev/lp?
crw-rw---- 1 root daemon 6, 0 Apr 27 1995 /dev/lp0
crw-rw---- 1 root daemon 6, 1 Apr 27 1995 /dev/lp1
crw-rw---- 1 root daemon 6, 2 Apr 27 1995 /dev/lp2
darkstar:~# lpr /var/adm/messages
darkstar:~# lpc status
lp:
queuing is enabled
printing is enabled
1 entry in spool area
waiting for lp to become ready (offline ?)
darkstar:~# rmmod lp
darkstar:~# rmmod parport_probe
darkstar:~# rmmod parport_pc
darkstar:~# modprobe -k parport_pc
darkstar:~# modprobe -k parport_probe
darkstar:~# modprobe -k lp
darkstar:~#
darkstar:~# for i in /proc/parport/0/* ; do echo "*** $i ***" ; cat $i ; done
*** /proc/parport/0/autoprobe ***
MODEL:Unknown device;
MANUFACTURER:Unknown vendor;
*** /proc/parport/0/devices ***
*** /proc/parport/0/hardware ***
base: 0x378
irq: none
dma: none
modes: SPP
*** /proc/parport/0/irq ***
none
darkstar:~# cat lpconfig
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PNP=y
CONFIG_PNP_PARPORT=m
CONFIG_PARIDE_PARPORT=m
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
CONFIG_SCSI_IZIP_EPP16=y
CONFIG_PLIP=m
CONFIG_PRINTER=m
CONFIG_PRINTER_READBACK=y
darkstar:~# cat /usr/src/linux-2.2.1/Documentation/devices.txt
(snip)
6 char Parallel printer devices
0 = /dev/lp0 First parallel printer (0x3bc)
1 = /dev/lp1 Second parallel printer (0x378)
2 = /dev/lp2 Third parallel printer (0x278)

Not all computers have the 0x3bc parallel port; hence
the "first" printer may be either /dev/lp0 or
/dev/lp1.
(snip)
darkstar:~#
<!-- End Session Log -->

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/