Alan Stern a écrit : > On Thu, 26 Jul 2007, Jean-Claude Repetto wrote: > >> Alan Stern wrote: >>> On Wed, 25 Jul 2007, Jean-Claude Repetto wrote: >>> >>>> Hi, >>>> >>>> I have a device (a TomTom GPS) that is seen as a memory device when >>>> connected via USB. >>>> s >>>> If I plug the device before booting the PC, it is detected and >>>> accessible via /dev/sdb . >>>> But, if I plug the device after the PC has booted, the device is not >>>> accessible (the /dev/sdb device is not created). Idem if I disconnect >>>> and reconnect the device. >>>> >>>> I am using a x86 Gentoo system with kernel 2.6.22 (but I have also >>>> tested kernels 2.6.20 and 2.6.21). >>>> >>>> I have already asked for help on the Gentoo forums, but I got no useful >>>> answer. I hope I'll be more lucky here ! >>>> >>>> BTW, I have tested the same device on the same computer with Ubuntu >>>> 7.04, >>> What version of the kernel does that use? Do you have a usb-storage >>> log showing what happens when you plug the device in after booting? >>> >> The kernel is ubuntu-2.6.20-16 . Here is the log (but not in debug mode) : >> >> Jul 25 22:06:56 ubuntu kernel: [ 229.509634] usb 1-2: new full speed >> USB device using uhci_hcd and address 2 >> Jul 25 22:06:56 ubuntu kernel: [ 229.688469] usb 1-2: configuration #1 >> chosen from 1 choice >> Jul 25 22:06:57 ubuntu kernel: [ 229.801681] usbcore: registered new >> interface driver libusual >> Jul 25 22:06:57 ubuntu kernel: [ 229.824119] Initializing USB Mass >> Storage driver... >> Jul 25 22:06:57 ubuntu kernel: [ 229.824212] scsi2 : SCSI emulation for >> USB Mass Storage devices >> Jul 25 22:06:57 ubuntu kernel: [ 229.824274] usbcore: registered new >> interface driver usb-storage >> Jul 25 22:06:57 ubuntu kernel: [ 229.824278] USB Mass Storage support >> registered. >> Jul 25 22:07:02 ubuntu kernel: [ 234.824612] scsi 2:0:0:0: >> Direct-Access TomTom ONE PQ: 0 ANSI: 2 >> Jul 25 22:07:02 ubuntu kernel: [ 234.829627] sd 2:0:0:0: Attached scsi >> removable disk sdb >> Jul 25 22:07:02 ubuntu kernel: [ 234.829682] sd 2:0:0:0: Attached scsi >> generic sg1 type 0 >> Jul 25 22:07:02 ubuntu kernel: [ 235.003342] SCSI device sdb: 4019200 >> 512-byte hdwr sectors (2058 MB) >> Jul 25 22:07:02 ubuntu kernel: [ 235.006335] sdb: Write Protect is off >> Jul 25 22:07:02 ubuntu kernel: [ 235.013324] SCSI device sdb: 4019200 >> 512-byte hdwr sectors (2058 MB) >> Jul 25 22:07:02 ubuntu kernel: [ 235.016321] sdb: Write Protect is off >> Jul 25 22:07:02 ubuntu kernel: [ 235.016769] sdb: > > That all looks normal.
Yes, on Ubuntu it is working. > If you create the device node by hand, does it > work? The command is > > mknod /dev/sdb b 8 16 On Gentoo : # mknod /dev/sdb b 8 16 mknod: `/dev/sdb': File exists Regards, Jean-Claude ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users