willie Posted June 8, 2005 Report Share Posted June 8, 2005 I'm running Mandriva 2005 LE for my IRDA i need ircomm0 to be in /dev but it isn't there. With Mandriva 10.0 is was installed automaticly in /dev If i try to load de module i get this: [willie@localhost ~]$ su Password: [root@localhost willie]# modprobe ircomm0 FATAL: Module ircomm0 not found. [root@localhost willie]# insmod /dev/ircomm0 insmod: can't read '/dev/ircomm0': No such file or directory [root@localhost willie]# What am i doing wrong :unsure: Willie Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 8, 2005 Report Share Posted June 8, 2005 modprobe ircomm You may have to add ircomm to /etc/modprobe.preload to get your device seen in /dev after a reboot. Quote Link to comment Share on other sites More sharing options...
willie Posted June 8, 2005 Author Report Share Posted June 8, 2005 Can i as root just copy ircomm0 just there or do i need a command in the console. Willie Quote Link to comment Share on other sites More sharing options...
willie Posted June 8, 2005 Author Report Share Posted June 8, 2005 No that doesn't work if i do it with nvram (see other topic) it works. /etc/modprobe.preload hw_random intel-agp ircomm nvram The strange thing is that in modprobe.devfs the next lines are present: # Irda devices alias /dev/ircomm* ircomm-tty # include user aliases include /etc/modprobe.conf Willie Quote Link to comment Share on other sites More sharing options...
willie Posted June 8, 2005 Author Report Share Posted June 8, 2005 Oke i do [willie@localhost ~]$ su Password: [root@localhost willie]# cd /dev [willie@localhost ~]$ su Password: [root@localhost dev]# makedev ircomm [willie@localhost ~]$ su Password: [root@localhost dev]# modprobe ircomm and there is: /dev/ircomm/ircomm0 to ircomm9 I restart my computer, and /dev/ircomm is gone, away Where do i go wrong Willie Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 9, 2005 Report Share Posted June 9, 2005 Have you just done the modprobe ircomm, without actually doing the makedev first? Make sure /dev is clear of ircomm (which it seems to do after reboot). Then type modprobe ircomm (need to be root for this - su and root password). Then type lsmod | grep ircomm and see if it lists the device. If so, then add ircomm to modprobe.preload, or if you say this didn't work before, add to modprobe.conf instead. Quote Link to comment Share on other sites More sharing options...
willie Posted June 9, 2005 Author Report Share Posted June 9, 2005 I'll try it when i'm at home, i'm at work now. Let you know if it works Willie Quote Link to comment Share on other sites More sharing options...
willie Posted June 24, 2005 Author Report Share Posted June 24, 2005 The problem is solved i put the line ircomm-tty in /etc/modprobe.preload. Now i have ircomm0 - ircomm30 The tty was the clue. Willie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.