/dev/usb is a character device instead of a directory

Patrick Boutilier boutilpj at ednet.ns.ca
Sun Jan 30 12:52:13 UTC 2005


Felipe Alfaro Solana wrote:
> Hello,
> 
> I have just upgraded an old Fedora Core 2 installation to Fedora Core 3. 
> Everything seems to be working fine, except that after upgrading, 
> "/dev/usb" is no longer a directory containing device files, but is now 
> a normal character device file:
> 
> # ls -l /dev/usb
> crw-------  1 root root 180, 0 ene 30 12:28 /dev/usb
> 
> Don't know what's going on here, but this has some nasty consequences, 
> like UDEV being unable to create the device file for my USB printer into 
> "/dev/usb/lp0".
> 
> I have searched in Google for similar reports but couldn't find anything 
> related. Could anyone throw some light at this?

Not sure why /dev/usb is being created but here is a workaround:

1. Turn off printer
2. rm /dev/usb
3. mkdir /dev/usb
4. Turn on printer (/dev/usb/lp0 should be created automatically)
5. cp -a /dev/usb /etc/udev/devices/.

> 
> Thanks!
> 




More information about the fedora-list mailing list