Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] No device node for parallel port.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gunther222
n00b
n00b


Joined: 06 Sep 2006
Posts: 19

PostPosted: Sun May 27, 2007 3:26 am    Post subject: [RESOLVED] No device node for parallel port. Reply with quote

OK, I'm kind of stumped, and my searches on the forums aren't turning up useful results. So I'm hoping someone has seen this before or can aid me in debugging th situation.

I am running a genkernel biuldt kernel with a few hand tuned items.
Code:
Linux version 2.6.21-gentoo-r1 (root@thumper) (gcc version 4.1.2 (Gentoo 4.1.2)) #1 Fri May 25 16:53:31 CDT 2007


My issue is that the parallel port device driver see's the port, but there is no device node available in /dev


The hand tuning of the genkernel options was me setting the parallel port options to compile the driver into the the kernel in an attempt to find the problem here.

Anyway, the kernel defiantly sees the hardware

Code:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]


But I the logs and dmesg never show any mention of creating a /dev entry for it, and it's not list in /dev anywhere...

Code:
thumper dev # ls -lR /dev/* | grep lp
thumper dev # ls -lR /dev/lp*
ls: cannot access /dev/lp*: No such file or directory


Any help appreciated.


Last edited by gunther222 on Mon May 28, 2007 6:08 am; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10751
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun May 27, 2007 4:25 am    Post subject: Reply with quote

If the parallel port device node truly doesn't exist (and it sounds like it doesn't), you can create it with:
Code:
cd /dev
MAKEDEV -v lp

There's a pretty good man page for MAKEDEV if you want more information. Let me know how it turns out.

- John
Back to top
View user's profile Send private message
gunther222
n00b
n00b


Joined: 06 Sep 2006
Posts: 19

PostPosted: Sun May 27, 2007 6:09 am    Post subject: Reply with quote

Well, I'm an old FreeBSD head who made the conversation about 5 years ago, and fell on Gentoo as my linux distro of choice.

So making dev entries with MAKEDEV is old hat, but I thought MDEV remade all the devs each boot

Which is exactly what happened. I made the dev entries with MAKEDEV, however it still wasn't functional. I couldn't acctually do anything with /de/lp0 port. (Which when I dual boot into evil XP os works fine.)

So I rebooted and MDEV promptly deleted the lp? entries in /dev.

and honestly eversince they gave control of the dev entries to the daemons I've been lost.
Back to top
View user's profile Send private message
Pandor
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2005
Posts: 128
Location: Belgium

PostPosted: Sun May 27, 2007 2:37 pm    Post subject: Reply with quote

I see you're looking for /dev/lp* but is there a /dev/parport0?
Back to top
View user's profile Send private message
gunther222
n00b
n00b


Joined: 06 Sep 2006
Posts: 19

PostPosted: Sun May 27, 2007 5:33 pm    Post subject: Reply with quote

nope, thought of that too..
Code:

thumper dev # ls -lR
.:
total 0
lrwxrwxrwx 1 root root        10 May 26 19:59 adsp -> sound/adsp
lrwxrwxrwx 1 root root        12 May 26 19:59 agpgart -> misc/agpgart
lrwxrwxrwx 1 root root        11 May 26 19:59 audio -> sound/audio
drwxr-xr-x 3 root root        60 May 26 19:59 bus
lrwxrwxrwx 1 root root         3 May 26 19:59 cdrom -> hdc
lrwxrwxrwx 1 root root         3 May 26 19:59 cdrw -> hdc
crw------- 1 root tty     5,   1 May 27 01:00 console
drwxr-xr-x 5 root root       100 May 26 19:59 disk
drwxr-xr-x 2 root root        60 May 27 01:00 dri
lrwxrwxrwx 1 root root         9 May 26 19:59 dsp -> sound/dsp
lrwxrwxrwx 1 root root         3 May 26 19:59 dvd -> hdc
lrwxrwxrwx 1 root root         3 May 26 19:59 dvdrw -> hdc
drwxr-xr-x 2 root root        60 May 26 19:59 fb
lrwxrwxrwx 1 root root         4 May 26 19:59 fb0 -> fb/0
crw-rw---- 1 root root   10,  63 May 26 19:59 fbsplash
lrwxrwxrwx 1 root root        13 May 26 19:59 fd -> /proc/self/fd
crw-rw-rw- 1 root root    1,   7 May 26 19:59 full
srwxrwxrwx 1 root root         0 May 27 00:59 gpmctl
brw-rw---- 1 root disk    3,   0 May 26 19:59 hda
brw-rw---- 1 root disk    3,   1 May 26 19:59 hda1
brw-rw---- 1 root disk    3,   2 May 26 19:59 hda2
brw-rw---- 1 root disk    3,   3 May 26 19:59 hda3
brw-rw---- 1 root disk    3,   4 May 26 19:59 hda4
brw-rw---- 1 root cdrom  22,   0 May 26 19:59 hdc
prw------- 1 root root         0 May 27 00:59 initctl
drwxr-xr-x 3 root root       140 May 26 19:59 input
crw-r----- 1 root root    1,   2 May 26 19:59 kmem
crw-rw---- 1 root root    1,  11 May 26 19:59 kmsg
srw-rw-rw- 1 root root         0 May 27 00:59 log
drwxr-xr-x 2 root root       200 May 26 19:59 loop
lrwxrwxrwx 1 root root         6 May 26 19:59 loop0 -> loop/0
lrwxrwxrwx 1 root root         6 May 26 19:59 loop1 -> loop/1
lrwxrwxrwx 1 root root         6 May 26 19:59 loop2 -> loop/2
lrwxrwxrwx 1 root root         6 May 26 19:59 loop3 -> loop/3
lrwxrwxrwx 1 root root         6 May 26 19:59 loop4 -> loop/4
lrwxrwxrwx 1 root root         6 May 26 19:59 loop5 -> loop/5
lrwxrwxrwx 1 root root         6 May 26 19:59 loop6 -> loop/6
lrwxrwxrwx 1 root root         6 May 26 19:59 loop7 -> loop/7
drwxr-xr-x 2 root root        60 May 26 19:59 mapper
crw-r----- 1 root root    1,   1 May 26 19:59 mem
drwxr-xr-x 2 root root       100 May 26 19:59 misc
lrwxrwxrwx 1 root root        11 May 26 19:59 mixer -> sound/mixer
crw-rw-rw- 1 root root    1,   3 May 26 19:59 null
crw-r----- 1 root root    1,   4 May 26 19:59 port
lrwxrwxrwx 1 root root        10 May 26 19:59 psaux -> misc/psaux
crw-rw-rw- 1 root tty     5,   2 May 27 12:30 ptmx
drwxr-xr-x 2 root root         0 May 26 19:59 pts
lrwxrwxrwx 1 root root         4 May 26 19:59 ram0 -> rd/0
lrwxrwxrwx 1 root root         4 May 26 19:59 ram1 -> rd/1
lrwxrwxrwx 1 root root         5 May 26 19:59 ram10 -> rd/10
lrwxrwxrwx 1 root root         5 May 26 19:59 ram11 -> rd/11
lrwxrwxrwx 1 root root         5 May 26 19:59 ram12 -> rd/12
lrwxrwxrwx 1 root root         5 May 26 19:59 ram13 -> rd/13
lrwxrwxrwx 1 root root         5 May 26 19:59 ram14 -> rd/14
lrwxrwxrwx 1 root root         5 May 26 19:59 ram15 -> rd/15
lrwxrwxrwx 1 root root         4 May 26 19:59 ram2 -> rd/2
lrwxrwxrwx 1 root root         4 May 26 19:59 ram3 -> rd/3
lrwxrwxrwx 1 root root         4 May 26 19:59 ram4 -> rd/4
lrwxrwxrwx 1 root root         4 May 26 19:59 ram5 -> rd/5
lrwxrwxrwx 1 root root         4 May 26 19:59 ram6 -> rd/6
lrwxrwxrwx 1 root root         4 May 26 19:59 ram7 -> rd/7
lrwxrwxrwx 1 root root         4 May 26 19:59 ram8 -> rd/8
lrwxrwxrwx 1 root root         4 May 26 19:59 ram9 -> rd/9
crw-rw-rw- 1 root root    1,   8 May 26 19:59 random
drwxr-xr-x 2 root root       360 May 26 19:59 rd
brw------- 1 root root    3,   4 May 26 19:59 root
lrwxrwxrwx 1 root root         8 May 26 19:59 rtc -> misc/rtc
lrwxrwxrwx 1 root root        15 May 26 19:59 sequencer -> sound/sequencer
lrwxrwxrwx 1 root root        16 May 26 19:59 sequencer2 -> sound/sequencer2
drwxrwxrwt 2 root root        40 May 26 19:59 shm
drwxr-xr-x 2 root root       180 May 26 19:59 snd
drwxr-xr-x 2 root root       160 May 26 19:59 sound
lrwxrwxrwx 1 root root         4 May 26 19:59 stderr -> fd/2
lrwxrwxrwx 1 root root         4 May 26 19:59 stdin -> fd/0
lrwxrwxrwx 1 root root         4 May 26 19:59 stdout -> fd/1
crw-rw---- 1 root root   10,  25 May 26 19:59 synth
drwxr-xr-x 2 root root       120 May 26 19:59 tts
crw-rw-rw- 1 root tty     5,   0 May 27 02:44 tty
crw-rw---- 1 root root    4,   0 May 26 19:59 tty0
crw------- 1 root root    4,   1 May 27 01:00 tty1
crw-rw---- 1 root tty     4,  10 May 27 00:59 tty10
crw-rw---- 1 root tty     4,  11 May 27 00:59 tty11
crw------- 1 root root    4,  12 May 27 12:30 tty12
crw-rw---- 1 root tty     4,  13 May 26 19:59 tty13
crw-rw---- 1 root tty     4,  14 May 26 19:59 tty14
crw-rw---- 1 root tty     4,  15 May 26 19:59 tty15
crw-rw---- 1 root tty     4,  16 May 26 19:59 tty16
crw-rw---- 1 root tty     4,  17 May 26 19:59 tty17
crw-rw---- 1 root tty     4,  18 May 26 19:59 tty18
crw-rw---- 1 root tty     4,  19 May 26 19:59 tty19
crw------- 1 root root    4,   2 May 27 01:00 tty2
crw-rw---- 1 root tty     4,  20 May 26 19:59 tty20
crw-rw---- 1 root tty     4,  21 May 26 19:59 tty21
crw-rw---- 1 root tty     4,  22 May 26 19:59 tty22
crw-rw---- 1 root tty     4,  23 May 26 19:59 tty23
crw-rw---- 1 root tty     4,  24 May 26 19:59 tty24
crw-rw---- 1 root tty     4,  25 May 26 19:59 tty25
crw-rw---- 1 root tty     4,  26 May 26 19:59 tty26
crw-rw---- 1 root tty     4,  27 May 26 19:59 tty27
crw-rw---- 1 root tty     4,  28 May 26 19:59 tty28
crw-rw---- 1 root tty     4,  29 May 26 19:59 tty29
crw------- 1 root root    4,   3 May 27 01:00 tty3
crw-rw---- 1 root tty     4,  30 May 26 19:59 tty30
crw-rw---- 1 root tty     4,  31 May 26 19:59 tty31
crw-rw---- 1 root tty     4,  32 May 26 19:59 tty32
crw-rw---- 1 root tty     4,  33 May 26 19:59 tty33
crw-rw---- 1 root tty     4,  34 May 26 19:59 tty34
crw-rw---- 1 root tty     4,  35 May 26 19:59 tty35
crw-rw---- 1 root tty     4,  36 May 26 19:59 tty36
crw-rw---- 1 root tty     4,  37 May 26 19:59 tty37
crw-rw---- 1 root tty     4,  38 May 26 19:59 tty38
crw-rw---- 1 root tty     4,  39 May 26 19:59 tty39
crw------- 1 root root    4,   4 May 27 01:00 tty4
crw-rw---- 1 root tty     4,  40 May 26 19:59 tty40
crw-rw---- 1 root tty     4,  41 May 26 19:59 tty41
crw-rw---- 1 root tty     4,  42 May 26 19:59 tty42
crw-rw---- 1 root tty     4,  43 May 26 19:59 tty43
crw-rw---- 1 root tty     4,  44 May 26 19:59 tty44
crw-rw---- 1 root tty     4,  45 May 26 19:59 tty45
crw-rw---- 1 root tty     4,  46 May 26 19:59 tty46
crw-rw---- 1 root tty     4,  47 May 26 19:59 tty47
crw-rw---- 1 root tty     4,  48 May 26 19:59 tty48
crw-rw---- 1 root tty     4,  49 May 26 19:59 tty49
crw------- 1 root root    4,   5 May 27 01:00 tty5
crw-rw---- 1 root tty     4,  50 May 26 19:59 tty50
crw-rw---- 1 root tty     4,  51 May 26 19:59 tty51
crw-rw---- 1 root tty     4,  52 May 26 19:59 tty52
crw-rw---- 1 root tty     4,  53 May 26 19:59 tty53
crw-rw---- 1 root tty     4,  54 May 26 19:59 tty54
crw-rw---- 1 root tty     4,  55 May 26 19:59 tty55
crw-rw---- 1 root tty     4,  56 May 26 19:59 tty56
crw-rw---- 1 root tty     4,  57 May 26 19:59 tty57
crw-rw---- 1 root tty     4,  58 May 26 19:59 tty58
crw-rw---- 1 root tty     4,  59 May 26 19:59 tty59
crw------- 1 root root    4,   6 May 27 01:00 tty6
crw-rw---- 1 root tty     4,  60 May 26 19:59 tty60
crw-rw---- 1 root tty     4,  61 May 26 19:59 tty61
crw-rw---- 1 root tty     4,  62 May 26 19:59 tty62
crw-rw---- 1 root tty     4,  63 May 26 19:59 tty63
crw-rw---- 1 root root    4,   7 May 27 00:59 tty7
crw-rw---- 1 root tty     4,   8 May 27 00:59 tty8
crw-rw---- 1 root tty     4,   9 May 27 00:59 tty9
crw-rw---- 1 root uucp    4,  64 May 26 19:59 ttyS0
crw-rw---- 1 root uucp    4,  65 May 26 19:59 ttyS1
crw-rw---- 1 root uucp    4,  66 May 26 19:59 ttyS2
crw-rw---- 1 root uucp    4,  67 May 26 19:59 ttyS3
cr--r--r-- 1 root root    1,   9 May 27 00:59 urandom
crw-rw---- 1 root root  254,   0 May 26 19:59 usbdev1.1_ep00
crw-rw---- 1 root root  254,   1 May 26 19:59 usbdev1.1_ep81
crw-rw---- 1 root root  254,   2 May 26 19:59 usbdev1.2_ep00
crw-rw---- 1 root root  254,   3 May 26 19:59 usbdev1.2_ep81
crw-rw---- 1 root root  254,   4 May 26 19:59 usbdev2.1_ep00
crw-rw---- 1 root root  254,   5 May 26 19:59 usbdev2.1_ep81
crw-rw---- 1 root root  254,   6 May 26 19:59 usbdev3.1_ep00
crw-rw---- 1 root root  254,   7 May 26 19:59 usbdev3.1_ep81
crw-rw---- 1 root root  254,   8 May 26 19:59 usbdev4.1_ep00
crw-rw---- 1 root root  254,   9 May 26 19:59 usbdev4.1_ep81
crw-rw---- 1 root root  254,  10 May 26 19:59 usbdev5.1_ep00
crw-rw---- 1 root root  254,  11 May 26 19:59 usbdev5.1_ep81
crw-rw---- 1 root tty     7,   0 May 26 19:59 vcs
crw-rw---- 1 root tty     7,   1 May 27 00:59 vcs1
crw-rw---- 1 root tty     7,  12 May 27 00:59 vcs12
crw-rw---- 1 root tty     7,   2 May 27 01:00 vcs2
crw-rw---- 1 root tty     7,   3 May 27 01:00 vcs3
crw-rw---- 1 root tty     7,   4 May 27 01:00 vcs4
crw-rw---- 1 root tty     7,   5 May 27 01:00 vcs5
crw-rw---- 1 root tty     7,   6 May 27 01:00 vcs6
crw-rw---- 1 root tty     7,   7 May 27 01:00 vcs7
crw-rw---- 1 root tty     7, 128 May 26 19:59 vcsa
crw-rw---- 1 root tty     7, 129 May 27 00:59 vcsa1
crw-rw---- 1 root tty     7, 140 May 27 00:59 vcsa12
crw-rw---- 1 root tty     7, 130 May 27 01:00 vcsa2
crw-rw---- 1 root tty     7, 131 May 27 01:00 vcsa3
crw-rw---- 1 root tty     7, 132 May 27 01:00 vcsa4
crw-rw---- 1 root tty     7, 133 May 27 01:00 vcsa5
crw-rw---- 1 root tty     7, 134 May 27 01:00 vcsa6
crw-rw---- 1 root tty     7, 135 May 27 01:00 vcsa7
crw-rw-rw- 1 root root    1,   5 May 26 19:59 zero

./bus:
total 0
drwxr-xr-x 7 root root 140 May 26 19:59 usb

./bus/usb:
total 0
drwxr-xr-x 2 root root 80 May 26 19:59 001
drwxr-xr-x 2 root root 60 May 26 19:59 002
drwxr-xr-x 2 root root 60 May 26 19:59 003
drwxr-xr-x 2 root root 60 May 26 19:59 004
drwxr-xr-x 2 root root 60 May 26 19:59 005

./bus/usb/001:
total 0
crw-rw-r-- 1 root usb 189, 0 May 26 19:59 001
crw-rw-r-- 1 root usb 189, 1 May 26 19:59 002

./bus/usb/002:
total 0
crw-rw-r-- 1 root usb 189, 128 May 26 19:59 001

./bus/usb/003:
total 0
crw-rw-r-- 1 root usb 189, 256 May 26 19:59 001

./bus/usb/004:
total 0
crw-rw-r-- 1 root usb 189, 384 May 26 19:59 001

./bus/usb/005:
total 0
crw-rw-r-- 1 root usb 189, 512 May 26 19:59 001

./disk:
total 0
drwxr-xr-x 2 root root 140 May 26 19:59 by-id
drwxr-xr-x 2 root root 160 May 26 19:59 by-path
drwxr-xr-x 2 root root 120 May 26 19:59 by-uuid

./disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 May 26 19:59 ata-IC35L120AVV207-1_VNVD01G4C73S5D -> ../../hda
lrwxrwxrwx 1 root root 10 May 26 19:59 ata-IC35L120AVV207-1_VNVD01G4C73S5D-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 May 26 19:59 ata-IC35L120AVV207-1_VNVD01G4C73S5D-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 May 26 19:59 ata-IC35L120AVV207-1_VNVD01G4C73S5D-part3 -> ../../hda3
lrwxrwxrwx 1 root root 10 May 26 19:59 ata-IC35L120AVV207-1_VNVD01G4C73S5D-part4 -> ../../hda4

./disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 May 26 19:59 pci-0000:00:0f.1-ide-0:0 -> ../../hda
lrwxrwxrwx 1 root root 10 May 26 19:59 pci-0000:00:0f.1-ide-0:0-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 May 26 19:59 pci-0000:00:0f.1-ide-0:0-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 May 26 19:59 pci-0000:00:0f.1-ide-0:0-part3 -> ../../hda3
lrwxrwxrwx 1 root root 10 May 26 19:59 pci-0000:00:0f.1-ide-0:0-part4 -> ../../hda4
lrwxrwxrwx 1 root root  9 May 26 19:59 pci-0000:00:0f.1-ide-1:0 -> ../../hdc

./disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 May 26 19:59 785463465463066A -> ../../hda1
lrwxrwxrwx 1 root root 10 May 26 19:59 8bf7f391-da46-46cd-b0bc-cc2e03780972 -> ../../hda4
lrwxrwxrwx 1 root root 10 May 26 19:59 984c6661-7e17-45f9-99bd-4d3874656958 -> ../../hda2
lrwxrwxrwx 1 root root 10 May 26 19:59 dfdd8394-1210-4b5a-a537-4809632ca40d -> ../../hda3

./dri:
total 0
crw-rw---- 1 root video 226, 0 May 27 01:00 card0

./fb:
total 0
crw-rw---- 1 root video 29, 0 May 26 19:59 0

./input:
total 0
drwxr-xr-x 2 root root    100 May 26 19:59 by-path
crw------- 1 root root 13, 64 May 26 19:59 event0
crw------- 1 root root 13, 65 May 26 19:59 event1
crw-r--r-- 1 root root 13, 63 May 26 19:59 mice
crw-r--r-- 1 root root 13, 32 May 26 19:59 mouse0

./input/by-path:
total 0
lrwxrwxrwx 1 root root 9 May 26 19:59 platform-i8042-serio-0-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 May 26 19:59 platform-i8042-serio-1-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9 May 26 19:59 platform-i8042-serio-1-mouse -> ../mouse0

./loop:
total 0
brw-rw---- 1 root disk 7, 0 May 26 19:59 0
brw-rw---- 1 root disk 7, 1 May 26 19:59 1
brw-rw---- 1 root disk 7, 2 May 26 19:59 2
brw-rw---- 1 root disk 7, 3 May 26 19:59 3
brw-rw---- 1 root disk 7, 4 May 26 19:59 4
brw-rw---- 1 root disk 7, 5 May 26 19:59 5
brw-rw---- 1 root disk 7, 6 May 26 19:59 6
brw-rw---- 1 root disk 7, 7 May 26 19:59 7

./mapper:
total 0
crw-rw---- 1 root root 10, 62 May 26 19:59 control

./misc:
total 0
crw-rw---- 1 root root 10, 175 May 26 19:59 agpgart
crw-rw---- 1 root root 10,   1 May 26 19:59 psaux
crw-rw-r-- 1 root root 10, 135 May 26 19:59 rtc

./pts:
total 0
crw--w---- 1 root tty 136, 0 May 27 12:30 0

./rd:
total 0
brw-rw---- 1 root disk 1,  0 May 26 19:59 0
brw-rw---- 1 root disk 1,  1 May 26 19:59 1
brw-rw---- 1 root disk 1, 10 May 26 19:59 10
brw-rw---- 1 root disk 1, 11 May 26 19:59 11
brw-rw---- 1 root disk 1, 12 May 26 19:59 12
brw-rw---- 1 root disk 1, 13 May 26 19:59 13
brw-rw---- 1 root disk 1, 14 May 26 19:59 14
brw-rw---- 1 root disk 1, 15 May 26 19:59 15
brw-rw---- 1 root disk 1,  2 May 26 19:59 2
brw-rw---- 1 root disk 1,  3 May 26 19:59 3
brw-rw---- 1 root disk 1,  4 May 26 19:59 4
brw-rw---- 1 root disk 1,  5 May 26 19:59 5
brw-rw---- 1 root disk 1,  6 May 26 19:59 6
brw-rw---- 1 root disk 1,  7 May 26 19:59 7
brw-rw---- 1 root disk 1,  8 May 26 19:59 8
brw-rw---- 1 root disk 1,  9 May 26 19:59 9

./shm:
total 0

./snd:
total 0
crw-rw---- 1 root audio 116, 8 May 26 19:59 controlC0
crw-rw---- 1 root audio 116, 7 May 26 19:59 pcmC0D0c
crw-rw---- 1 root audio 116, 6 May 26 19:59 pcmC0D0p
crw-rw---- 1 root audio 116, 5 May 26 19:59 pcmC0D1c
crw-rw---- 1 root audio 116, 4 May 26 19:59 pcmC0D1p
crw-rw---- 1 root audio 116, 3 May 26 19:59 seq
crw-rw---- 1 root audio 116, 2 May 26 19:59 timer

./sound:
total 0
crw-rw---- 1 root audio 14, 12 May 26 19:59 adsp
crw-rw---- 1 root audio 14,  4 May 26 19:59 audio
crw-rw---- 1 root audio 14,  3 May 26 19:59 dsp
crw-rw---- 1 root audio 14,  0 May 26 19:59 mixer
crw-rw---- 1 root audio 14,  1 May 26 19:59 sequencer
crw-rw---- 1 root audio 14,  8 May 26 19:59 sequencer2

./tts:
total 0
lrwxrwxrwx 1 root root 8 May 26 19:59 0 -> ../ttyS0
lrwxrwxrwx 1 root root 8 May 26 19:59 1 -> ../ttyS1
lrwxrwxrwx 1 root root 8 May 26 19:59 2 -> ../ttyS2
lrwxrwxrwx 1 root root 8 May 26 19:59 3 -> ../ttyS3
thumper dev #                                                 
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10751
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun May 27, 2007 5:55 pm    Post subject: Reply with quote

I haven't had a parallel printer hooked up for a while and, as a result, my current highly customized kernel didn't have the parallel port drivers built. As an experiment, I've built them as modules and rebooted. lsmod now shows
Code:
parport_pc             19684  0
parport                18816  1 parport_pc
among other things, but I don't have any /dev/lp? devices either.

There is a rule in 50-udev.rules that should make the device node:
Code:
rules:KERNEL=="parport*",       NAME="%k", GROUP="lp"
which also shows that the device would be /dev/lp? if it were to show up at all. Apparently the driver is not passing a parallel port event to udev, and this has gotten me wondering. Do you actually have a parallel printer hooked up to your parallel port (I don't) and, if so, is it "on line"? It's possible that the parallel port driver is detecting that no printer is out there and is suppressing the normal event.

- John
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10751
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 28, 2007 3:51 am    Post subject: Reply with quote

Okay, I got it wrong on my computer and I suspect that this might be what's going on on your computer as well. Three drivers are necessary to get a /dev/lp? device node: the two already mentioned, plus "lp". In menuconfig, it is
Code:
    -> Device Drivers
      -> Character devices
        -> Parallel printer support

Kind of unobvious. I found this post that explains more about it. Gunther, I think that enabling the build of this last device driver (either built-in to the kernel or as a module) will solve your problem.

- John
Back to top
View user's profile Send private message
gunther222
n00b
n00b


Joined: 06 Sep 2006
Posts: 19

PostPosted: Mon May 28, 2007 5:02 am    Post subject: Reply with quote

john_r_graham wrote:

Kind of unobvious. I found this post that explains more about it. Gunther, I think that enabling the build of this last device driver (either built-in to the kernel or as a module) will solve your problem.



Ding! Ding! Ding! Give that man a cigar. Nice catch. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum