Canon LBP3300 usb port keeps on changing

Following the guide https://wiki.archlinux.org/index.php/Canon_LBP2900 , I have LBP3300 worked fine.
However I get 2 problems
1. After a some kernel upgrades (which is relatively often in Arch Linux) the port keeps on changing (/dev/usb/lp0, /dev/usb/lp1) which make udev rules did not work properly.
2. "/etc/rc.d/ccpd restart" does not work properly
So I write this scripts /home/share/bin/cannon-lbp3300-starter
#!/bin/bash
## restart the cannon lbp3300 properly
if [ $UID != 0 ]; then
echo "This command should be run as root!"
echo "Example, in /etc/udev/rules.d/85-canon-capt.rules:"
echo 'KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="add", SYSFS{idVendor}=="04a9", RUN+="/bin/bash /home/share/bin/cannon-lbp3300-starter"'
echo 'KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/bash /etc/rc.d/ccpd stop"'
exit 1
fi
## find the USB device
USBPORT=$(echo /dev/usb/lp* | head -n 1)
## exit if port not found
if [ x$USBPORT == x ]; then
echo "USB port not found!"
exit 1
fi
## everything looks fine
## name of the printer device (should be correctly setup in cups)
PRTNAME=LBP3300
## set the PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
## stop the cups
/etc/rc.d/cups stop
## stop the ccpd completely
/etc/rc.d/ccpd stop
killall ccpd
killall -9 ccpd
## start the cups backend again
/etc/rc.d/cups start
## clear printer queue
lprm -PLBP3300 -
## remake the cannon printer
ccpdadmin -x $PRTNAME
rm /var/ccpd/fifo0
mkfifo /var/ccpd/fifo0
chown lp:lp /var/ccpd/fifo0
ccpdadmin -p $PRTNAME -o $USBPORT
## start the ccp backend again
/etc/rc.d/ccpd start
## done. hopely things are really OK now

I also have this problem with my brand new Sony Xperia Z3 Compact :/
- The unit is almost only 2 weeks old, but I have just been in the store where I did buy it, and have now being told that it is being sent to Sony to get fixed. So hopefully then I get it back, I don't see this problem anymore
I do however think, that Sony should try to look into this problem, so no customers will get a faillure in their devices anymore, as being described. I have just been unlucky in this accidentally problem. Besides that, I'am very happy for this top modern Android phone from Sony. Keep up the good work Sony!
- Nicklas Skov Andersen

Similar Messages

  • USB Port keeps crashing my portable storage devices

    Ok no matter if it's an external hard drive or a usb flash drive, while transferring data my usb port will just die. The Device Removal window will pop up. If it's my flash drive then the light will keep flashing repeatedly. For the external portable hard drive i just keep hearing the disk start and stop spinning simultaneously. Anyone know how I would go about fixing this problem?
    Thanks,
    Dak

    Hi Dave, not long winded at all.
    I think you'vve narrowed it down to the OS & Install.
    Does the Retrospect Installer have an uninstaller?
    Might try AppDelete...
    http://www.apple.com/downloads/macosx/systemdiskutilities/appdelete.html
    Even if you have to Install Retrospect again to be sure of finding it's files.
    What Format is the External?
    Also, WD MyBooks are not a good choice for PPC Macs...
    http://discussions.apple.com/thread.jspa?threadID=1543028
    http://forums.bombich.com/viewtopic.php?t=11152
    Message was edited by: BDAqua

  • USB port keeps shocking me!

    Ok, wondering if anyone has this issue, and has found a solution.
    From time to time when I plug a usb or firewire cable into the front ports of the computer, I get shocked. Then none of my front or rear ports work. Which means I have to hold down the power switch to shut off the computer because my keyboard and mouse don't work, then I restart and the problem is gone. This has happened about 10 times now over the past 2 months.
    At first I thought it was an issue with the firewire cable I was plugging in for my video camera, then I thought is was maybe me and static or something...but now it's happening with different usb cables.
    Any advice, or solutions out there?

    I am using a serge protector, but none of my wall outlets are 3 pronged.
    I have a 2 prong adapter that is grounded with a screw. (like this, http://base0.googlehosted.com/basemedia?q=http://ecx.images-amazon.com/images/I/41KO2OkFTnL._SL500_AA300.jpg&size=19&dhm=714138a5&hl=en)
    I'm in the US, and I'm guessing the wiring is around 50 years old.

  • USB port keeps finding a "new" phone

    Hi guys,
    I just installed the latest PC Suite (v 6.83.14.1) and installed new firmware on my Nokia N91 (V.2.29.008) and ran into a new problem (why am I not surprised...).
    Problem:
    When I connect my Nokia N91 with the USB cable, my PC (running XP) discovers the new hardware and I get an USB connected icon in my XP toolbar.
    It then _keeps_on_ "discovering new hardware", although I have my N91 connected, meaning that I can't disconnect it through the usual means. I can't even use the Nokia PC Suite to "officially" connect it (using the "Get Connected!" button) since PC Suite freezes when I try.
    I can browse my phone using the PC Suite File manager and Music Manager (**bleep**py program that it is...).
    As a results, this constant "New USB hardware found" wastes 40-90% of PC CPU resources.
    What I have tried>
    I've uninstalled the PC suite, made sure I've downloaded the newest PC suite. I've ran the PC suite Cleaner and I've restarted my PC 5-6 times. Still the same problem whenever I connect my Nokia N91.
    Any suggestions on what I can try?
    Any suggestions are helpful!
    ps any idea how I sort my pictures in folders in my phone image gallery? right now it shows all the pictures I have in my phone, despite the fact that the images are transferred in separate folders from my PC -> forever to open the image gallery...

    Hi, I have encountered the same problem an solved it as followes: (Sorry, Since I am German, using german Windows XP Home I am not sure, if the translations of the Windows-Menues are correct. But I guess You can get to them if you understand the context)
    The Problem is in the "Windows Device Managers Menue(?)". Open it through the "System Control Menue(?)"
    I found that under the Menue "Mobile Devices" my Phone "Nokia 6131" was disabled, although the Nokia PC Suite and all related features were working perfectly (except for the Message "New Device foung.." appearing every few seconds).
    Click on the right mouse button an select "reactivate". An error message occured saying something like "a problem encountered...." ignore the message an reactivate anyhow. After that the PC and the Phone worked perfectly an the permanent "... found an new device"-message (slowing down the system permanently) disappeared.
    So try it out, that's the way I solved it!
    Sorry for my English, bye

  • Usb ports going out

    My usb ports keep randomly ejecting anything plugged into them.  How do I replace/repair the usb ports in my Early 2008 MacBook Pro 15 inch?  I have already gone to System Preferences and unchecked the option to sleep the hard disks when the unit goes to sleep.

    As Dale says:
    Permissions you can ignore on 10.5 and 10.6:
    http://support.apple.com/kb/TS1448?viewlocale=en_US
    Using 'should be -rw-r--r-- , they are lrw-r--r--' as an example, you will see the that the permissions are not changed, but the | indicates a different location. This is because an update to Leopard changed the location of a number of system components.

  • USB ports no longer working after 10.4.7 update

    Hi, I ran the latest update (10.4.7) on my machine which is a G4 Quicksilver PowerPC. I have an Apple 17 inch flat screen display that has two USB ports attached. I had my keyboard plugged into one of the USB ports on my flat screen. After the update both USB ports on the flat panel no longer work! I can use the USB ports directly off the G4 itself and it works fine. Has anyone seen this issue? I guess I am stuck now until Apple decides to fix this?
    Thanks,
    Rob

    In my experience, the USB ports on the back of an Apple monitor can be re-enabled simply by unplugging and plugging back in the device in question. You might also check to see that the USB Monitor hub shows up in System Profiler. My Apple monitor USB ports experienced no changes in moving to 10.4.7.
    bd

  • How to view usb port share on a netgear router wndr3700?

    How to view usb port share on a netgear router wndr3700?

    @billboddy ,
    Hello and welcome to the HP support forums.  Unfortunately to change your USB ports requires a change in motherboard.  To have that done would require a repair.  
    Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Thank you again for posting and have a great day.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Some USB ports no longer working after installing Mountain Lion?

    Some of my USB ports are no longer working after installing Mountain Lion onto my 21' 2011 iMac. I used to plug in my iphone 4S and charge it, or transfer files onto my iPad but none of the ports no longer work to do this. Funnily enough, other equipment plugged into the works. I have tried changing the cable. Any ideas?

    In my experience, the USB ports on the back of an Apple monitor can be re-enabled simply by unplugging and plugging back in the device in question. You might also check to see that the USB Monitor hub shows up in System Profiler. My Apple monitor USB ports experienced no changes in moving to 10.4.7.
    bd

  • Computer keeps restarting when changing connections to a USB port

    My 2008 mac pro keeps restarting at random times, but also whenever I change the cable connected to a USB port at the back of the machine.
    Any ideas? Thanks

    First guess, don't use that cable, get a new one, it may be causing electrical problems of some type.

  • I'm using windows 7, trying to download pictures from my canon 5d mark 2, but when I click import, the camera does not appear. I've tried changing USB ports, switching the camera on and off, trying a different USB cord, tried a different camera, but nothi

    I'm using windows 7, trying to download pictures from my canon 5d mark 2, but when I click import, the camera does not appear. I've tried changing USB ports, switching the camera on and off, trying a different USB cord, tried a different camera, but nothing. Please help! This problem only started a few days ago on lightroom 3.6, upgraded to 5.5, but still not working. Thanks.

    Can you see the Canon EOS camera and image files using Windows Explorer? If not disconnect the camera, close all applications' shutdown Windows, and TURN OFF the power to your system and ALL connected devices. Disconnect all phones, iPads, and any other USB devices and restart your system.
    Retry Windows Explorer and see if your camera is showing. If so try LR import again.

  • I have an iMac and also a MacBook. All of a sudden my iMac does not recognise my Canon 500D camera even though I have downloaded 1000s of photographs from it via the USB port.  The MacBook recognises the camera immediately. Can anyone help?

    I have an iMac and also a MacBook. All of a sudden my iMac does not recognise my Canon 500D camera even though I have downloaded 1000s of photographs from it via the USB port.  The MacBook recognises the camera immediately. Can anyone help?

    Thank you for your reply.  I know I can use a card reader however I don't see why I should when importing directly from my camera has worked reliably for years.  The process I use is simply connecting the digital output from my camera to the USB port on the iMac, which has previously automatically opened iPhoto ready for the import.  Now all of a sudden my iMac does not recognise the camera.  However if I connect in the same way to my MacBook then iPhoto opens automatically on the MacBook, recognises the camera and is ready for importing.  So whilst I know I can use a reader, or my MacBook I want to use my iMac in the same way that I have for years.  I can only assume that the settings on the iMac may have changed, but I cannot verify this.

  • Cannot print from Canon MF4412 through USB port of Time Capsule

    Hi everyone,
    I've recently purchased a new Canon imageCLASS MF4412 and cannot print while connected to the USB port of the time capsule. I can print and scan perfectly when connected directly to the mac.
    This is the exact steps I took:
    1.After connecting the usb cable to the back of Time capsule, I go to the sys pref pane to add a printer.
    2.It shows up as a 'Bonjour' and I had to manually select the driver.
    3.It added fine and I thought everything was setup.
    4.However, when i go to print something, there's an error. "Canon URF II Printer Driver"
    "Cannon communicate with the printer, or the printer is not supported. If the printer is supported, check the printer connection and add it again. Then, if the Print Dialog box has a [Printer Info] button, acquire the printer information: 10322"
    Anybody know of a solution?
    Thanks.

    I got a similar problem on MF4412, the canon 4412 is connected the newest airport extreme , it get configured. But I got same problem described about on my leopard, lion, even worst on iOS, it does not find the printer. But I got a Windows 7 starter NetBook ...haha it works, I can print it from Windows. what is the problem then,it works on Windows but not Apple's OS??????

  • Printer connected to Airport Express USB port won't come online after firmware 7.6 upgrade. I've tried backing up to 7.5.2, but it still shows offline. It is a Canon iP4600 printer and I'm running OS 10.6.8. I've powered everything down and still no go.

    Printer connected to Airport Express USB port won't come online after firmware 7.6 upgrade. I've tried backing up to 7.5.2, but it still shows offline. It is a Canon iP4600 printer and I'm running OS 10.6.8. I've powered everything down and still no go. I've connected the printer directly to my MacBook's USB port and it works fine. Any suggestions?

    I have an iP4500, which I assume is quite similar to your model.
    I had to reset the printing system to get things printing again. Only takes a few minutes and no problems at all since I did it a week ago or so.
    Plug the printer into the USB port on the Express and restart the printer.
    Open System Preferences (gear icon on the dock) and then open Print and Fax
    Right-Click in the printer area on the left and select Reset Printing System
    Then click the + (plus) button at the bottom of the printer list to install the printer again.

  • Keep getting a "the disk you inserted was not readable by this computer" when I insert my printer cord into either USB port.  Recently installed a portable hard drive for back up purposes.  Related?

    Keep getting a "the disk you inserted was not readable by this computer" when I insert my printer cord into either USB port.  Recently installed a portable hard drive for back up purposes.  Related?

    Does your printer have a slot for an SD card?  Is there are card in the slot?  If so, the computer is trying to mount that card as an external device.  It might be corrupted so that it can't be read.

  • I keep getting error 3004 when i try restoring and updateing my iphone 4 to iOS 7 i did everything 1. flushed dns 2. edited hosts 3. updated itunes and downloaded new one 4. switched usb ports 5. disabled antivirus 6. enabled ports 80 and 443 7. disabled

    I keep getting error 3004 when i try restoring and updateing my iphone 4 to iOS 7 i did everything 1. flushed dns 2. edited hosts 3. updated itunes and downloaded new one 4. switched usb ports 5. disabled antivirus 6. enabled ports 80 and 443 7. disabled firewall 8. even tryed putting mobile in DFU mode to restore it not of this worked so please help me

    please replyyy i'm stuck on this like whole week

Maybe you are looking for