Package: usb-modeswitch Version: 1.2.1+repack0-1+b1 After upgrading to usb-modeswitch 1.2.1+repack0-1+b1, my HP LaserJet Professional P1102 stopped working. After about an hour of fruitless trial- and-error, I finally noticed that in the kernel log, it said
[ 3289.344052] usb 1-1: new high speed USB device number 10 using ehci_hcd [ 3289.477653] usb 1-1: New USB device found, idVendor=03f0, idProduct=002a [ 3289.477661] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3289.477667] usb 1-1: Product: HP LaserJet Professional P1102 [ 3289.477672] usb 1-1: Manufacturer: Hewlett-Packard [ 3289.477677] usb 1-1: SerialNumber: 000000000Q82BV4ASI1c [ 3289.478742] scsi7 : usb-storage 1-1:1.0 [ 3290.485813] scsi 7:0:0:0: CD-ROM HP Smart Install 1.0 PQ: 0 ANSI: 2 [ 3290.515967] sr2: scsi3-mmc drive: 0x/0x caddy [ 3290.516360] sr 7:0:0:0: Attached scsi CD-ROM sr2 and then nothing. I then enabled logging for usb_modeswitch (see the output below). Finally I downloaded an old version (1.2.0+repack0-1) from http://snapshot.debian.org/, and now the printer is working again. The usb-modeswitch-data package was left unchanged. ============= usb_modeswitch log from attaching the printer === USB_ModeSwitch log from Tue Jan 17 19:59:22 CET 2012 Raw args from udev: /1-1:1.0 Using global config file: /etc/usb_modeswitch.conf Using top device dir /sys/bus/usb/devices/1-1 ---------------- USB values from sysfs: manufacturer Hewlett-Packard product HP LaserJet Professional P1102 serial 000000000Q82BV4ASI1c ---------------- bNumConfigurations is 1 - don't check for active configuration Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz SCSI attributes not needed, moving on checking config: pack/03f0:002a ! matched. Reading config data Extracting config 03f0:002a from collection /usr/share/usb_modeswitch/configPack.tar.gz Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1 Command to be run: usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 10 -v 03f0 -p 002a -f $configBuffer Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are to be expected in the process) -------------------------------- Reading long config from command line * usb_modeswitch: handle USB devices with multiple modes * Version 1.2.1 (C) Josua Dietze 2011 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x03f0 DefaultProduct= 0x002a TargetVendor= not set TargetProduct= not set TargetClass= 0x07 TargetProductList="" DetachStorageOnly=0 HuaweiMode=0 SierraMode=0 SonyMode=0 QisdaMode=0 GCTMode=0 KobilMode=0 SequansMode=0 MobileActionMode=0 CiscoMode=0 MessageEndpoint= not set MessageContent="555342431234567800000000000006d0000000000000000000000000000000" NeedResponse=1 ResponseEndpoint= not set InquireDevice disabled Success check enabled, max. wait time 20 seconds System integration mode enabled Use given bus/device number: 001/010 ... Looking for default devices ... bus/device number matched searching devices, found USB ID 03f0:002a found matching vendor ID found matching product ID target class 07 not matching No devices in default mode found. Nothing to do. Bye. -------------------------------- (end of usb_modeswitch output) Now checking for newly created ports ... no new ports found Found 03f0:002a in bind_list All done, exiting -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org