[regression] some usb devices don't works after upgrade to intrepid

Bug #279519 reported by Luca Ferretti
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Ubuntu release: 8.10
Package version: dunno, something related to USB, maybe kernel

I've upgrade from hardy to intrepid (beta). Now some USB connected devices no longer works as in stable release.

 ** WebCam **
Issue: the webcam seems recognized, but launching cheese no video is showed (only the "test")

/var/log/messages related entries:
[ 3180.712307] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 3180.871934] usb 2-2: configuration #1 chosen from 1 choice
[ 3182.323126] Linux video capture interface: v2.00
[ 3182.413670] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
[ 3182.421342] usb 2-2: SN9C10[12] PC Camera Controller detected (vid:pid 0x0C45:0x602C)
[ 3182.525911] usb 2-2: OV7630 image sensor detected
[ 3182.649887] usb 2-2: Initialization succeeded
[ 3182.651950] usb 2-2: V4L2 device registered as /dev/video0
[ 3182.651961] usb 2-2: Optional device control through 'sysfs' interface disabled
[ 3182.657436] usbcore: registered new interface driver sn9c102

** Bluetooht dongle **
Issue: plugging the dongle the applet is showed in notification area, and a new tab for adapter appears in preferences dialog, but neither the file sending to a device yet bonded on hardy nor the bonding of new devices can be performed.

/var/log/messages related entries:
[ 3140.052101] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 3150.219275] usb 2-2: configuration #1 chosen from 1 choice
[ 3151.622242] Bluetooth: Generic Bluetooth USB driver ver 0.3
[ 3151.624979] usbcore: registered new interface driver btusb

** MTP audio player **
If I'm right, on Intrepid I should be able to manage MTP devices both in computer:// location (through gvfs gphoto backend) and in Rhythmbox (libmpt, as well as in current Hardy). The computer:// location totally ingores the connected device. Rhythmbox takes a long long time to start (could be useful a `rhythmbox --debug` output?) , shows the device on left pane, but can't list files stored on audio player. I tried to copy a file over it, the action was "performed" on rhythmbox ui, but no files was on player when I restarted it.
Morever, unplugging the player and pluggin it again, there is a strange behavior. My mtp player has two "modes": when connectet to a computer USB port, it shows the "USB connected" message on display and can both recharged and synchronized; when connected to a power adepter shows "Charging" message, and of course can't be synchronized. Only on first plug the device goes in proper mode, subsequent re-plugs will put it in only-charge mode.
Finally it seems to "taint" the USB subsystem: plugging a working mass storage pendrive after the MTP player, the automount no longer works.

/var/log/messages related entries on first plug:
[ 3722.416084] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 3722.595940] usb 2-2: configuration #1 chosen from 1 choice

/var/log/messages on second MTP device plug (yes, 4 new device messages, only one plug action):
[ 4186.796080] usb 2-2: new full speed USB device using uhci_hcd and address 6
[ 4217.340086] usb 2-2: new full speed USB device using uhci_hcd and address 7
[ 4247.888143] usb 2-2: new full speed USB device using uhci_hcd and address 8
[ 4258.408079] usb 2-2: new full speed USB device using uhci_hcd and address 9

/var/log/messages on Mass Storage plug after MTP (yes, 4 new device messages, only one plug action):
[ 4707.724074] usb 2-2: new full speed USB device using uhci_hcd and address 10
[ 4738.268173] usb 2-2: new full speed USB device using uhci_hcd and address 11
[ 4768.812084] usb 2-2: new full speed USB device using uhci_hcd and address 12
[ 4779.332077] usb 2-2: new full speed USB device using uhci_hcd and address 13

** Other USB stuff **
Keyboard and mouse works fine. Printer works fine. Same for mass storage perdrive, well, if I plug them before the mtp player.

Deeper checks needed?

Revision history for this message
Luca Ferretti (elle.uca) wrote :

Another test with printer (HP C3170): the MTP audio player "taints" the printer too, preventing to print, scan and use the card reader (C3170 is an all-in-one). A reboot make all work again.

Revision history for this message
Leonardo Gaudino (gaudino110) wrote :

A similar problem with my built-in notebook webcam (Asus A8Js), which worked on 8.04.

lsusb return:
Bus 005 Device 004: ID 0ac8:0321 Z-Star Microelectronics Corp. USB 2.0 Webcam

Cheese shows only test. Mplayer (mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video0) shows something captured by the webcam, but all green, "double", and flickering: seems The Matrix with hallucination.
/var/log/messages attached.

Revision history for this message
Luca Ferretti (elle.uca) wrote :

Small update on MTP portable mp3 player: the issue seems unrealated with kernel, most problably something in libmtp or libgphoto or gvfs.

I suggest so 'cause I logged in my jhbuild GNOME sandbox[1], it tryed to connect my MPT player, a Samsung YP-T10, and it works, either in rhythmbox either in nautilus/gvfs.

I'm specifying it's a Samsung YP-T10 'cause in jhbuild sandbox I'm using libmtp 0.3.3 installed under /opt/gnome2; this version has a fix for this specific model. Ubuntu instead provides libmtp 0.3.0. I think could be a good idea update this package in ubuntu due to the lot of fixes (creative players too, see[2])

However, gvfs in jhbuild sandbox is linked against libgphoto provided by Ubuntu system. This is strange: both gvfs installed (/usr from ubuntu packages and /opt/gnome2 from svn) should be able to recongnize, mount and manage the player, but only the jhbuild sandbox works (any ubuntu-only patch against gvfs?)

I'll attach a `rhythmbox --debug` dump from both version. In the meantime, could someone try to provide an Ubuntu libmptp package updated to latest version?

[1] http://live.gnome.org/Jhbuild
[2] http://libmtp.cvs.sourceforge.net/viewvc/libmtp/libmtp/ChangeLog?view=markup

Revision history for this message
Luca Ferretti (elle.uca) wrote :

A little note about my previous message: unpluggin the MPT player and pluggin in again while in jhbuild session (/opt/gnome2), the device goes in proper "USB conncted" mode too, and don't "taint" the USB subsystem as in ubuntu (/usr). So any related issue seems fixed just using a different libmtp or gvfs...

Revision history for this message
loko (arph) wrote :

I confirm the bug, my webcam also does not work:

Bus 005 Device 004: ID 0ac8:0321 Z-Star Microelectronics Corp. USB 2.0 Webcam

Revision history for this message
Luca Ferretti (elle.uca) wrote :

Update on Ubuntu 8.10 RC - MTP player

## MTP player ##
Currently my Samsung YP-T10 is recognized by Rhythmbox, i'm able to copy music on it, remove files, and no longer "taints" the USB subsystem (I can un-plug it and re-plug, and it's in "USB Connected" mode again). I didn't tried to copy music files from player to Rhythmbox library.

Remaining issues are:
 * gvfs' gphoto2 backend should recognize and mount it (should I file this as separate bug?)
 * Rhythmbox lists video files (I'll file as separate bug).

Of course, could be interesting test the system with latest libmtp...
Do you need `lsusb -v` and `lshal` output?

## WebCam ##
Partially working.
 * strange "pixelated" images
 * square aspect ratio, not rectangular

## Bluethoot Dongle ##
I can perform the bonding but I can neither send/receive files from/to devices, nor connect and browse them. Also ubuntu can see see devices, but devices can't see ubuntu...

Revision history for this message
Luca Ferretti (elle.uca) wrote :

Filed "single" bug related to gvfs/gphoto2<->mtp issue.

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/291840

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Luca, thanks a lot for your bug report.

Please separate each one into individual bugs for better management. In fact if you can find already reported bugs that match your issues feel free to subscribe them and add more info.

About the webcam issue can you check if one of this bugs applies to your problem?

bug #290506
bug #282473,
and bug #287888

This could be a dupe from one of these

thanks!

Changed in linux:
status: New → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi Luca, it seems that your webcam related case is related to this bug #293259 so i'm marking as dup from it.

Can you attach as separate files to that bug the output from:

uname -a > uname-a.log

cat /proc/version_signature > version.log

dmesg > dmesg.log

sudo lspci -vvnn > lspci-vvnn.log

sudo lsusb -vvv

thanks a lot

Revision history for this message
Andres Mujica (andres.mujica) wrote :

moving this to bug #144745 sorry for the noise

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.