You are not logged in.
Pages: 1
I have a script which works on my other linux computers that looks for a "printer"(actually a xyron wishblade) as a device inside /dev/usb, but my arch setup is the onl one which it won't work, which seems to be related to the fact there is not /dev/usb folder. Is there a way to "get it back" with a config file or something or is there another place I should point the script at?
Offline
Would /dev/usb be the same as /dev/bus/usb? If so, you should just be able to create a symlink.
Offline
No, /dev/bus/usb has subfolders. /dev/usb has just devices, each named for what it is. Specifically, the script is looking for ones starting "lp*", which are ones detected as printers.
Offline
I'm not sure what might have been responsible for maintaining /dev/usb in the past. A solution would be to create a udev rule to create a symlink between usb/lp0 and the actual device. This should be a good starting place.
Offline
'mkdir /dev/usb' as root?
Offline
'mkdir /dev/usb' as root?
Are you nuts? /dev isn't a place for directories and files!!! It is a place for devices....
@OP /dev/usb/lp0 is created as a result of loading usblp. Likely you have usblp blacklisted because cups 1.4.xx doesn't work with usblp unless if compiled it without usblib support.
Offline
@pyther
OK, 'mkdir' was just plain stupid, but what about MAKEDEV, mknod or some other magic incantation?
http://www.linuxforums.org/forum/redhat … post161982
Offline
So is there a way I can safely either get usblp and cups to work(and won't break on upgrades) or is there a way to rewrite the script using usblib? Can usblp still run for those things that use it and cups just use usblib?(both running)
Offline
Here's the exact package:
http://aur.archlinux.org/packages.php?ID=30433
The package is just one python script, one glade file, and some pngs. It searches for cutters in /dev/usb/lp*. I tried redirecting it to /dev/bus/usb/007/005(I found this location using lshal), but it didn't seem to work.
Offline
I can't figure out what that script does, but take a look at this package: http://aur.archlinux.org/packages.php?ID=35029 it'll use usblp instead of libusb
Offline
Pages: 1