# uname -a
Code: Select all
Linux tipi 2.6.18-suspend2-r1 #1 PREEMPT Thu Dec 21 14:15:17 CET 2006 i686 Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux
Code: Select all
..
Bus 001 Device 011: ID 1372:b005
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1372
idProduct 0xb005
bcdDevice 1.00
iManufacturer 1 TrekStok MASS STORAGE
iProduct 2 TrekStor USB MASS STORAGE
iSerial 3 000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 1 TrekStok MASS STORAGE
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Connection timed out
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.18-suspend2-r1 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 6
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x08
PortPwrCtrlMask 0x01
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0503 highspeed power enable connect
Port 4: 0000.0000
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Code: Select all
looking at device '/block/uba':
KERNEL=="uba"
SUBSYSTEM=="block"
DRIVER==""
ATTR{stat}==" 12 24 36 15 0 0 0 0 0 11 15"
ATTR{size}=="0"
ATTR{removable}=="1"
ATTR{range}=="8"
ATTR{dev}=="180:0"
looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0':
KERNELS=="1-3:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="ub"
ATTRS{modalias}=="usb:v1372pB005d0100dc00dsc00dp00ic08isc06ip50"
ATTRS{bInterfaceProtocol}=="50"
ATTRS{bInterfaceSubClass}=="06"
ATTRS{bInterfaceClass}=="08"
ATTRS{bNumEndpoints}=="02"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceNumber}=="00"
looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1/1-3':
KERNELS=="1-3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}=="TrekStok MASS STORAGE "
ATTRS{serial}=="000000000000"
ATTRS{product}=="TrekStor USB MASS STORAGE "
ATTRS{manufacturer}=="TrekStok MASS STORAGE "
ATTRS{maxchild}=="0"
ATTRS{version}==" 2.00"
ATTRS{devnum}=="11"
ATTRS{speed}=="480"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bNumConfigurations}=="1"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceClass}=="00"
ATTRS{bcdDevice}=="0100"
ATTRS{idProduct}=="b005"
ATTRS{idVendor}=="1372"
ATTRS{bMaxPower}=="100mA"
ATTRS{bmAttributes}=="80"
ATTRS{bConfigurationValue}=="1"
ATTRS{bNumInterfaces}==" 1"
looking at parent device '/devices/pci0000:00/0000:00:1d.7/usb1':
KERNELS=="usb1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{serial}=="0000:00:1d.7"
ATTRS{product}=="EHCI Host Controller"
ATTRS{manufacturer}=="Linux 2.6.18-suspend2-r1 ehci_hcd"
ATTRS{maxchild}=="6"
ATTRS{version}==" 2.00"
ATTRS{devnum}=="1"
ATTRS{speed}=="480"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bNumConfigurations}=="1"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceClass}=="09"
ATTRS{bcdDevice}=="0206"
ATTRS{idProduct}=="0000"
ATTRS{idVendor}=="0000"
ATTRS{bMaxPower}==" 0mA"
ATTRS{bmAttributes}=="e0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bNumInterfaces}==" 1"
looking at parent device '/devices/pci0000:00/0000:00:1d.7':
KERNELS=="0000:00:1d.7"
SUBSYSTEMS=="pci"
DRIVERS=="ehci_hcd"
ATTRS{broken_parity_status}=="0"
ATTRS{enable}=="1"
ATTRS{modalias}=="pci:v00008086d000024CDsv00001014sd0000052Ebc0Csc03i20"
ATTRS{local_cpus}=="1"
ATTRS{irq}=="11"
ATTRS{class}=="0x0c0320"
ATTRS{subsystem_device}=="0x052e"
ATTRS{subsystem_vendor}=="0x1014"
ATTRS{device}=="0x24cd"
ATTRS{vendor}=="0x8086"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
/etc/udev/rules.d/10-local.rules
Code: Select all
BUS=="usb", KERNEL=="ub?", SYSFS{manufacturer}=="TrekStok MASS STORAGE ", SYSFS{product}=="TrekStor USB MASS STORAGE ", NAME="%k", SYMLINK="iBeat"# mount -t vfat -o utf8 /dev/iBeat /media/iBeat/
"utf8" was necessary to correctly display the non-iso characters
Now I can copy files from the device. They are intact.
But when I copy files to the device (ls shows them in the directory), unmount and mount again, they are gone.
When I access the "copied" files (rename or so), I soon run into trouble. The usb (or vfat?) kernel modules seem to lock-up, I cannot unmount and not even correctly shutdown the laptop.
Please note, that the device is not partitioned (/dev/uba1 does not exist, raw device). I tried to partition it, but fdisk cannot read the partition table:
# fdisk /dev/uba
Code: Select all
Unable to read /dev/uba# mkfs.vfat /dev/iBeat
Code: Select all
mkfs.vfat 2.11 (12 Mar 2005)
mkfs.vfat: Attempting to create a too large file system
unable to get drive geometry, using default 255/63
I upgraded to the current firmware to 1.08, I haven't tried Linux before the upgrade.
So far I had no problems with other USB mass storage (Pentax-camera, various USB-sticks and harddisks)
Can anybody help?


