Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No serial in /dev with udev
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
dargosch
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 101

PostPosted: Fri Jan 26, 2007 10:07 am    Post subject: No serial in /dev with udev Reply with quote

Hi,

I am having a problem with my serial ports under udev: The problem is illustrated by the display below:

Code:

theodor dev # ls ttyS* -al
lrwxrwxrwx  1 root root 5 26 jan 09.09 ttyS0 -> tts/0
lrwxrwxrwx  1 root root 5 26 jan 09.09 ttyS1 -> tts/1
lrwxrwxrwx  1 root root 5 26 jan 09.09 ttyS2 -> tts/2
lrwxrwxrwx  1 root root 5 26 jan 09.09 ttyS3 -> tts/3
theodor dev # ls tts/* -al
lrwxrwxrwx  1 root root 8 26 jan 09.09 tts/0 -> ../ttyS0
lrwxrwxrwx  1 root root 8 26 jan 09.09 tts/1 -> ../ttyS1
lrwxrwxrwx  1 root root 8 26 jan 09.09 tts/2 -> ../ttyS2
lrwxrwxrwx  1 root root 8 26 jan 09.09 tts/3 -> ../ttyS3


As you can imagine, trying to sync my old serial Palm pilot using this setup is not very easy. How do I fix it?

Code:

theodor dev # uname -a
Linux theodor 2.6.14-gentoo-r5 #8 SMP PREEMPT Fri Aug 18 19:25:56 CEST 2006 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux
theodor dev # lsmod
Module                  Size  Used by
appletalk              34992  2
psnap                   3972  1 appletalk
llc                     6804  1 psnap
lp                     10500  0
rfcomm                 38168  2
l2cap                  24448  5 rfcomm
bluetooth              46724  4 rfcomm,l2cap
parport_pc             25796  1
parport                33352  2 lp,parport_pc
irtty_sir               6528  0
sir_dev                15308  1 irtty_sir
irda                  121400  1 sir_dev
ipw2100                82992  0
ieee80211              33352  1 ipw2100
ieee80211_crypt         5888  1 ieee80211
snd_intel8x0           31072  0
snd_ac97_codec         94076  1 snd_intel8x0
snd_ac97_bus            2944  1 snd_ac97_codec
i2c_i801                8716  0
i2c_core               18944  1 i2c_i801
ehci_hcd               32904  0
usbhid                 29444  0
uhci_hcd               31760  0
pci_hotplug            12036  0
joydev                  9152  0
snd_seq_oss            33408  0
snd_seq_midi_event      6912  1 snd_seq_oss
snd_seq                51984  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7948  2 snd_seq_oss,snd_seq
snd_pcm_oss            49568  0
snd_pcm                83716  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              22532  2 snd_seq,snd_pcm
snd_page_alloc          9480  2 snd_intel8x0,snd_pcm
snd_mixer_oss          18176  1 snd_pcm_oss
snd                    49252  9 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8672  1 snd
pwc                    95008  0
usbcore               110336  5 ehci_hcd,usbhid,uhci_hcd,pwc
videodev                8320  1 pwc
v4l2_common             5760  1 pwc
radeon                104320  0
drm                    65556  1 radeon
intel_agp              21148  1
agpgart                30544  2 drm,intel_agp
ide_cd                 38788  0
cdrom                  38048  1 ide_cd



Any helpful comments are much appreciated.

/Fredrik
_________________
Registered Linux user #163029 http://counter.li.org/
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/
Back to top
View user's profile Send private message
reeder
n00b
n00b


Joined: 02 Apr 2003
Posts: 45
Location: Plano, TX

PostPosted: Thu Feb 15, 2007 4:33 pm    Post subject: Reply with quote

That's odd. I have actual devices in /dev for ttyS*
Code:
wprgen2@adhara ~ $ ls -l /dev/ttyS*
crw-rw---- 1 root uucp 4, 64 2007-02-15 10:06 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 2007-02-14 10:26 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 2007-02-14 10:26 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 2007-02-14 10:26 /dev/ttyS3
My PDA is an old Palm VIIx and also uses a serial cradle. I use jpilot, too.

One wrinkle is that I just upgraded my amd64 system from udev-087-r1 and coldplug to udev-104-r11 (and no coldplug). This upgrade broke my sync because /dev/ttyS0 was now owned by root and in group uucp with permissions of 440 (rw-rw----). Since I wasn't in the uucp group it was failing. I just added myself to the uucp group (and logged out and back in to make it take effect) and all was happy again.

So check your version of udev/coldplug to see what's up with creating those devices.
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